Curious Minds

Clear answers to science and history questions

How to Build an Iron Farm in Minecraft

· 6 min read · Science

An iron farm is a player-built structure that produces iron ingots automatically by exploiting the way villagers spawn iron golems. In Minecraft Java and Bedrock editions the mechanics differ, but the idea is the same: keep a group of villagers in constant fear of a zombie (Java) or let villagers sleep and gossip (Bedrock) so that iron golems spawn, then funnel the golems into a killing chamber where they die and drop iron ingots. A working design produces anywhere from roughly 40 to over 300 ingots per hour depending on size and edition. Before you start, secure a flat area well away from other villages, and understand that the farm only runs while its chunks are loaded. You will also need basic redstone knowledge for the collection system, a supply of building blocks, and a safe way to handle the hostile mobs involved.

What You'll Need

  • A flat, open site at least 20 blocks from any other village, villager, or iron golem, or the spawn mechanics will be blocked.
  • At least 10 villagers (Java) for the smallest designs, or 10-20 for a productive Bedrock build; many experienced players use 20 or more.
  • Building blocks: stone, cobblestone, glass, and some wool or slabs.
  • Water buckets (two) to create infinite water sources and a water column for transporting mobs.
  • Hoppers (at least one, ideally several) and a chest array to collect drops.
  • A zombie and a lead or nametag, or a zombie spawn egg in creative; on Bedrock a bell instead.
  • A dispenser, some lava buckets, or a drop chamber to kill golems.
  • Doors, beds, and workstations (composter, smithing table, lectern) to keep villagers employed and linked to their beds.
  • A pickaxe, shovel, and plenty of scaffolding or ladders to build and climb.
  • Torches or lanterns so the surrounding area is lit and you can see what you are doing.

Step-by-Step

  1. Pick a site and clear it. Choose a flat area and dig down or build up so the farm is isolated. Remove any nearby beds, workstations, bells, or villagers within about 20 blocks, because an existing village can suppress spawning. Light up the surroundings to stop other mobs wandering in.
  2. Build the villager pod. For a small Java design, dig a chamber around 5x5 blocks and place 10 beds along the walls. Put a composter or lectern next to each bed so villagers claim a bed and a job. Trap the villagers inside with blocks or glass, and make sure each bed is claimed (green ticks or particles show this).
  3. Add the zombie. In Java, place a zombie in a small glass or block cage above or beside the pod, out of reach of the villagers but with line of sight. Name it with a nametag so it will not despawn. The villagers must constantly see the zombie to stay in the panic state that drives golem spawning. Do not let the zombie reach the villagers.
  4. Create the golem spawn space. Iron golems need a 3x3 area of solid ground with at least three blocks of headroom, and they cannot spawn on glass or slabs. Build a flat platform of solid blocks several blocks away from the villagers, connected by a path the golems will walk toward.
  5. Lure the golems to the kill chamber. Use water streams or a sloping channel lined with water to push golems toward a central drop. A common approach is a water current that carries the golem to a hole where it falls into a collection area below.
  6. Build the killing mechanism. Either drop the golem far enough to take fall damage (a drop of about 20 blocks kills an iron golem), or use a lava blade or a dispenser-launched lava bucket over a hopper. Do not let golems reach the hoppers directly or they may knock blocks and items around.
  7. Install collection. Place hoppers under the kill point leading into a double chest. Hoppers pick up iron ingots plus poppies, so add a filter or simply accept the flowers filling space; use overflow chests or a hopper filter if you want only iron.
  8. Repeat and scale up. Once the base design works, add more villager pods (each with its own beds and a shared zombie) to increase the spawn rate. Java designs spawn golems roughly every few hundred ticks depending on the number of villagers in range; more pods means more golems.
  9. Test and adjust. Stand near the farm for a few minutes. If no golems appear, check sightlines, bed claims, and whether another village is within range. On Bedrock, ensure the villagers can sleep and gossip, and that the bell is placed correctly, because the mechanic there is entirely different.

Common Mistakes

The most frequent failure is building the farm too close to another village, a wandering trader, or an iron golem. Any of these within the detection range can prevent, or steal, golem spawns. Another common problem is a broken sightline between villagers and the zombie: one misplaced block and the villagers calm down, and spawning stops. On Bedrock, players often follow Java tutorials, which do not work because Bedrock golems spawn from villager gossip and sleeping, not panic. Placing spawn platforms of glass, slabs, or non-solid blocks is another error, since golems need solid ground. Finally, forgetting to name the zombie causes it to despawn when you leave the area.

Tips

Keep the farm chunk-loaded if you want continuous production; golems and villagers only act while their chunks are active. Run the farm inside a walled or roofed enclosure so stray mobs and villagers cannot interfere. Use tinted glass or a roof over the villager pod to prevent zombie burning in daylight on Java. Build at a height above ground level so the fall damage design works and other mobs cannot wander into the kill chamber. Label your build with signs and use colour-coded wool so you can find faults quickly. If you play Bedrock, look for a design that matches the current version, because Bedrock golem mechanics have changed across updates.

Troubleshooting

If no golems spawn, first confirm the villagers are linked to beds and jobs by checking for particles and sleeping at night. Then verify the zombie is visible and that no other village is nearby. If golems spawn but never reach the kill chamber, check that the water stream flows in the correct direction and that no blocks block the path. If golems are spawning outside your farm, extend the walls or roof, because they can spawn on any valid 3x3 solid surface in range. If items are not collected, inspect the hopper chain for a missing hopper or a chest that is full. If villagers stop working, they may be unable to reach their beds or jobs; clear the path. On Bedrock, if the farm is silent after an update, the mechanic has likely changed, and the fix is to replace the design.

Frequently Asked Questions

Do I need a zombie for an iron farm?

On Java, yes for panic-based designs, because villagers must be scared for golems to spawn. On Bedrock, no; villagers need to sleep and gossip instead.

How many villagers do I need?

The smallest Java designs use around 10, but most players use 20 or more for a better rate. Bedrock designs typically use 10 to 20.

How long does an iron farm take to produce iron?

Expect the first golems within a few minutes once the farm is set up and you are nearby, with rates rising as you add villager pods.

Can I build an iron farm in the Nether or End?

No, villagers and golems do not work normally there, so iron farms are overworld-only builds.

Why are poppies filling my chests?

Iron golems drop poppies when they die. Add a hopper filter to discard them or use extra chests as overflow.

Does the farm work while I am away?

Only if the chunks stay loaded. Otherwise the farm pauses until you return and the chunks are active again.

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions