The most reliable way to get Mending in Minecraft is from a librarian villager: give an unemployed villager a lectern, and if it doesn’t offer a Mending book, break and replace the lectern until it does, then buy the book for emeralds and a plain book. Mending can’t come from an enchanting table at all, so the other sources are luck: fishing, structure chests, trial chamber vaults and, on Bedrock, raids. Below we cover each source, the librarian method step by step, the experimental setting that changes it, and how Mending actually repairs your gear.
This guide is current for Minecraft Java Edition 26.3 and Bedrock Edition 26.50 (Wilderness Bound, released September 15, 2026), with one Java 26.1 trading change noted below.
Where Mending Comes From
Mending is a treasure enchantment. That means it never appears in an enchanting table, however many bookshelves you build (see our enchanting table guide for what the table can give you). These are the sources:
| Source | How likely |
|---|---|
| Librarian villager trades | Guaranteed once you find the right villager |
| Fishing | Rare treasure catch |
| Structure chests | Random, alongside every other enchantment |
| Trial chamber vaults | One of five possible enchanted books |
| Raid mob drops (Bedrock only) | Random |
Everything except the librarian is a lottery, which is why villagers are the reliable route.
How to Get Mending From a Librarian
- Find or breed an unemployed villager. Any villager without a job works; it wears only its biome outfit, with no profession gear. Nitwits, in green robes, never take a job.
- Craft a lectern from four wooden slabs and one bookshelf, and place it near the villager. The villager claims it and becomes a librarian.
- Open its trades. Right-click the villager on PC, or press LT on Xbox, L2 on PlayStation or ZL on Switch. Look for an enchanted book in its novice trades.
- No Mending? Reroll. Break the lectern, wait for the villager to lose its profession, and place the lectern again. This only works on a novice librarian you have never traded with.
- Lock it in. When Mending shows up, trade with the villager once. A villager you’ve traded with keeps its profession and its trades for good.
The price is 10 to 38 emeralds plus a book, since treasure enchantments cost double, before any discounts. A villager’s price also drops if you cure it from a zombie villager, and trading more unlocks its higher levels, which can hold more enchanted book offers.
Java players should know about one change. Mojang’s Java Edition 26.1 changelog says villager trades are now generated from deterministic random sequences, like loot drops. In Mojang’s words: “Re-rolling a Villager’s trades still produces a randomized sequence of trades, but that sequence is now determined by the world seed.” Rerolling a lectern still works; the results are just fixed by the seed.
The Experiment That Changes Everything
Both editions have an optional experiment, Villager Trade Rebalance on Java and Villager Trade Rebalancing on Bedrock, that stays off unless you turned it on for your world. Mojang’s 26.1 changelog still refers to it as an experiment, so it isn’t the default.
If your world has it on, librarians sell books by biome. Only a master-level librarian from a swamp village is guaranteed to sell Mending. Swamp villagers don’t spawn naturally, so you have to bring two villagers to a swamp, breed them there, and raise the baby into a librarian. If your world doesn’t use the experiment, any librarian can roll Mending.
Other Ways to Find Mending
Fishing. Enchanted books are one of fishing’s treasure catches, and they can carry treasure enchantments like Mending. Mojang’s help article says Luck of the Sea raises the rate of rare loot such as enchanted books, so put it on your rod.
Structure chests. Random enchanted books, Mending included, turn up in ancient cities, desert pyramids, dungeons, mineshafts, woodland mansions, pillager outposts and large ocean ruins.
Trial chambers. A regular vault opened with a trial key can hand out an enchanted book with Mending, Riptide, Loyalty, Channeling or Impaling.
Raids on Bedrock. Pillagers and vindicators in a Bedrock raid can drop enchanted books that include treasure enchantments. Java raiders don’t.
How to Apply Mending and How It Works
Apply the book at an anvil, item first and book second; our guide to using enchanted books covers the costs. Mending fits almost everything with durability, including elytra, shields and fishing rods, but not a bow that has Infinity: the two are incompatible.
Once applied:
- Experience orbs you collect repair Mending items in your hands and armor slots, at two durability per point of experience.
- Experience goes to repairs first, and only the leftover reaches your level bar.
- If several equipped items need repair, each orb picks one at random.
Never put Mending gear in a grindstone. It strips Mending with everything else, as our disenchanting guide explains.
Frequently Asked Questions
Can you get Mending from an enchanting table? No. Mending is a treasure enchantment, so it only comes from villagers, fishing, loot and, on Bedrock, raids.
How much does a Mending book cost? 10 to 38 emeralds and a book before discounts. Curing a zombie villager is the usual way to cut the price.
Can you put Mending on a bow with Infinity? No. The two are incompatible, so pick one: Infinity saves arrows, Mending saves the bow.
Why is my Mending not working? The item has to be in your hand, offhand or an armor slot, and it has to be damaged. Experience from any source works, but while damaged Mending gear is equipped your level bar fills more slowly.
Can you get Mending from fishing? Yes, but it’s rare. Luck of the Sea helps, and a villager is still far faster. Every other guide is on our Minecraft hub.