No .minecraft Folder? Where It Is and How to Make One
In this article
You do not need to create a .minecraft folder by hand — the game creates it the first time you launch Minecraft, and it is almost always there even when your file browser says it is not. The folder is hidden by default on Windows and macOS, and on Windows it lives inside the hidden AppData folder, so a normal search of your user folder can miss it. Check the exact path below before assuming it is gone.
The .minecraft Folder Lives in a Hidden AppData Path
On Windows, the folder is at %APPDATA%\.minecraft. The %APPDATA% part is a shortcut to C:\Users\YourName\AppData\Roaming, and AppData is marked hidden, which is why typing ".minecraft" into the Start menu or File Explorer search often returns nothing. On macOS, the folder is at ~/Library/Application Support/minecraft, and the Library folder is hidden in your home directory by default. On Linux, it is at ~/.minecraft, and any file manager that hides dotfiles will not show it until you turn hidden files on.
The quickest way to confirm the folder exists is to open Minecraft, go to Options, then Resource Packs, and click "Open Pack Folder." That button opens the real .minecraft directory in your file manager, whatever the path is on your system. If the folder opens, it exists and you can stop worrying about creating it.
Signs the Folder Is Missing Rather Than Hidden
If the folder truly does not exist, a few things will be true at once. The game has never been launched on that user account. The launcher may be installed but the profile has never been played. Or the game was installed through a different launcher that stores its files elsewhere.
- Opening the Resource Packs folder from inside the game fails or opens an empty location.
- No world saves appear in the singleplayer menu.
- No
options.txt,logsfolder, orsavesfolder is present next to where the game is installed. - You are signed in to a different Windows or macOS user account than the one you play on.
If any of those match, the folder has not been generated yet, and the fix is simply to launch the game once and let it finish loading to the main menu. The launcher writes the folder during that first run.
Make Windows Show Hidden Files and the AppData Folder
On Windows, open File Explorer, select the View tab, and turn on "Hidden items." In newer builds the same switch sits under View > Show > Hidden items. Then navigate manually: open your user folder, open AppData, open Roaming, and look for .minecraft. If AppData itself is not visible, the hidden-items switch is still off.
You can also paste %APPDATA% into the address bar at the top of File Explorer and press Enter. That jumps straight into the Roaming folder without any clicking through hidden directories. From there, .minecraft should be listed alphabetically among your other application folders.
If you want a desktop shortcut, right-click the .minecraft folder, choose "Send to," then "Desktop (create shortcut)." That saves you repeating the path every time you install a resource pack or back up a world.
Make macOS and Linux Reveal the Folder
On macOS, open Finder, click Go in the menu bar, and hold the Option key. Library appears in the dropdown only while Option is held. Open Library, then Application Support, then look for the minecraft folder. Note that on Mac the folder is named minecraft without the leading dot, unlike on Windows and Linux.
On Linux, open your file manager's View menu and enable "Show Hidden Files," or press Ctrl+H in most file managers. Then open your home directory and look for .minecraft. From a terminal, ls -a ~ lists it, and cd ~/.minecraft takes you inside.
Labels and menu names differ slightly between Windows versions, macOS releases, and Linux desktop environments, so if a menu item is not where this describes, look for the equivalent wording in the same menu.
What to Do If the Folder Is Genuinely Absent
Launch the official Minecraft launcher, sign in, and press Play on any installed version. Wait until the title screen appears, then close the game. The launcher creates .minecraft along with the saves, logs, resourcepacks, and options.txt entries inside it during that first launch. If the game opens but the folder still does not appear, you are probably looking at a different user account than the one running the game.
If you use a third-party launcher, its files may sit in its own directory rather than in .minecraft. Check that launcher's settings for its game directory path; many let you point it at the standard .minecraft location if you prefer one shared folder.
Creating the folder by hand is possible but usually unnecessary. If you do it, create it at the exact path above, spelled with the leading dot, and let the game populate it on the next launch. A hand-made folder with the wrong name or in the wrong parent directory is ignored by the launcher.
Where Your Worlds, Packs, and Logs Sit Inside It
Once the folder exists, the subfolders matter more than the folder itself. World saves go in saves. Resource packs go in resourcepacks. Mods, for versions that support them, go in mods. Crash and launch records go in logs, and the most recent is latest.log. Screenshots land in screenshots.
If you are moving to a new computer, copy the whole .minecraft folder to the same path on the new machine before launching the game there. That carries your worlds, options, and packs across in one step. Back it up the same way before updating to a new major game version, since worlds can be converted and are not always easy to roll back.
If the folder exists but a specific subfolder does not, such as resourcepacks, create it inside .minecraft with that exact lowercase name. The game reads it on the next start.