Minecraft Mending Enchantment Explained: Repair Gear With XP
Mending turns XP into repairs and makes good gear effectively permanent. Where the book comes from, the Infinity clash, and what to enchant first.

Mending turns XP into repairs and makes good gear effectively permanent. Where the book comes from, the Infinity clash, and what to enchant first.
Mending is the enchantment that repairs your gear using experience. While you are holding or wearing a Mending item, the XP orbs you collect flow into its durability instead of your XP bar, at a rate of roughly two points of durability for every point of experience. It is classed as a treasure enchantment, which carries one big consequence: the enchanting table will never offer it, no matter how many bookshelves you surround it with. Every Mending book in your world has to be found, fished up, looted or bought.
How does the repair actually work?
When you pick up experience orbs — from mobs, mining, smelting, trading, breeding — the game first checks the gear you are holding and wearing. If any of it has Mending and is damaged, the XP goes into repairs rather than into your levels. Each point of experience restores about two points of durability, so a single level's worth of XP can patch up a surprising amount of wear. If you are carrying several damaged Mending items at once, the game picks one to repair at a time rather than spreading the XP thinly across all of them. Once everything equipped is fully repaired, XP flows to your bar as normal.
Where do you find Mending?
There are four routes, and they are not equal. Fishing can pull up Mending books as treasure, which makes a good rod a slow but real Mending source early on. Structure chests — in places like strongholds, End cities and jungle temples — sometimes hold the book. Raids can drop it on Bedrock. But the dependable, repeatable source is a librarian villager: librarians can stock Mending as a trade, and with patience (and a lectern you are willing to break and replace to reset an unemployed librarian's offers) you can secure a permanent supply. Most long-term worlds end up with a named librarian whose only job is selling that one book.
Why can a bow not have Mending and Infinity together?
Mending has exactly one famous conflict: Infinity, on bows. The two are mutually exclusive, and an anvil will refuse the combination. The choice is a genuine one. Infinity means a single arrow lasts forever, so you never think about ammunition, but your bow slowly wears out and the whole enchantment stack eventually dies with it. Mending means the bow repairs itself from XP, lasting indefinitely, but you must carry arrows in quantity. Players with a skeleton farm or a fletcher tend to pick Mending. Players who hate inventory clutter pick Infinity and accept that the bow is mortal.
Why does everyone pair Mending with Unbreaking?
Because the two enchantments attack the same problem from opposite sides. Unbreaking makes each point of durability last longer, so the item takes damage more slowly. Mending then replaces whatever damage does get through, using XP you were collecting anyway. Together they change the economics of good gear completely: a Mending and Unbreaking III pickaxe is no longer a consumable with a long life, it is effectively permanent equipment that only leaves your possession if you die somewhere unrecoverable. That is why maxed-out players consider a tool unfinished until it carries both.
It is worth contrasting Mending with the alternative it replaced. Repairing gear on an anvil costs experience levels, and the price climbs every time you repair the same item, until the anvil eventually refuses with a "too expensive" verdict and the tool is doomed no matter how many diamonds you own. Mending has no such ratchet. The cost is always the same — the XP you were going to collect anyway — and it never escalates, which is precisely why its arrival changed how long a single set of gear can serve a world.
What should you put Mending on first?
Start with the elytra. Wings are the one item with no replacement supply problem solved — you cannot craft them — and repairing them the ordinary way costs phantom membranes and growing amounts of XP. Mending makes every flight self-funding. After that, prioritise the tools you use every minute: your main pickaxe, then your armour set, then your sword and bow. A practical tip for repairs: XP only reaches gear you are holding or wearing, so when you collect a big XP payout, swap your damaged tool into your hand or offhand first. Mob farms, trading halls and a good furnace bank are the usual partners that keep a Mending kit fed.
Frequently Asked Questions
Can the enchanting table give Mending in Minecraft?
No. Mending is a treasure enchantment, which means it never appears in enchanting table offers. You have to fish it up, find it in structure loot, get it from a raid on Bedrock, or buy the book from a librarian villager.
Why is my XP bar filling instead of repairing my gear?
Either the Mending item is already fully repaired, or you are not holding or wearing it. Mending only works on items in your hands (main hand or offhand) or worn as armour. Items sitting in your inventory get nothing.
How much durability does Mending restore per XP?
Roughly two points of durability for each point of experience collected. If several damaged Mending items are equipped, the game repairs one of them at a time until it is whole, then moves on.
Should you choose Mending or Infinity on a bow?
It depends on your arrow supply. Infinity means carrying one arrow forever but the bow wears out permanently. Mending keeps the bow alive indefinitely but consumes arrows. With a skeleton farm or a fletcher villager, Mending is usually the stronger long-term pick.





