/w Command in Minecraft Java Edition

Use the /w Alias for /msg in Minecraft

Java EditionChat & Text

/w is an alias of /msg: it accepts the same arguments and does the same thing.

The /w command in Minecraft Java Edition is a built-in alias for the /msg command. Typing /w does the exact same thing as typing /msg.

Players use this command whenever they want a fast shortcut to run /msg using only a single letter.

Syntax (Java 26.3, 1 form)

  1. /w → msg …

The forms you will use most

/w → msg …
Runs the /msg command by passing everything you type after /w directly to /msg.

Examples

Version history

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

  1. 1.13 Already in the game in 1.13, the oldest Java version we track.

Tips

Common mistakes

Java vs Bedrock

The /w command is only available in Minecraft Java Edition; Bedrock Edition has no command with this name.

FAQ

What is the difference between /w and /msg?

There is no difference in behaviour because /w is an alias that does the exact same thing as /msg.

Does the /w command work in Minecraft Bedrock Edition?

No, Bedrock Edition does not have a command named /w.

Which Java Edition versions support the /w command?

The /w command has been available in every Java Edition release measured from 1.13 all the way to 26.3.

Related commands

/dialog/me/msg/say/teammsg/tell/tellraw/title/tm