Minepax Chest LogoMinepax.com
Back to Blog

Why your Minecraft anvil hits 'Too Expensive!'

Minepax TeamAugust 31, 2026
Why your Minecraft anvil hits 'Too Expensive!'

Every successful trip through the anvil doesn't nudge the item's next repair cost up a little — it more than doubles it. That's why a heavily repaired item hits "Too Expensive" even with a full XP bar to spend.

The real cost curve

| Times through the anvil | Cost (level multiplier) | |---|---| | 0 | 0 | | 1 | 1 | | 2 | 3 | | 3 | 7 | | 4 | 15 | | 5 | 31 | | 6 | 63 |

The formula is 2ⁿ − 1, where n is how many times that specific item has already gone through the anvil as the left-hand item. Look at the jump from the 4th to the 5th trip: 15 to 31, more than doubling in a single pass.

The fixed 39-level cap

In Survival and Adventure, the anvil rejects any operation whose total cost exceeds 39 levels. "Too Expensive!" shows up and there's no way around it, even at level 200. The cap doesn't scale with your own level — it stays fixed at 39 no matter what.

Combining two used items is the worst case

Combine two enchanted items on the anvil — two swords, two books — and the result doesn't add the two costs together. It inherits the higher of the two, bumped up one more step:

new_cost = 2 × max(cost_A, cost_B) + 1

Combine two items that have each been through the anvil once (cost 1 and 1) and you get cost 3, not 2. Combine that result with a third item also used once (cost 1) and you land at 7. Each combine on the same item costs more than the last one, not the same amount.

What actually helps

Repair cost lives on the item, not your player level — a heavily patched sword can hit "Too Expensive" no matter how much XP you're carrying. Once an item is getting close to the 39 cap, enchanting a fresh copy from scratch is usually cheaper than pushing the old one through one more time, because repair cost resets to 0 on a brand-new item.

Add up the XP cost of your route to the level you need in the XP calculator before deciding whether repairing is worth it or you're better off starting over.

Common mistakes

Does renaming an item count toward this cost too? Yes — any successful anvil operation increments that item's counter, including a rename by itself, not just repairs or enchant merges.

Is repairing with a raw ingot cheaper than combining with a matching sword? The left-hand item's own repair cost climbs the same way either time. What changes is that repairing with raw material doesn't drag a second item's accumulated cost into the total, because raw material carries no anvil history.

Two items with different costs, say 3 and 15 — does the result add them? No, it's 2 × 15 + 1 = 31. The lower one (3) doesn't factor in at all; only the higher cost matters.

Does an Enchanted Book carry its own repair cost? Yes, a book accumulates repair cost the same way a tool does, starting from whichever anvil operation it first goes through — combining two books with different enchantments, for instance.

Can you reset an item's repair cost once it's high? There's no vanilla command or mechanic to reset it on an existing item. The only way back to 0 is a new item.