How to Build an Iron Farm (Step by Step)
A complete iron farm walkthrough — how golem spawning actually works, the three villagers you need, and why most farms produce nothing.
Iron is the most-used material in Minecraft — rails, hoppers, anvils, buckets, armour, and every redstone contraption worth building. An iron farm turns it from something you mine into something that piles up in a chest while you do other things.
How golem spawning actually works
Understanding this is the difference between a farm that produces hundreds of ingots an hour and one that produces nothing at all.
An iron golem spawns when a village meets these conditions:
- At least three villagers are present and gossiping with each other.
- Each villager has claimed a bed and can path to it.
- At least one villager is frightened — usually by a zombie within about 16 blocks.
- There is a valid spawn space for the golem near the village centre.
The farm's entire job is to hold all four conditions true permanently. Villagers panic at the caged zombie, gossip about it, and produce golems on a schedule. You collect the golems.
What you need
- Three villagers. Any profession, including nitwits — they only need to be adults.
- Three beds, one per villager, each reachable.
- One zombie, contained so it can scare but never reach them.
- A collection and kill system.
- Building blocks, hoppers, chests, and either lava or a long drop.
Getting villagers is usually the slow part. If you do not have a village nearby, our villager breeder guide covers producing your own, and the villager jobs guide explains professions and workstations.
Build it in the sky
This is the single most valuable piece of advice in this guide. Build the farm on a platform high above the ground, or far out over an ocean.
The reason is spawn competition. Golems spawn in a volume around the village centre, and if that volume overlaps caves, dark ledges or any other valid ground, golems appear there instead of in your collection area — or hostile mobs eat the spawn cap entirely. A platform in open sky removes every competing surface at once.
Step by step
- 1.Build a platform at least 50 blocks up, well away from other villages. A base roughly 16x16 is plenty.
- 2.Make three enclosed cells for your villagers, each with a bed. They must be able to see each other or at least be close enough to gossip, and they must not be able to escape.
- 3.Transport the villagers up. Minecarts on rails, or a water column with boats. This is fiddly and slow — budget real time for it.
- 4.Cage the zombie in the centre where all three villagers can see it. Use glass or a fence gap. Name the zombie with a name tag so it never despawns; this is the step people forget, and losing the zombie silently kills production.
- 5.Leave a designated spawn platform directly below or beside the villager cells — the one legal place a golem can appear.
- 6.Drop the golems. Golems that spawn on the platform fall into a chute. A drop of enough height leaves them nearly dead, or use a lava blade for a fully automatic kill.
- 7.Hoppers into a chest below to collect the iron ingots and poppies.
Killing golems: fall damage or lava
- Fall damage plus a manual hit gives you the experience as well as the iron. Good if you also want XP.
- A lava blade is fully automatic and needs no attention, but destroys the XP. Most players prefer this once the farm is running.
Golems drop 3 to 5 iron ingots each, plus poppies. There is no Looting bonus on golem drops, so an automatic kill costs you nothing in yield.
Why farms fail — the five usual causes
The zombie despawned. Name-tag it. This is the most common failure by far.
Villagers cannot reach their beds. Each villager must claim a bed. If pathing is blocked, they never link up and the village does not form.
Only two villagers. Three is the minimum. If one dies, production stops entirely.
Competing spawn spaces. Golems are appearing somewhere else nearby. Build in the sky, or light and slab-cover everything within range.
Villagers are not scared. The zombie must be within about 16 blocks and visible. A fully walled-off zombie in a sealed box does not frighten anyone.
Improving the rate
- More villagers. Beyond the minimum three, more villagers in the village increases the golem cap and the rate.
- Keep them fed. Throw bread, carrots or potatoes so they stay healthy and willing.
- Keep it isolated. Another village within range confuses village-centre calculations and splits your golem spawns.
- Build several modules. Rather than one enormous farm, many players build two or three separate small farms spaced apart.
What to do with all that iron
Once running, iron stops being a constraint. Hoppers for every other farm on this site, rails for transport, anvils for our anvil and Mending workflow, and iron blocks toward a beacon pyramid — our beacon calculator works out exactly how many blocks each tier needs.