“Too Expensive!” — the 39-level cap
In Survival and Adventure, any single anvil operation above 39 experience levels is refused outright, regardless of how much XP you have. Creative mode lifts the limit. If you're seeing the message, one of four things is true — and three of them are planning problems, not level problems.
Cause 1: stacked prior work penalties (most common)
Merging book after book into the same item raises its use counter every time; by the fifth or sixth merge the penalty alone (31, 63) exceeds the cap. The fix isn't more XP — it's a different combine order. Use the balanced-tree approach or let the calculator find the order.
Cause 2: too many expensive enchantments on one item
Silk Touch, Thorns, Mending, Infinity and Channeling are 4× as books. A god-tier set with several of them can genuinely cost more than 39 in a single unavoidable operation. Options: drop the lowest-value enchantment, or accept two items (a "main" and a "specialty" tool).
Cause 3: combining two already-worked items
Two heavily used items each carry big penalties and both are charged when they merge, even though the result only keeps the higher one. Merging two nearly-finished tools is the classic way to produce an unaffordable operation.
Cause 4: repairing a damaged item by anvil
Anvil repair adds +2 levels on top of everything else. Mending, or replacing the item, is almost always cheaper.
What does not work
- Grinding off and re-applying. The work counter belongs to the item; stripping enchantments doesn't reset it.
- Saving up more levels. The cap is on the operation, not your balance.
- Renaming as a workaround. Renaming adds +1 and is fine inside a merge you already planned, but it never reduces anything.
Checklist before you start merging
- Count your books and their levels; decide the target item is fresh (0 uses).
- Run the order through the calculator — it flags any step over 39 in red before you spend a single level.
- If a red step is unavoidable, decide now what to drop (usually the least valuable 1× enchantment, or one level off the most expensive).
- Merge in the returned order, target on the left, sacrifice on the right, and don't improvise midway.