Mechanics & How-To

Minecraft Anvil: Recipe, Repairs and 'Too Expensive'

Minecraft anvil recipe (31 iron ingots), every use, why 'Too Expensive!' appears and how anvils wear out: a plain Java Edition guide.

The anvil in Minecraft is a gravity-affected utility block that renames items, combines enchantments and repairs gear without losing the enchantments. You craft it from 3 blocks of iron and 4 iron ingots, 31 iron ingots in total (a block is 9 ingots, so 27 plus 4). This guide covers the recipe, every use, the 'Too Expensive!' message, how anvils wear out and what a falling one does. It is written for Java Edition.

Anvil recipe: how to make an anvil in Minecraft

You need a crafting table, because the 2x2 inventory grid is too small. The ingredients are 3 blocks of iron and 4 iron ingots, as listed on the Minecraft Wiki. The layout in the 3x3 grid:

The shape is symmetrical left to right, so mirroring it makes no difference. If 31 ingots sounds like a lot, our iron farm guide is the way to stop worrying about it. The recipe has been cheaper than its first version since 12w42a and is unchanged on the current wiki page.

How to get an anvil without crafting one

Damaged anvils generate naturally in the forge room of a woodland mansion and in trail ruins. They come out already worn, and the wiki does not say how many uses they have left, so we won't guess. You can also break any placed anvil with a pickaxe (wooden or better; without one it drops nothing) and pick it up: it drops itself. It stacks to 64, but only with anvils in the same damage state.

What does an anvil do in Minecraft?

Five things, per the wiki: rename an item, repair it with materials, combine two like items, apply an enchanted book, and damage entities by falling. Put the item you are working on in the left slot and the second item, the sacrifice, in the right. A red X over the arrow means the anvil refuses the operation, for example when the target is undamaged and the sacrifice has no enchantments.

Repairing with materials

Each unit of repair material restores 25% of the item's maximum durability and costs 1 level, plus any prior-work penalty (explained below). Four units therefore repair an item from nothing. The material depends on the item:

ItemRepair material
Wooden tools, shieldPlanks
Leather armorLeather
Stone toolsCobblestone, cobbled deepslate or blackstone
Iron gear and chainmail armorIron ingot
Gold gearGold ingot
Diamond gearDiamond
Netherite gearNetherite ingot
Turtle shellTurtle scute
ElytraPhantom membrane
MaceBreeze rod

The wiki table also covers copper gear and wolf armor, and it grows when new tools arrive, so treat this list as a snapshot. Items such as bows, shears and fishing rods have no repair material: combine two of the same item instead.

How do I repair armor?

Armor in the left slot, matching material in the right (iron ingots for iron and chainmail, diamonds for diamond), or two of the same armor piece combined. Enchantments stay. The wiki notes that repairing with materials can cost more material than crafting a new item, but armor is the exception: a chestplate takes 4 materials to repair fully against 8 to craft, paid for in experience.

Combining two items

Put two of the same item together and the sacrifice's remaining durability is added to the target, plus a bonus of 12% of maximum durability, up to the maximum. The repair part costs 2 levels. Enchantments carry over: two equal-level enchantments of the same type go up one level (if not already at maximum), a higher level on the sacrifice raises the target to match, and a lower one is ignored. Some enchantments are mutually exclusive, such as Sharpness, Smite and Bane of Arthropods, Fortune and Silk Touch, or the four Protection types. In Java the incompatible enchantment is not applied and adds 1 level to the cost. For picking enchantments in the first place, see best Minecraft enchantments and our enchanting table setup guide.

Enchanted books

An enchanted book can be applied to tools, armor and weapons, and books can be combined into higher-tier books. The anvil is how you use treasure enchantments, which the enchanting table does not offer.

Renaming and name tags

Renaming costs 1 level plus any existing prior-work penalty, with no extra charge for a stack. Java names can be up to 50 characters. A blank name resets the item to its default. A name tag must be renamed in an anvil before you can use it on a mob. Renaming alone does not add to the penalty, but the existing penalty is charged every time, so the cheapest rename is the one you do while already repairing or enchanting.

Minecraft anvil 'Too Expensive!': why it happens

In Survival and Adventure, an anvil only performs operations costing 39 levels or fewer. At 40 or more it shows 'Too Expensive!' no matter how many levels you hold. Creative mode has no limit and charges no experience.

The culprit is the prior-work penalty. Every anvil use except a rename-only one adds to the item, and the penalty roughly doubles each time (after n uses it is 2 to the power of n, minus 1):

Anvil uses on the item012345
Prior-work penalty (levels)01371531

When you combine two items, the result's penalty is 2 times the larger of the two inputs' penalties, plus 1. The total cost is both items' penalties, plus 1 for a rename, plus 2 for repairing, plus the enchantment cost. For each enchantment on the sacrifice, the cost is the final level on the result times a multiplier, and for many enchantments a book costs less than an item. Mending is 4 per level from an item and 2 from a book; Unbreaking is 2 and 1.

How to avoid it

The nuclear option is the grindstone, which wipes the penalty but also the enchantments (see below). Crafting-grid repair also clears penalties, enchantments and names.

Anvil damage: how many times can you use an anvil?

Each repair, enchant or rename gives the anvil a 12% chance to degrade one stage: anvil, chipped anvil, damaged anvil, then destroyed with nothing dropped. The wiki puts the average at about 25 uses, with a standard deviation of about 13.5, so the spread is wide. A destroyed anvil kicks you out of the menu mid-job. Damage state does not change what the anvil can do. Creative mode never damages anvils.

Why does my anvil break so fast?

Two reasons. A 12% chance per use is roughly 1 in 8, and bad luck is common given that spread. And if the anvil fell more than one block when placed, it also has a 5% chance per block fallen of degrading a stage. Place it directly where you want it, or drop it from no more than a block.

Can you repair an anvil in Minecraft?

No. The wiki states that anvils cannot be repaired with any iron item or block, and they are not on the repair-material table. Craft or place a new one.

Falling anvils

An unsupported anvil falls like sand or gravel. It does 2 HP (one heart) of damage per block fallen after the first, so a 4-block fall is 6 HP; the wiki gives a very high cap. Helmets take double durability damage from it. The death message is '<player> was squashed by a falling anvil'. In Java a placed anvil cannot be pushed by pistons, and it is not waterloggable.

Anvil vs grindstone

Both merge two matching items, but the results differ. The anvil keeps enchantments and charges levels; the grindstone strips the enchantments and the prior-work penalty, keeping the custom name. Use the anvil to build up an item, and the grindstone to reset one or take enchantments off it. Details are in our grindstone guide.

Java and Bedrock

This page is Java only. On Bedrock, rename limits are 30 characters, anvils are waterloggable and can be moved by pistons, and the enchantment cost is based on levels gained rather than the final level, so Java costs run higher.