/spectate Command in Minecraft Java Edition

Make Players Spectate Other Entities or Players

Java EditionPlayers & EntitiesPermission: Level 2Added in 1.15

The /spectate command lets a player view the world through the eyes of another target. You can also run this command without any targets to make the current player stop spectating.

Server admins and map makers use this command to create camera cutscenes, let eliminated players watch a match, or lock a player's view onto a specific target. You need Operator permissions (level 2) or cheats enabled in single-player to run it.

Syntax (Java 26.3, 2 forms)

  1. /spectate
  2. /spectate <target> [<player>]

The forms you will use most

/spectate
Makes the player executing the command stop spectating their current target.
/spectate <target> [<player>]
Forces you or a chosen player to start spectating the specified target.

Arguments

ArgumentTypeWhat it means
<target>target selector
one target
Specifies the single target to watch, using a player name, a UUID, or a target selector like @p or @e.
<player>target selector
players only, one target
Specifies the single player who will do the spectating, using a player name, a UUID, or a target selector.

Examples

Version history

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

  1. 1.15 Command added.

Tips

Common mistakes

Java vs Bedrock

Minecraft Bedrock Edition does not have the /spectate command, as this feature is exclusive to Java Edition (where it was added in version 1.15).

FAQ

How do I stop spectating a target with a command?

Simply type /spectate with no extra arguments to stop watching your current target.

When was the /spectate command added to Minecraft?

The /spectate command was added to Minecraft Java Edition in version 1.15 and remains available up to version 26.3.

Can I make multiple players spectate a target at once?

No, the <player> argument only accepts one player at a time, so you cannot apply it to multiple players in a single command.

Related commands

/advancement/attribute/damage/defaultgamemode/effect/experience/gamemode/kill/ride/rotate/spawnpoint/spreadplayers/summon/swing/teleport/tp