Skip to content
[/craft]

Summon Piglin Command

Copy the /summon command for Piglin 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:piglin ~ ~ ~
Bedrock/summon piglin ~ ~ ~

With custom name

Java/summon minecraft:piglin ~ ~ ~ {CustomName:'"Piglin"'}

Custom names via NBT are Java-only. On Bedrock, use a name tag after summoning.

Baby variant

Java/summon minecraft:piglin ~ ~ ~ {IsBaby:1b}
Bedrock/summon piglin ~ ~ ~ minecraft:as_baby

Customize in the builder

JavaSwitch edition using the selector in the header.
piglin
/summon minecraft:piglin ~ ~ ~

Frequently asked questions

How do I summon a Piglin in Minecraft?
Enable cheats or use OP, open chat with T or /, paste /summon minecraft:piglin ~ ~ ~ (Java) or /summon piglin ~ ~ ~ (Bedrock), and press Enter. The Piglin spawns at your feet.
Does the summon Piglin command work on Bedrock Edition?
Yes — use /summon piglin ~ ~ ~. 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 Piglin 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.
Browse all Summon commands →/summon builder →Java vs Bedrock guide →