
To make an iron golem, place four blocks of iron in a T shape and put a carved pumpkin on top of the middle block at the top. The golem appears the moment the head lands. That costs 36 iron ingots and a pumpkin, and it works in both Java and Bedrock.
Building one is the easy part. The part that trips people up is why it will not spawn, why a village golem attacks you when yours does not, and how villages summon golems on their own. This guide covers all of it, checked against the Minecraft Wiki’s iron golem page for Java 26.3 and Bedrock 26.52.
Quick Answer
- The recipe: four iron blocks in a T shape plus a carved pumpkin or jack o’lantern, placed last.
- Cost: 36 iron ingots (each block is 9 ingots), plus shears if you need to carve the pumpkin.
- Orientation: the T can stand upright, lie on its side, or hang upside down.
- It will not spawn if: any of the four empty spaces around the arms is not air.
- Player-built golems never attack you. Village golems turn on you if you hit them or wreck your reputation.
- Bedrock difference: since 1.21.30 you must use a carved pumpkin or jack o’lantern. An uncarved pumpkin no longer works.
Iron Golem at a Glance
| Stat | Value |
|---|---|
| Recipe | 4 iron blocks (T shape) + carved pumpkin or jack o’lantern |
| Health | 100 points |
| Damage on Normal | 7.5 to 21.5 |
| Damage on Hard | 11.25 to 32.25 |
| Size (Java) | 2.7 blocks tall, 1.4 wide |
| Size (Bedrock) | 2.9 blocks tall, 1.4 wide |
| Drops | 3 to 5 iron ingots, 0 to 2 poppies |
| Heals with | Iron ingot, 25 health points each |
Version checked: Java 26.3 and Bedrock 26.52.
What You Need
You need four blocks of iron, which is 36 iron ingots. Craft each block from nine ingots in a crafting table, so a full set uses the whole crafting grid four times.
You also need a head. A carved pumpkin or a jack o’lantern both work. To carve a pumpkin, place it on the ground and right click it with shears. If you have no pumpkins yet, my carved pumpkin guide covers where to find them and how to carve one safely.
If you are short on iron, check the cost before you start. A golem you build and then kill returns only 3 to 5 ingots, so never build golems as a way to farm iron. Build them for defense, and use an iron farm for the ingots. More on that below.
Looking for the copper version instead? That is a different build, covered in how to make a copper golem.
How to Build an Iron Golem
Find a flat open spot with plenty of headroom. The golem is nearly three blocks tall, and its size can cause suffocation damage if it spawns with its head inside a solid block.
- Place one iron block on the ground. This is the body.
- Stack a second iron block on top of it. You now have a column two blocks high.
- Place an iron block on each side of the top block. These are the arms. You now have a T.
- Place the carved pumpkin or jack o’lantern on top of the middle block at the top. The head must go last. The moment it lands, the blocks vanish and the golem spawns.

A dispenser or an enderman can place the head too, as long as the pumpkin goes down last. The wiki also notes that on Java you can place an uncarved pumpkin on top and then shear it to finish the golem.

The golem always spawns facing south, whichever way you stand when you place the head.

You can build the T upright, on its side, or upside down. The shape is the same, only the direction changes.
Why Your Iron Golem Won’t Spawn
If you built the T and nothing happened, work through this list.
- Something is in the four empty spaces. The spaces above and below each arm must be air. Snow layers, grass, small flowers and water all count as blocking. Clear them, or build somewhere else.
- The head was not placed last. If the pumpkin goes down before the fourth iron block, nothing happens. Break the pumpkin and place it again.
- You are on Bedrock with an uncarved pumpkin. Since 1.21.30 Bedrock needs a carved pumpkin or jack o’lantern. Carve it first.
- The shape is wrong. It has to be exactly four iron blocks in a T. Count again: one body, one middle, two arms.

If it still fails, rebuild it in an open field with no plants, snow or water nearby. That removes most of the common causes.
Player-Built Golem vs Village Golem
A golem you build and a golem that spawns in a village look identical. They do not behave the same.
| Behavior | Player-built | Village (natural) |
|---|---|---|
| Attacks you | Never | If you attack it, or your reputation is bad |
| Attacks monsters | Yes | Yes |
| Detects raiders through walls | No | Yes |
| Behavior label | Passive toward players | Neutral |
A player-built golem will not attack you even if you hit it. It will go after a tamed wolf that attacks it, but never you.
A village golem is a different story. It fights back if you attack it, and it also turns hostile if you push your reputation with nearby villagers to -100 or lower. If you see villagers charging you extra and a golem glaring at you, read my guide to fixing villager reputation before you do anything else.
On Bedrock, a village golem also becomes hostile straight away if you attack a villager near it.
How Villages Spawn Iron Golems
Villages protect themselves. Villagers summon golems when they feel threatened, and the rules differ between editions.
Java Edition
On Java, villagers summon a golem either while gossiping or every 5 seconds while panicking. A villager panics when it sees a hostile mob such as a zombie. For a summon to happen, all of these must be true:
- The villager has slept in the last 20 minutes.
- It has not detected an iron golem within 16 blocks in the last 30 seconds. It scans for golems every 10 seconds.
- It has not been within 10 blocks of another villager who summoned a golem in the last 30 seconds.
- Enough villagers nearby qualify: 5 or more while gossiping, or 3 or more while panicking.
- A valid spawn spot exists.
The game makes up to 10 attempts to find a spot inside a 17 x 13 x 17 box around the villager. It picks a column, finds the top air or liquid block with a solid block below it, and checks that the block and the two above it are clear.
One popular myth is that a village gets one golem per five villagers. That is not how it works. The five-villager figure is the gossip threshold for a single summon, not a population cap.
Bedrock Edition
Bedrock is stricter. A village needs at least 20 beds and 10 villagers before it will spawn golems on its own. Three more conditions apply:
- 75 percent of the villagers must have been able to reach their workstation in the last 20 minutes, not counting nitwits. The villager jobs list shows which block each job uses.
- 100 percent of the villagers must be linked to a bed.
- The village center must be within a player’s simulation distance.
If those hold, the game attempts a spawn with a 1 in 700 chance every tick, which averages one attempt every 35 seconds. It adds another golem for every 10 villagers beyond the starting requirement.
If a village’s only golem dies, a new one will not spawn unless every condition above is met. Small villages do not recover their golem until you expand them. If your village is short on villagers, my villager breeding guide will help you grow it.
What Iron Golems Fight
Golems attack hostile mobs on sight, including zombies, skeletons, spiders, slimes, vindicators, pillagers, ravagers and witches. They launch their target into the air with each hit.
Two mobs they leave alone are creepers and sulfur cubes. Flying mobs such as phantoms are hard for them to reach, and ghasts are only attacked on Java.
Golems never attack other golems. Neutral and passive mobs, villagers included, are left alone unless they attack the golem first.
A golem cannot hit a target that is 2.75 blocks or more above it on Java, or 3 blocks on Bedrock. Standing on a three block pillar keeps you out of reach of a village golem.

Since 1.20.2 on Java, golems also have a shorter reach, and cannot hit through a wall that is one block thick.
Health, Cracks and Repairs
A golem has 100 health points and shows its damage in cracks:
- Above 75 percent health: no cracks.
- 50 to 75 percent: a few cracks.
- 25 to 50 percent: more cracks.
- Below 25 percent: heavily cracked.

Right click a damaged golem with an iron ingot to heal 25 health points, one crack level. The ingot is used up each time. Keep a few in your inventory if you rely on a golem to guard your base.
Golems are immune to fall damage and cannot drown. They avoid water, lava, fire and cactus, but if they end up in water they sink and can still walk along the bottom.
Should You Build Golems for Iron?
No. A golem costs 36 ingots to build and gives back 3 to 5 when it dies. You lose iron every time.
The efficient route is a farm that gets villagers to summon golems for you. The rules above are exactly what those farms rely on: panicking villagers, a safe spawn spot, and a way to kill each golem the moment it appears. My iron farm guide shows a build that works with them, and the best Minecraft farms list compares it with the other farms worth building.
If you just need a few golems to guard a base, a village or a villager hall, build them by hand.
Common Mistakes
- Pumpkin before the last iron block. The head must be placed last.
- Building in tall grass. Even small flowers or grass in the four corner spaces can block the spawn.
- Using an uncarved pumpkin on Bedrock. Since 1.21.30 it does nothing.
- Expecting a village golem to stay friendly. Hit one and it will fight back.
- Leaving extra spawn spots near the villagers in a farm. The game picks any valid spot inside the 17 x 13 x 17 box, so make sure the only valid spot is the chamber you built for the golem.
Frequently Asked Questions
Place four iron blocks in a T shape and put a carved pumpkin or jack o’lantern on top of the middle upper block. The head must be placed last. The golem spawns as soon as the head lands.
You need 36 iron ingots, because the golem takes four iron blocks and each block is made from nine ingots.
On Java you can place an uncarved pumpkin last and then shear it to spawn the golem. On Bedrock, since version 1.21.30, you must use a carved pumpkin or a jack o’lantern.
No. A player-built iron golem never attacks players, even if you hit it. A village iron golem will fight back if you attack it or if your reputation with nearby villagers is -100 or lower.
The four empty spaces above and below the arms must all be air. Snow, grass, flowers or water in any of them stops the golem from spawning. Also make sure the head was placed last.
On Java, a summon needs 5 or more villagers gossiping or 3 or more panicking within 10 blocks of each other. On Bedrock, a village needs at least 10 villagers and 20 beds, plus the working and bed-link conditions.
An iron golem drops 3 to 5 iron ingots and 0 to 2 poppies when it dies.



