Back to Tools
Minecraft 26.2 · Item ID

Dirt ID

Dirt is a Minecraft Java Edition item with the namespaced ID minecraft:dirt (numeric ID 28). It stacks to 64 per slot. Use the /give command /give @p minecraft:dirt 1 to spawn one in creative mode or on a server with cheats enabled.

Dirt

block · Minecraft 26.2

Dirt
minecraft:dirt

Quick stats

IDs, stack size, durability and category

Namespaced IDminecraft:dirt
Numeric ID28
Stack size64
Categoryblock
Game version26.2

/give command

Click it to copy

Click to copy. Use @s to give it to yourself, or a player name to target someone else.

Related block items

Others in the same category

More reference tools

Browse all Minecraft block IDs

Frequently asked questions

The ID, the /give command and where it comes from

What is the Dirt item ID in Minecraft?
The Dirt item ID is minecraft:dirt. The legacy numeric ID is 28, but modern Java Edition uses the namespaced form in commands and data packs.
How do I get Dirt with a /give command?
Run /give @p minecraft:dirt 1 in any world with cheats enabled. Replace @p with @s to target yourself or a player name to give it to someone else.
What is the stack size of Dirt?
Dirt stacks to 64 per inventory slot.

Source: minecraft.wiki/w/Dirt · Verified · Minecraft 26.2 via the minecraft-data package.