The fastest way to clear items is to use the /kill command on item entities

If your Minecraft world is cluttered with dropped items — from mining, crafting, or mob drops — the quickest way to remove them all at once is the /kill @e[type=item] command. This command targets every item entity on the ground and removes it instantly. You can run it from the chat window (press T to open chat, type the command, and press Enter) or from a command block if you're in Creative mode.

This method works in both Java Edition and Bedrock Edition, though the exact command syntax differs slightly between versions. In Java Edition, use /kill @e[type=item]. In Bedrock Edition, use /kill @e[type=item] as well, but you may need to enable cheats first by pausing the game, selecting "Open to LAN", and toggling "Allow Cheats" on.

The command removes items instantly with no animation or warning, so use it only when you're certain you want everything gone. If you want to keep specific items, this method is not selective — it clears the entire ground at once.

Key Takeaways

  • The /kill @e[type=item] command removes all dropped items from the ground instantly in both Java and Bedrock editions.
  • You must enable cheats in your world settings before you can use any slash commands.
  • If you want to clear items only in a specific area, use /kill @e[type=item,x=0,y=64,z=0,distance=..50] and replace the coordinates with your location.
  • Hopper systems and item sorters can automatically collect and organize drops without needing commands.

Enabling cheats so you can use commands

Commands only work if cheats are turned on. In Java Edition, create a new world and check the "Allow Cheats" box before you generate it. If you're already in a world without cheats, you cannot enable them without creating a new world or using a third-party tool.

In Bedrock Edition (Windows 10, Xbox, mobile), pause the game, go to Settings, select "Game", and toggle "Activate Cheats" on. You can do this in an existing world. Once cheats are on, you can use any command immediately.

If you're playing on a multiplayer server, only operators (players with op status) can use commands. The server owner or an admin must give you operator status first.

Clearing items in a specific area instead of everywhere

If you only want to remove items from one location — like around your base or a mining site — use a distance-based command instead. The syntax is /kill @e[type=item,distance=..50], which clears all items within 50 blocks of where you're standing. Replace 50 with any radius you want.

You can also target items at exact coordinates by adding x, y, and z values. For example, /kill @e[type=item,x=100,y=64,z=200,distance=..25] clears items within 25 blocks of the point (100, 64, 200). This is useful if you want to clean up a specific farm or mining area without affecting items elsewhere in the world.

To find your current coordinates, press F3 in Java Edition (or enable the coordinates display in Bedrock settings) and look for the x, y, z values on your screen.

Using hoppers and item sorters to manage drops automatically

Instead of clearing items, you can build a system that collects them automatically. A hopper is a block that sucks up items from above and pushes them into containers below. Place hoppers under your mining or farming area, connect them to chests, and items will flow into storage as they drop.

For more control, build an item sorter — a redstone contraption that directs different items into different chests based on what they are. Item sorters use hoppers, comparators, and redstone to sort drops by type. They take time to build but eliminate the need to clear items manually and keep your valuables organized.

Both systems work in Survival mode without cheats, making them a good long-term solution if you mine or farm regularly.

Why items pile up on the ground

Items drop when you break blocks, kill mobs, or die. In Survival mode, items stay on the ground for 5 minutes before they disappear automatically. If you're mining in one spot for a long time or fighting many mobs, drops can accumulate faster than they vanish, creating clutter that slows down your game.

Large numbers of items on the ground can also cause lag — your computer has to track and render each one, which uses processing power. Clearing items or collecting them into storage improves performance, especially on older computers or in heavily mined areas.

Clearing items without commands in Survival mode

If you don't want to use commands, you can collect items manually by walking over them (they'll go into your inventory if there's space) or by using a water stream to push them toward a central location. Dig a trench, place water at the top, and items will flow downhill into a collection point.

You can also wait for items to despawn naturally after 5 minutes, though this only works if you're not adding new items to the pile. If you're actively mining or farming, items will keep dropping faster than they disappear.

Frequently Asked Questions

Will the /kill command delete items in my inventory?

No. The /kill command only removes items on the ground (item entities). Items in your inventory, chests, and other containers are not affected. Only dropped items that you can see lying on the ground are removed.

Can I undo a /kill command if I accidentally clear items I wanted to keep?

No. Once items are killed with the command, they are gone permanently. There is no undo function. If you're worried about losing items, back up your world file before using the command, or use a selective command with distance limits instead of clearing everything at once.

Do I need to be in Creative mode to use the /kill command?

No. You can use /kill in Survival mode as long as cheats are enabled. Creative mode is not required — you just need cheats turned on in your world settings.

What's the difference between /kill and /clear?

The /kill command removes items on the ground. The /clear command removes items from a player's inventory. They do different things — use /kill for ground clutter and /clear if you want to empty someone's inventory.

Will clearing items affect my game performance?

Yes, but in reverse. Removing items from the ground actually improves performance because your computer has fewer entities to track. If your game is laggy and items are piled up, clearing them can make the game run smoother.