Drain Water From Area
Remove all water from a region instantly
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Drains a 10×10×10 area by replacing all water blocks with air. This is a huge quality-of-life command for underwater building, terraforming, or quickly clearing flooded caverns without needing sponges.
/fill ~-5 ~-5 ~-5 ~5 ~5 ~5 air replace water44 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Position yourself near the water you want removed.
- Paste the command and press Enter.
- All water in the area is replaced with air instantly.
Related commands
Set a Single Block
Place one block at a specific spot
Clear an Area (Fill With Air)
Delete a region of blocks by filling it with air
Fill a Hollow Box (Build a Room)
Create a hollow room or box out of any block
Fill an Area with Water
Create a pool or lake by filling a region with water
Replace One Block Type with Another
Swap every block of one type for another in a region
Place a Chest
Instantly place a chest at a specific location