Where Minecraft stores your files and how to find them
Your Minecraft folder holds your worlds, resource packs, mods, and game settings — but it is not sitting on your desktop. Minecraft stores everything in a hidden folder that varies by operating system. On Windows, it lives in AppData\Roaming\.minecraft. On Mac, it is in Library/Application Support/minecraft. On Linux, it is in .minecraft inside your home directory. The steps to reach it differ for each system, but once you know where to look, opening it takes less than a minute.
You will need to open this folder if you want to install mods, add resource packs, move worlds to another computer, or back up your game data. The folder is hidden by default on all three systems for the same reason — it keeps your game files organized and out of the way unless you specifically need them.
Key Takeaways
- Windows users need to show hidden files first, then navigate to AppData\Roaming\.minecraft through File Explorer.
- Mac users can reach the folder by opening Finder, pressing Command+Shift+G, and typing the path directly.
- Linux users can open the file manager and press Ctrl+H to reveal the .minecraft folder in their home directory.
- Inside the folder you will find saves (your worlds), resourcepacks, mods, and options.txt (your game settings).
- Backing up this folder before installing mods or making changes protects your worlds and settings from being lost.
Opening the Minecraft folder on Windows
Windows hides the AppData folder by default, so you must turn on hidden file visibility first. Open File Explorer and click the View tab at the top. Look for a checkbox labeled "Hidden items" and check it. Now hidden folders will appear in your file listings.
Once hidden files are visible, navigate to your Minecraft folder. Click the address bar at the top of File Explorer and type %appdata%, then press Enter. This takes you directly to the Roaming folder. Inside, you will see a folder named .minecraft — double-click it to open it. This is your Minecraft folder, and everything inside belongs to your game.
Opening the Minecraft folder on Mac
Mac hides the Library folder from view, but Finder gives you a keyboard shortcut to jump there. Open Finder and press Command+Shift+G at the same time. A dialog box will appear asking you to type a path.
Type ~/Library/Application Support/minecraft into the box and press Enter. Finder will open the minecraft folder directly. If you want to reach this folder again without typing the path, you can drag it to your Finder sidebar for quick access in the future.
Opening the Minecraft folder on Linux
Linux stores the Minecraft folder as a hidden directory in your home folder, just like Windows and Mac do. Open your file manager and press Ctrl+H to show hidden files and folders. The .minecraft folder will now appear in your home directory.
Double-click the .minecraft folder to open it. If Ctrl+H does not work in your file manager, look for a View menu or Settings option and find the toggle for showing hidden files. Different Linux distributions use different file managers, but they all have this option somewhere.
What you will find inside the Minecraft folder
The Minecraft folder contains several subfolders and files that control how your game runs. The saves folder holds all your worlds — each world is its own subfolder inside saves. The resourcepacks folder stores any texture packs or resource packs you have installed. The mods folder (if you use a mod loader like Forge) contains your mod files.
You will also see options.txt, which stores your game settings like brightness, sound volume, and control bindings. The versions folder contains the actual Minecraft game files for each version you have installed. Most of the time you will only need to touch the saves, resourcepacks, and mods folders — the rest are best left alone unless you know what you are doing.
Backing up your Minecraft folder before making changes
Before you install mods, add resource packs, or make major changes to your game, copy your entire Minecraft folder to a safe location. Right-click the .minecraft folder and select Copy, then paste it somewhere else on your computer — your Documents folder or an external drive both work well. Name the copy something like "minecraft_backup_[date]" so you remember when you made it.
If something goes wrong after you install a mod or make a change, you can delete the broken folder and restore your backup. This takes five minutes and saves you from losing worlds you spent hours building. Many players keep multiple backups going back several months, especially if they have large or important worlds.
Moving or copying worlds to a different computer
To transfer a world to another computer, open your Minecraft folder and go into the saves subfolder. Find the world folder you want to move — it will have the world's name. Copy that entire folder to a USB drive or cloud storage service like Google Drive or Dropbox.
On the other computer, open its Minecraft folder, go into saves, and paste the world folder there. The next time you launch Minecraft, that world will appear in your world list. This works across Windows, Mac, and Linux — a world created on Windows can be played on Mac or Linux without any conversion needed.
Frequently Asked Questions
Why can't I see my .minecraft folder even after showing hidden files?
On Windows, make sure you typed %appdata% in the address bar correctly — it is case-sensitive in some systems. On Mac, check that you typed the tilde (~) at the start of the path. On Linux, press Ctrl+H again to make sure hidden files are actually turned on. If you still cannot find it, try typing the full path directly into your file manager's address bar.
Can I move my Minecraft folder to a different location on my computer?
Yes, but the Minecraft launcher needs to know where you moved it. In the Minecraft launcher, go to Installations, click the three dots next to your version, select Edit, and change the Game Directory to your new folder location. After that, the launcher will look for your worlds and settings in the new place.
What happens if I delete something inside the Minecraft folder by accident?
If you deleted a world, it is gone unless you have a backup. If you deleted options.txt or other game files, Minecraft will recreate them with default settings the next time you launch. This is why backing up before making changes is important — you can restore from your backup instead of losing your work.
Do I need to open the Minecraft folder to play the game normally?
No. You only need to open it if you want to install mods, add resource packs, move worlds between computers, or change settings that are not available in the game menu. For regular play, just launch the game through the Minecraft launcher.
Will opening the Minecraft folder break my game?
Just looking at the folder will not break anything. Editing or deleting files inside it can cause problems, but simply opening it and viewing what is there is completely safe. If you are nervous, make a backup first.