Skip to content
[/craft]

Summon Hoglin Command

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

With custom name

Java/summon minecraft:hoglin ~ ~ ~ {CustomName:'"Hoglin"'}

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

Baby variant

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

Customize in the builder

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

Frequently asked questions

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