Hub / Minecraft / Iron Farm

Last updated: 26 October 2026

FarmingAutomationResources✓ Verified for Minecraft Java 26.3 (Bedrock rules checked for 26.52)

Minecraft Iron Farm Guide — Unlimited Iron on Autopilot

Updated October 20269 min readBy

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).

Official screenshot from Minecraft
Official screenshot — Minecraft (Mojang Studios) · source

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):

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.

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.

  1. 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.
  2. 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.
  3. 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.
  4. Bring in three villagers by boat or minecart rail. They claim the beds at night.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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:

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:

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.

  1. Iron Golem Minecraft Wiki
  2. Villager Minecraft Wiki
  3. Tutorial: Iron golem farming Minecraft Wiki
  4. Mob (line of sight) Minecraft Wiki
  5. Mob spawning (despawning) Minecraft Wiki
  6. Item (entity) Minecraft Wiki
  7. Boat Minecraft Wiki
  8. Simulation distance Minecraft Wiki
  9. Sign Minecraft Wiki
  10. Java Edition 26.3 Minecraft Wiki
  11. Java Edition version history Minecraft Wiki
Stay in the loop

New & updated guides ship every week. Follow the Atom feed or get notified when new Minecraft guides land.

Note: Minecraft receives regular updates that can adjust mob behaviour, world generation and crafting recipes — always cross-check with the official Minecraft Wiki for the version you are playing.
Was this guide helpful?