Minecraft Anvil Guide: Repair, Rename and Combine Enchantments

The anvil is one of the most useful blocks in Minecraft, and also one of the most misunderstood. It repairs gear, renames items, and combines enchantments in ways the enchanting table simply cannot. But it also carries a hidden cost system, the prior-work penalty, that can quietly lock your favourite tool out of any future upgrades. This guide walks through every anvil function and the exact mechanics behind them, all verified against the official Minecraft Wiki, so you can keep your enchanted gear alive far longer.

How to Craft an Anvil

An anvil is crafted from 3 blocks of iron placed across the top row and 4 iron ingots (one in the centre and three across the bottom). That works out to a total of 31 iron ingots, since each iron block is nine ingots. It is a serious investment, so it pays to know how to use one efficiently before you craft it.

Anvils are not indestructible. Each time you use one, there is a 12% chance it degrades by one stage. There are three visual conditions, in order: a normal anvil, a chipped anvil, and a damaged anvil. After the damaged stage, the next degradation destroys it completely. On average an anvil survives roughly 25 uses before breaking. Anvils are also affected by gravity, like sand or gravel, and a falling anvil deals damage based on how far it falls, so place them carefully.

The Anvil Interface: Two Slots, One Output

Right-click an anvil to open its menu. The left slot is the target (the item you want to keep), and the right slot is the sacrifice (the material, book, or second item you are feeding in). The result previews in the output slot along with its experience-level cost shown beneath it. You only pay the levels when you take the finished item out, and you must have at least that many levels to do so.

Repairing Gear: Materials vs Combining Two Items

There are two ways to restore durability on an anvil, and they behave very differently.

Unit repair (materials). Place the damaged item in the left slot and its base crafting material in the right. Each material unit restores 25% of the item’s maximum durability, rounded down, so up to four units fully repair an item. The catch: this method only works with the item’s repair material, and it does not transfer enchantments because raw materials have none.

Combining two items. Place two of the same item type together and the anvil merges them. The result keeps the higher remaining durability of both items added together, plus a bonus of 12% of the item’s maximum durability, capped at full. This base repair costs 2 experience levels (before penalties), and crucially it also combines the enchantments of both items, which is what makes the anvil so powerful.

Below are the repair materials for common gear tiers, verified against the wiki.

Item tierRepair materialPer-unit repair
WoodPlanks25% each
StoneCobblestone / Cobbled Deepslate / Blackstone25% each
Iron & ChainmailIron Ingot25% each
GoldGold Ingot25% each
DiamondDiamond25% each
NetheriteNetherite Ingot25% each
Leather armourLeather25% each
ElytraPhantom Membrane25% each
Turtle ShellTurtle Scute25% each

Renaming Items

The text field at the top of the anvil menu lets you rename any item or stack. Renaming costs 1 experience level on top of any prior-work penalty the item already carries. In Java Edition, names can be up to 50 characters long. Renaming a spawn egg sets the name of the mob it spawns, and renaming with a name tag lets you label mobs in the world.

Importantly, renaming on its own does not increase an item’s prior-work penalty. You still pay whatever penalty already exists, but a rename will not push the multiplier any higher for next time. The renaming-only cost is also capped at 39 levels in Java Edition.

Combining Enchanted Books and Enchantments

This is the anvil’s signature trick. By placing an enchanted book in the sacrifice slot, you can apply enchantments to a tool, weapon, or armour piece, including combinations the enchanting table can never roll, such as Mending plus Infinity is impossible, but stacking carefully chosen enchantments onto one item is exactly what books and anvils are for.

Two books with the same enchantment at the same level merge into one book at the next level (two Sharpness IV books make Sharpness V, for example), up to that enchantment’s maximum. The experience cost of combining depends on the enchantment’s level and its own cost multiplier; cheap enchantments like Sharpness add little, while expensive ones like Mending, Thorns, or Silk Touch add far more. Applying an enchantment from a book is generally cheaper than applying the same enchantment from a second tool, which is the main reason book-first enchanting is the recommended workflow.

The Prior-Work Penalty (Too Expensive!)

Every time an item is worked on an anvil, it gains a hidden prior-work penalty. Since the mechanic was reworked in Java Edition 1.8, this penalty grows exponentially: it roughly doubles with each anvil operation, following a 2^n − 1 pattern (0, 1, 3, 7, 15, 31, and so on). That penalty is added on top of the actual cost of whatever you are doing.

In Survival and Adventure mode, an anvil refuses any operation that would cost more than 39 experience levels, displaying the dreaded “Too Expensive!” message. Because the penalty climbs so fast, a heavily reworked item can hit that wall after only a handful of operations, even if the underlying job is trivial. The penalty is tied to the item, not the anvil, so swapping anvils does not reset it.

Anvil uses on itemPrior-work penalty (levels)
00
11
23
37
415
531
663 (exceeds the 39 cap)

The practical lesson: plan your combines in the right order and front-load them while the penalty is low. Merge all your enchanted books into a single “master” book first, then apply that one book to a fresh tool in as few operations as possible. Because order of operations changes the total penalty, fewer-but-bigger merges almost always beat many small ones. And once an item starts saying “Too Expensive!”, switching to Mending to repair gear with XP avoids ever touching the anvil again. In Creative mode, the cap does not apply, which is useful for testing setups before committing materials in Survival.

Frequently Asked Questions

Why does my item say “Too Expensive!” in the anvil?

In Survival and Adventure mode the anvil refuses any operation costing more than 39 levels. The prior-work penalty roughly doubles with each anvil use, so a frequently reworked item quickly crosses that threshold. There is no way to lower an item’s penalty once earned, which is why ordering your combines matters so much.

What is the difference between repairing with materials and combining two tools?

Repairing with materials restores 25% of maximum durability per unit but cannot transfer enchantments. Combining two of the same item adds their durabilities together plus a 12% bonus of the maximum, and it also merges their enchantments, making it the better option when both items are enchanted.

Does renaming an item raise its prior-work penalty?

No. Renaming costs 1 level plus any existing penalty, but it does not increase the penalty for future operations. You can rename freely without making the next combine more expensive, although the rename itself is capped at 39 levels in Java Edition.

Keep Building Your Enchanted Arsenal

Once you have anvil management down, the next steps are gathering the experience and resources to fuel it. The best fishing enchantments and AFK farms are a great early enchanted-book source, and breeding villagers for a trading hall gives you reliable access to high-tier books without grinding the enchanting table. If you want to put that gear to work, our guides on beating the Wither and building a Nether portal will point you toward the late-game challenges worth enchanting for.

Managing prior-work penalties and trading enchanted books is far more fun with a group, and running your own Minecraft server to play with friends means you can pool resources and share an enchanting setup. If you want to tune drops, keep-inventory rules, or other gameplay settings to match your group’s style, the Minecraft server documentation covers the configuration step by step.

Ready to play?

Run your own Minecraft server with XGamingServer

Spin up an always-on Minecraft server your friends can join in minutes — no port-forwarding, no tech headaches.

99.9%Uptime SLA
< 5 minInstant setup
24/7Human support
DDoSProtected
Instant setup Your server is live in minutes with a one-click control panel.
Mods & plugins Install mods, plugins and workshop content in a few clicks.
DDoS protected Enterprise DDoS mitigation keeps your server online 24/7.
Low-latency hardware Premium CPUs & NVMe SSDs for lag-free multiplayer.
Free backups Automatic backups so your world is never lost.
Real human support Gamers helping gamers — 24/7, no bots, no scripts.

Pick your Minecraft plan & play in minutes

See all plans
Starter $8.40/mo 4 GB RAM Renews $12/mo Buy now
Rookie $17.50/mo 8 GB RAM Renews $25/mo Buy now
Pro $24.50/mo 12 GB RAM Renews $35/mo Buy now