Fill an Area with Lava
Flood a region with lava source blocks
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Fills a 6×6 area at your feet with lava source blocks — instant moat, trap floor, or mob incinerator. Every block is a source, so it won't drain. Be standing somewhere safe when you run it, and keep a fire resistance potion handy.
/fill ~ ~ ~ ~5 ~ ~5 lava24 characters
- Java: yes
- Bedrock: yes
- Command block: yes
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock).
- Move to one corner of the area (or set absolute coordinates).
- Paste the command and press Enter.
- The region floods with lava instantly — mind your feet.
Related commands
Create a hollow room or box out of any block
/fill ~ ~ ~ ~10 ~6 ~10 stone hollowCreate a pool or lake by filling a region with water
/fill ~ ~ ~ ~10 ~ ~10 waterSwap every block of one type for another in a region
/fill ~ ~ ~ ~10 ~10 ~10 stone replace dirtCopy a region of blocks and paste it somewhere else
/clone ~-5 ~-5 ~-5 ~5 ~5 ~5 ~15 ~-5 ~-5Delete all blocks in a large area quickly
/fill ~-10 ~-2 ~-10 ~10 ~10 ~10 air