Type %appdata% into your Windows search bar or navigate to ~/Library/Application Support/minecraft on a Mac. Many people believe the folder is located inside the Program Files directory where the game is installed, but the actual data folder is stored separately in the user profile.

Locating the Minecraft Folder by Operating System

The location of your game files depends on your operating system and which edition of the game you are running. Labels and folder names may differ slightly depending on the version of the software you have installed.

Windows Java Edition

  1. Press the Windows Key + R on your keyboard to open the Run dialog.
  2. Type %appdata% into the text box and press Enter.
  3. Find the folder named .minecraft in the list that appears and double-click it.

macOS Java Edition

  1. Open Finder.
  2. Click the Go menu at the top of the screen and select Go to Folder.
  3. Type ~/Library/Application Support/minecraft and press Enter.

Windows Bedrock Edition

The Bedrock edition uses a more complex path because it is managed as a Windows App. To find these files, navigate to %localappdata%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang.

Edition Operating System Primary Folder Name
Java Edition Windows .minecraft
Java Edition macOS minecraft
Bedrock Edition Windows com.mojang

The Installation Directory vs. The Data Directory

A common misconception is that the folder containing the game's executable (.exe) is the same place where your worlds and mods are stored. The installation directory contains the core engine files required to launch the game, but it does not store your personal progress.

The data directory, which is what most players are looking for, contains the saves, screenshots, and resourcepacks folders. If you try to add a mod or a world save to the installation folder in Program Files, the game will not recognize them. Always ensure you are in the folder located within your user profile (AppData or Application Support) before moving files.

A practical rule of thumb is that if you see a folder named bin or runtime, you are likely in the installation directory. If you see saves or options.txt, you have found the correct data folder.

Managing Game Worlds and Backups

Once you have accessed the .minecraft folder, the saves folder is the most critical area for player data. Each subfolder inside saves represents a different world you have created in single-player mode.

To back up a world, right-click the specific world folder and select Copy, then paste it into a separate folder on your desktop or an external drive. This prevents the loss of progress if the game crashes or if you experiment with risky mods. If you want to move a world to another computer, copy the entire world folder from the source machine's saves directory and paste it into the saves directory of the destination machine.

If you cannot see the AppData folder on Windows, it is because it is hidden by default. To reveal it, open any folder, go to the View tab in the top menu, and check the box for Hidden items. On macOS, the Library folder is similarly hidden; holding the Option key while clicking the Go menu in Finder will make the Library folder appear.

Installing Resource Packs and Shaders

Visual modifications are handled in two specific folders within the main directory. The resourcepacks folder is where you place .zip files or folders containing textures and sounds that change the look of the game.

Shaders usually require a third-party modding API to function. Once that API is installed, a new folder named shaderpacks will appear in your main Minecraft directory. You can drag and drop shader files directly into this folder without needing to unzip them first.

When adding new packs, ensure the files are in the correct format. A resource pack should be a .zip file or a folder containing a pack.mcmeta file. If you place a folder inside another folder, the game may fail to detect the pack in the in-game menu. Always check that the files are only one level deep within the resourcepacks directory.

Adding Mods to the Game Folder

Adding mods requires the mods folder. If you have a fresh installation of the game without a mod loader, this folder will not exist. You must first install a modding tool, which will automatically generate the mods folder upon the first launch of the modified profile.

To install a mod, move the .jar file into the mods folder. Do not unzip .jar files, as the game reads them as compiled packages. If a mod requires a "dependency" (another mod to function), both .jar files must be present in the same mods folder.

If the game fails to launch after adding a mod, check the logs folder in the main directory. The latest.log file contains a text record of the startup process and will typically name the specific mod that caused the crash. You can open this file with any basic text editor to identify the conflict.

Minecraft Folder Access for Different Launchers

If you use a third-party launcher, your game files might not be in the default %appdata% location. Many launchers allow you to create "Instances," which are separate folders for different versions of the game.

To find these folders, open your launcher's settings or the specific instance settings. Look for a button labeled Open Folder or Game Directory. This will open the exact folder used by that specific instance, allowing you to manage mods and saves without affecting your other game installations.

For those using the official launcher, you can also find the directory through the Installations tab. Hover over the version you wish to access, click the folder icon that appears, and the system will open the corresponding directory in your file explorer.

Folder Permissions and File Safety

Modifying files in the Minecraft folder can lead to game instability if files are deleted or overwritten incorrectly. Always create a copy of the options.txt file before changing settings manually in the folder, as this file controls your keybinds, video settings, and sound levels.

On macOS, you may encounter permission errors when moving files into the Application Support folder. If the system prevents you from pasting a file, ensure you have administrator privileges or try dragging the file while holding the Command key. On Windows, if you receive a "Permission Denied" message, try running your file explorer as an administrator.

Avoid deleting the assets folder. This folder contains all the sounds, language files, and textures that the game uses. While the launcher can redownload these files if they are missing, doing so requires a full internet connection and can take several minutes depending on your bandwidth.