This guide shows you how to build a reliable iron farm in Minecraft Java Edition. Iron farms work by exploiting the game’s golem-spawning mechanics: villagers scare into spawning iron golems, which drop iron ingots when killed. You will need at least 10 villagers, a zombie, and some building materials. The farm will produce roughly 200-300 iron ingots per hour, enough for tools, armor, and redstone components.
What You’ll Need
- At least 10 villagers (any profession works, but they must be bound to beds)
- 1 zombie (or other hostile mob that can be seen by villagers)
- Building blocks: solid blocks (stone, dirt, etc.) for platforms and walls
- Glass or other transparent blocks for viewing windows
- Water buckets (at least 2)
- Lava bucket (for killing chamber)
- Hopper and chest (for item collection)
- Redstone components (optional: for automatic killing)
- Tools: pickaxe, shovel, sword (for zombie handling)
Step-by-Step
- Find or create a village: Locate a village or create one by transporting villagers. You need at least 10 adult villagers. Ensure they have beds and workstations (composters, lecterns, etc.) to keep them from despawning.
- Choose a location: Build the farm at least 100 blocks away from any existing village or iron golem spawn point to avoid interference. A flat area is ideal.
- Build the villager holding area: Create a room about 10 blocks wide, 10 blocks long, and 3 blocks tall. Place 10 beds inside, and assign each villager to a bed by letting them sleep once. The room should be enclosed with solid blocks, leaving a 1-block gap for the zombie to be seen.
- Add the zombie: Dig a small pit (1x1x2) adjacent to the villager room, with a glass window separating it. Place the zombie inside. The zombie must be able to see the villagers, and the villagers must be able to see the zombie. Use a name tag on the zombie to prevent it from despawning.
- Create the spawning platform: Above the villager room, build a large flat platform (at least 20×20 blocks) using solid blocks. This is where iron golems will spawn. Make sure the platform is within 10 blocks of the villagers’ line of sight.
- Build the killing chamber: In the center of the platform, create a 1-block wide, 2-block deep pit. Place lava at the bottom, and a hopper underneath leading to a chest. The golem will spawn on the platform, walk toward the zombie (attracted by the threat), and fall into the pit, dying in the lava.
- Add water channels (optional but recommended): To push golems toward the pit, place water sources on the edges of the platform, flowing toward the center. Use signs or slabs to control water flow.
- Test the farm: Wait for a few in-game days. Golems should spawn when villagers are panicking (seeing the zombie). Kill the zombie temporarily to reset if needed.
- Optimize: Ensure the villagers are always near their beds and can see the zombie. If golems spawn in unwanted areas, block off those spots with solid blocks or slabs.
Common Mistakes
- Not enough villagers: Fewer than 10 villagers means no golems spawn. Count carefully.
- Villagers not sleeping: If they can’t reach their beds, they won’t link, and the farm fails. Provide a clear path.
- Zombie not visible: The zombie must be within 10 blocks of the villagers and have line of sight. Use glass, not solid blocks.
- Golems spawning outside the farm: If the platform is too small or there are nearby caves, golems may spawn elsewhere. Light up caves and expand the platform.
- Using the wrong version: This farm works in Java Edition 1.14 and later. Bedrock Edition has different mechanics.
Tips
- Use a name tag on the zombie to prevent despawning. Always carry a spare.
- Build the farm at least 100 blocks above ground to avoid interference from other spawns.
- Add a roof over the platform to prevent golems from spawning on top of the farm.
- Use carpets or slabs on the platform to control spawn rates—golems need a solid block to spawn on.
- Make the killing chamber efficient: use a hopper minecart under the platform to collect items if the pit is large.
- If you play on a server, check if the server has a mob cap; a low cap may reduce spawn rates.
Troubleshooting
- No golems spawning: Check that all villagers are linked to beds and can see the zombie. Wait for a full day cycle; golems spawn only when villagers are panicking. If still nothing, break and replace the beds to re-link.
- Golems spawning but not dying: Ensure the pit is deep enough (2 blocks) and lava is placed correctly. Golems may survive if they land on a block; remove any blocks in the pit.
- Items not collected: Verify the hopper is directly under the lava pit and connected to a chest. If items vanish, the hopper may be full—add more hoppers or a minecart hopper.
- Villagers escaping: Seal the room completely with solid blocks, leaving only the glass window. Use doors or trapdoors to prevent them from walking out.
- Farm stops working after a while: The zombie may have died. Replace it and ensure it is named. Also check that villagers haven’t died; if so, add more.
- Golems spawn in the villager room: Make the room smaller or add a slab ceiling to prevent spawning inside. Golems need a 3x3x3 space to spawn.
Frequently Asked Questions
- How many villagers do I need? At least 10. More villagers increase spawn rate, but 10 is the minimum.
- Does the zombie need to be a specific type? Any zombie works, but a baby zombie is faster and harder to kill, which is beneficial. However, a regular zombie is fine.
- Can I use a different mob instead of a zombie? Yes, any hostile mob that villagers fear works, such as a husk or drowned. But zombies are easiest to obtain.
- Will this work on Bedrock Edition? No, the mechanics differ. This guide is for Java Edition only.
- How much iron will I get? Expect 200-300 ingots per hour, depending on your design and server performance.
- Do I need to be near the farm for it to work? Yes, you must be within 128 blocks of the farm for mobs to spawn. If you go too far, the chunks unload and the farm stops.
Iron Farm in Minecraft Java: Step-by-Step