Minecraft /difficulty command
Switches between Peaceful, Easy, Normal and Hard.
Syntax
/difficulty
/difficulty <difficulty>
Parts in square brackets are optional, parts in angle brackets are required. You do not type the brackets: Put your own value in their place.
Arguments
| Argument | What it does |
|---|---|
| <difficulty> | peaceful, easy, normal or hard. |
Examples
/difficulty peaceful
Removes hostile mobs and keeps refilling your health.
/difficulty hard
The hardest level: Hunger can kill you and zombies break doors.
/difficulty
Shows the current difficulty.
Good to know
- Switching to Peaceful makes existing hostile mobs disappear instantly.
- On Hard, zombies turn villagers into zombie villagers.
How do I run this command?
Press T in game to open chat (or press / directly), type the command and press Enter. While typing, Tab completes the options. This command counts as a cheat: It needs cheats enabled in a singleplayer world, and operator permission on a server (operator (level 2)).
Related commands
🌍 More World and time
Minecraft is a product of Mojang Studios. This tool is an independent helper made for players and is not affiliated with Mojang or Microsoft.