/stopsound Command in Minecraft Java Edition

Stop Playing Sounds for Players in Minecraft

Java EditionSound & VisualsPermission: Level 2Bedrock version →

The /stopsound command lets you immediately cut off audio currently playing for one or more players in Minecraft Java Edition. You can silence every sound at once, mute a specific audio category like music or weather, or stop a single sound resource ID.

Map makers and server operators use this command to stop long background tracks or custom voice lines when a player leaves an area or finishes a cutscene. You need permission level 2 (Operator or cheats enabled in single-player) to run it.

Syntax (Java 26.3, 13 forms)

  1. /stopsound <targets>
  2. /stopsound <targets> * <sound>
  3. /stopsound <targets> ambient [<sound>]
  4. /stopsound <targets> block [<sound>]
  5. /stopsound <targets> hostile [<sound>]
  6. /stopsound <targets> master [<sound>]
  7. /stopsound <targets> music [<sound>]
  8. /stopsound <targets> neutral [<sound>]
  9. /stopsound <targets> player [<sound>]
  10. /stopsound <targets> record [<sound>]
  11. /stopsound <targets> ui [<sound>]
  12. /stopsound <targets> voice [<sound>]
  13. /stopsound <targets> weather [<sound>]

The forms you will use most

/stopsound <targets>
Stops all sounds currently playing across every category for the targeted players.
/stopsound <targets> * <sound>
Stops a specific sound ID for the targeted players, no matter which audio category it is playing on.
/stopsound <targets> music [<sound>]
Stops all music tracks, or one specific music sound ID if provided, for the chosen players.
/stopsound <targets> record [<sound>]
Silences jukebox and note block sounds playing on the record category for the targeted players.
/stopsound <targets> weather [<sound>]
Cuts off rain and thunder sounds playing on the weather category for the selected players.
/stopsound <targets> hostile [<sound>]
Stops sounds made by hostile mobs, or one specific hostile sound ID, for the targeted players.
/stopsound <targets> ambient [<sound>]
Stops ambient cave and environment sounds on the ambient category for the specified players.
/stopsound <targets> ui [<sound>]
Added in version 1.21.6, this stops user interface sounds on the ui category for the selected players.

Arguments

ArgumentTypeWhat it means
<targets>target selector
players only
The player or players whose audio will be stopped, specified using a player name, a UUID, or a player target selector like @p, @a, @s, or @e[type=player].
<sound>resource IDThe namespaced resource ID of the specific sound you want to silence, such as a built-in sound or custom resource pack audio.

Examples

Version history

Measured from the game files of every Java release from 1.13 to 26.3.

  1. 1.21.6 Syntax changed.
    + /stopsound <targets> ui [<sound>]
  2. 1.13 Already in the game in 1.13, the oldest Java version we track.

Tips

Common mistakes

Java vs Bedrock

Bedrock Edition also includes the /stopsound command, but its syntax is simpler: /stopsound <player: target> [sound: string]. Unlike Java Edition, Bedrock Edition does not use sound source categories like music, hostile, or weather in the command.

See /stopsound in Bedrock Edition →

FAQ

How do I stop all sounds at once in Minecraft?

Run /stopsound @s to stop every sound currently playing for yourself, or /stopsound @a to silence all active sounds for everyone in the world.

Why does background music start playing again after I use /stopsound?

The /stopsound command only cuts off audio that is playing at the exact moment you run the command, so it does not permanently mute your game settings.

What sound categories can I use with /stopsound in Java Edition?

In version 26.3, you can choose from eleven specific categories: ambient, block, hostile, master, music, neutral, player, record, ui, voice, and weather, or use * to match all categories for a specific sound.

Related commands

/particle/playsound/posteffect