An iron farm in Minecraft Java Edition automatically produces iron ingots by exploiting village mechanics: villagers spawn iron golems, which you then kill for iron. The simplest reliable design uses three villagers, a zombie to scare them, and a small platform where golems spawn and fall into a collection area. You need a village (at least three villagers with beds and workstations), a zombie (or zombie villager) in a safe cage, and basic building materials. This guide covers the classic three-villager design, which works in current Java versions without mods.

What You'll Need

  • At least 3 villagers (you can breed them from 2)
  • 3 beds and 3 workstations (e.g., composters, smithing tables, or fletching tables) — one per villager
  • 1 zombie or zombie villager, trapped in a cage (a boat or minecart works)
  • Building blocks (cobblestone, glass, slabs, etc.)
  • Water buckets, hoppers, chests, and a lava bucket or fall damage setup for killing golems
  • A safe, flat area away from other villages (at least 100 blocks from any village or workstation)

Step-by-Step

  1. Choose a location. Pick a flat area at least 100 blocks from any other village, iron golem, or villager workstation. This prevents interference from nearby villages. Clear a 10x10 area.
  2. Build the villager pod. Create a 3x3 platform at ground level, surrounded by walls. Place three beds inside, with a 1-block gap between each. Place one workstation next to each bed. The villagers will claim these and establish a village.
  3. Add the zombie cage. Build a 1x1 cage 2 blocks above the villager pod, using glass or slabs so villagers can see the zombie but not reach it. Trap the zombie inside using a boat or minecart. The zombie must be within 5 blocks of the villagers to trigger golem spawning.
  4. Create the spawn platform. Build a 5x5 platform of solid blocks at least 3 blocks above the zombie cage. This is where iron golems will spawn. Surround it with walls 2 blocks high to keep golems from wandering off.
  5. Add the collection system. In the center of the spawn platform, leave a 1x1 hole. Place water source blocks around the platform so golems are pushed into the hole. Below the hole, build a 2-block drop into a killing chamber. Use lava or a fall of at least 23 blocks to kill golems (they have 100 health). Place hoppers and chests to collect iron ingots and poppies.
  6. Ensure villager safety. The villagers must be able to sleep and work. Keep the zombie caged and unable to reach them. Make sure the villagers have access to their beds and workstations at all times. Do not let them trade or leave the pod.
  7. Wait for golems to spawn. Iron golems spawn every 10-30 seconds if the village is valid. You should see golems appear on the spawn platform and get pushed into the collection system. Check that the zombie is still present and the villagers are not panicking (panicking villagers stop spawning golems).
  8. Collect iron. Iron ingots and poppies will accumulate in the chest. Empty regularly. The farm produces roughly 30-40 iron ingots per hour in ideal conditions.

Common Mistakes

  • Placing the farm too close to another village or workstation, which breaks the village link.
  • Letting the zombie escape or be killed — the scare effect is essential.
  • Not giving villagers enough beds or workstations; each villager needs one of each.
  • Building the spawn platform too low or too high; golems need space to spawn and fall.
  • Forgetting to light up the area — hostile mobs can disrupt the farm.

Tips

  • Use glass blocks for the zombie cage so you can see it and villagers can see it.
  • Place slabs on top of the spawn platform walls to prevent spiders from climbing in.
  • Build the farm near your base but away from other villages for easy collection.
  • Use a hopper minecart under the killing chamber for faster collection.
  • Keep the chunk loaded (e.g., with a chunk loader) if you leave the area, or the farm stops.

Troubleshooting

If no golems spawn, check these in order: (1) Ensure the zombie is still caged and within 5 blocks of villagers. (2) Verify villagers have claimed beds and workstations — break and replace them if needed. (3) Make sure no other village or iron golem is within 100 blocks. (4) Check that the spawn platform is clear and lit. (5) Wait a full Minecraft day; spawning can be slow. If golems spawn but don't fall, check water flow and hole placement. If villagers are panicking, remove the zombie temporarily, let them calm down, then replace it.

Frequently Asked Questions

How many villagers do I need for an iron farm?

At least three villagers with beds and workstations. More villagers can increase spawn rates but three is the minimum for a valid village.

Can I use a zombie villager instead of a zombie?

Yes, a zombie villager works as the scare mob, but it must be trapped and unable to attack villagers.

Why are no iron golems spawning?

Common causes: zombie missing or too far, villagers not linked to beds/workstations, or another village nearby. Check the troubleshooting section above.

How much iron does this farm produce?

Roughly 30-40 ingots per hour under good conditions, though rates vary with spawn timing and collection efficiency.

Do I need to be near the farm for it to work?

Yes, the farm only runs when the chunk is loaded. Stay within simulation distance or use a chunk loader.

Can I build this in the Nether or End?

No, iron golems only spawn in the Overworld. Build it in the Overworld.