Updated:

The command

VersionGet Notch's head
Java 1.20.5 and later/give @s minecraft:player_head[profile={name:"Notch"}]
Java 1.13–1.20.4/give @s minecraft:player_head{SkullOwner:"Notch"}
Java 1.12 and earlier/give @p skull 1 3 {SkullOwner:"Notch"}

Replace Notch with any Java Edition username, including your own. The skin is downloaded, so the head may look like Steve for a moment before the skin appears.

Why old commands stop working

Java 1.20.5 replaced item NBT with components. On 1.20.5 and later, {SkullOwner:"Notch"} either errors or gives a plain head. Square brackets [ ] mean 1.20.5+; curly braces { } after the item mean an older version.

Wear it or display it

/item replace entity @s armor.head with minecraft:player_head[profile={name:"Notch"}]

This puts the head on directly (1.20.5+). You can also place it as a block or put it on an armor stand to make a statue.

Mob heads

HeadJava ID
Zombie headminecraft:zombie_head
Skeleton skullminecraft:skeleton_skull
Creeper headminecraft:creeper_head
Wither skeleton skullminecraft:wither_skeleton_skull
Piglin headminecraft:piglin_head
Dragon headminecraft:dragon_head

Mob heads need no extra data: /give @s minecraft:creeper_head.

Bedrock Edition

Bedrock cannot give a specific player's skin head with commands. Plain player heads and mob heads are available; check the item name with the /give suggestions.

Common problems

Check your command

The Command Error Doctor checks common syntax mistakes in your browser.