How to Find the Minecraft Folder (%appdata%\.minecraft): Windows, Mac, Linux, Bedrock & Mobile

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)

  1. Press Win + R on your keyboard.
  2. Type %appdata%\.minecraft and press Enter.
  3. File Explorer opens straight to the .minecraft folder.

Windows Method 2: Navigate Manually

  1. Open File Explorer (Win + E).
  2. 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.
  3. Go to C:\Users\[YourUsername]\AppData\Roaming, replacing [YourUsername] with your Windows username.
  4. Open the .minecraft folder.

Method 3: From Inside the Game

  1. Launch Minecraft Java Edition.
  2. Go to Options → Resource Packs.
  3. Click Open Pack Folder.
  4. The resourcepacks folder 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

  1. Open Finder.
  2. Press Shift + Command + G.
  3. Type ~/Library/Application Support/minecraft and press Return.

Method 2: Terminal

  1. Press Command + Space, type Terminal and press Return.
  2. Type open ~/Library/Application\ Support/minecraft and press Return. The backslash before the space is needed in Terminal.

Method 3: Through the Library Menu

  1. In Finder, click Go in the menu bar while holding the Option key.
  2. Select Library.
  3. 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.

  1. Open a terminal (often Ctrl + Alt + T).
  2. Type cd ~/.minecraft and press Enter, or open ~/.minecraft in your file manager after showing hidden files (Ctrl + H in 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 Preview instead of Minecraft Bedrock in 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/data folder. 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 Bedrock path and the old %LocalAppData%\Packages path, 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

Our guides are researched, fact-checked and updated as games change. How we research and verify our guides.