Skip to content
[/craft]
Summon an Iron Golem

Summon an Iron Golem

Spawn an iron golem to protect an area

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Spawns an iron golem that is passive toward players but aggressive toward hostile mobs. It will patrol and attack zombies, creepers, and other hostiles. Iron golems spawned this way are not claimed to villages, so they stay where summoned. Useful for protecting builds or farms.

/summon iron_golem ~ ~ ~
24 characters

How to use

  1. Open chat (T on Java, / on Bedrock) and paste the command.
  2. Press Enter — the iron golem spawns at your position.
  3. Do not attack it — iron golems turn hostile if you hit them first.
  4. It will defend the area from hostile mobs automatically.

Related commands