Curious Minds

Clear answers to science and history questions

Iron Farm Guide: Build a Small One Fast

· 8 min read · Science

This guide shows you how to build a small iron farm in Minecraft that produces a steady trickle of iron ingots using villagers and a zombie. The farm works by scaring villagers with a zombie, which causes them to spawn an iron golem. That golem is then killed automatically, and you collect the iron. It is designed for Java Edition 1.14 and newer; Bedrock Edition uses different mechanics and this exact design will not work there.

What You'll Need

  • At least 3 villagers (they can be cured zombie villagers, bred from two villagers, or moved from a village).
  • 1 zombie (any type works, including a drowned or a husk, but a normal zombie is easiest).
  • Building blocks: about 2 stacks of solid blocks (stone, cobblestone, or dirt).
  • Glass blocks or panes (about 1 stack).
  • A water bucket.
  • A lava bucket (for the kill chamber).
  • A hopper and a chest (for item collection).
  • A bed for each villager (3 beds total).
  • A name tag (optional but recommended to keep the zombie from despawning).
  • A boat (to move the zombie or villagers if needed).
  • Tools: a pickaxe, a shovel, and a sword.

Step-by-Step

  1. Choose a location. Build the farm at least 100 blocks away from any existing village or villager. If you build too close, the villagers will link to the wrong beds or workstations, and the farm will not work. A flat area in a plains or desert biome is ideal.
  2. Build the villager chamber. Create a room that is 3 blocks wide, 3 blocks long, and 3 blocks tall (interior dimensions). Place three beds against one wall, with one block of air between each bed. The beds must be able to be claimed by the villagers. Place the villagers inside this room using a boat or by pushing them. Seal the room with glass so you can see inside.
  3. Add the zombie pit. Dig a hole 2 blocks deep and 1 block wide directly in front of the villager chamber, about 2 blocks away from the glass wall. The zombie will go in this hole. Place the zombie in the hole (push it in or use a boat) and then cover the top with a solid block, leaving a 1-block gap in the middle so the zombie can see the villagers. The zombie must be able to see the villagers, but the villagers must not be able to pathfind to the zombie. A solid block with a single hole at eye level works well.
  4. Name the zombie. Use a name tag on the zombie to prevent it from despawning. If you do not have a name tag, you can hold a piece of food in your hand and the zombie will not despawn while you are within 32 blocks, but this is not reliable for a working farm. A name tag is strongly recommended.
  5. Build the golem spawn platform. On top of the villager chamber, create a flat platform that is 5 blocks wide and 5 blocks long. The golem will spawn on this platform. Make sure the platform is made of solid blocks and is completely flat. The center of the platform should be directly above the villager chamber.
  6. Create the kill chamber. In the center of the platform, dig a 1x1 hole that goes down to a hopper. Place a hopper at the bottom of the hole, leading into a chest. Above the hopper, place a solid block with a hole in the middle (like a trapdoor or a slab) so the golem falls in but items fall through. Then, place a lava source block at the top of the hole, on the side, so it flows over the hole. The golem will spawn, walk toward the zombie (which it can see through the glass), and fall into the hole, where the lava kills it. The iron ingots will drop into the hopper and then into the chest.
  7. Test the farm. Wait for the villagers to become scared. They will start to panic and look around. Within a few minutes, an iron golem should spawn on the platform. Watch it walk toward the zombie, fall into the hole, and die. Check the chest for iron ingots.
  8. Optimize the spawn rate. The farm will produce about 1-2 iron ingots every 5-10 minutes. To speed it up, you can add more villagers (up to 10), but the design becomes more complex. For a small farm, 3 villagers is fine.

Common Mistakes

  • Building too close to a village. If there is a village within 100 blocks, the villagers will link to those beds and the farm will not work. Move the farm or break the other village's beds.
  • Zombie cannot see the villagers. The zombie must have a direct line of sight to at least one villager. If the gap is blocked, the villagers will not get scared. Check the block placement.
  • Villagers can see the zombie. The villagers must be scared, but they must not be able to pathfind to the zombie. If they can, they will run around and may not sleep, which stops the golem spawn. The glass wall prevents this.
  • Golem spawns in the wrong place. The golem can spawn on any solid block within a 16-block radius of the villagers. If you have other solid blocks nearby, the golem may spawn there instead of on your platform. Remove any extra blocks or build a roof over the farm.
  • Lava kills the golem but also burns the items. The lava must be placed so it flows over the hole but does not touch the hopper. If the hopper is on fire, the items will burn. Place a block between the lava and the hopper.

Tips

  • Use a zombie with a name tag. This is the single most important tip. Without it, the zombie will despawn and the farm will stop working.
  • Make the farm fully enclosed. Build a roof over the platform and walls around it. This prevents golems from spawning on nearby terrain and keeps the farm safe from lightning and other mobs.
  • Add a second zombie for redundancy. If you have two zombies in separate pits, the villagers will be scared more often, and the farm will produce iron slightly faster. This is optional for a small farm.
  • Use a hopper minecart for larger farms. For a small farm, a single hopper and chest is fine. If you expand the farm, use a hopper minecart under the platform to collect items from a wider area.
  • Light up the area. Place torches around the farm to prevent other mobs from spawning and interfering. A creeper explosion can destroy the farm.
  • Keep the villagers fed. If the villagers are not willing to breed, they may not work properly. Give them bread or carrots occasionally, or set up a small farm nearby.

Troubleshooting

  • No golem spawns after 10 minutes. First, check that the zombie can see the villagers. Break the glass and look from the zombie's perspective. If the zombie is not looking at them, move the zombie or adjust the gap. Second, check that the villagers are actually scared. They should be shaking and looking around. If they are calm, the zombie is not close enough or not visible. Third, check that the villagers have claimed their beds. If they have not slept, they will not spawn golems. Break the beds and place them again.
  • Golem spawns but does not die. The golem may be spawning on the platform but not falling into the hole. Make sure the hole is in the exact center of the platform and that the platform is flat. The golem walks toward the zombie, so the hole should be directly between the spawn area and the zombie's line of sight. If the golem is stuck on the edge, widen the hole or add a water stream to push it in.
  • Items are burning. The lava is too close to the hopper. Place a solid block between the lava and the hopper, but make sure the golem can still fall through. A common fix is to use a sign or a slab above the hopper, with the lava on top of that.
  • Villagers are dying. The zombie might be able to hit them through the glass if the glass is too thin. Use a full block wall with a small window instead of all glass. Also, make sure the zombie is in a 2-block deep pit so it cannot reach the glass.
  • Farm stops working after a while. The zombie may have despawned (if not named). Or, the villagers may have lost their bed claims. Check the zombie first, then break and replace the beds. Also, check that the golem cap is not full; if there are golems in the area, the farm will not spawn more. Kill any stray golems.

Frequently Asked Questions

How much iron does this farm produce?

With 3 villagers, you can expect roughly 1-2 iron ingots every 5-10 minutes, which is about 12-24 ingots per hour. This is enough for tools, armor, and building projects, but not for massive redstone contraptions.

Does this work in Bedrock Edition?

No. Bedrock Edition has different villager and golem spawning mechanics. In Bedrock, golems spawn based on a different algorithm and this specific zombie-based design will not work reliably. You would need a different farm design for Bedrock.

Can I use a drowned instead of a zombie?

Yes, a drowned works the same way. Any zombie-type mob (zombie, husk, drowned) will scare villagers. A husk is also fine, but it burns in daylight, so keep it in a shaded pit. A drowned is a good choice if you have one nearby.

Do I need to name the zombie?

Yes, it is highly recommended. An unnamed zombie will despawn if you are more than 32 blocks away, which will stop the farm. A name tag prevents this permanently.

Why are my villagers not scared?

The zombie must have a clear line of sight to the villager. Check that the gap in the wall is at the right height (eye level for the villager). Also, the zombie must be within 16 blocks of the villager. If the zombie is too far, they will not notice it.

Can I build this in a village?

You can, but it is risky. If you build it inside a village, the villagers may link to the existing beds and workstations, and the farm may not work. It is better to build it at least 100 blocks away from any village.

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