Iron golems spawn when you stack iron blocks in the right pattern and place a pumpkin on top
An iron golem is a large, neutral mob in Minecraft that attacks hostile creatures and protects your base. You build one by arranging iron blocks in a T-shape on the ground, then placing a carved pumpkin or jack o'lantern on top. The moment the pumpkin lands, the golem comes to life and starts wandering your area.
The golem will not attack you or other players unless you hit it first. It will attack zombies, skeletons, creepers, and other hostile mobs on sight. Iron golems are useful for defending your base, especially if you play on a server with other players or in a survival world where mobs spawn at night.
Key Takeaways
- Iron golems require four iron blocks arranged in a T-shape (three blocks in a row on the ground, one block on top of the middle block) plus a carved pumpkin placed on top.
- The pumpkin must be placed last — the golem spawns the moment it lands, so you cannot move the pumpkin afterward without breaking the golem.
- You need 36 iron ingots total to craft the four iron blocks, which means mining iron ore and smelting it in a furnace.
- Iron golems will attack any hostile mob nearby, but they ignore you and other players unless you damage them first.
- Once spawned, an iron golem stays in the area and wanders slowly, making it a permanent defense for your base.
Gathering the materials you need
You need 36 iron ingots to build one iron golem. Each iron block requires nine iron ingots to craft, and you need four blocks total. Mine iron ore from underground (it appears as gray ore with lighter speckles, usually between Y-level 0 and 72), then smelt it in a furnace to turn ore into ingots.
You also need a carved pumpkin or jack o'lantern. Find pumpkins growing in pumpkin patches in plains, taiga, or snowy biomes. Harvest the pumpkin block, then use shears to carve it into a jack o'lantern, or craft a carved pumpkin by placing the pumpkin in a crafting grid with shears. A jack o'lantern glows, but a carved pumpkin works just as well for spawning the golem.
If you cannot find pumpkins naturally, you can grow them. Plant pumpkin seeds (found in village farms or by breaking tall grass) on farmland next to water, and they will grow into full pumpkins over time.
Building the iron block structure
Place three iron blocks in a horizontal line on the ground. This is the base of the T-shape. Then place one iron block directly on top of the center block. You now have a T-shape when viewed from above: one block in the middle, one block on each side of it on the ground, and one block stacked on the center.
The exact orientation does not matter — the T can point north, south, east, or west. What matters is that you have three blocks in a row and one block on top of the middle one. Double-check your structure before placing the pumpkin, because the golem spawns immediately when the pumpkin lands.
You can build multiple golems in the same area. Each one requires its own set of four iron blocks and one pumpkin. Many players build rows of golems to create a strong defense perimeter around their base.
Placing the pumpkin to spawn the golem
Hold a carved pumpkin or jack o'lantern in your hand and place it on top of the stacked iron block (the top of the T-shape). The moment the pumpkin block appears, the iron golem spawns and becomes active. You will see it materialize in front of you, and it will start moving around immediately.
The pumpkin becomes the golem's head. You cannot remove or move the pumpkin without destroying the golem. If you want to move the golem, you have to break it (it drops iron ingots and a pumpkin when destroyed) and rebuild it elsewhere.
If the golem does not spawn, check that your iron block structure is correct. The most common mistake is placing the top block off-center or building the base row with gaps. Rebuild the T-shape and try again.
What your iron golem will do
Once spawned, the iron golem wanders slowly around your base in a random pattern. It does not need food, water, or sleep. It will attack any zombie, skeleton, creeper, enderman, or other hostile mob that comes within about 64 blocks of it. The golem is strong enough to kill most mobs in a few hits.
The golem will not attack you, other players, or passive mobs like cows and sheep. If you hit the golem yourself, it will turn hostile and attack you until you leave the area or the golem resets. Avoid hitting your golem by accident when fighting nearby mobs.
Iron golems take damage from hostile mobs and can be killed. If your golem dies, you will need to build a new one. Some players build multiple golems so that if one is destroyed, others are still protecting the base.
Speeding up iron farming if you need many golems
If you want to build multiple iron golems, you will need a lot of iron ingots. Mining iron ore one block at a time is slow. Consider building an iron farm — an automated structure that spawns iron golems and collects the iron they drop when killed.
Iron farms use villagers to trigger golem spawning in a controlled way, then funnel the golems into a killing chamber where they drop their loot. A basic iron farm can produce hundreds of iron ingots per hour, which is much faster than mining. There are many designs available online, ranging from simple to complex.
If you do not want to build a farm, you can also find iron ingots in loot chests in dungeons, shipwrecks, and other structures. This is slower than mining or farming, but it requires no crafting or setup.
Troubleshooting when the golem does not spawn
The most common reason a golem does not spawn is an incorrect iron block structure. The three-block base must be in a straight line with no gaps. The top block must sit directly on the center block of the base. If either of these is wrong, the golem will not appear.
Another reason is that the pumpkin is not carved. A regular pumpkin block (not carved) will not trigger the golem to spawn. Make sure you carved the pumpkin with shears or crafted it with shears in a crafting grid before placing it.
If your structure and pumpkin are both correct but the golem still does not spawn, try breaking the pumpkin and placing it again. Sometimes the game does not register the placement the first time. If that does not work, break all four iron blocks and rebuild the structure from scratch.
Frequently Asked Questions
Can I move an iron golem after I build it?
No, iron golems cannot be moved without breaking them. If you want the golem in a different location, you have to destroy it (by hitting it repeatedly or letting mobs kill it), collect the iron ingots and pumpkin it drops, and build a new one elsewhere.
Do iron golems need to be fed or given water?
No. Iron golems do not eat, drink, or sleep. They wander around indefinitely and attack mobs without needing any maintenance. They will eventually take damage and die if mobs attack them repeatedly, but they do not have hunger or thirst.
What happens if I hit my iron golem by accident?
The golem will turn hostile and attack you. It will chase you and deal heavy damage. Leave the area or hide until the golem resets its aggression. To avoid this, be careful when fighting mobs near your golem, or build your golem in a location where you are unlikely to hit it.
Can I build an iron golem in the Nether or End?
Yes, the structure works the same way in any dimension. However, iron golems are most useful in the Overworld where hostile mobs spawn. In the Nether, the golem will attack blazes and other hostile mobs, but the extreme heat and danger make it less practical.
How much damage can an iron golem take before it dies?
Iron golems have 100 health points (50 hearts). They take reduced damage from most sources and heal slowly over time if they are not being attacked. A single golem can kill many mobs before dying, but multiple golems attacking at once will wear it down faster.