An iron farm in Minecraft automatically produces iron ingots by exploiting village mechanics: villagers spawn iron golems, and the farm kills and collects the drops. You need at least three villagers, a zombie or zombie-like mob to scare them, a collection system, and a safe spawn platform. The farm works in Java and Bedrock editions, but the exact mechanics differ slightly, so follow the version-specific notes below. Build it away from other villages (at least 100 blocks) to avoid interference.
What You'll Need
- At least 3 villagers (10+ for higher rates; 20 is a common target)
- 1 zombie (named so it doesn't despawn) or a zombie villager
- Building blocks (cobblestone, glass, slabs, etc.)
- Water buckets and hoppers/chests for collection
- Lava bucket or a killing mechanism (fall damage, magma blocks)
- Fence gates, trapdoors, and a lead or boat to move villagers
- Optional: name tag for the zombie, soul torch or other light source
Step-by-Step
- Choose a location. Pick a flat area at least 100 blocks from any village or other iron farm. The farm must be in the overworld; nether and end farms work differently. Clear a 20x20 area for the main platform.
- Build the villager pod. Create a 5x5 platform at ground level, surrounded by walls two blocks high. Place beds and workstations (e.g., lecterns, smithing tables) so villagers can claim them. The villagers need to sleep and work to be "happy" and spawn golems. Ensure each villager has a bed and a workstation; otherwise spawning stops.
- Add the zombie scare. Place a zombie in a secure cell (e.g., a 1x1 hole with a glass roof) near the villagers but separated by walls. Name the zombie with a name tag to prevent despawn. The zombie must be able to "see" the villagers—line of sight through glass or fences works. In Java, the zombie must be within 16 blocks; in Bedrock, the range is similar but check version notes.
- Build the spawn platform. Above the villagers, build a 9x9 platform (or larger) at least 4 blocks above the villager pod. Golems spawn on solid blocks. Surround the platform with walls to prevent golems from wandering off. Use slabs or trapdoors to prevent other mobs from spawning.
- Create the collection system. Below the spawn platform, dig a 3x3 hole and place hoppers leading to a chest. Add water streams to push golems into the hole. Alternatively, use a lava blade at the bottom to kill golems, with hoppers underneath to collect drops. Make sure the killing mechanism doesn't destroy the drops (lava can burn items).
- Connect villagers to the farm. Ensure villagers can access their beds and workstations. In Java, the villager must sleep and work to reset the golem cooldown. In Bedrock, the mechanics are simpler but still require beds and workstations. Use trapdoors or fences to keep villagers contained but able to pathfind to their stations.
- Test and adjust. Wait a few in-game days. Golems should spawn on the platform and be pushed into the collection system. If not, check that the zombie is present, villagers have beds/workstations, and the platform is high enough. Adjust the zombie's line of sight if needed.
Common Mistakes
- Building too close to a village—golems may spawn in the village instead.
- Forgetting to name the zombie, causing it to despawn.
- Not giving villagers enough beds or workstations; they must be able to claim them.
- Using a killing method that destroys drops (e.g., lava without hoppers).
- Building the spawn platform too low; golems need at least 4 blocks of vertical space above the villagers.
- Ignoring version differences: Java requires the zombie to be within 16 blocks and villagers to sleep; Bedrock has different spawn caps.
Tips
- Use a named zombie in a minecart for easy transport and to prevent it from burning in daylight.
- Build multiple layers (e.g., 3 spawn platforms) to increase rates, but ensure each layer has its own collection.
- Use glass blocks for walls so you can see the villagers and zombie without them escaping.
- Place torches or lanterns to prevent other mobs from spawning on the platform.
- In Java, ensure the villager pod is at least 6 blocks below the spawn platform to avoid golems spawning inside the pod.
Troubleshooting
If no golems are spawning, check the following: the zombie is present and named; villagers have beds and workstations; the spawn platform is at least 4 blocks above the villagers; there are no other villages within 100 blocks; and the platform is made of solid blocks. In Java, make sure villagers can sleep—if they are constantly scared, they won't sleep, so the zombie must be able to see them but not so close that they panic constantly. In Bedrock, check that the villager count is at least 10 for decent rates; fewer villagers means slower spawning. If golems spawn but don't drop iron, check the killing mechanism—lava can destroy items, so use hoppers to collect before the lava. If the farm stops working after a while, it may be due to villager AI glitches; try relogging or breaking and replacing beds/workstations.
Frequently Asked Questions
How many villagers do I need for an iron farm?
At least 3 villagers are required to spawn golems, but 10 or more are recommended for decent rates. In Java, 3 villagers can spawn golems but at a slow rate; 20 villagers is a common target for efficient farms.
Can I build an iron farm in the Nether or End?
No, iron golems only spawn in the overworld. You must build the farm in the overworld dimension.
Do I need a zombie for the iron farm to work?
Yes, a zombie or zombie-like mob (e.g., husk, drowned) is needed to scare the villagers into spawning golems. Without a threat, villagers won't spawn golems.
Why are no iron golems spawning in my farm?
Common reasons: the zombie is missing or despawned, villagers lack beds or workstations, the spawn platform is too low, or another village is nearby. Check each of these.
Can I use a zombie villager instead of a regular zombie?
Yes, a zombie villager works as a scare mob, but it must be named to prevent despawn. However, a regular zombie is simpler.
How do I collect the iron ingots?
Use hoppers to collect drops from killed golems. Place hoppers under the killing area, leading to a chest. Avoid using lava directly on the drops, as it destroys items.