I recently read about iron golems in Minecraft and it seems like you can just spawn them anywhere, so this lead me to the conclussion that they should be able to protect your house unless they would wander off.

Is it possible to have them defend your house? Perhaps create a perimeter?

6 Answers 6


If you move into an NPC village, most definitely. My group likes to build our homes inside a village, so we've built iron golems to protect us and the villagers. The wiki seems to indicate that they'll wander off if you try to put them near your home otherwise, though I've no personal experience with that. The wiki also says you can corral them with fences, if they do start wandering off, though of course fencing and adequate lighting prevents your home from being under attack in the first place.

Apparently you can also use vines to corral them, as they see vines as a solid block while you could walk right through. This could create an awesome hidden-grotto effect around your house.

As of recent updates, you can now transform Zombie Villagers back to Villagers, so you could potentially lure said zombies into the area where you want a village and transform them, giving the golem a natural "tether" to the place you want guarded.

  • Thanks! Sadly I found no villages yet and I'd hate to move out, but I could fence them in.
    – Bugster
    Commented Aug 8, 2012 at 14:19
  • 5
    Of course, if you fence your house in, with iron golems inside the fence, the only enemies are going to be outside the fence, where the iron golems aren't...
    – SaintWacko
    Commented Aug 8, 2012 at 15:18
  • 3
    Also an alternative would be using vines, NPCs consider vines as solid blocks and cannot see or pass through.
    – Bugster
    Commented Feb 24, 2013 at 17:43
  • Spiders can still get through fences right?
    – Sadly Not
    Commented Apr 30, 2013 at 21:08
  • 1
    @Bugster - You could start a village of your very own by building houses and transforming zombies that look like villagers
    – Robotnik
    Commented Jun 21, 2013 at 11:24

I think the best way is to obtain a lead and attach them to a fence outside your entrance or door.


Iron golems are 1.4 blocks wide and 2.7 blocks tall, meaning that you can have a wall around your house with gateways 2 blocks off the ground so iron golems can't get out.

Another way is to have walls that have a 1-block gap in between them so you can get through but iron golems can't.

Finally, you can build the iron golem inside your house or if your house is surrounded by a natural barrier like a river, you can build it outside and wall off the rest of the sides.

All these designs are not that great though because skeletons can still shoot iron golems from outside the wall. What you want to do is to have a villager in your house or hidden underground to anchor the iron golem there. Works pretty well but if the iron golem keeps chasing mobs it might eventually get out.

Overall, it would cost less to just build a wall around your house and just leave it like that.


Well if you can spawn golem then spawning villager won't be a problem for you. Make a house in front of your house entrance having about 8 to 10 doors. Spawn a 2 villagers within it. This will act as a village .now spawn an iron golem thus this time it won't wander off.


build a wall and enclose your villiage/house inside then you can make a hidden door with 12 sticky pistons, 2 regular pistons, 1 redstone block, 24 pieces of redstone dust, 2 restone repeaters, and 2 buttons. then spawn your golems if there are not any already and then they cannot wander off. you could also use barriers, a invisible block only obtained by imputting into chat with cheats on :/give (your username goes here) minecraft:barrier (number). it will give you the blocks. only placeable and breakable in creative, and only visibl when you hold the blocks in your main hand.


If you just build the golem inside your house, they can't get through doors and they protect your house. I do this with every house i build.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .