Iron golems spawn automatically when you arrange iron blocks and a pumpkin in the right pattern

An iron golem is a large creature in Minecraft that attacks hostile mobs and protects your base. You build one by placing four iron blocks in a T-shape on the ground, then putting a carved pumpkin or jack-o'-lantern on top as the head. The moment the pumpkin sits on the top block, the golem comes to life and starts walking around.

The golem will stay near where you built it and attack any zombie, skeleton, creeper, or spider that comes within 16 blocks. It takes damage from mobs but regenerates health slowly over time if you leave it alone. A single golem can defend a small area, though larger bases often need several.

Building one takes about five minutes once you have the materials. The main challenge is gathering enough iron ore and smelting it into blocks — that part depends on how much mining you have already done.

Key Takeaways

  • Iron golems require four iron blocks arranged in a T-shape with a carved pumpkin on top, and they spawn when ready when the pumpkin is placed.
  • You need 36 iron ingots total (four blocks × nine ingots per block), which you obtain by mining iron ore and smelting it in a furnace.
  • Carved pumpkins come from pumpkins you find in the world or grow from seeds, then carve using shears or a sword.
  • Golems attack mobs within 16 blocks and regenerate health slowly, making them useful for defending bases but not a replacement for walls or doors.
  • You can build multiple golems in different locations, and they will not attack each other or the player who built them.

Gathering the four iron blocks you need

Each iron block requires nine iron ingots to craft. Four blocks means you need 36 iron ingots total. Find iron ore underground — it appears as tan blocks with darker speckles, usually between ground level and about 64 blocks down. Mine it with a stone pickaxe or better (a wooden pickaxe will not work). Each ore block drops one raw iron when broken.

Smelt the raw iron in a furnace using any fuel: wood, coal, or charcoal all work. One piece of fuel smelts about eight items, so you will need roughly five pieces of fuel to process 36 raw iron. Once smelted, you have iron ingots. Open your crafting table and arrange nine ingots in a 3×3 square to make one iron block. Repeat four times until you have four blocks.

If you are early in the game and have not found much iron yet, focus on mining in a strip pattern: dig a horizontal tunnel and check the walls on both sides as you walk. Iron appears frequently enough that you should find 36 ingots within an hour of mining.

Finding or growing a pumpkin and carving it

Pumpkins grow naturally in certain biomes — look in plains, dark forests, and taiga areas. They appear as large orange blocks sitting on grass. Break one with any tool or your hand and pick up the pumpkin item. If you cannot find one nearby, you can grow pumpkins from seeds. Pumpkin seeds drop from grass when you break it, or you can find them in village farm plots. Plant seeds on farmland (tilled dirt) and wait for a pumpkin to grow on an adjacent block.

Once you have a pumpkin, you need to carve it into a jack-o'-lantern or carved pumpkin. Hold shears in your hand and right-click the pumpkin to carve it. The pumpkin turns into a carved pumpkin with a face. Alternatively, you can craft a jack-o'-lantern by placing a carved pumpkin on top of a torch in the crafting grid — this version glows at night, which looks better but is not necessary for the golem to work.

Arranging the blocks in a T-shape

Stand where you want the golem to appear. Place the four iron blocks in this pattern: one block on the ground, one block to the left of it, one block to the right of it, and one block directly above the center block. This creates a T-shape when viewed from above. The vertical line of the T (the center block and the block above it) forms the body, and the two side blocks form the arms.

Do not place the pumpkin yet. Make sure all four iron blocks are in place and touching each other. If you place them in the wrong order or with gaps, the golem will not spawn. The blocks must be iron blocks specifically — iron ore will not work, and neither will other metal blocks.

Placing the pumpkin to spawn the golem

Hold the carved pumpkin in your hand. Right-click on the top iron block (the one above the center block) to place the pumpkin as the golem's head. The moment it sits down, the golem spawns and comes to life. You will see it stand up, look around, and start walking. The four iron blocks and pumpkin disappear and are replaced by the golem entity.

The golem appears with full health and when ready begins patrolling the area. It will wander within about 40 blocks of where it spawned, attacking any hostile mob it sees. If you want the golem to stay in one place, build walls or fences around it — golems do not climb or swim, so they stay where terrain keeps them.

Keeping your golem alive and effective

Iron golems take damage from mobs and from fall damage, but they regenerate health slowly when no mobs are nearby. A golem with low health will eventually heal if you leave it alone for a few minutes. You can also heal a golem when ready by right-clicking it with an iron ingot — this restores health equal to the ingot's value.

Golems do not require food or maintenance. They will not despawn or wander away from their spawn location. If a golem dies, you can build a new one using the same method. Many players build multiple golems around their base — one near the front entrance, one near the farm, one near the storage area — to create overlapping zones of protection.

Golems will attack any hostile mob except the player who built them. They also will not attack other golems or iron golems that spawn naturally in villages. If you want a golem to stop attacking, the only option is to move it far away or destroy it and build a new one elsewhere.

Frequently Asked Questions

Can I move a golem after I build it?

Golems do not follow you or teleport. The only way to move one is to destroy it (it drops iron ingots and a pumpkin when killed) and build a new one in the new location. Some players use boats or minecarts to push golems, but this is slow and unreliable.

What happens if my golem falls in water?

Golems sink and drown slowly because they do not swim. If your golem falls into a deep lake or ocean, it will die. Build your golems away from large bodies of water, or surround them with walls to prevent falls.

Do I need a carved pumpkin or can I use a regular pumpkin?

You must use a carved pumpkin or jack-o'-lantern. A regular uncarved pumpkin will not work. Carve it with shears before placing it on the iron blocks.

How many golems can I build?

You can build as many as you want. Each one requires four iron blocks and one pumpkin. There is no limit to how many can exist at once, though each one uses server resources, so extremely large numbers may slow down the game.

Will a golem attack the Ender Dragon or Wither?

Golems will not attack the Ender Dragon or Wither boss. They only attack common hostile mobs like zombies, skeletons, and creepers. For boss fights, you need to handle those yourself.