Skip to content
[/craft]
Summon a Baby Pig

Summon a Baby Pig

Spawn a permanent baby pig. Run: `/summon minecraft:pig ~ ~ ~ {Age:-2147483648}`. Spawns a baby pig that never grows up. Java uses the minimum int Age value so it counts toward 0 but never arrives. Swap to {Age:-24000} if you want a 20-minute growth timer. Works on Java 26.2 and Bedrock 26.32. Last verified June 2026.

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026
/summon minecraft:pig ~ ~ ~ {Age:-2147483648}

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command and press Enter.
  3. A permanent baby pig spawns at your feet.

Frequently asked questions

Does Summon a Baby Pig work on Bedrock Edition?

Yes -- the same command works on both Java 26.2 and Bedrock 26.32.

Do you need OP or cheats enabled to use Summon a Baby Pig?

Yes -- you need operator permissions (OP) on a server, or cheats enabled in your world settings (Java: open to LAN with cheats on; Bedrock: enable cheats in world settings).

Can Summon a Baby Pig be used in a command block?

Yes -- paste the command into a command block and activate it with a button or redstone signal. Remove the leading slash when using a command block.

Where does the entity appear when you run Summon a Baby Pig?

By default it spawns at your current position (`~ ~ ~`). You can replace those coordinates with specific X Y Z values to spawn it elsewhere.

How do I remove or kill the entity spawned by Summon a Baby Pig?

Run `/kill @e[type=<entity_type>,limit=1]` to remove the nearest entity of that type, or use a sword in creative mode.

Related commands

Need something different?

Customize this command in the /summon builder — choose your own options and copy the result.

Open builder →

Learn more

📖

How to Enable Cheats in Minecraft

Step-by-step guide to enabling cheats in Minecraft Java 26.2 and Bedrock 26.32 -- for new worlds, existing worlds, and servers.