Skip to content
Bicore Logo
BICORE
Shyam StudioMinecraft Best PvP & Economy Resources by Shyam StudioYou can also put ads by giving $5 per week

How to Keep Inventory After Death in Minecraft

Stop losing your items when you die. Learn how to toggle the keepInventory gamerule in Java and Bedrock editions.

Reading time: 2 min read

How to Keep Inventory After Death in Minecraft

Losing all your hard-earned diamonds and armor in a lava pit can be a heartbreaking experience. Fortunately, Minecraft has a built-in feature called Keep Inventory that ensures you keep everything you were carrying when you respawn.

1. Using Commands (Java & Bedrock)

If you have cheats enabled in your world, open the chat and type:

  • Enable Keep Inventory: /gamerule keepInventory true
  • Disable Keep Inventory: /gamerule keepInventory false
NOTE

Make sure the "I" inkeepInventory is capitalized for Java Edition players!

2. World Settings (Bedrock Edition)

For players on Mobile, Xbox, PlayStation, or Switch, you can easily find this in the menu:

  1. Pause the game and open Settings.
  2. Go to the Game category.
  3. Scroll down to the Cheats section.
  4. Find the toggle labeled Keep Inventory and switch it to ON.

3. Does this disable achievements?

Yes, on the Bedrock Edition, enabling Keep Inventory (or any non-default gamerule) will disable Xbox Live achievements or PlayStation trophies for that specific world. In Java Edition, there are no such restrictions on advancements.


Related Tutorials:

Related posts