October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
VGSources
Blog

Minecraft Kill Command: Eliminate All Mobs Instantly

Use the right Minecraft kill command for your edition: Bedrock can target all mobs with a family selector, while Java requires specific entity IDs or a broader non-player selector.
Length4 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To eliminate all mobs in Minecraft, use /kill @e[family=mob] in Bedrock Edition. In Java Edition, there is no generic type=mob selector, so use a specific mob type such as /kill @e[type=minecraft:zombie], or exclude players with /kill @e[type=!minecraft:player]—while remembering that this also removes items, projectiles, vehicles, and other non-player entities.

What the Minecraft kill command does

The /kill command immediately kills its selected target. With no target selector, it affects the command executor:

/kill

In both editions, @e means all entities available to the command, not “all mobs.” Depending on the selector, this can include players, dropped items, arrows, snowballs, boats, minecarts, armor stands, experience orbs, and other entities. The command applies to entities in loaded or otherwise active simulation areas; it does not reach every entity in an unlimited world at once.

For living targets, /kill produces the normal death result and bypasses ordinary protection such as high-level Resistance and a Totem of Undying. Use broad selectors carefully.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Minecraft - Nintendo Switch
  • Minecraft is a game about placing blocks and going on adventures
  • Explore randomly generated worlds and build amazing things from the simplest of homes to the grandest of castles
  • Play in creative mode with unlimited resources or mine deep into the world in survival mode, crafting weapons and armor to fend off the dangerous mobs
  • Play on the go in handheld or tabletop modes
  • Includes Super Mario Mash-Up, Natural Texture Pack, Biome Settlers Skin Pack, Battle & Beasts Skin Pack, Campfire Tales Skin Pack; Compatible with Nintendo Switch only

Bedrock Edition: kill all mobs

In Minecraft Bedrock Edition, the recommended command for removing mobs is:

/kill @e[family=mob]

The family=mob selector targets entities in the mob family, rather than every entity in the world. This is safer than /kill @e when you want to preserve dropped items, projectiles, boats, minecarts, armor stands, and experience orbs.

For hostile mobs only, use:

/kill @e[family=monster]

For a particular mob type, specify its entity identifier, for example:

/kill @e[type=chicken]

Bedrock selectors for exclusions and areas

Selector arguments go inside square brackets immediately after the selector and are separated by commas. For example:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Minecraft: Switch Edition
  • Explore randomly-generated worlds and build amazing things from the simplest of homes to the grandest of castles
  • Play in Creative Mode with unlimited resources or mine deep into the world in survival mode, crafting weapons and armour to fend off the dangerous mobs
/kill @e[type=!arrow,type=!snowball]

An exclamation mark negates a condition. This command excludes entities with the player identifier, but it is not a mobs-only command:

/kill @e[type=!player]

It still targets dropped items, projectiles, vehicles, experience orbs, armor stands, and other non-player entities.

You can restrict a command to a distance from its execution position. This example kills chickens between two and six blocks away:

/kill @e[type=chicken,rm=2,r=6]

r sets the maximum radius, while rm sets the minimum radius. You can also preserve tagged entities. For example, this excludes anything carrying the protected tag:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
/kill @e[family=mob,tag=!protected]

See the Bedrock selector reference for the available selector arguments.

Java Edition: what works and what does not

Java Edition uses the command form:

/kill [targets]

Without a target, it kills the player running the command. To remove a specific mob type, use its namespaced entity ID:

/kill @e[type=minecraft:zombie]

Java does not have a generic mob entity ID. Therefore, this commonly shared command is not a valid Java solution for killing every mob:

/kill @e[type=mob]

To remove every entity except players in Java Edition, use:

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Minecraft | Standard Edition | XBOX Digital Code
  • CREATE YOUR WORLD — Build whatever you imagine in an infinite world that is unique in every playthrough.
  • EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world full of surprises.
  • SURVIVAL ADVENTURES — Face mysterious foes, travel across varied landscapes, and venture into perilous dimensions.
  • PLAY TOGETHER — Play solo or join friends in local split-screen and cross-platform play across console, mobile, and PC. Online multiplayer supports up to 8 players.
  • COMMUNITY PLAY — Connect with players on community servers, or subscribe to Realms Plus (sold separately) to play with up to 10 friends on a private server.
/kill @e[type=!minecraft:player]

That command protects players but still removes non-player entities such as items, projectiles, boats, minecarts, armor stands, and experience orbs. It is therefore broader than “kill all mobs.” For Java commands and syntax details, consult the Minecraft kill command reference.

How to use the command

  1. Open a world where commands or cheats are enabled.
  2. Open the chat or command input.
  3. Enter the command for your edition and intended target.
  4. Press Enter or confirm the command.

In Bedrock Edition, Microsoft lists /kill as requiring cheats and the Game Directors permission level. Enabling cheats can affect achievements in that world. If the command fails, check that you have the required permissions and that the syntax matches your edition. Microsoft’s current Bedrock reference was updated March 10, 2026: Bedrock /kill command documentation.

Useful command choices

Goal Bedrock Edition Java Edition Important warning
Kill the command executor /kill /kill You kill yourself unless another target is supplied.
Kill all mobs /kill @e[family=mob] No single generic type=mob selector Java requires specific types or a broader exclusion strategy.
Kill hostile mobs /kill @e[family=monster] Use specific hostile types or Java selector logic Verify the target category before running a broad command.
Kill all entities /kill @e /kill @e Also removes players, items, projectiles, vehicles, armor stands, and XP orbs.
Kill all non-player entities /kill @e[type=!player] /kill @e[type=!minecraft:player] Still removes non-mob entities.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

One-time cleanup versus continuous removal

Running the command once removes matching entities currently selected by the command. It does not permanently disable natural spawning. New mobs can spawn afterward if normal spawning, gamerules, command blocks, add-ons, and mob-cap conditions allow it.

For a repeating purge, place the appropriate command in a command block and configure the block as Repeat and Always Active. The block will repeatedly remove matching entities instead of performing a one-time cleanup. A repeating command can also prevent intended mobs from remaining in the area, so use a narrow selector or a protected tag when possible.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Minecraft | Java & Bedrock Deluxe Collection | Windows Digital Code
  • DELUXE COLLECTION — Includes Minecraft: Java & Bedrock Edition, three Bedrock add-ons, three exclusive Character Creator items, and 700 Minecoins.
  • CREATE YOUR WORLD — Build whatever you imagine in an infinite world that’s unique in every playthrough.
  • EXPLORE AND CRAFT — Discover biomes, resources, and mobs, then craft your way through a sandbox world filled with surprises.
  • SURVIVE THE ADVENTURE — Face mysterious foes, travel across exciting landscapes, and venture into perilous dimensions.
  • PLAY TOGETHER — Play cross-platform with friends in Bedrock Edition on console, mobile, and PC, or join community servers in Java Edition on PC, Mac, and Linux. Online console multiplayer requires a platform-specific subscription (sold separately).

Common mistakes

Using /kill @e to mean “all mobs”

This targets every selected entity. It can kill players and erase valuable items, projectiles, vehicles, armor stands, and experience orbs. Use Bedrock’s family=mob selector when you specifically want mobs.

Using Bedrock syntax in Java

/kill @e[family=mob] is a Bedrock-style family selector. Java does not provide a generic type=mob entity ID. Use Java entity IDs such as minecraft:zombie, or carefully use an exclusion selector.

Forgetting that the command only affects selected areas

The command cannot simultaneously remove entities in unloaded chunks across an unlimited world. Move into the area you want to clean or run the command where the relevant chunks are active.

Expecting spawning to stop

The command is a removal tool, not a permanent spawn switch. If mobs continue appearing, the command worked as a one-time cleanup and normal spawning has resumed. A repeating command block can maintain the purge, but it will continuously remove matching mobs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

Bestseller No. 1
Minecraft - Nintendo Switch
Minecraft - Nintendo Switch
Minecraft is a game about placing blocks and going on adventures; Play on the go in handheld or tabletop modes
$29.83
Bestseller No. 2
Bestseller No. 3

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How to Host a Mindustry Server in 2026: server-release.jar, Port 6567 and the Commands That MatterBlog7min
  2. Left 4 Dead 2 Server Hosting (2026): 5 Best Hosts for Co-op and VersusBlog8min
  3. How to Set Up a Subnautica Nitrox Server (2026): Launcher, Port 11000 and server.cfgBlog8min
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.