Pixel art illustration of a plain brown dirt block
Minecraft Java Item ID

Dirt ID

Dirt is an abundant Overworld block used for terrain work, farming, and natural landscaping. Use a hoe on dirt to create farmland for crops.

✓ Verified for Java Edition 26.2
Namespaced item ID minecraft:dirt

Dirt Item Facts

Maximum stack64
Available inSurvival and Creative
Historical numerical ID3

Historical numerical ID: Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Dirt

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:dirt 1

Customize this command →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 3 1

Build With Dirt

minecraft:dirt is in the reviewed block catalog. Open a command tool with this ID already selected, then adjust the coordinates in the tool.

Need a different material? Browse Minecraft Block IDs or compare the related blocks below.

About Dirt in Minecraft

Dirt is an abundant Overworld block used for terrain work, farming, and natural landscaping. Use a hoe on dirt to create farmland for crops.

Dirt Command Examples

  • Give 1 to nearest player: /give @p minecraft:dirt 1
  • Give 1 to yourself: /give @s minecraft:dirt 1
  • Give to a specific player: /give PlayerName minecraft:dirt 1
  • Clear from inventory: /clear @p minecraft:dirt

How to Get Dirt

Dirt is abundant across the Overworld and can be collected by breaking it. It is useful for reshaping terrain, supporting grass spread, and making farmland with a hoe.

  1. Break dirt found on the surface or underground to collect it.
  2. Place dirt where you want to reshape or level terrain.
  3. Use a hoe on dirt when you need farmland for crop planting.

What Is Dirt Used For?

Grass Block

Place dirt next to grass to let grass spread and restore a natural surface.

Carrot

Till dirt into farmland first, then use it as crop-growing ground.

Coarse Dirt

Use dirt as part of a rougher terrain palette alongside coarse dirt.

Sources and Data Review

Item facts were reviewed for Java Edition 26.2 on .

Related Natural Blocks

Item ID: minecraft:grass_block
Item ID: minecraft:coarse_dirt
Item ID: minecraft:podzol
Item ID: minecraft:carrot
Item ID: minecraft:potato
Item ID: minecraft:oak_sapling