Pixel art illustration of a trial key in chunky voxel game style
Minecraft Java Item ID

Trial Key ID

The trial key is ejected by defeated trial spawners in trial chambers, used to open vaults for loot. Each vault rewards a player only once, so keys stay valuable in multiplayer.

✓ Verified for Java Edition 1.21.11
Namespaced item ID minecraft:trial_key

Trial Key Item Facts

CategoryMaterials
Maximum stack64
Available inSurvival and Creative
Historical numerical IDNot applicable

Historical numerical ID: This item was introduced after Java Edition 1.13, when numerical IDs were no longer used.

Give Command for Trial Key

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

/give @p minecraft:trial_key 1

Customize this command →

Give command syntax by version

Java 1.13+
/give @p minecraft:trial_key 1
Namespaced ID (current format)

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 Trial Key

Finding Trial Key

Trial Key cannot be crafted at a crafting table. It must be obtained through normal gameplay.

Prefer commands? Jump back to the give command matrix above to get Trial Key instantly.

About Trial Key in Minecraft

The trial key is ejected by defeated trial spawners in trial chambers, used to open vaults for loot. Each vault rewards a player only once, so keys stay valuable in multiplayer.

Trial Key Command Examples

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

Trial Key FAQ

What is the item ID for Trial Key?

The item ID for Trial Key is minecraft:trial_key. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

How do I give myself Trial Key in Minecraft?

Open the chat window and run /give @p minecraft:trial_key 1 to give the nearest player one Trial Key. Replace @p with a player name to target someone else.

How many Trial Key can stack in one slot?

Trial Key stacks up to 64 per inventory slot.

Sources and Data Review

Item facts were reviewed for Java Edition 1.21.11 on .

Related Materials

Item ID: minecraft:diamond
Item ID: minecraft:netherite_ingot
Item ID: minecraft:blaze_rod
Item ID: minecraft:heart_of_the_sea
Item ID: minecraft:magma_cream
Item ID: minecraft:nether_star