Copy link

How to Turn On Keep Inventory in Minecraft Bedrock

Thumbnail: How to Turn On Keep Inventory in Minecraft Bedrock

You may have read that on Easy or Peaceful, Bedrock now keeps your items when you die, without cheats. It doesn't. Mojang tested exactly that in Bedrock Preview in late 2024, then reverted it in a later preview build. In the current game, Keep Inventory is still a cheat you switch on yourself, and it still costs you achievements.

Here's how to turn it on, what it does and doesn't save, and how to protect your stuff if you'd rather keep achievements.

The Quick Answer

  • World settings: open the world's settings, go to the Cheats section, turn on Activate Cheats, then switch on Keep Inventory.
  • Command: with cheats on, run /gamerule keepinventory true.

From then on, you respawn with all your items and experience. The catch: turning on cheats permanently disables achievements in that world, even if you turn them off again later.

 

What Keep Inventory Saves (and What It Doesn't)

  • Kept: everything in your inventory, hotbar, armor slots, and off-hand, plus all your experience levels.
  • Kept too: items with Curse of Vanishing. With Keep Inventory on, they don't disappear when you die.
  • Not kept: your health and hunger reset as normal, and all potion effects are removed.
  • Not affected: chests, shulker boxes you placed, and anything else in the world. The rule only covers what you're carrying.

The rule applies to every player in the world, not just you. There's no way to turn it on for one person only.

On a Realm or Server

On a Realm, only the owner or an operator can change world settings or run the command. On a server, it's up to the server admins. If you're just a player, ask whoever runs the world.

Keeping Your Items Without Cheats

If you want to keep achievements, you can't use Keep Inventory, but you can make deaths much less painful:

  • Go back fast. Dropped items disappear 5 minutes after you die, as long as that area stays loaded. A recovery compass points straight to your last death spot.
  • Use an ender chest. Anything stored in an ender chest is safe no matter where you die, and you can open the same storage from any ender chest you place.
  • Carry less. On risky trips, bring only what you need and leave the rest at home.
  • Set your spawn nearby. Sleeping in a bed near where you're working means a shorter run back to your items.

 

Bedrock vs Java

The rule works the same on both editions: items and experience stay, effects and hunger reset. Two small differences:

  • Achievements. On Bedrock, enabling cheats disables achievements for good. On Java, commands don't block advancements.
  • Spelling. Java renamed its game rules to a new format, so recent Java guides write it as keep_inventory. On Bedrock it's still keepinventory, and capitalization doesn't matter.

For more on how the editions differ, see our Java vs Bedrock guide.

Troubleshooting

"I'm on Easy and still lost my items." Automatic Keep Inventory on Easy and Peaceful was only tested in previews and then reverted. You need to turn it on manually.

"The Keep Inventory toggle is greyed out." Turn on Activate Cheats first. The toggles in the Cheats section only work once cheats are enabled.

"The command says unknown game rule." Check the spelling. On Bedrock it's keepinventory, all one word, not Java's keep_inventory.

"I can't change it on my Realm." Only the Realm owner or an operator can. Ask them to switch it on.

125
Comments
Cancel