The .minecraft folder is in your user account's home directory, but the exact path depends on your operating system
The .minecraft folder is where Minecraft stores your worlds, resource packs, mods, and game settings. Finding it is straightforward once you know where to look, though the location differs between Windows, Mac, and Linux. The folder name starts with a dot, which means it is hidden by default on Mac and Linux — you will need to show hidden files to see it.
Most players need to access this folder to install mods, add resource packs, back up their worlds, or troubleshoot game problems. If you have never opened it before, the steps below will get you there in under a minute.
Key Takeaways
- On Windows, press the Windows key and R together, type %appdata%, and look for the .minecraft folder inside the AppData\Roaming directory.
- On Mac, open Finder, press Command and Shift and Period together to show hidden files, then navigate to Library > Application Support > minecraft.
- On Linux, open your file manager and navigate to .minecraft in your home directory, or use the terminal command cd ~/.minecraft.
- The .minecraft folder contains subdirectories for worlds, mods, resource packs, and screenshots — each one serves a specific purpose.
- If you cannot find the folder after following these steps, launch Minecraft once and the folder will be created automatically.
Finding .minecraft on Windows
On Windows, the .minecraft folder lives inside your AppData directory. The fastest way to reach it is through the Run dialog. Press the Windows key and R at the same time, type %appdata%, and press Enter. A File Explorer window will open directly to your AppData\Roaming folder.
Look for a folder named .minecraft in this directory. If you do not see it, scroll down — there are usually many folders here. Double-click .minecraft to open it and you will see subdirectories like versions, mods, resourcepacks, and saves. If the folder does not exist yet, launch Minecraft once and it will be created automatically.
Finding .minecraft on Mac
On Mac, the .minecraft folder is hidden because it starts with a dot. Open Finder and press Command, Shift, and Period (.) all at the same time. This toggles the display of hidden files. You should now see folders and files that were previously invisible.
Navigate to Library > Application Support. Inside Application Support, look for a folder named minecraft (without the dot). This is your .minecraft folder. If you do not see it, launch Minecraft once and the folder will appear. You can toggle hidden files off again by pressing Command, Shift, and Period once more.
Finding .minecraft on Linux
On Linux, the .minecraft folder is in your home directory. Open your file manager and look for a folder named .minecraft. If you do not see it, your file manager may be hiding hidden files by default. Look for a View menu or settings option and enable "Show Hidden Files" or "Show Dotfiles."
Alternatively, open a terminal and type cd ~/.minecraft to navigate directly to the folder. If the folder does not exist, type mkdir ~/.minecraft to create it, then launch Minecraft once to populate it with the necessary subdirectories.
What is inside the .minecraft folder
Once you open .minecraft, you will see several subdirectories. The saves folder contains all your single-player worlds. Each world is stored in its own subfolder with a level.dat file that holds world data. The versions folder stores the game files for each Minecraft version you have installed.
The resourcepacks folder is where you place custom texture packs and resource packs. The mods folder (if it exists) is where you put mod files when using a mod loader like Forge or Fabric. You will also find folders for screenshots, logs, and crash reports. Some folders only appear after you use that feature for the first time.
Backing up your worlds and settings
The .minecraft folder is the easiest place to back up your game data. To save your worlds, copy the entire saves folder to another location on your computer or to cloud storage. To back up your settings, copy the options.txt file, which stores your game options, keybinds, and video settings.
If you want to transfer your Minecraft data to another computer, copy the entire .minecraft folder to the same location on the new machine. This will bring over all your worlds, resource packs, mods, and settings. Make sure Minecraft is closed on both computers before copying.
Troubleshooting if you cannot find the folder
If you have followed the steps above and still do not see .minecraft, the most common reason is that the folder has not been created yet. Launch Minecraft and let it fully load, then close it. The folder will now exist and you can find it using the steps above.
On Windows, if the Run dialog method does not work, you can also navigate manually: open File Explorer, click on your user account name in the left sidebar, then look for AppData in the main window. If AppData is not visible, enable "Show hidden files" in the View menu. On Mac and Linux, make sure you have actually toggled hidden files on — it is easy to forget this step.
Frequently Asked Questions
Can I move the .minecraft folder to a different location?
Yes. On Windows, you can move the folder anywhere and then tell Minecraft where to find it by creating a shortcut or using a launcher that supports custom installation paths. Most players leave it in the default location for simplicity, but it is possible to relocate it if you need to.
Is it safe to delete files inside the .minecraft folder?
Deleting files from the saves folder will delete your worlds permanently, so be careful. Deleting files from resourcepacks or mods is safe — Minecraft will simply not load them. Never delete the versions folder unless you want to remove specific game versions. Always back up important worlds before deleting anything.
Why does my .minecraft folder look different from what you described?
Minecraft updates occasionally add or remove folders. If you are using a mod loader like Forge, you may see additional folders like config or libraries. These are normal and created by the mod loader. Your folder structure depends on which version of Minecraft you run and what mods or resource packs you have installed.
Do I need to restart Minecraft after adding mods or resource packs?
Yes. Place the mod or resource pack file in the correct folder, then close Minecraft completely and reopen it. Minecraft will not detect new files if it is already running. Once you restart, the new content should appear in the game's menu.