To use Minecraft PE cheats, edit your world, open Cheats and switch on Activate Cheats (this turns off achievements for that world). Then tap the chat button, type a slash and a command, for example /gamemode creative, /time set day, /give @s diamond 64 or /gamerule keepInventory true, and press enter. Commands work the same on Android, iPhone, Windows and consoles because they all run Bedrock Edition.
Table of Contents
Cheats in Minecraft PE are not hacks. They are official commands built into the game that let you change the time, teleport, give yourself items, keep your inventory when you die and much more. This guide shows how to turn cheats on, how to type commands on a phone, and gives you a full list of the most useful Minecraft PE commands with copy-ready examples.
How to Turn On Cheats in Minecraft PE
For a new world
- Tap Play → Create New → Create New World.
- Open the Cheats section and turn on Activate Cheats.
- Tap Create.
For an existing world
- Tap Play, then the pencil (edit) icon next to your world.
- Go to Cheats and switch on Activate Cheats.
- Confirm the warning and tap Play.
- Turning on cheats permanently disables achievements for that world, even if you turn cheats off again.
- Make a copy first (World settings → Copy World) if you want to keep earning achievements.
How to Type Commands on Android
- In the world, tap the chat (speech bubble) button at the top of the screen.
- Type / to see a list of commands with suggestions.
- Finish the command and tap the arrow or press enter.
Most commands use a target selector to choose who they affect:
| Selector | Means |
|---|---|
| @s | Yourself |
| @p | Nearest player |
| @a | All players |
| @r | A random player |
| @e | All entities (mobs, items and players), e.g. @e[type=cow] |

Most Useful Minecraft PE Cheats and Commands
| Command | What it does | Example |
|---|---|---|
| /gamemode | Switch game mode | /gamemode creative |
| /time set | Change time of day | /time set day |
| /daylock | Stop the day-night cycle | /daylock true |
| /weather | Change the weather | /weather clear |
| /give | Give items | /give @s diamond 64 |
| /tp | Teleport to coordinates or a player | /tp @s 100 80 -200 |
| /effect | Add a potion effect | /effect @s night_vision 600 1 true |
| /enchant | Enchant the held item | /enchant @s sharpness 5 |
| /xp | Give experience levels | /xp 30L @s |
| /locate | Find structures or biomes | /locate structure village |
| /summon | Spawn a mob | /summon horse |
| /kill | Remove entities | /kill @e[type=item] |
| /clear | Empty an inventory | /clear @s |
| /difficulty | Change difficulty | /difficulty peaceful |
| /spawnpoint | Set your respawn point here | /spawnpoint |
| /setworldspawn | Set the world spawn here | /setworldspawn |
| /fill | Fill an area with blocks | /fill ~-3 ~-1 ~-3 ~3 ~-1 ~3 glass |
Tip: The ~ symbol means "relative to where I am". For example, /tp @s ~ ~10 ~ teleports you 10 blocks straight up.
Best Game Rules for Minecraft PE
Game rules change how the world behaves. Use them with /gamerule:
| Command | Effect |
|---|---|
| /gamerule keepInventory true | Keep items and XP when you die |
| /gamerule showCoordinates true | Show your position on screen |
| /gamerule doDaylightCycle false | Freeze the time of day |
| /gamerule doWeatherCycle false | Stop weather changes |
| /gamerule mobGriefing false | Stop creepers and endermen from breaking blocks |
| /gamerule doImmediateRespawn true | Skip the death screen |
| /gamerule doFireTick false | Stop fire from spreading |
Want coordinates without cheats? Most world settings menus also have a Show Coordinates toggle that does not disable achievements. It is perfect for using the coordinates in our best Minecraft PE seeds list.
How to Get a Command Block
Command blocks run commands automatically with redstone. In a world with cheats on, switch to Creative and type /give @s command_block. Place it, tap it and enter a command. Map makers use them for adventure and minigame worlds.
Cheats vs Hacks: Stay Safe
Official commands are safe and built into the game. "Hacked clients", "god mode APKs" and "free Minecoins" apps are not. They can contain malware and will get you banned from servers and Realms. Read our Minecraft mod APK risks guide before installing anything that promises unlimited items.
Commands Not Working? Fixes
| Problem | Fix |
|---|---|
| "You do not have permission" | Turn on Activate Cheats, or ask the world owner to make you an operator. |
| "Unknown command" | Check spelling; some Java commands are different on Bedrock. |
| Command works in Java guides but not here | Use Bedrock syntax, e.g. /locate structure village and /xp 30L @s. |
| Commands blocked on a server | Servers and Realms control their own permissions. |

Commands are updated with each release, so keep your game on the latest version (26.52).
Frequently Asked Questions
How do I turn on cheats in Minecraft PE?
Edit your world, open the Cheats section and switch on Activate Cheats. Then use the chat button to type commands.
Do cheats disable achievements in Minecraft PE?
Yes. Activating cheats permanently disables achievements for that world, so make a copy if you want to keep them.
How do I keep my inventory in Minecraft PE?
Turn on cheats and type /gamerule keepInventory true.
How do I find a village with commands?
Type /locate structure village. The game shows the coordinates of the nearest village, which you can reach with /tp.
How do I get to creative mode in Minecraft PE?
Type /gamemode creative in a world with cheats on, or change the default game mode in world settings.
Are Minecraft PE cheats safe?
Yes. Commands are official features. Hacked clients and cheat APKs are unsafe and can get you banned.



