How To Use /Fill In Minecraft: 8 Steps (with Pictures) - WikiHow

Skip to ContentQuizzes
  • Home
  • Random
  • Browse Articles
  • Quizzes & Games
  • All QuizzesHot
  • Love Quizzes
  • Personality Quizzes
  • Fun Games
  • Dating Simulator
  • Learn Something New
  • Forums
  • Courses
  • Happiness Hub
  • Explore More
  • Support wikiHow
  • About wikiHow
  • Log in / Sign up
Terms of Use wikiHow is where trusted research and expert knowledge come together. Learn why people trust wikiHow How to Use /Fill in Minecraft PDF download Download Article Explore this Article Steps Steps Other Sections Questions & Answers Video Tips and Warnings Related Articles References Co-authored by Zac Churchill

Last Updated: February 23, 2026 Fact Checked

PDF download Download Article X

This article was co-authored by Zac Churchill. Zac Churchill is a Minecraft Specialist based in Davidson, North Carolina. Zac has played Minecraft for over 10 years and has extensive knowledge of how to play Minecraft and how the game has changed over the different versions. Specifically, Zac has expert experience in survival worlds, large builds on creative mode, and server design/upkeep. He graduated in 2023 with a BA in Sociology and English from Tufts University. This article has been fact-checked, ensuring the accuracy of any cited facts and confirming the authority of its sources. This article has been viewed 319,514 times.

Everyone hates long, boring days where the only thing to do is lay out a road or roof. Isn’t Minecraft supposed to be fun? If you want a new, faster way to build large structures, /fill is a simple Minecraft command that can solve this problem. This wikiHow tutorial will explain how to use /fill and save yourself a ton of time!

Using the Fill Command in Minecraft

Type /fill into the chat. Make sure you include the forward slash or the command won't work. Then, type the coordinates of the starting and ending squares of the area that you want to fill. You can only use this command to build squares or rectangles.

Steps

PDF download Download Article
  1. Choose A Location Fill Command Minecraft.png 1 Find a spot to build. An ideal spot would be flat and open with plenty of space.
    • You can technically build anywhere and use /fill to flatten the land out.
    • Know that the /fill command can only build squares or rectangles.
  2. Open F3 Minecraft Coordinates Fill Command.png 2 Press the F3 key on your keyboard once you’ve found your spot. This will show you the coordinates of your position in the game. Look for the X, Y, and Z coordinates.[1]
    • You will be inputting these coordinates into the /fill command.
    • You can also pull up your coordinates by pressing the FN and F3 keys at the same time.[2]
    Advertisement
  3. Minecraft fill command endpoint one.png 3 Go to one of the corners of the rectangle you plan to create using the /fill command. This will be one of your “endpoints” in the command. Write down the coordinates of the block on which you are standing, as this is the first part of your rectangle.
  4. Minecraft Fill Command Endpoint Two.png 4 Go to the opposite corner of the rectangle you wish to create. For example, if you’re on standing at the bottom left corner, walk to the top right corner.
    • You could also do this with a cube. For example, if you’re standing at the back top left corner, move to the front bottom right.
  5. 5 Begin typing the command. First, type /fill into the chat. The forward slash is required to make the command work. Next, type the XYZ coordinates you wrote down previously. Next, type the XYZ coordinates of the block on which you are standing now.[3]
    • You can also do /fill <first set of coordinates> ~ ~ ~ <block> to fill from the first set to where ever you are standing without manually inputting coordinates.
    • <block> is a stand-in for what you’re going to do in the next step. Don’t type it in the command. Don’t submit the command yet either.
  6. Minecraft Fill Command Choose Block.png 6 Choose a block to fill the area. Press F3 and H at the same time on your keyboard. Now you can see the Block IDs. Select your block from the creative menu. Go into your inventory and hover over the block you desire. Under the block's name, there should be something in gray text that says "yourobject". Replace "yourobject" with the ID of the block you wish to place.
    • You can also type "minecraft:" and then hit tab until you see your block. You can type the first few letters of your block (like you would while searching for it in the creative inventory) and hit tab to narrow down the search.
  7. Minecraft Fill Command Hollow Diamond Block.png 7 Consider using optional modifiers. These modifiers include:
    • hollow: makes the inside of the rectangle hollow
    • replace: replaces all blocks of one type in the area with another, ie /fill <set 1> <set 2> minecraft:diamond_block replace minecraft:clay
    • destroy: not only replaces all blocks, but breaks them and turns them into items you can pick up as if they were mined.
    • keep: fills air and leaves blocks inside the rectangle unaffected
    • outline:outlines the blocks already placed with the block you choose
  8. Minecraft Fill Command Example.png 8 Observe the picture above. It is an example combining all of the previous information.
    • This is an example of a correctly typed command. Be sure to have the /fill, the two sets of coordinates, and the block you wish to use.
    • Example typed: /fill -299 64 -110 -334 79 -138 minecraft:diamond_block
  9. Advertisement

Community Q&A

Search Add New Question
  • Question Is this possible to do in Education Edition? PuppyDog123ABC PuppyDog123ABC Community Answer Yes, you can do this in any edition unless you type the wrong coordinates. Thanks! We're glad this was helpful. Thank you for your feedback. If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow Yes No Not Helpful 15 Helpful 33
  • Question Does this work on Bedrock Edition? PuppyDog123ABC PuppyDog123ABC Community Answer Yes, it does. Thanks! We're glad this was helpful. Thank you for your feedback. If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow Yes No Not Helpful 16 Helpful 27
  • Question How do I remove blocks using commands? PuppyDog123ABC PuppyDog123ABC Community Answer Type "/fill x y z air" then it will be gone! (Don't type the speech marks.) Thanks! We're glad this was helpful. Thank you for your feedback. If wikiHow has helped you, please consider a small contribution to support us in helping more readers like you. We’re committed to providing the world with free how-to resources, and even $1 helps us in our mission. Support wikiHow Yes No Not Helpful 19 Helpful 31
See more answers Ask a Question 200 characters left Include your email address to get a message when this question is answered. Submit Advertisement Did this article help you? Say thanks with a small tip. icon $1 $3 $5 Leave a Tip Support our mission to help everyone in the world learn how to do anything.

Video

Tips

  • If you have a hard time remembering coordinates, you can type the first set into chat or the command and return to them with the up arrow key to see them again. Thanks Helpful 2 Not Helpful 0
  • When reading the coordinates, the read X as east/west, Y as up and down, and Z as north/south. Thanks Helpful 1 Not Helpful 0
  • If the chat box is blocking the coordinates, press F3+D to clear the chat. Thanks Helpful 1 Not Helpful 1
Show More Tips Submit a Tip All tip submissions are carefully reviewed before being published Name Please provide your name and last initial Submit Thanks for submitting a tip for review! Advertisement

Warnings

  • Only let trusted people use this command. Someone with bad intentions can fill an area with air or TNT to erase your builds or damage the world. Thanks Helpful 1 Not Helpful 0
  • Do not summon large amounts of liquid or blocks with animation—like seaweed—unless you are sure your computer can handle that. Thanks Helpful 1 Not Helpful 0
  • The maximum number of blocks you can replace at once is 32768. Thanks Helpful 1 Not Helpful 0
  • You cannot undo your mistakes, so be very careful when you type the coordinates. Thanks Helpful 1 Not Helpful 0
Advertisement

You Might Also Like

Clone in MinecraftHow to Use Clone Command in Minecraft Copy and Paste in MinecraftHow toCopy and Paste in Minecraft Place Blocks in MinecraftHow to Place and Break Blocks in Your Minecraft World Use Command Blocks in MinecraftHow to Use Commands in Minecraft to Spawn Blocks, Objects, & More Teleport in MinecraftHow to Teleport in Minecraft with the TP Command & Command Blocks Build in MinecraftHow toBuild in Minecraft Make a Castle in MinecraftHow toMake a Castle in Minecraft Use the Tellraw Command in MinecraftHow toUse the Tellraw Command in Minecraft Make a Mansion on MinecraftHow toMake a Mansion on Minecraft Get Command Blocks in MinecraftHow toGet Command Blocks in Minecraft Type Colored Text in Minecraft Chat (Works with Command Blocks)How to Add Colors To Text in Minecraft See Chunk Borders in MinecraftShow Chunk Borders in Minecraft: Tutorial for Bedrock & Java Make a Circle in MinecraftHow to Create a Circle in Minecraft: The Plus Sign Trick Die in MinecraftHow toDie in Minecraft Advertisement

References

  1. https://www.digminecraft.com/getting_started/coordinate_system.php
  2. Zac Churchill. Minecraft Specialist. Expert Interview
  3. https://www.digminecraft.com/game_commands/fill_command.php
  4. https://www.minecraft.net/
  5. http://minecraft.gamepedia.com/Minecraft_Wiki

About This Article

Zac Churchill Co-authored by: Zac Churchill Minecraft Specialist This article was co-authored by Zac Churchill. Zac Churchill is a Minecraft Specialist based in Davidson, North Carolina. Zac has played Minecraft for over 10 years and has extensive knowledge of how to play Minecraft and how the game has changed over the different versions. Specifically, Zac has expert experience in survival worlds, large builds on creative mode, and server design/upkeep. He graduated in 2023 with a BA in Sociology and English from Tufts University. This article has been viewed 319,514 times. 106 votes - 61% Co-authors: 21 Updated: February 23, 2026 Views: 319,514 Categories: Minecraft Commands | Minecraft In other languages Italian Czech Japanese
  • Print
  • Send fan mail to authors
Thanks to all authors for creating a page that has been read 319,514 times.

Reader Success Stories

  • Anonymous

    Anonymous

    Jun 5, 2023

    "Thanks, because I always fill manually, and it is annoying."
More reader stories Hide reader stories Share your story

Did this article help you?

Yes No Advertisement Cookies make wikiHow better. By continuing to use our site, you agree to our cookie policy. Zac Churchill Co-authored by: Zac Churchill Minecraft Specialist 106 votes - 61% Click a star to vote Co-authors: 21 Updated: February 23, 2026 Views: 319,514 Anonymous

Anonymous

Jun 5, 2023

"Thanks, because I always fill manually, and it is annoying." Jean G.

Jean G.

Oct 29, 2023

"I was able to create a mansion because of your help." Kai T.

Kai T.

Feb 2, 2024

"This info helped me create a gold factory." Share yours! More success stories Hide success stories

Quizzes & Games

What Kind of Minecraft Player Am I QuizWhat Kind of Minecraft Player Am I QuizTake QuizMinecraft Trivia QuizMinecraft Trivia QuizTake QuizWhat's My Minecraft Style QuizWhat's My Minecraft Style QuizTake QuizMinecraft World Name GeneratorMinecraft World Name GeneratorGenerate NamesLeetspeak Translator & GeneratorLeetspeak Translator & GeneratorGenerateMusic Notes & Symbols TestMusic Notes & Symbols TestTake Quiz

You Might Also Like

Clone in MinecraftHow to Use Clone Command in MinecraftCopy and Paste in MinecraftHow toCopy and Paste in MinecraftPlace Blocks in MinecraftHow to Place and Break Blocks in Your Minecraft WorldUse Command Blocks in MinecraftHow to Use Commands in Minecraft to Spawn Blocks, Objects, & More

Featured Articles

Make a Paper AirplaneHow toMake a Paper AirplaneLearn Morse CodeHow toLearn Morse CodeFold an Origami Star (Shuriken)How toFold an Origami Star (Shuriken) Fold and Use a Paper Fortune TellerHow to Fold and Use a Paper Fortune Teller

Trending Articles

Do I Have Main Character Energy?Do I Have Main Character Energy?What Emojis Mean Sex?What Emojis Mean Sex?What Pokémon Am I QuizWhat Pokémon Am I QuizDo I Have Brainrot QuizDo I Have Brainrot QuizSigns a Woman is Sexually Attracted to YouSigns a Woman is Sexually Attracted to YouFinish the Lyrics QuizFinish the Lyrics Quiz

Featured Articles

What Animal Am I QuizWhat Animal Am I QuizAm I Gay QuizAm I Gay QuizHow Well Do I Know My Best Friend QuizHow Well Do I Know My Best Friend QuizAm I an Alpha, Beta, or Omega QuizAm I an Alpha, Beta, or Omega Quiz

Featured Articles

160+ Good Roasts to Burn Your Friends & Family Members160+ Good Roasts to Burn Your Friends & Family Members Play the Snaps Guessing GameHow to Play the Snaps Guessing Game140+ Wavelength Game Categories & Questions to Extend Your Play140+ Wavelength Game Categories & Questions to Extend Your PlayThe Ultimate Collection of Funny, Cheesy, & Romantic Rizz LinesThe Ultimate Collection of Funny, Cheesy, & Romantic Rizz LinesVirtual Truth or Dare Questions to Keep Things InterestingVirtual Truth or Dare Questions to Keep Things Interesting180 Good Comebacks & Savage Roasts to Win Any Argument180 Good Comebacks & Savage Roasts to Win Any Argument

Watch Articles

Eat GuavaHow toEat Guava Get Yellow Stains Out of White ShoesHow to Get Yellow Stains Out of White ShoesLeft Eye Twitching for Females: What Astrology Says About Eye TwitchingLeft Eye Twitching for Females: What Astrology Says About Eye Twitching50 First Date Conversation Starters to Spark a Connection50 First Date Conversation Starters to Spark a Connection Make a Mask Out of Paper (for Kids or Adults)How to Make a Mask Out of Paper (for Kids or Adults) Put Jibbitz on CrocsHow to Put Jibbitz on Crocs

Trending Articles

Do You Agree with These "Hear Me Out" Character Hot Takes?Do You Agree with These "Hear Me Out" Character Hot Takes? Read Face Moles: Lucky and Unlucky PlacementsHow to Read Face Moles: Lucky and Unlucky PlacementsWhat Female Body Shape Are You? How to Identify YoursWhat Female Body Shape Are You? How to Identify YoursThe Ultimate Guide to Fingerprint Patterns & How to Analyze ThemThe Ultimate Guide to Fingerprint Patterns & How to Analyze ThemDo I Belong In Camp Half-Blood or Camp Jupiter?Do I Belong In Camp Half-Blood or Camp Jupiter?Can Your Finger Length Tell Your Personality?Can Your Finger Length Tell Your Personality?

Quizzes & Games

The Impossible QuizThe Impossible QuizTake QuizEmoji TestEmoji TestTake QuizGuess the Mystery Word QuizGuess the Mystery Word QuizTake QuizWhat Crystal Do I Need QuizWhat Crystal Do I Need QuizTake QuizCreative Ability TestCreative Ability TestTake QuizWhat Makeup Should I Wear QuizWhat Makeup Should I Wear QuizTake Quiz wikiHow
  • Categories
  • Minecraft Commands
wikiHow Newsletter You're all set! Helpful how-tos delivered toyour inbox every week! Sign me up! By signing up you are agreeing to receive emails according to our privacy policy.
  • Home
  • About wikiHow
  • Experts
  • Jobs
  • Contact Us
  • Site Map
  • Terms of Use
  • Privacy Policy
  • Do Not Sell or Share My Info
  • Not Selling Info
  • Contribute

Follow Us

×

Get all the best how-tos!

Sign up for wikiHow's weekly email newsletter

Subscribe You're all set! X --435

Tag » How To Use /fill In Minecraft