Iron golems spawn when you stack iron blocks in the right pattern

An iron golem is a large, neutral mob that protects you and your village from hostile creatures. You build one by placing iron blocks in a T-shape on the ground, then putting a carved pumpkin or jack o'lantern on top. The moment you place that pumpkin, the golem comes to life and stands up.

The golem does not despawn once it exists — it stays in your world until something kills it. It wanders around and attacks zombies, skeletons, spiders, and other hostile mobs on sight. If you build one near your base or village, it becomes a permanent defender.

Key Takeaways

  • Stack three iron blocks vertically, place two iron blocks to the left and right of the middle block, then cap it with a carved pumpkin to spawn the golem.
  • You need 36 iron ingots total — 4 ingots per block, and 4 blocks in the T-shape — plus a pumpkin you can carve with shears.
  • The golem appears when ready when you place the pumpkin, facing the direction you were looking when you placed it.
  • Iron golems attack hostile mobs automatically and can take heavy damage, so they may need repairs if you want them to last a long time.

The exact block placement for the T-shape

Place your first iron block on the ground where you want the golem to stand. Stack two more iron blocks directly on top of it, so you have a vertical tower three blocks tall. This is the spine of the T.

Now place one iron block to the left of the middle block in that tower, and one iron block to the right of the middle block. You now have a T-shape when viewed from above. The two horizontal blocks should be at the same height as the middle block of your vertical stack.

Finally, place a carved pumpkin on top of the topmost iron block. The pumpkin is the head. The golem materializes when ready, and the pumpkin becomes its face.

How to get iron blocks and a carved pumpkin

You craft an iron block from nine iron ingots. You need four iron blocks for the golem, which means you need 36 iron ingots total. Mine iron ore with a stone pickaxe or better, then smelt the ore in a furnace to get ingots.

A carved pumpkin comes from a pumpkin and shears. Find a pumpkin in the world — they grow in patches in plains, taiga, and other biomes — then use shears on it to carve a face into it. You can also find carved pumpkins already placed in some structures, but crafting one is faster. If you have a jack o'lantern (a pumpkin with a torch inside it), that works as the head too.

What the golem does and does not do

Iron golems attack any hostile mob they see: zombies, skeletons, creepers, spiders, and witches. They do not attack the player who built them, and they do not attack passive mobs like sheep or cows. They wander slowly and can climb ladders and vines, so they may end up in unexpected places.

Golems take damage from hostile mobs and from fall damage. A golem with low health will not repair itself. If you want to keep a golem alive long-term, you can repair it by hitting it with an iron ingot while holding the ingot in your hand — each ingot restores 25 health points. A full-health golem has 100 health points.

Golems do not follow you or respond to commands. They stay in the area where you built them and defend it from mobs. If you want to move a golem, you have to destroy it and rebuild it elsewhere.

Where to build your golem for the most protection

Build your golem near your base, your farm, or your village. Golems are most useful in villages because they protect the villagers from hostile mobs, which keeps the villagers alive and lets you trade with them. If you have a village with multiple houses, one golem can defend the whole area as long as the village is not too spread out.

Avoid building golems in places where they might fall into water or lava, because they can get stuck and take damage. Also avoid building them on top of half-slabs or in tight spaces, because they need room to move and swing their arms to attack.

Common mistakes that prevent the golem from spawning

The most common mistake is placing the pumpkin before the iron blocks are in the right shape. The golem only spawns when you place the pumpkin as the final step, so if your T-shape is wrong, nothing happens. Double-check that you have a vertical stack of three blocks and two blocks sticking out to the sides at the middle height.

Another mistake is using a regular pumpkin instead of a carved one. A plain pumpkin will not trigger the spawn. You must carve it first with shears, or use a jack o'lantern. If you place a plain pumpkin and nothing happens, break it and carve it.

Some players also forget that the golem needs space to exist. If you build the T-shape in a 1-block-wide tunnel or inside a wall, the golem may not spawn because there is no room for its body. Build in an open area at least 3 blocks wide.

Repairing and maintaining your golem over time

An iron golem loses health when it fights mobs. You can see its health by looking at cracks in its body — a healthy golem is smooth, and a damaged one has visible cracks. To repair it, hold an iron ingot in your hand and hit the golem with it. Each ingot heals 25 health, so a badly damaged golem needs four ingots to fully heal.

If your golem dies, you can build a new one using the same steps. There is no limit to how many golems you can build, so you can create multiple defenders if you have enough iron. Some players build a golem farm to generate iron and create many golems at once, but that is a more advanced project.

Frequently Asked Questions

Can I move an iron golem after I build it?

No, golems do not follow you or respond to commands. If you want a golem in a different location, you must destroy the current one and build a new one. You can destroy it by dealing damage or by letting it fall from a high place.

What happens if my golem falls in water?

Golems can survive in water and will try to climb out, but they move slowly and may get stuck. They take no damage from water itself, only from the fall or from mobs. If your golem is trapped, you can break the water or build a ramp to help it escape.

Do I need a village for the golem to work?

No. Golems work anywhere and attack hostile mobs whether or not a village is nearby. However, golems are most useful in villages because they protect villagers, which keeps them alive for trading and breeding.

Can I use a jack o'lantern instead of a carved pumpkin?

Yes. A jack o'lantern (a pumpkin with a torch inside) works as the golem's head and functions exactly the same way as a carved pumpkin. The golem spawns and behaves identically.

How much iron do I need to build one golem?

You need 36 iron ingots — 9 ingots per iron block, and 4 blocks in the T-shape. You also need a pumpkin and shears to carve it, but those do not require iron. If you want to repair the golem later, keep extra ingots on hand.