Disable Drowning Damage
Stop taking damage when underwater
⚠︎ Awaiting in-game verification for Java 26.2Players no longer drown when out of air underwater. Set back to true to restore drowning.
/gamerule drowningDamage false30 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Paste the command.
- Press Enter — you can stay underwater indefinitely.
Related commands
Enable the coordinates display on screen
/gamerule showCoordinates trueMake plants grow faster by increasing random tick speed
/gamerule randomTickSpeed 3Stop taking damage from fire and lava
/gamerule fireDamage falseKeep your items when you die instead of dropping them
/gamerule keepInventory true