Last updated: November 22, 2026
Quick answer: For Java Edition on Windows, press Win + R, type %appdata%\.minecraft and press Enter. On a Mac it’s ~/Library/Application Support/minecraft, and on Linux it’s ~/.minecraft. Bedrock Edition on Windows now keeps its files in %appdata%\Minecraft Bedrock (it used to be under %LocalAppData%\Packages).
Accessing the Minecraft folder is how you manage game files, back up worlds, install mods and add resource packs.
This guide shows where the folder is for each version of the game: Java Edition on Windows, Mac and Linux, Bedrock Edition on Windows, and the mobile versions.
Which Minecraft Folder Do You Need?
| Version | Folder location |
|---|---|
| Java Edition (Windows) | %appdata%\.minecraft |
| Java Edition (macOS) | ~/Library/Application Support/minecraft |
| Java Edition (Linux) | ~/.minecraft |
| Bedrock Edition (Windows, current builds) | %appdata%\Minecraft Bedrock\Users\ (worlds are in games\com.mojang inside your user folder) |
| Bedrock Edition (Windows, older UWP builds) | %LocalAppData%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang |
| Android | Android/data/com.mojang.minecraftpe/files/games/com.mojang |
| iPhone / iPad | Files app → On My iPhone (or iPad) → Minecraft → games → com.mojang |
Java Edition: The .minecraft Folder
The .minecraft folder (called minecraft on macOS) is the folder Minecraft Java Edition creates and runs from.
It holds your saves (worlds), resourcepacks, shaderpacks, screenshots, mods (once a mod loader is installed), settings (options.txt), logs and the game versions you’ve downloaded.
Windows Method 1: Use the Run Dialog (Fastest)
- Press
Win + Ron your keyboard. - Type
%appdata%\.minecraftand pressEnter. - File Explorer opens straight to the
.minecraftfolder.
Windows Method 2: Navigate Manually
- Open File Explorer (
Win + E). - The AppData folder is hidden, so turn hidden items on. In Windows 11, click View → Show → Hidden items. In Windows 10, open the View tab and tick Hidden items.
- Go to
C:\Users\[YourUsername]\AppData\Roaming, replacing[YourUsername]with your Windows username. - Open the
.minecraftfolder.
Method 3: From Inside the Game
- Launch Minecraft Java Edition.
- Go to Options → Resource Packs.
- Click Open Pack Folder.
- The
resourcepacksfolder opens. Go up one level and you’re in.minecraft.
Method 4: From the Minecraft Launcher
In the Minecraft Launcher, open the Installations tab, hover over an installation and click the folder icon. This opens that installation’s game directory. It’s the default .minecraft folder unless you set a custom directory for that installation.
How to Find the Minecraft Folder on Mac
On macOS, the Java Edition folder is inside your hidden user Library.
Method 1: Finder’s Go to Folder
- Open Finder.
- Press
Shift + Command + G. - Type
~/Library/Application Support/minecraftand pressReturn.
Method 2: Terminal
- Press
Command + Space, typeTerminaland pressReturn. - Type
open ~/Library/Application\ Support/minecraftand pressReturn. The backslash before the space is needed in Terminal.
Method 3: Through the Library Menu
- In Finder, click Go in the menu bar while holding the
Optionkey. - Select Library.
- Open Application Support, then minecraft.
Tip: To show all hidden files in Finder, press Shift + Command + . (period). Press it again to hide them.
How to Find the Minecraft Folder on Linux
On Linux, the official launcher uses .minecraft in your home folder.
- Open a terminal (often
Ctrl + Alt + T). - Type
cd ~/.minecraftand pressEnter, or open~/.minecraftin your file manager after showing hidden files (Ctrl + Hin most file managers).
If you installed Minecraft as a Flatpak or through a third-party launcher, the folder can be somewhere else. Check that launcher’s settings for the game directory.
Bedrock Edition on Windows (Minecraft for Windows)
Bedrock Edition on Windows does not use .minecraft. Its worlds, resource packs and behavior packs live in a folder called com.mojang.
Current builds (1.21.120 and newer)
Starting with version 1.21.120, Minecraft for Windows moved from the old UWP app format to Microsoft’s GDK. This changed where its files are stored:
- Worlds and personal settings:
%appdata%\Minecraft Bedrock\Users\[number]\games\com.mojang. The[number]folder is a long ID linked to your account. - Shared packs (add-ons, development packs):
%appdata%\Minecraft Bedrock\Users\Shared\games\com.mojang - Preview builds: use
Minecraft Bedrock Previewinstead ofMinecraft Bedrockin the paths above.
To open it, press Win + R, type %appdata%\Minecraft Bedrock and press Enter. Then open Users, your numbered folder, games and com.mojang. Your worlds are in minecraftWorlds.
Older UWP builds
If you’re still on a version older than 1.21.120, or you’re recovering worlds from before the update, the old location is:
%LocalAppData%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang
Before a big update, back up your minecraftWorlds folder. Some players lost worlds or saw them in the wrong place after the GDK switch, and a copy saved somewhere else protects you.
Which world folder is which?
Inside minecraftWorlds, each world has a folder with a random-looking name. Open a folder and open levelname.txt in Notepad to see that world’s name.
How to Find the Minecraft Folder on Android and iPhone
Android
- Current versions store data in
Android/data/com.mojang.minecraftpe/files/games/com.mojang. - Newer Android versions limit access to the
Android/datafolder. If your file manager can’t open it, export worlds from inside the game instead: go to Edit world → Export World.
iPhone and iPad
- Open the Files app and go to On My iPhone (or On My iPad) → Minecraft → games → com.mojang.
Xbox, PlayStation and Switch
Consoles don’t give you a browsable Minecraft folder. Worlds are saved on the console and, depending on the platform, backed up to cloud storage. To move a world, use Realms or the console’s own backup tools.
How to Find (or Make) the Minecraft Mods Folder
Java Edition doesn’t include a mods folder by default. It appears inside .minecraft after you install a mod loader like Fabric, Forge or NeoForge and launch it once, or you can create it yourself. For full steps, see our guide on how to find the Minecraft mods folder.
Troubleshooting
- “Windows cannot find %appdata%\.minecraft”: You haven’t run Java Edition yet, or you have Bedrock instead. Launch Java Edition once so the folder gets created.
- The folder is empty or has no saves: You may be using a custom game directory. Check the installation’s settings in the launcher (Installations → Edit → Game directory).
- Bedrock worlds are missing after an update: Look in both the new
%appdata%\Minecraft Bedrockpath and the old%LocalAppData%\Packagespath, and check every numbered user folder. - You can’t see AppData: It’s a hidden folder. Use the Run dialog, or turn on hidden items in File Explorer.
FAQ
What is %appdata% in Minecraft?
%appdata% is a Windows shortcut to C:\Users\[YourUsername]\AppData\Roaming. Java Edition keeps its .minecraft folder there, and current Bedrock builds keep their Minecraft Bedrock folder there too.
Where are Minecraft worlds saved?
Java Edition worlds are in .minecraft\saves. Bedrock worlds are in com.mojang\minecraftWorlds.
Can I move the .minecraft folder?
Yes, for Java Edition. In the launcher, edit an installation and set a custom Game directory. Bedrock’s folder location can’t be changed.
Follow us on Twitter & like our Facebook page for more post-updates
Check out related Minecraft posts
- How to Find the Minecraft Mods Folder
- Top 14 Best Roblox Minecraft Games
- Top 15 Best Games like Minecraft for Android/ iOS
- Fix: Minecraft store not working
- How to turn Animals upside-down in Minecraft

Abhigyan identifies himself as a tech geek, gaming cognoscenti, and also a connoisseur of music. Unidentified and mysterious phenomena never fail to gather his undivided attention. When not reading about bizarre and perplexing entities across the Universe, he can often be found cheering for his favorite teams in Football.
Our guides are researched, fact-checked and updated as games change. How we research and verify our guides.
