Finding your base Minecraft folder (the directory where the game stores worlds, saves, resource packs, and settings) is essential for backing up worlds, installing mods, or editing configuration files. This guide shows you exactly where to look on Windows, macOS, and Linux, and what to do if the folder isn’t where you expect it to be.
What You’ll Need
- A computer with Minecraft installed (Java Edition or Bedrock Edition, steps differ)
- File Explorer (Windows), Finder (macOS), or your Linux file manager
- Optional: a text editor for viewing config files
Step-by-Step
For Minecraft: Java Edition (PC/Mac/Linux)
- Open the Run dialog (Windows) or Terminal (macOS/Linux). On Windows, press Win + R. On macOS, press Cmd + Space, type “Terminal” and hit Enter. On Linux, open your terminal emulator.
- Type the correct command for your OS.
- Windows: Type
%appdata%\.minecraftand press Enter. This opens the folder directly in File Explorer. - macOS: In Terminal, type
open ~/Library/Application\ Support/minecraftand press Enter. This opens the folder in Finder. - Linux: In Terminal, type
xdg-open ~/.minecraftand press Enter. This opens the folder in your default file manager.
- Windows: Type
- If the folder doesn’t open, create it manually. Run the Minecraft launcher once, let it download the game, then close it. The folder should now exist. If not, create the folder manually using the exact path shown above.
- Inside the folder, you’ll find key subfolders:
saves– your single-player worldsresourcepacks– texture packs you’ve installedshaderpacks– shader packs (if using OptiFine or similar)mods– mods (if using Forge or Fabric)config– mod configuration filesoptions.txt– game settings
For Minecraft Bedrock Edition (Windows 10/11)
- Press Win + R to open Run.
- Type
%localappdata%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojangand press Enter. This is the base folder for Bedrock. Note: the long stringMicrosoft.MinecraftUWP_8wekyb3d8bbweis the standard package name; it should be the same on all Windows 10/11 installs, but if it isn’t, search for “MinecraftUWP” in the Packages folder. - Look for subfolders like
minecraftWorlds(your worlds),resource_packs, andbehavior_packs.
For Minecraft Bedrock Edition (Mobile/Console)
- On mobile (iOS/Android), the base folder is not directly accessible without a file manager app. On Android, use a file manager to navigate to
Android/data/com.mojang.minecraftpe/files/games/com.mojang. On iOS, you may need to use the “Files” app and look under “On My iPhone” > “Minecraft” if you’ve enabled file sharing in the app settings. - On consoles (PlayStation, Xbox, Switch), there is no direct file access. You cannot browse the base folder; instead, use in-game world backup/export features if available.
Common Mistakes
- Looking in the wrong drive or user folder. The
%appdata%shortcut points to your current user’s AppData folder. If you’re logged into a different Windows account, the path changes. - Expecting Bedrock and Java to share the same folder. They are separate games with completely different file locations.
- Typing the path incorrectly. On macOS, the space in “Application Support” must be escaped with a backslash in Terminal, or the command will fail.
- Assuming the folder exists before launching the game. The
.minecraftfolder is created only after you run the launcher at least once.
Tips
- Create a shortcut to the folder. On Windows, right-click the folder in File Explorer and select “Pin to Quick access” or “Create shortcut”. On macOS, drag the folder to the Finder sidebar.
- Back up your worlds regularly. Copy the
savesfolder (Java) orminecraftWorlds(Bedrock) to an external drive or cloud storage. - Use the launcher’s “Game Directory” setting. In the Java Edition launcher, you can change the game directory to a custom location under “Installations” > “More Options”. This is useful if you want to keep the base folder on a different drive.
- For modded setups, keep a separate folder. If you use mod loaders like Forge or Fabric, consider creating a separate profile with its own directory to avoid clutter.
Troubleshooting
- The
%appdata%command doesn’t work. Make sure you’re typing it exactly, including the percent signs. If it still fails, manually navigate toC:\Users\[YourUsername]\AppData\Roaming\.minecraftin File Explorer. - macOS Terminal says “No such file or directory”. This usually means the folder hasn’t been created. Run Minecraft once, close it, then try again. If it still fails, check if you have a space in your username; the command should still work with the escaped space.
- You can’t find the Bedrock folder on Windows. The package name might differ if you installed the game from a non-Microsoft store source. Search for “MinecraftUWP” in
%localappdata%\Packagesto find the correct folder. - You see a “minecraft” folder but it’s empty. This can happen if the game hasn’t fully downloaded. Run the launcher and let it download all assets, then close and reopen the folder.
- On Linux, the folder is hidden. The
.minecraftfolder starts with a dot, so it’s hidden by default. Press Ctrl + H in your file manager to show hidden files.
Frequently Asked Questions
What is the base Minecraft folder called?
For Java Edition, it’s called .minecraft. For Bedrock on Windows, it’s a long path ending in com.mojang.
Can I move my base Minecraft folder to another drive?
Yes, for Java Edition you can change the game directory in the launcher settings. For Bedrock, it’s not officially supported, but you can use symbolic links (advanced) to redirect it.
Why can’t I find the folder on my Mac?
macOS hides the Library folder by default. Use the Terminal command provided, or in Finder press Cmd + Shift + G and type ~/Library/Application Support/minecraft.
Do mods go in the base folder?
Yes, mods go in the mods subfolder inside the base folder, but only if you have a mod loader like Forge or Fabric installed.
How do I back up my worlds?
Copy the saves folder (Java) or the minecraftWorlds folder (Bedrock) to a safe location. You can zip it for a single file backup.
Is the base folder the same as the game directory?
Not always. The game directory is where the game stores its files; by default it’s the base folder, but you can change it in the launcher for Java Edition.