Last updated: 26 October 2026
Minecraft Iron Farm Guide — Unlimited Iron on Autopilot
To build an iron farm in Minecraft Java Edition, keep three villagers where they can sleep in beds and see a zombie that can't reach them. Scared villagers summon an iron golem — at most one every 30 seconds per group — and the golem drops down a shaft into a kill chamber, where lava held up on signs burns it and its 3–5 iron ingots fall into hoppers and a chest. The rules this relies on still hold in Java 26.3: the history on minecraft.wiki's Iron Golem page lists no change to golem summoning since Java 1.20.2 (2023). Bedrock Edition works differently — scared villagers don't summon golems there, so a Bedrock farm needs at least 10 villagers and 20 beds (see the last section).
01Why Iron Runs Out — and Why a Farm Fixes It
A diamond pickaxe costs 3 diamonds, but the tools and blocks around it need iron by the dozen: 24 ingots for a full iron armour set, 3 per iron pickaxe, 5 per hopper and 6 per batch of 16 rails. Strip-mining keeps up for a while, but once you start building mob farms, storage systems and beacon bases the demand outpaces manual mining quickly.
An iron golem farm works because villagers summon iron golems to protect themselves. Each golem drops 3–5 iron ingots when it dies, however it dies. Send the golems into a kill chamber, catch the ingots with hoppers, and you have a passive iron source that fills a chest in the background.
Output is capped by the summoning rules, not by how big you build: each villager group summons at most one golem every 30 seconds, and only while no golem is standing near it. A single three-villager farm gives a steady trickle; more iron means more villager groups (see Scaling Up).
02How Iron Golems Spawn — the Zombie-Panic Rule (Java)
Villages spawn the odd iron golem on their own, but Java Edition farms use a different rule: a group of panicking villagers summons a golem to defend itself. A villager panics when it sees a zombie — or a husk, drowned or zombie villager — within 8 blocks, with a clear line of sight from its eyes to the mob's.
Summoning conditions (Java Edition):
- At least 3 villagers within 10 blocks of each other are panicking (a gossiping group needs 5).
- Each of them has slept in a bed within the last 20 minutes — one Minecraft day — so they need beds they can reach every night. They don't need a profession or a workstation.
- None of them has seen an iron golem within 16 blocks in the last 30 seconds, and none was near another golem summoning in the last 30 seconds. In practice a villager group summons at most one golem every 30 seconds, and a golem left standing near the villagers stops the farm.
- The golem appears up to 8 blocks sideways and 6 blocks up or down from a villager, on top of a solid block with room for its 2.7-block height.
A farm turns these rules into a machine: the villagers sleep in a small room and can see a trapped zombie, and the only place in range where a golem fits is a floor over a drop shaft, so every new golem falls into the kill chamber and is gone before the next one is due.
Iron golems do not despawn. A golem that lands anywhere else stays near the villagers and blocks every summon after it, so design the farm so a golem has nowhere else to stand.
03What You Need Before You Build
You will need the following. Most of it is cheap; the hardest part is moving villagers and a zombie into place.
- 3 villagers — any profession, or none
- 3 beds — regular beds; villagers never use the straw beds added in Java 26.3
- 1 zombie — the farm's permanent threat (a husk works too and doesn't burn in daylight)
- 1 boat (or a minecart on a rail) — holds the zombie in place; mobs riding a boat or minecart don't despawn, so no name tag is needed
- Building blocks — floor, walls, roof and the drop shaft
- 4 hoppers and 1 chest — collection
- 4 signs and 1 lava bucket — the kill chamber; the signs hold the lava up so the ingots don't burn
- Stone buttons or pressure plates — to cover the roof so golems can't appear on it
To catch a zombie, dig a 2×1 pit near one at night, let it fall in, and place a boat on it — it climbs in and is stuck there. Zombies still burn in direct sunlight while sitting in a boat, so get it under a roof before dawn.
04Build Outline (Java Edition)
This outline follows the rules above. It is not a block-by-block schematic: layouts vary, and where to put the zombie is the part every design solves differently. The check at the end tells you whether yours works.
- Pick the spot. Build in the air, at least 10 blocks above the ground and 8 blocks clear of hills, trees and other builds. Villagers summon golems onto any suitable block within 8 blocks sideways and 6 up or down, so your spawn floor should be the only surface in that range.
- Build the spawn floor. Lay a 6×6 floor with a 2×2 hole in the middle — iron golems walk across 1-block gaps but drop through a 2×2 hole. Wall it in 3 blocks high and put a roof on top, so a 2.7-block-tall golem fits inside.
- Add the villager room. Extend the floor 2 blocks along one side and build the villager room there, inside the same walls and under the same roof, with a ceiling only 2 blocks above its floor: villagers fit, golems can't appear in it. Put the 3 beds in it and close it off from the spawn floor so the villagers can't walk into the hole.
- Bring in three villagers by boat or minecart rail. They claim the beds at night.
- Trap the zombie. Put the zombie, in its boat, in a pocket next to the villager room, roofed 2 blocks above its floor like the villager room so no golem fits in it either. The villagers must see it directly from within 8 blocks — mobs can't see through glass, glass panes or ice — so leave the view open and keep the zombie far enough away that it can't hit them. A zombie in a boat can't get out or steer it, so open space is the barrier.
- Cover the roof, and the top of the zombie's pocket, with stone buttons or pressure plates. A golem can't be summoned onto a block that has a non-solid block on top, so this stops golems appearing up there.
- Build the drop shaft. Under the 2×2 hole, build a walled 2×2 shaft 8–10 blocks deep. That puts the kill chamber outside the summoning range; golems take no fall damage.
- Build the kill chamber. Make the bottom of the shaft a 2×2 floor of hoppers feeding a chest. One block above the hoppers, place a sign on the shaft wall in each of the four columns, then pour lava on top of the signs. Lava can't flow through signs and signs don't block movement, so a golem lands on the hoppers with its upper body in the lava and burns, and its ingots drop onto the hoppers. Items that touch lava are destroyed, so the lava must never reach the hopper floor.
- Check it. Let a night pass so the villagers sleep, then stay nearby. Golems should start appearing on the spawn floor, wander into the hole and drop into the kill chamber. If none appear, work through Troubleshooting below.
05Farm Layout at a Glance
06Troubleshooting: Why Your Farm Has Stopped
Iron golem farms have a few failure modes that are easy to overlook:
- No golems at all. Check that the villagers slept last night — if they can't reach their beds, summoning stops. Then look for a live golem anywhere within 16 blocks of them: villagers that saw a golem in the last 30 seconds won't summon another. Finally, make sure the spawn floor has room for a golem and lies within 8 blocks sideways and 6 up or down of the villagers.
- Villagers not panicking. They need a clear view of the zombie from their eye level, within 8 blocks. Glass, glass panes and ice block a mob's view, so a zombie behind glass doesn't work. A drowned scares villagers from the same 8 blocks, but keep the zombie's pocket dry so it doesn't turn into one.
- Golems wander instead of dropping. Golems walk at random, and each one blocks the next summon until it's gone. Keep the open floor small (about 6×6 around the hole) and make the hole 2×2 — golems walk straight over 1-block gaps.
- No iron in the chest. If lava touches the hopper floor, the ingots burn as they drop; keep the lava one block up, on signs. Then check that every hopper points into the next hopper or the chest — place a hopper while sneaking against a chest or hopper to attach it in that direction.
- Zombie gone. A zombie riding a boat or minecart doesn't despawn, but zombies burn in daylight, so its pocket needs a roof. A name tag is only insurance in case it leaves the boat.
- Farm only works while you're nearby. Minecraft only runs mobs in chunks within your simulation distance (Options → Video Settings in Java), so nothing is summoned while you're further away. An AFK spot close to the farm is the usual fix.
07Scaling Up: More Villagers, More Iron
One villager group summons at most one golem every 30 seconds, and villagers within 10 blocks of a summoning wait out the same 30 seconds, so packing more villagers into one room barely helps. Bigger Java farms use several villager groups spaced apart, each with its own spawn floor and drop, so the groups don't share the cooldown and no group can see another group's golems within 16 blocks.
Whatever the size, keep each group's spawn floor the only place a golem can land, and confirm one cell works cleanly before you copy it.
08Java vs Bedrock: What Is Different
This design is for Java Edition only. In Bedrock Edition villagers don't summon golems when they panic, so a three-villager zombie farm produces nothing. Bedrock spawns golems from the village itself:
- The village needs at least 20 beds and 10 villagers, every villager linked to a bed, and at least 75% of them must have worked at their workstation in the past day.
- Golems spawn within 8 blocks sideways and 6 up or down of the village centre (the pillow of the first bed a villager linked to, unless the centre shifts), at roughly one attempt every 35 seconds.
- One golem can be alive per 10 villagers, so killing golems quickly keeps the farm running.
- Lava destroys dropped items in both editions, so the kill chamber still has to keep lava away from the ingots.
A Bedrock iron farm is therefore a bigger build — a 20-bed bunker with ten working villagers and a spawn platform reaching 8 blocks out from the beds. minecraft.wiki's iron golem farming tutorial has Bedrock layouts.
FAQ
How many villagers do I need for an iron farm in Minecraft?
In Java Edition, 3: three panicking villagers within 10 blocks of each other can summon a golem, as long as each has slept in a bed within the last 20 minutes. In Bedrock Edition you need at least 10 villagers and 20 beds, because golems spawn from the village rather than from scared villagers.
Does the iron farm still work in Minecraft 26.3?
Yes. In Java 26.3 the summoning rules this farm relies on are unchanged — the history on minecraft.wiki's Iron Golem page lists no change to golem summoning since Java 1.20.2 (2023). One new detail: villagers never use the straw beds added in 26.3, so give them regular beds.
How many iron ingots does an iron golem drop?
3–5 iron ingots every time, however it dies, plus up to 2 poppies.
Why does my iron farm work sometimes but not always?
Usually a golem is surviving somewhere — on the roof, a ledge or the spawn floor — and while the villagers have seen a golem within 16 blocks in the last 30 seconds they won't summon. Cover spare surfaces with buttons or pressure plates and keep a small floor around a 2×2 hole. The other common cause is sleep: villagers that couldn't reach their beds can't summon.
Why don't my villagers panic when the zombie is behind glass?
Mobs can't see through glass, glass panes or ice, and villagers need a clear view of the zombie within 8 blocks to panic. Use open space between them instead of glass, with the zombie held in a boat out of reach.
Why put the lava on signs instead of in a pool?
Dropped items burn in lava, so a golem that dies in a lava pool takes its iron with it. Lava held up on signs burns the golem's upper body while its ingots drop onto the hoppers underneath: signs stop the lava flowing down but don't block the golem.
How far away can I be from the iron farm?
Within your simulation distance (Options → Video Settings in Java). Outside it, villagers and golems aren't updated, so nothing spawns. An AFK spot close to the farm is the simple fix.
Does this iron farm work in Bedrock Edition?
No. Bedrock villagers don't summon golems when scared; Bedrock spawns golems in villages with at least 20 beds and 10 villagers, most of whom have worked in the past day. Build a village-style farm instead.
Can I use a husk or drowned instead of a zombie?
Yes, in Java. Husks, drowned and zombie villagers scare villagers from the same 8 blocks as zombies. A husk doesn't burn in daylight, which makes it easier to keep.
Sources
Where the facts on this page were checked. If one of them now says something different, we want to know — tell us and we will fix the guide.
- Iron Golem Minecraft Wiki
- Villager Minecraft Wiki
- Tutorial: Iron golem farming Minecraft Wiki
- Mob (line of sight) Minecraft Wiki
- Mob spawning (despawning) Minecraft Wiki
- Item (entity) Minecraft Wiki
- Boat Minecraft Wiki
- Simulation distance Minecraft Wiki
- Sign Minecraft Wiki
- Java Edition 26.3 Minecraft Wiki
- Java Edition version history Minecraft Wiki
New & updated guides ship every week. Follow the Atom feed or get notified when new Minecraft guides land.