Skip to main content

/title

Controls the title display on players' screens. Can show titles, subtitles, action bar text, and configure display timing.

Category
Display
Permission Level
Game Master
Version Added
1.8

Overview

Controls the title display on players' screens. Can show titles, subtitles, action bar text, and configure display timing. In vanilla Minecraft Java Edition it is one of the display commands and has been available since version 1.8.

It is invoked as /title ... and accepts 2 required arguments ( and ) and one optional argument ([text]).

Set subtitle and times BEFORE sending the title, as the title command triggers the display. The actionbar action displays text above the hotbar. Times are in ticks (20 ticks = 1 second).

Send 'subtitle' and 'times' before the 'title' action, because issuing the title is what triggers the on-screen display. Times are in ticks (20 ticks = 1 second) and 'actionbar' prints above the hotbar.

Syntax & Arguments

/title <targets> <clear|reset|actionbar|subtitle|times|title> ...

The full syntax is /title .... Angle brackets < > mark required arguments and square brackets [ ] mark optional ones; a vertical bar | between words means you pick exactly one of those literals. You must always supply and . The argument [text] may be omitted, in which case the documented default applies.

targets
Required, of type an entity. The player(s) to show the title to.
action
Required, of type a literal. title = main title; subtitle = subtitle text; actionbar = action bar text; times = set timing; clear = remove; reset = reset to defaults.
text
Optional, of type a component. JSON text component for title, subtitle, or actionbar actions.

Parameters

NameTypeRequiredDescription
targetsentityRequiredThe player(s) to show the title to.
actionliteralRequiredtitle = main title; subtitle = subtitle text; actionbar = action bar text; times = set timing; clear = remove; reset = reset to defaults.
textcomponentOptionalJSON text component for title, subtitle, or actionbar actions.

Examples

The 3 examples below are ready to copy and adapt. For instance, /title @a title {"text":"Welcome!","color":"gold","bold":true} displays "Welcome!" in bold gold text as a title for all players. Each example varies the arguments to show a different real use of /title; read the note under every snippet to see exactly what changes.

/title @a title {"text":"Welcome!","color":"gold","bold":true}

Displays "Welcome!" in bold gold text as a title for all players.

/title @a subtitle {"text":"Enjoy your stay","color":"yellow"}

Sets the subtitle text (displayed below the title).

/title @a times 20 60 20

Sets title timing: 1 second fade in, 3 seconds stay, 1 second fade out.

Permission Level & Requirements

/title sits at permission Level 2 - Game Master / Cheats, which means it needs permission level 2, the level cheats grant to single-player worlds and that operators hold by default.

In a single-player world you must have "Allow Cheats" turned on (or open the world to LAN with cheats) before it will run; on a multiplayer server the player needs to be an operator at the matching level.

This reference describes the Java Edition 1.21 form of the command; Bedrock Edition may use slightly different argument formats.

Common Mistakes

Notes

Set subtitle and times BEFORE sending the title, as the title command triggers the display. The actionbar action displays text above the hotbar. Times are in ticks (20 ticks = 1 second).

Related Commands

If /title is part of your toolkit, the commands below are the ones you will most often reach for alongside it: /tellraw, /actionbar, and /bossbar. They cover closely related tasks, so the links above jump straight to each one.

Frequently Asked Questions about /title

What does the /title command do in Minecraft?

Controls the title display on players' screens. Can show titles, subtitles, action bar text, and configure display timing. It belongs to the display command group and was added in Java Edition 1.8.

What is the correct syntax for /title?

/title .... The required arguments are targets and action, and the optional one is text.

What permission level does /title need?

It requires permission Level 2 - Game Master / Cheats. On a server the player must be an operator at that level, or have cheats enabled in single-player.

What is a common mistake when using /title?

Sending a subtitle without a title, the subtitle is only shown when a title is displayed.

Can you give an example of /title in use?

Yes. /title @a subtitle {"text":"Enjoy your stay","color":"yellow"} — sets the subtitle text (displayed below the title).

Need a Minecraft server?

Try these commands on Astroworld or host your own server.

Try Astroworld Hosting