Where the .minecraft folder is located
The .minecraft folder is a hidden directory on your computer where Minecraft stores your worlds, settings, mods, and resource packs. Its location depends on your operating system. On Windows, it lives in your AppData folder. On Mac, it's in your Library folder. On Linux, it's in your home directory. The folder name starts with a dot, which makes it hidden by default — you won't see it unless you tell your system to show hidden files.
You need to find this folder when you want to back up your worlds, install mods, add resource packs, or troubleshoot game problems. Many Minecraft guides assume you already know where it is, so finding it yourself is the first step to customizing your game.
Key Takeaways
- The .minecraft folder is hidden by default on all operating systems, so you must enable viewing hidden files before you can see it.
- On Windows, navigate to your username in AppData, then Local, then find the Roaming folder inside it.
- On Mac, open Finder, click Go in the menu bar, hold Option, and select Library to reach the folder.
- On Linux, the folder is in your home directory and can be opened directly from the file manager or terminal.
Finding the folder on Windows
Open File Explorer and click on the address bar at the top. Type %appdata% and press Enter. This takes you directly to your AppData folder without hunting through hidden directories. You'll see a list of folders. Look for the one named .minecraft and double-click it to open it.
If you don't see .minecraft in the list, your system may still be hiding it. Go to the View tab at the top of File Explorer. Look for a checkbox labeled "Hidden items" and click it to turn it on. Now the .minecraft folder should appear in the AppData\Roaming directory.
Once you're inside the .minecraft folder, you'll see subfolders like versions, mods, resourcepacks, and saves. The saves folder contains all your worlds. This is the folder you'll return to whenever you need to back up your game or add new content.
Finding the folder on Mac
Open Finder from your dock. Click the Go menu in the menu bar at the top of your screen. You'll see a list of locations. Hold down the Option key on your keyboard — this reveals a Library option that's normally hidden. Click Library.
You're now in your user Library folder. Look for a folder named process Support and double-click it. Inside, you'll find a folder named minecraft (without the dot at the start on Mac). Double-click it to open it. This is your .minecraft folder.
If you can't find process Support, make sure you're in the right Library folder — it should be inside your user home directory, not the system-wide Library. The path should read something like /Users/yourname/Library/process Support/minecraft.
Finding the folder on Linux
Open your file manager. In the address bar, type ~/.minecraft and press Enter. The tilde (~) represents your home directory, and this path takes you straight to the .minecraft folder. If your file manager doesn't have an address bar, look for a menu option to "Enter Location" or "Go to Path."
If you prefer the terminal, open it and type cd ~/.minecraft to navigate into the folder. Type ls to see the contents. This method is faster if you're comfortable with command-line tools.
On Linux, the .minecraft folder is hidden by default in the file manager. If you navigate to your home directory and don't see it, look for a View menu or settings option and enable "Show Hidden Files." The folder will then appear in your home directory listing.
What you'll find inside the folder
The .minecraft folder contains several important subfolders. The saves folder holds all your single-player worlds. Each world is its own folder inside saves. The versions folder contains the game files for each version of Minecraft you've installed. The mods folder is where you place mod files if you use a mod loader like Forge or Fabric.
You'll also see a resourcepacks folder for texture and sound packs, a logs folder that records what happens when you launch the game, and a file called launcher_profiles.json that stores your launcher settings. The options.txt file contains your in-game settings like brightness and controls.
Don't delete or rename folders unless you know what you're doing. If something goes wrong, you can always delete the entire .minecraft folder and Minecraft will create a fresh one the next time you launch — though you'll lose your worlds and settings, so back them up first.
Backing up your worlds
Once you've found the .minecraft folder, the easiest backup is to copy your entire saves folder to another location. Right-click the saves folder, select Copy, then navigate to a backup location like your Documents folder or an external drive. Right-click and select Paste. You now have a copy of all your worlds.
If you want to back up only one world, go into the saves folder, find the world folder you want, and copy just that one. World folders are named whatever you called them when you created them. This method is useful if you're moving a world to a friend's computer or uploading it to a server.
Troubleshooting if you can't find the folder
The most common reason you can't find the .minecraft folder is that hidden files are turned off. Go back and follow the steps for showing hidden files on your operating system. On Windows, use the View tab in File Explorer. On Mac, use the Option key in the Go menu. On Linux, look for a View or Settings option in your file manager.
If you've enabled hidden files and still don't see .minecraft, launch Minecraft once and close it. The folder is created automatically the first time you run the game. If you're using a launcher other than the official Minecraft Launcher, the folder location may be different — check that launcher's settings or documentation.
On Windows, if typing %appdata% doesn't work, try typing the full path manually: C:\Users\YourUsername\AppData\Roaming\.minecraft, replacing YourUsername with your actual Windows username. On Mac, if you're still in the wrong Library folder, check that you're in /Users/yourname/Library, not /Library.
Frequently Asked Questions
Can I move the .minecraft folder to a different location?
Yes, but it requires changing your launcher settings. In the Minecraft Launcher, go to Installations, click the three dots next to your installation, and select Edit. Change the Game Directory field to point to your new folder location. The launcher will then look for your worlds and settings in the new place.
Is it safe to delete files inside the .minecraft folder?
Only delete files you understand. The saves folder contains your worlds — delete a world folder and it's gone unless you have a backup. The versions folder contains game files — deleting a version means you'll have to read it again. The logs folder is safe to delete; it just contains error records. When in doubt, back up the entire folder first.
Why is the folder hidden in the first place?
Operating systems hide folders that start with a dot to protect them from accidental deletion. Since most players don't need to access the .minecraft folder directly, hiding it keeps the file system cleaner and reduces the chance of someone deleting something important by mistake.
What if I have multiple Minecraft installations?
Each installation can have its own .minecraft folder if you configure it in the launcher. In the Minecraft Launcher, create a new Installation and set a different Game Directory for each one. This lets you keep separate worlds and mods for different versions or playstyles without them interfering with each other.
Can I access the .minecraft folder on my phone or tablet?
Minecraft on mobile devices (Pocket Edition) stores data differently and doesn't use a .minecraft folder. Mobile worlds are stored in the app's internal storage, which you can't access directly through a file manager. To back up mobile worlds, use the game's built-in backup features or export worlds through the game menu.