An iron farm automates iron collection by trapping and killing iron golems

An iron farm is a structure that spawns iron golems in a confined space, then kills them automatically to collect iron ingots and poppies. Iron golems spawn when villagers are nearby and scared, so the farm uses villagers as bait. The golems appear, get pushed into a killing chamber, and drop their loot for you to collect.

The basic design works on both Java and Bedrock editions, though the exact mechanics differ slightly. A working farm produces between 100 and 200 iron ingots per hour depending on your design and how many villagers you use. You need access to a village or the ability to breed villagers from scratch, which takes time but is worth it if you plan to use large amounts of iron.

Key Takeaways

  • Iron farms require at least one villager and a way to scare them repeatedly, usually with a zombie or witch.
  • Iron golems spawn in a 16-block radius around a villager who is panicked, so your farm needs to contain that spawn area.
  • The killing chamber can use fall damage, suffocation, or drowning, but fall damage from a 30-block drop is the most common method.
  • You need a hopper system to collect drops and sort iron ingots from poppies into separate chests.
  • Building a farm takes 30 minutes to several hours depending on whether you gather materials first or use creative mode.

What you need before you start building

Gather at least one villager and one zombie or witch. The villager must be alive and in the farm; the zombie or witch scares the villager into panicking, which triggers iron golem spawns. You can find villagers in villages or breed them from two existing villagers using beds and food. Zombies spawn at night or in dark caves; witches are rarer but also work.

Collect building materials: dark oak wood or spruce for the frame, glass or dark oak trapdoors for walls (so you can see inside), hoppers, chests, and a way to kill golems. If you are using fall damage, you need a 30-block drop, so plan your vertical space. If you are using suffocation or drowning, you need pistons, water, or sand. Most farms also use rails and minecarts to transport golems to the killing chamber, though some designs push them with water instead.

Find a location at least 128 blocks away from your main base. Iron golems only spawn if no other golems are within 64 blocks, so distance matters. A location near your base but far enough away works best—you want to be able to reach the collection chest easily but not have the farm interfere with other mob spawning.

Building the spawn platform and villager chamber

Create a 16-by-16 platform at least 30 blocks above the ground. This is where iron golems will spawn. The platform should be solid blocks with no gaps, and it should be enclosed on the sides with walls at least one block high to prevent golems from walking off. Leave the top open so golems can spawn.

Place your villager in a small chamber on or near the spawn platform. The villager needs to be able to see the sky and have access to a bed and workstation (like a composter or lectern). The bed and workstation keep the villager happy and prevent them from leaving. Surround the villager with walls so they cannot wander, but make sure they stay within the 16-block spawn radius of the platform.

Position your zombie or witch in a separate chamber where they can scare the villager but cannot reach the spawn platform. Most designs use a minecart with a zombie or witch that moves back and forth on rails, stopping near the villager for a few seconds, then moving away. This cycle repeats automatically. The zombie or witch must be close enough to panic the villager but far enough that they do not interfere with golem spawning.

Creating the killing chamber and collection system

Build a chute below the spawn platform that funnels golems downward. Most designs use a 2-by-2 hole in the center of the platform with walls around it to guide golems toward the hole. Golems will wander randomly on the platform, so the walls should create a funnel that makes falling into the hole the most likely path. Some designs use water to push golems toward the hole instead.

Drop golems 30 blocks to kill them. A fall from 30 blocks deals enough damage to kill a full-health iron golem. Place a collection chamber at the bottom with hoppers feeding into chests. The hoppers catch iron ingots and poppies as they fall. Use a hopper filter or sorting system if you want to separate iron from poppies automatically—iron ingots go to one chest, poppies to another.

Add a water stream or minecart system to move golems from the spawn platform to the drop point if they do not fall naturally. Some designs use minecarts on rails that golems climb into, then the minecart carries them to the edge of the platform where they fall. Other designs use flowing water to push golems toward the hole. Test your design by spawning a few golems and watching where they go.

Automating the zombie or witch cycle

Use powered rails and redstone to move your zombie or witch back and forth on a track. Place the zombie or witch in a minecart on a rail line that runs past the villager chamber. Use powered rails to move the minecart, and redstone repeaters or observers to create a timer that powers the rails for a few seconds, then stops. When the rails stop, the minecart stops near the villager and panics them. After a delay, the rails power again and move the minecart away.

The cycle should repeat every 10 to 20 seconds. A faster cycle spawns more golems, but too fast and the golems will not have time to fall into the chute. Experiment with different delays to find what works best for your design. You can use a simple redstone clock made from repeaters, or a more complex system using observers and comparators if you want precise control.

Make sure the zombie or witch cannot escape the minecart or reach the villager directly. Use walls and fences to contain the minecart track. If the zombie or witch dies, the farm stops working, so protect them from any damage source except the fall damage that kills golems.

Testing and troubleshooting your farm

Turn on the farm and wait for golems to spawn. If nothing happens, check that your villager is panicked—they should look scared and shaking. If the villager is not panicking, move the zombie or witch closer or make sure they are actually in the farm. If golems spawn but do not fall into the chute, adjust the funnel walls or add water to push them toward the hole.

If golems are spawning but dying before reaching the collection chamber, check that the fall is exactly 30 blocks or more. A shorter fall will not kill them. If golems are escaping the farm, add walls or fences to contain them. If the hopper system is not collecting drops, make sure the hoppers are facing the right direction and connected to chests.

Iron production should start within a few minutes of the farm running. If you are getting very little iron, the zombie or witch cycle may be too slow, or the spawn platform may be too small. Larger platforms and faster cycles produce more iron. Some players build multiple spawn platforms stacked vertically to increase production.

Differences between Java and Bedrock editions

Java Edition iron golems spawn in a 16-block radius around a panicked villager, and they spawn on solid blocks at any height. Bedrock Edition golems spawn in a 16-block radius but only on blocks at the same level as the villager or one block higher. This means Bedrock farms need a different platform layout—the spawn area must be closer to the villager's height.

Bedrock also has a lower spawn cap for iron golems, so farms produce less iron per hour. Java farms can produce 200+ ingots per hour with a good design, while Bedrock farms typically produce 50 to 100 ingots per hour. Both editions require the same basic components: a villager, a scare source, a spawn platform, and a killing chamber.

Frequently Asked Questions

Do I need a village to build an iron farm?

No. You can breed two villagers from scratch using beds, workstations, and food, then use those villagers in your farm. However, finding an existing village and moving one villager is faster than breeding from nothing.

Can I use a creeper or other mob to scare the villager?

No. Only zombies and witches scare villagers into panicking. Creepers, skeletons, and other mobs do not trigger the panic state that causes iron golems to spawn.

What happens if my zombie or witch dies?

The farm stops producing golems because the villager is no longer panicked. You need to replace the zombie or witch and restart the cycle. Keep extra zombies or witches nearby so you can quickly swap them in if one dies.

How much space do I need for an iron farm?

A basic farm needs about a 20-by-20 block area for the spawn platform and killing chamber, plus space for the redstone and minecart systems. A 30-by-30 area gives you plenty of room to work with. Larger farms with multiple spawn platforms need more space but produce more iron.

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

No. Iron golems only spawn in the Overworld. Villagers in the Nether or End will not panic, and golems will not spawn even if they do.