Modern namespaced IDs are recommended. This numerical form is only for old Java releases.
/give @p 46 1
Give command syntax by version
Java 1.13+
/give @p minecraft:tnt 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 46 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:tnt 1
Same namespaced ID (namespace optional)
Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.
How to Get TNT
Crafting Recipe
Gunpowder
Red Sand
Gunpowder
Red Sand
Gunpowder
Red Sand
Gunpowder
Red Sand
Gunpowder
Crafting table recipe — makes 1 × TNT.
Gunpowder
Sand
Gunpowder
Sand
Gunpowder
Sand
Gunpowder
Sand
Gunpowder
Crafting table recipe — makes 1 × TNT.
More Ways to Get It
Craft TNT from five gunpowder and four sand blocks. It can be ignited by redstone, fire, a powered explosion, or other ignition methods.
Collect gunpowder and sand.
Arrange five gunpowder and four sand blocks in the TNT recipe.
Place TNT safely and choose a controlled ignition method.
Quick answer: The modern Java item ID is minecraft:tnt. TNT is crafted from gunpowder and sand, then activated by a valid ignition source such as redstone, fire, or an explosion.
Plan the trigger before placing TNT
TNT is easy to place but difficult to undo once ignited. Decide whether the goal is mining, clearing terrain, or a redstone mechanism before setting it down. A lever and redstone dust make a simple test trigger that can be observed from a safe distance.
For building or map-making, test one block first. That confirms the timing and blast area before you connect a larger chain of explosives.
Commands versus survival use
The give command is useful for Creative testing and maps because it creates the item without needing ingredients. In a survival world, the crafting recipe is the relevant path and gunpowder is usually the resource that limits how much TNT you can make.
A command gives the block, not a safe activation plan. Keep redstone wiring separate from the block until you are ready to trigger it.
TNT Command Examples
Give 1 to nearest player: /give @p minecraft:tnt 1
Give 1 to yourself: /give @s minecraft:tnt 1
Give to a specific player: /give PlayerName minecraft:tnt 1
Combine TNT and pistons in redstone contraptions and traps.
TNT FAQ
What is the item ID for TNT?
The item ID for TNT is minecraft:tnt. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.
What is the numerical ID for TNT?
TNT has the historical numerical ID 46, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:tnt instead.
How do I give myself TNT in Minecraft?
Open the chat window and run /give @p minecraft:tnt 1 to give the nearest player one TNT. Replace @p with a player name to target someone else.
How many TNT can stack in one slot?
TNT stacks up to 64 per inventory slot.
How do you craft TNT?
TNT is crafted on a crafting table with 5 gunpowders and 4 red sands, which yields 1 TNT.
What can activate TNT in Minecraft?
TNT can be activated by valid sources including redstone power, fire, and explosions. Test a single block in a controlled area before connecting a larger redstone setup.
What can you craft with TNT?
TNT is used to craft Minecart with TNT.
Sources and Data Review
Item facts were reviewed for Java Edition 26.2 on .