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.

Trial Key in Minecraft: Opening Vaults in Trial Chambers

Quick answer: Use minecraft:trial_key in Java Edition commands. Trial keys are ejected by trial spawners when you defeat all their mobs, and each key opens one vault block in the trial chambers for loot like enchanted gear, music discs, and materials.

Earning trial keys

Trial spawners scale with the number of nearby players and release waves of mobs based on their face: breezes, slimes, zombies, and more. Defeat every spawned mob and the spawner often ejects a trial key before going on cooldown.

Keys also appear occasionally in chamber chests and pots, but spawners are the renewable source. A single chamber run typically yields several keys, and each vault accepts one key per player.

  • Source: trial spawner rewards after clearing a wave.
  • Also found in trial chamber chests and decorated pots.
  • Spawner cooldown resets after about half an hour.

Spending keys on vaults

Vaults are the small loot blocks scattered around trial chambers. Use a trial key on one and it ejects loot for you alone; other players need their own keys on the same vault, which makes chambers multiplayer-friendly by design.

Standard vaults give solid mid-tier rewards, but the prized heavy core and better loot sit in ominous vaults with ominous keys, so treat normal keys as pocket change on the way to an ominous run.

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.

How do you get trial keys?

Defeat all mobs from an active trial spawner in a trial chamber; the spawner frequently ejects a trial key as a reward. Chamber chests and decorated pots occasionally contain keys too.

What do trial keys open?

Vault blocks found throughout trial chambers. Each vault gives loot once per player, so everyone in your group should bring their own keys. Rewards include enchanted equipment, music discs, bottles o' enchanting, and materials.

What is the difference between a trial key and an ominous trial key?

Trial keys open regular vaults. Ominous trial keys come from ominous trial spawners during a Bad Omen or Trial Omen event and open ominous vaults, which carry the best loot including the heavy core for crafting the mace.

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
Item ID: minecraft:netherite_scrap
Item ID: minecraft:shulker_shell