Summon Guardian Command
Copy the /summon command for Guardian in Minecraft Java 26.2 and Bedrock 26.32. Grab the default command below, or use the builder to set position and options.
Default command
Java
/summon minecraft:guardian ~ ~ ~Bedrock
/summon guardian ~ ~ ~With custom name
Java
/summon minecraft:guardian ~ ~ ~ {CustomName:'"Guardian"'}Custom names via NBT are Java-only. On Bedrock, use a name tag after summoning.
Customize in the builder
JavaSwitch edition using the selector in the header.
guardian
/summon minecraft:guardian ~ ~ ~Frequently asked questions
- How do I summon a Guardian in Minecraft?
- Enable cheats or use OP, open chat with T or /, paste /summon minecraft:guardian ~ ~ ~ (Java) or /summon guardian ~ ~ ~ (Bedrock), and press Enter. The Guardian spawns at your feet.
- Does the summon Guardian command work on Bedrock Edition?
- Yes — use /summon guardian ~ ~ ~. Bedrock uses the same entity IDs without the "minecraft:" prefix and does not support NBT arguments like custom names in the summon command.
- Why does my summoned Guardian despawn?
- Mobs despawn when no players are nearby. On Java Edition, add {PersistenceRequired:1b} to the summon command to prevent it. On Bedrock, use a name tag on the mob after summoning.