Updated:

Zombie: entity ID and summon command

The entity ID for Zombie is minecraft:zombie. Use it with /summon and in selectors such as @e[type=…]. The ID has been the same since Java 1.13.

Basic data

NameZombie
ID (Java Edition)minecraft:zombie
TypeHostile mob
Java versionsJava 1.13 to 26.3
Bedrock 26.52Same ID works (tested on a server)
Size0.6 wide × 1.95 tall (blocks)
Spawn eggZombie Spawn Egg

Commands you can copy

Java Edition

Summon at your position

/summon minecraft:zombie ~ ~ ~

Summon with no AI

/summon minecraft:zombie ~ ~ ~ {NoAI:1b}

Remove all of them

/kill @e[type=minecraft:zombie]

Remove only within 10 blocks

/kill @e[type=minecraft:zombie,distance=..10]

Test whether one exists

/execute if entity @e[type=minecraft:zombie]

Teleport the nearest one to you

/tp @e[type=minecraft:zombie,sort=nearest,limit=1] @s

Give the spawn egg

/give @p minecraft:zombie_spawn_egg 1

Bedrock Edition

Summon at your position

/summon zombie

Remove all of them

/kill @e[type=zombie]

Remove only within 10 blocks

/kill @e[type=zombie,r=10]

What it drops

ItemCountCondition
Rotten Flesh0–2More with Looting
Red Mushroom0–1Only in certain conditions / More with Looting
Iron Ingot12.5% chance / Killed by a player
Carrot12.5% chance / Killed by a player
Potato12.5% chance / Drops cooked if it is on fire / Killed by a player
Music Disc1Only in certain conditions / Killed by a player

From the official Java 26.3 loot table. Experience is not included.

Version notes

This ID has not changed from Java 1.13 to the latest 26.3.

In selectors, Java Edition uses type=minecraft:ID and Bedrock uses type=ID. Add ! as in type=!minecraft:ID to match everything else.

Questions

What is the ID for Zombie?

It is minecraft:zombie. In commands you can also write zombie without minecraft:.

Why does Zombie disappear right after summoning?

On Peaceful difficulty, hostile mobs are removed at once. Raise the difficulty, for example with /difficulty easy.

How far does /kill reach?

@e[type=minecraft:zombie] matches every one in loaded chunks. To limit it to nearby ones, add distance=..10 (r=10 on Bedrock).

Related IDs