How to Build an Iron Golem Farm in Minecraft (Step-by-Step)

Iron is the workhorse material of Minecraft’s mid-game. You need it for full armour sets, tools, anvils, pistons, rails, buckets, hoppers, and dozens of crafting recipes. But mining iron by hand can’t keep pace with demand — a single iron armour set costs 24 ingots, one anvil costs 31, and that’s before you start building any serious farms or contraptions.

An iron golem farm fixes this permanently. A basic three-villager design produces 200+ iron ingots per hour, automatically, while you do other things. Build one in mid-game and you’ll never need to mine iron by hand again.

This guide covers exactly how to build one — starting with why it works, so you can actually fix it if something goes wrong.

How It Works: The Panic Mechanic

Before touching a single block, it’s worth understanding the mechanic, because it makes every build decision obvious.

Iron golems spawn to protect villages. In Minecraft’s village system, when three or more villagers are panicking simultaneously — close enough together to trigger a group response — the game spawns an iron golem to defend them [1].

Your farm creates a controlled version of this loop:

  1. Villagers are held in a safe cell where they can see a zombie through glass
  2. Seeing the zombie causes them to panic (but the glass keeps them safe)
  3. The panicking group triggers a golem spawn on a platform below
  4. Water streams push the golem into a lava kill zone
  5. Hoppers collect the drops — 3 to 5 iron ingots per golem, averaging 4 [1]

Three conditions must all be true before a golem spawns [2]:

  • Three or more villagers are panicking within 10 blocks of each other
  • No iron golem exists within 16 blocks of the villagers
  • At least 30 seconds have passed since the last successful spawn

That 30-second cooldown is the main throughput limit on a basic farm. You can’t cheat around it — but you can add more villager groups to stack simultaneous spawn attempts.

What You Need

The basic Java Edition farm uses just three villagers and one zombie. Here’s everything you’ll need:

ItemQuantityNotes
Beds (any colour)3One per villager — they must sleep to link
Villagers3Lure from a village using a boat
Zombie1Must stay alive — build a shaded cell
Glass blocks16+Villagers need line-of-sight to zombie
Slabs (any solid)8Roof over zombie cell to block sunlight
Water buckets2Push golems toward kill zone
Lava bucket1The kill zone blade
Hoppers4–6Collect iron ingot drops below kill zone
Chest1Storage for collected ingots
Trapdoors (any)2Hold lava blade without a full block
Building blocks~100Cobblestone or stone work fine

To get your three villagers, find the nearest village and transport them using a boat. Villagers will sit in a boat and can be rowed across any terrain — it’s tedious but reliable.

Step-by-Step Build (Java Edition)

Step 1: Choose a Location Away from Villages

Build at least 150 blocks away from any existing village. If your farm is too close, your villagers may re-link their beds to that village instead of yours — a silent failure that’s frustrating to diagnose.

Flat ground makes the build easier, but the farm works at any elevation. If you’re building near a village you want to keep intact, go underground.

Step 2: Build the Villager Cell

Build an enclosed 3×3×3 room using any solid blocks. Inside, place three beds — push them together to save space. The room needs at least one glass wall facing outward — this is the side where you’ll place the zombie cell.

Leave the top open for now so you can lower villagers in by boat. Once all three are inside, seal the roof with solid blocks. Make sure the room is fully escape-proof — use solid blocks throughout, not trapdoors, as villagers can open those.

Step 3: Build the Zombie Cell

Directly adjacent to the glass wall of your villager room, build a small enclosed cell for one zombie. Three critical details:

  • The shared wall must be glass on both sides so villagers have clear line-of-sight to the zombie
  • The roof must be solid (not glass) to block direct sunlight — zombies burn at dawn
  • The cell must be fully sealed so the zombie can never escape

Capture a zombie at nighttime. Lure it toward the cell using your character as bait, then seal the entrance behind it. Once it’s inside and sealed, the zombie is a permanent component of the farm.

Step 4: Build the Spawn Platform

Iron golems need a valid spawn block: a solid surface with at least two clear blocks of air above it [2]. Build a 6×6 solid platform centered below the villager cell, positioned about 2–3 blocks below ground level.

This is where golems will appear. It must be the closest valid spawn surface around the farm — if there are other solid surfaces with open air nearby (like the top of your villager cell), golems may spawn there instead. Cover any accidental spawn points with glass or carpet.

Step 5: Build the Kill Zone

Below the spawn platform, set up collection first, then work upward:

  1. Place a chest at the base
  2. Connect hoppers leading into the chest
  3. Above the hoppers, leave a one-block gap
  4. Place trapdoors on either side of the gap — these hold lava without a full block
  5. Pour lava into the gap to create the kill blade

From the spawn platform, place two water streams flowing toward the lava blade. Golems naturally walk into water and get carried to the kill zone. The whole process takes 10–15 seconds per golem — well within the 30-second cooldown window [2].

Step 6: Move Villagers In and Let Them Sleep

Use a boat to transport each villager into the cell. Place a boat next to a villager, get them seated, push the boat to your farm, and drop them in. Once all three are inside, seal the roof.

Wait for nightfall. The villagers must sleep in the beds at least once to establish their bed link — this is what registers the farm as a village. You’ll hear them pathfind to the beds. Once they’ve slept, the link is active and the farm is live.

Step 7: Test It

Stay within simulation distance of the farm (typically 4–10 chunks). Watch the spawn platform. Within a minute or two you should see an iron golem appear, get pushed by the water stream into the lava blade, and die — dropping ingots into the hoppers below.

If nothing spawns after two full minutes, check the troubleshooting table below.

Bedrock Edition: What’s Different

Bedrock Edition uses fundamentally different village mechanics. You cannot follow a Java tutorial for a Bedrock build — the requirements are much higher [4]:

RequirementJava EditionBedrock Edition
Minimum villagers310
Minimum beds320
Workstation requirementNone (panic design)75% must have worked the previous day
Spawn attempt ratePer-villager, triggered by panicEvery 35 seconds (1/700 chance per tick)
Typical output~200 ingots/hr~100–150 ingots/hr (basic)

On Bedrock, the easiest early-game approach is to convert an existing village rather than build from scratch. Fence it to keep villagers in, add enough beds to hit 20, place workstations for each villager, and build a kill zone at the village perimeter. The zombie-panic principle still works — you just need a larger population to satisfy Bedrock’s spawn requirements.

Output and When to Upgrade

A basic 3-villager Java farm produces approximately 200 ingots per hour. Each golem drops 3–5 ingots averaging 4, plus a 66% chance of 1–2 poppies [1].

One thing worth knowing: the Looting enchantment does not increase iron golem drops. The drop amounts are fixed regardless of your weapon enchantments [1] — don’t waste an enchantment slot trying to boost yield.

When to scale up:

  • 10 villagers: roughly 300 ingots/hr — useful for beacon pyramids and bulk crafting
  • 20 villagers: roughly 400 ingots/hr — adds about 33% over a 10-villager design [2]
  • Beyond 20: diminishing returns — each additional 10 villagers adds only around 5% more throughput

For most survival players, the 3-villager farm is more than enough. Build it mid-game and you’ll rarely think about iron again.

Troubleshooting: Why Your Farm Isn’t Working

The most common failure isn’t the build — it’s the bed-villager link breaking silently after a chunk reload or server restart. If your farm worked and then stopped, start here [3]:

SymptomMost Likely CauseFix
No golems spawning at allVillagers not linked to bedsBreak and replace all beds; wait for villagers to sleep again
Golems spawning in wrong locationUnintended valid spawn surfaces nearbyCover nearby solid blocks with glass, carpet, or slabs
Farm worked, then suddenly stoppedBed links broken after chunk reload or server restartReset beds (break and replace) and let villagers re-sleep [3]
Zombie not scaring villagersLine-of-sight blocked, or zombie diedCheck glass is clear; replace zombie if it burned or was killed
Bedrock farm not producingFewer than 10 villagers or 20 bedsAdd more villagers and beds to meet Bedrock requirements [4]

Frequently Asked Questions

Does Looting increase iron golem drops?

No. Iron golem drops — 3 to 5 ingots and 0 to 2 poppies — are fixed and unaffected by the Looting enchantment [1].

Can I build this farm underground?

Yes. The farm works at any depth as long as villagers are within simulation distance and have slept in their beds. Underground builds can actually help by eliminating accidental spawn surfaces around the farm.

Why are my villagers escaping?

Trapdoors are the usual cause — villagers can open them. Replace any trapdoors in the cell walls with solid blocks and check for one-block gaps at corners.

My villagers won’t sleep — what’s wrong?

Villagers only sleep at nighttime when they can path to a free bed. Check nothing is blocking each bed physically, and that the cell isn’t too cramped for pathfinding. Expanding the cell slightly usually resolves it.

Sources

References

  1. Minecraft Wiki. “Iron Golem.” minecraft.wiki. Accessed March 2026.
  2. Minecraft Wiki. “Tutorial: Iron Golem Farming.” minecraft.wiki. Accessed March 2026.
  3. GGServers. “Fixing Broken Iron Golem Farms in Minecraft.” ggservers.com. Accessed March 2026.
  4. Sportskeeda. “How to build an iron farm in Minecraft Bedrock Edition.” sportskeeda.com. Accessed March 2026.