Where the .minecraft folder lives on your computer
The .minecraft folder is where Minecraft stores your worlds, skins, mods, and settings. It is a hidden folder on your computer, which is why you cannot see it by just opening your file manager and looking around. The location changes depending on whether you use Windows, Mac, or Linux.
The folder starts with a dot (.) because that is how operating systems mark folders as hidden by default. You need to either show hidden files in your file manager or type the path directly into the address bar. Once you find it, you can back up your worlds, install mods, or change game settings by editing files inside.
Key Takeaways
- The .minecraft folder is hidden by default on all operating systems, so you must enable viewing hidden files or type the path directly.
- On Windows, the folder is at C:\Users\[YourUsername]\AppData\Roaming\.minecraft.
- On Mac, the folder is at /Users/[YourUsername]/Library/Application Support/minecraft.
- On Linux, the folder is at /home/[YourUsername]/.minecraft or ~/.minecraft.
- Once you locate the folder, you can back up worlds, install mods, or edit configuration files without launching the game.
Finding the folder on Windows
On Windows, the .minecraft folder sits inside your AppData folder, which is hidden by default. The fastest way is to use the Run dialog to jump straight there.
Press Windows key + R on your keyboard. A small box will appear. Type this exactly: %appdata%\.minecraft and press Enter. Your file manager will open directly to the .minecraft folder. This method works on Windows 10 and Windows 11.
If the Run dialog does not work or you prefer to navigate manually, open File Explorer and go to C:\Users\[YourUsername]\AppData\Roaming. Replace [YourUsername] with your actual Windows username. If you do not see an AppData folder, you need to show hidden files. Click the View tab at the top, then check the box that says "Hidden items". Now AppData will appear, and you can open it to find .minecraft inside.
Finding the folder on Mac
On Mac, the .minecraft folder is inside your Library folder, which is also hidden by default. The easiest route is to use Finder's Go menu.
Open Finder and click Go in the menu bar at the top. Hold down the Option key on your keyboard — the menu will change and show a "Library" option that is normally hidden. Click Library. Now navigate to Application Support, then open the minecraft folder inside. This is your .minecraft folder.
If you prefer typing the path, open Finder, press Command + Shift + G, and type ~/Library/Application Support/minecraft. Press Enter and you will land in the folder. The tilde (~) is a shortcut that means your home directory, so you do not need to type your username.
Finding the folder on Linux
On Linux, the .minecraft folder is in your home directory and is hidden because it starts with a dot. Open your file manager and press Ctrl + H to show hidden files and folders. You will now see .minecraft listed.
If you use the terminal instead, type cd ~/.minecraft and press Enter. The tilde (~) represents your home directory. If the folder does not exist yet, you can create it by typing mkdir ~/.minecraft. This is useful if you are setting up Minecraft for the first time on a fresh Linux install.
What you will find inside the folder
Once you open .minecraft, you will see several folders and files. The saves folder holds all your worlds — each world is its own subfolder inside. The versions folder contains the game files for each Minecraft version you have installed. The mods folder (if it exists) is where mod files go if you are using a mod loader like Forge or Fabric.
You will also see a launcher_profiles.json file, which stores your launcher settings, and a options.txt file, which contains your in-game settings like brightness, sound volume, and key bindings. Do not delete these files unless you know what you are doing — deleting them will reset your settings or break your launcher.
Backing up your worlds
The easiest way to back up your worlds is to copy the entire saves folder from inside .minecraft to another location on your computer, an external drive, or cloud storage. Right-click the saves folder, select Copy, then navigate to where you want to store the backup and paste it.
You can also back up individual worlds by copying just one subfolder from inside saves. Each world folder contains all the blocks, structures, and player data for that world. If something goes wrong in the game, you can restore a world by copying the folder back into saves and restarting Minecraft.
Installing mods and resource packs
Mods go in the mods folder inside .minecraft, but only if you are using a mod loader like Forge or Fabric. Download the mod file (usually a .jar file) and drag it into the mods folder. The next time you launch Minecraft with that mod loader, the mod will load automatically.
Resource packs go in the resourcepacks folder inside .minecraft. Download the resource pack file, place it in the resourcepacks folder, and restart the game. Open the resource pack menu in-game and activate the pack from the list. You do not need a mod loader for resource packs — they work with vanilla Minecraft.
Frequently Asked Questions
What if I cannot find the .minecraft folder even after showing hidden files?
The folder may not exist yet if you have never launched Minecraft before. Install and run Minecraft once, and the folder will be created automatically. After that, you can find it using the methods above. If you are on Windows and the AppData folder still does not appear, restart your computer and try again.
Can I move the .minecraft folder to a different location?
Yes, but the launcher needs to know where it moved to. In the Minecraft Launcher, click the Installations tab, then click the three dots next to your installation and select Edit. Change the Game Directory field to point to your new folder location. Save the changes and the launcher will look for your worlds and settings in the new place.
Is it safe to edit files inside the .minecraft folder?
Editing the options.txt file is safe and common — players do this to change settings that are not available in the in-game menu. Do not edit or delete launcher_profiles.json or files inside the versions folder unless you know exactly what you are doing. Always make a backup copy before editing anything.
Why is my .minecraft folder so large?
Large worlds take up a lot of space, especially if they have been played for a long time. Resource packs and shader files also add size. If you want to free up space, delete worlds you no longer play in from the saves folder. You can always restore them from a backup if you change your mind.
Do I need to close Minecraft before editing files in the .minecraft folder?
Yes. Close the game completely before adding, removing, or editing files in the folder. If Minecraft is running, it may overwrite your changes or cause the game to crash. Wait until the launcher fully closes before making any changes.