/music Command in Minecraft Bedrock Edition

Control and Play Music Tracks in Bedrock

Bedrock EditionSound & VisualsPermission: Game DirectorsCheats: Yes

The /music command in Minecraft Bedrock Edition lets you control the music tracks playing in your world. With it, you can start a specific track right away, add a track to the queue, change the volume, or stop the music completely.

Map makers and server hosts use this command to set the mood for custom adventures, boss battles, or mini-games. Note that you need the Game Directors permission level and cheats enabled in your world to run it.

Syntax (4 forms)

  1. /music queue <trackName: string> [volume: float] [fadeSeconds: float] [repeatMode: MusicRepeatMode]

    Queue track

  2. /music play <trackName: string> [volume: float] [fadeSeconds: float] [repeatMode: MusicRepeatMode]

    Play track

  3. /music stop [fadeSeconds: float]

    Stop music

  4. /music volume <volume: float>

    Adjust volume

Arguments

ArgumentTypeWhat it means
fadeSecondsfloatA `float` number that specifies the duration the track fades in or out.
repeatModeMusicRepeatModeOptional. An `enum` that specifies how the music is played. Must be `play_once` (default) or `loop`.
trackNamestringRequired. A `string` to specify the track to play. Must be a single word such as `record.cat`.
volumefloatA `float` number to specify the volume of the music track.

Examples

Tips

Common mistakes

Bedrock vs Java

Minecraft Java Edition does not have a /music command, as this feature is exclusive to Bedrock Edition.

FAQ

How do I make a music track repeat forever?

When using the play or queue form, fill in the volume and fadeSeconds values, then add loop at the very end for the repeatMode argument.

Why does the /music command not work in my world?

You must have cheats turned on in your world settings and have the Game Directors permission level to use this command.

What is the difference between /music play and /music queue?

The play option starts the new track right away, while queue waits for the current track to finish before starting the next one.

Related commands

/particle/playanimation/playsound/stopsound