How to avoid 'Too Expensive!' when enchanting in Minecraft
Nothing in Minecraft is more frustrating than collecting six high-tier enchantment books for your diamond or netherite sword, only for the anvil to display 'Too Expensive!' and block the combine completely. The anvil cap is a non-negotiable rule in Survival mode: if any operation costs 40 or more experience levels, the game refuses to process it. Understanding the hidden Prior Work Penalty mechanics is the only way to craft god-tier equipment without hitting the cap.
The quick answer: Use the binary tree pyramid method
To avoid hitting 'Too Expensive!', never combine single enchantment books one by one directly onto your main weapon, tool, or armor piece. Adding six books sequentially causes the anvil level cost to compound exponentially with every step. Instead, combine your books in pairs (Book 1 + Book 2, Book 3 + Book 4), combine those combined books together into a single master book, and then apply that master book to your item in one final step.
How the Prior Work Penalty actually works
Every item and enchantment book in Minecraft tracks a hidden internal value called the Prior Work Penalty (PWP). Freshly crafted tools, newly fished books, or villagers' enchanted books start with a PWP of 0. Every single time an item passes through an anvil as either the base target or the sacrificed material, its PWP count increases by 1.
The extra level surcharge added to future anvil operations grows exponentially according to the mathematical formula: Surcharge = (2^N) - 1 levels, where N is the number of previous anvil uses.
| Anvil Uses (N) | PWP Level Surcharge | Survival Status |
|---|---|---|
| 0 uses | +0 levels | Fresh item or book |
| 1 use | +1 level | Safe |
| 2 uses | +3 levels | Safe |
| 3 uses | +7 levels | Safe |
| 4 uses | +15 levels | Moderate cost |
| 5 uses | +31 levels | High risk of hitting 39 cap |
| 6 uses | +63 levels | PERMANENTLY BLOCKED ('Too Expensive!') |
Because 6 prior operations adds 63 levels in surcharge alone before calculating the base cost of the enchantments themselves, any item with 6 prior operations is permanently locked out of anvil combinations in Survival mode.
Sequential vs Pyramid (Binary Tree) enchanting example
Suppose you want to build a God Pickaxe with 5 enchantments: Efficiency V, Unbreaking III, Fortune III, Mending, and Silk Touch (or Mending + Fortune III).
- The Sequential Trap: You take your Pickaxe (0 uses) and add Efficiency V (1 use, PWP = 1). Next, you add Unbreaking III (2 uses, PWP = 3). Next, Fortune III (3 uses, PWP = 7). Next, Mending (4 uses, PWP = 15). By the time you try to add the 5th book, the pickaxe's PWP surcharge alone is 31 levels. Added to the base enchantment cost of 8+ levels, the total hits 39+ levels and triggers 'Too Expensive!'.
- The Pyramid Method: Pair Book 1 + Book 2 to make Superbook A (PWP = 1). Pair Book 3 + Book 4 to make Superbook B (PWP = 1). Combine Superbook A + Superbook B into Masterbook AB (PWP = 3). Apply Book 5 to your Pickaxe (PWP = 1). Finally, combine the Pickaxe with Masterbook AB. The pickaxe only undergoes 3 total anvil operations, keeping its PWP surcharge at just 7 levels!
Target vs Sacrificial Item placement rule
Anvil slot order matters tremendously. The left slot holds the Target item (which retains its durability, name, and material), while the right slot holds the Sacrifice item (which is destroyed during the process).
The resulting combined item inherits the HIGHER Prior Work Penalty of the two input items, then adds +1 to that count. Therefore, never sacrifice an item with a high PWP into an item with 0 PWP unless necessary. Always place the item with the higher base enchantment value or existing durable material in the left slot.
Why Mending is essential for endgame gear
In Minecraft, repairing an item using raw materials (such as diamond or netherite ingots) on an anvil counts as an anvil operation and increments its Prior Work Penalty. If you repair a sword 5 or 6 times manually, it will eventually display 'Too Expensive!' and become unrepairable forever.
Mending solves this completely. Mending uses experience orbs collected from mob farms or mining to restore item durability directly in your active hotbar or armor slots, bypassing the anvil entirely and preventing PWP growth.
Renaming items without increasing anvil penalty
In modern versions of Minecraft Java Edition (1.13+), renaming an item on an anvil costs 1 level plus the item's current PWP surcharge. Importantly, renaming an item does NOT increment its Prior Work Penalty counter.
However, if you rename an item that already has a high PWP (e.g., 4 uses = +15 levels), renaming it will cost 16 levels instead of 1 level. Rename your tools early while their PWP is still 0 to save experience.
FAQ
What does 'Too Expensive!' mean in Minecraft?
It means the combined cost of the enchantments and the item's Prior Work Penalty exceeds 39 experience levels. Minecraft blocks any Survival anvil operation that costs 40 levels or more.
Can you reset the anvil 'Too Expensive' penalty?
Putting an item through a Grindstone strips all non-curse enchantments and resets its Prior Work Penalty back to 0. However, this removes all your enchantments so you must re-enchant from scratch.
Does upgrading Diamond gear to Netherite reset anvil costs?
No. Upgrading gear on a Smithing Table preserves all existing enchantments and maintains the item's current Prior Work Penalty count.