Skip to content
[/craft]
Remove Water in an Area

Remove Water in an Area

Get rid of water flooding a build or cave. Run: /fill ~-5 ~-3 ~-5 ~5 ~3 ~5 air replace water. Replaces every water block in an 11×7×11 box centered on you with air, leaving all other blocks untouched. Adjust the two corner coordinates to cover the flooded area — larger boxes work but /fill has a volume limit per run, so drain big areas in sections. Works on Java 26.2 and Bedrock 26.32. Last verified June 2026.

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026
/fill ~-5 ~-3 ~-5 ~5 ~3 ~5 air replace water

How to use

  1. Stand in the middle of the flooded area.
  2. Paste the command; widen the coordinates if the water extends further.
  3. Press Enter — only water blocks are replaced; your build stays intact.
  4. Repeat in sections for large floods.

Frequently asked questions

Does Remove Water in an Area work on Bedrock Edition?

Yes — the same command works on both Java 26.2 and Bedrock 26.32.

Do you need OP or cheats enabled to use Remove Water in an Area?

Yes — you need operator permissions (OP) on a server, or cheats enabled in your world settings (Java: open to LAN with cheats on; Bedrock: enable cheats in world settings).

Can Remove Water in an Area be used in a command block?

Yes — paste the command into a command block and activate it with a button or redstone signal. Remove the leading slash when using a command block.

Does Remove Water in an Area work in multiplayer?

Yes — the command works the same in multiplayer as in singleplayer. Operator permissions may be required depending on your server settings.

Related commands

Need something different?

Customize this command in the /fill builder — choose your own options and copy the result.

Open builder →

Learn more

📖

How to Use Coordinates in Minecraft Commands

Understand absolute, relative (~), and local (^) coordinates in Minecraft commands