The quickest way to change game mode
In Minecraft Java Edition, press the forward slash key (/) to open the command console, type gamemode followed by the mode you want, and press Enter. For example, typing /gamemode survival switches you to Survival mode. On Bedrock Edition (Windows 10, Xbox, mobile), the process is similar — open the chat with the T key, type the same command, and press Enter.
If you do not want to use commands, Java Edition lets you change modes through the world settings when you create a new world. Bedrock Edition offers a toggle in the pause menu under Game settings, though this only works if you turned on cheats when you created the world.
The mode takes effect immediately. Your inventory, location, and health stay the same when you switch, but the rules of the world change right away.
Key Takeaways
- The command /gamemode survival, /gamemode creative, or /gamemode adventure works in both Java and Bedrock editions if cheats are turned on.
- You must have cheats enabled in world settings before you can use commands to change modes.
- Bedrock Edition also offers a Game settings toggle in the pause menu if cheats are on, without needing to type a command.
- Changing modes does not reset your inventory, location, or health — only the world rules change.
What each game mode does
Survival mode is the standard way to play. You take damage from mobs and falls, hunger drains your health bar, and you must gather resources to craft tools and build shelter. Mobs spawn at night and in dark places. You can break and place blocks, but it takes time and the right tools.
Creative mode gives you unlimited blocks and resources in your inventory, instant block placement and removal, and no hunger or damage. You can fly by double-tapping the jump key. Mobs do not attack you. This mode is for building and exploring without survival pressure.
Adventure mode is a middle ground. You can take damage and hunger works, but you cannot break or place blocks unless you have the right tool with a specific enchantment. Map makers use this mode to control what players can and cannot build. Mobs still spawn and attack.
Spectator mode (Java only) lets you fly through blocks and watch the world without interacting with it. You cannot break, place, or pick up anything. Other players see you as invisible. This is useful for watching other players or exploring without changing the world.
Turning on cheats so you can use commands
In Java Edition, open your world and press Escape to pause. Click Open to LAN in the bottom left. Toggle Allow Cheats to On. You can now use commands in that world. This setting only lasts while the world is open — it does not save permanently.
In Bedrock Edition, when you create a new world, scroll down to the Cheats section before you click Create. Toggle Activate Cheats to On. If you already have a world without cheats on, you cannot turn them on later — you must create a new world.
On console versions (PlayStation, Nintendo Switch, Xbox), cheats are turned on by default in single-player worlds. You can use commands right away without changing any settings.
Using the command correctly
The command format is always /gamemode [mode] [player]. If you are playing alone, you can leave out the player name — the command applies to you. If you are on a server or in a multiplayer world, you can change another player's mode by typing their username after the mode.
The four mode names are survival, creative, adventure, and spectator. You can also use the first letter only: /gamemode s for survival, /gamemode c for creative, /gamemode a for adventure, and /gamemode sp for spectator.
If you type the command wrong, the game tells you what went wrong. Common mistakes are forgetting the forward slash, misspelling the mode name, or using a player name that does not exist in that world.
Changing modes in Bedrock without commands
If you turned on cheats when you created your Bedrock world, you can change modes through the pause menu instead of typing. Press Escape or the pause button, then go to Game settings. Scroll down to Game mode and select the one you want from the dropdown menu.
This method is slower than typing a command, but it does not require you to remember the command syntax. The change takes effect as soon as you close the menu.
If you do not see a Game mode option in Game settings, cheats are not turned on for that world. You would need to create a new world with cheats enabled to use either method.
What happens to your world when you switch modes
Changing modes does not delete your blocks, items, or progress. Your inventory stays the same, your location stays the same, and your health bar stays the same. Only the rules change — in Creative, you suddenly have infinite blocks; in Survival, hunger and damage turn back on.
If you switch to Adventure mode, you may find you cannot break blocks you could break before, because Adventure mode restricts what you can interact with. Switching back to Survival or Creative removes that restriction.
Mobs behave differently depending on the mode. In Creative and Spectator, they ignore you. In Survival and Adventure, they attack. If you switch from Creative to Survival in a dark area, mobs may spawn around you immediately.
Frequently Asked Questions
Can I change game mode on a server?
Only if the server owner gave you permission. Most public servers do not allow players to use the gamemode command. Private servers and servers you run yourself let you change modes if you have operator status. Ask the server owner if you are unsure.
What if I type the command and nothing happens?
Cheats are probably not turned on. Go back to your world settings and check. In Java, press Escape, click Open to LAN, and toggle Allow Cheats to On. In Bedrock, you have to create a new world with cheats enabled from the start.
Does changing modes affect my achievements or trophies?
In Java Edition, switching to Creative mode disables achievements for that world permanently — you cannot turn them back on. Switching to Survival, Adventure, or Spectator does not affect achievements. In Bedrock, achievements stay enabled in all modes.
Can I change modes in Hardcore mode?
No. Hardcore is a locked Survival mode where you get one life. If you die, the world is deleted. You cannot switch to Creative or another mode to save yourself. You have to start a new world.
Do I need to restart the game after changing modes?
No. The mode change takes effect immediately while you are playing. You stay in the same location and keep your inventory.