Iron Golems Spawn When You Stack Iron Blocks in the Right Pattern
An iron golem is a large, hostile-mob-fighting creature you build yourself using iron blocks and a carved pumpkin or jack-o'-lantern. Once you place the final block, the golem appears when ready and begins defending your base from zombies, creepers, skeletons, and other threats. You do not need to feed it, command it, or maintain it — it works on its own until it takes enough damage to break apart.
The golem spawns in the exact moment you place the pumpkin on top of the iron structure. It does not matter whether you build the blocks in a specific order or direction; only the final placement of the pumpkin triggers the spawn. This means you can build the iron frame first, then add the pumpkin whenever you are ready to set up it.
Iron golems are useful for protecting your base, your farm, or your village from mobs that spawn at night or in dark caves. A single golem can hold off multiple attackers and will chase mobs across terrain to defend its territory. Unlike taming a wolf or cat, you do not need to earn the golem's trust — it straightforward exists to fight.
Key Takeaways
- Stack four iron blocks in a T-shape: three blocks in a row on the ground, one block above the center block, then place a pumpkin on top to spawn the golem.
- You need 36 iron ingots total (four stacks of nine) to craft the four iron blocks, plus a pumpkin from a pumpkin patch or farm.
- The golem spawns when ready when you place the pumpkin and when ready begins attacking nearby hostile mobs.
- Iron golems take damage from mobs and fall damage but heal slowly over time if left alone; you can repair them by right-clicking with iron ingots in newer versions.
- Golems will not attack you or other players unless you hit them first, but they will attack mobs that threaten nearby villagers.
Gather 36 Iron Ingots and One Pumpkin
You need four iron blocks to build the golem. Each iron block requires nine iron ingots to craft, so you need 36 iron ingots total. Mine iron ore from underground (usually found between Y-level 0 and 64), smelt it in a furnace with coal or charcoal, and craft the ingots into blocks at a crafting table. Four ingots go in the corners of a 3×3 grid to make one block; repeat this four times.
You also need one pumpkin. Pumpkins grow naturally in pumpkin patches in plains, taiga, and snowy biomes. Walk through grass-covered areas until you find orange pumpkin blocks on the ground, then break them with any tool or your hand. If you cannot find a natural pumpkin patch, you can plant pumpkin seeds (found in the same patches) and wait for them to grow. Carved pumpkins and jack-o'-lanterns also work, though you do not need to carve the pumpkin first — a plain pumpkin block will spawn the golem just as well.
If you are playing on a server or in a shared world, check with other players before mining large amounts of iron. Iron respawns slowly, and taking all the ore in an area can affect others' ability to build.
Build the T-Shaped Iron Block Structure
Place the four iron blocks in a T-shape on the ground. Put three blocks in a horizontal line, then place one block directly above the center block of that line. The structure looks like an upside-down T when viewed from above. The exact height does not matter — you can build it on grass, dirt, stone, or any solid block — but the shape must be exact.
Here is the layout:
- Ground level: place one iron block, then one iron block to its right, then one iron block to the right of that (three in a row).
- One block up: place one iron block directly above the center block of the row below.
You now have a T-shape with three blocks on the ground and one block floating above the middle one. Do not place anything else on top of the upper block yet. The golem will not spawn if the shape is wrong, so double-check that you have exactly three blocks in a line and exactly one block above the center.
Place the Pumpkin on Top to Spawn the Golem
Right-click (or use your place block button) on top of the upper iron block and place the pumpkin. The golem appears when ready in the space above the T-shape. It will be a large, gray-green creature with a square head, thick arms, and a pumpkin for a face. The golem is now active and will begin walking around your base, looking for hostile mobs to attack.
The pumpkin becomes part of the golem's head and cannot be removed or collected. If you want to remove the golem, you must kill it by dealing enough damage. Breaking the iron blocks underneath does not affect the golem once it has spawned — the blocks are no longer connected to it.
You can build multiple golems in the same area if you have enough iron and pumpkins. Each golem operates independently and will not interfere with the others. Many players build several golems around their base or village for extra protection.
Repair and Maintain Your Iron Golem
Iron golems take damage when mobs hit them or when they fall from a height. Their health bar does not show, but you can see cracks forming on their body as they take damage. A badly damaged golem looks gray and cracked all over. Golems heal slowly on their own — about one-half heart per second — but this takes a long time if they are heavily damaged.
In Java Edition version 1.15 and later, you can repair a golem by right-clicking it while holding iron ingots. Each ingot restores some health. In Bedrock Edition and older Java versions, you cannot repair golems directly; you must let them heal naturally or build a new one. If a golem takes enough damage to break completely, it dies and drops iron ingots and poppies (red flowers) that you can collect.
Golems do not need food, water, or shelter. They can stand in rain, snow, or sunlight without harm. They will not wander far from where they spawn, so they stay near your base to defend it.
What Mobs Your Golem Will and Will Not Attack
Iron golems attack hostile mobs — zombies, creepers, skeletons, spiders, endermen, witches, and most other creatures that spawn in darkness or try to hurt you. They will chase these mobs across terrain and fight until the mob dies or leaves the area. Golems do not attack passive mobs like cows, pigs, sheep, or chickens, and they do not attack other golems.
Golems will not attack you or other players unless you hit them first. If you strike a golem, it will turn hostile and attack you until you leave the area or the golem loses interest. This is useful to know if you accidentally hit a golem while fighting a mob nearby — back away and the golem will stop chasing you once you are far enough away.
If your base has a village (a group of villager houses), any golems you build nearby will also protect the villagers. Golems will attack mobs that threaten villagers even if the mobs have not attacked the golem directly. This makes golems especially useful for keeping your trading villagers safe.
Common Mistakes That Prevent Golems from Spawning
The most common error is building the T-shape incorrectly. The three iron blocks must be in a straight horizontal line, and the fourth block must be directly above the center block — not off to the side. If the blocks are not aligned, the golem will not spawn no matter how many times you place the pumpkin.
Another mistake is placing blocks or other objects on top of the upper iron block before placing the pumpkin. The pumpkin must go directly on the iron block with nothing in between. If you place a torch, slab, or any other block first, the pumpkin will sit on top of that block instead, and the golem will not spawn.
Some players also forget that the pumpkin must be a block, not a carved pumpkin item in their inventory. You must have the pumpkin block in your hotbar and place it like any other block. If you try to place a pumpkin item that is not a block, nothing will happen.
Frequently Asked Questions
Can I build an iron golem in the Nether or the End?
Yes, the T-shape works anywhere in any dimension. However, golems are less useful in the Nether because the mobs there (blazes, ghasts, wither skeletons) are more dangerous and harder to kill. In the End, golems cannot attack the Ender Dragon, so they are not helpful for that fight.
How much damage can an iron golem take before it dies?
Golems have 100 health points (50 hearts). They take damage from mobs, fall damage, and fire, but they are very durable and can survive a long fight against multiple zombies or skeletons. Once they reach zero health, they break apart and drop iron ingots and poppies.
Do I need to use a specific type of iron block?
No, all iron blocks are the same. You craft them from iron ingots at a crafting table. Blocks of raw iron (made from raw iron) do not work — you must use iron blocks made from ingots.
Can I move an iron golem to a different location?
Golems do not follow you or respond to commands. Once spawned, they stay in the area where they were built. If you want a golem in a different location, you must build a new one there or kill the existing one and rebuild it elsewhere.
What happens if my golem falls into water or lava?
Golems can walk through water without drowning and will try to climb out. Lava damages them quickly, so they will take heavy damage if they fall into lava. They do not burn like other mobs, but the lava itself hurts them.