Finding the Minecraft Java folder takes under 2 minutes with no cost or special skills. Use the in-game menu to locate it directly.
Before You Start: Checklist
You must be running Minecraft Java Edition, not Bedrock Edition. The folder location differs between operating systems: Windows, macOS, and Linux each store files in distinct paths. Confirm your version by checking the launcher: if you see "Java Edition" listed, proceed. If you see "Minecraft for Windows" or a Microsoft Store icon, you are using Bedrock Edition and cannot access this folder. You need administrator rights only if the folder is locked by system policies—rare on personal machines. Close Minecraft before attempting to open the folder. Failure to close the game may cause file access errors or incomplete results.
Fast Way: Use the Minecraft Launcher
- Open the Minecraft Launcher and log in with your account.
- Click the "Installations" tab at the top of the launcher window.
- Select your current installation (usually labeled "Latest" or your custom profile name).
- Click the three dots (⋯) next to the "Play" button.
- Select "Open game dir" from the dropdown menu.
- The file explorer or Finder window will open directly to the Minecraft Java folder.
This method works on all supported operating systems and requires no command-line input or manual path navigation. It is reliable because it uses the launcher’s built-in system to resolve the folder location dynamically based on your installation.
Thorough Way: Manual Path Navigation
If the launcher method fails or you need to access the folder from outside the game, use the operating system’s default storage paths. These paths are consistent across versions and do not change unless the user manually moves the folder.
Windows
- Press the Windows key + R to open the Run dialog.
- Type %appdata% and press Enter.
- Navigate to the .minecraft folder (it may be hidden; if not visible, enable hidden items in File Explorer by clicking "View" > "Hidden items").
- The .minecraft folder contains saves, resource packs, mods, logs, and configs.
macOS
- Open Finder.
- Press Command + Shift + G to open the "Go to Folder" dialog.
- Type ~/Library/Application Support/minecraft and press Go.
- The minecraft folder will appear; this is the Java Edition folder.
Linux
- Open your file manager or terminal.
- Navigate to ~/.minecraft (the tilde represents your home directory).
- If hidden, press Ctrl + H to toggle visibility of dot folders.
- The folder contains all game data including worlds and mod folders.
These paths are standardized since Minecraft Java Edition’s initial release. The .minecraft folder name is always lowercase and begins with a period on macOS and Linux, indicating it is hidden by default. On Windows, it appears as a regular folder but may be hidden if system settings suppress hidden files.
When to Use Each Method
Use the launcher method if you are modifying mods, resource packs, or configs while the game is running. It is faster and avoids path errors. Use the manual method if the launcher is corrupted, if you are troubleshooting startup crashes, or if you need to copy, backup, or delete files without launching the game. For example, if Minecraft fails to launch due to a broken mod, you can delete the mods folder from the manual path without opening the launcher.
Common Mistakes and What They Cause
Mistake: Confusing Java Edition with Bedrock Edition
Bedrock Edition (sold on Microsoft Store, Xbox, mobile) stores data in a completely different location, often under AppData\Local\Packages or Library\Group Containers. Searching for the Java folder here will lead to empty or irrelevant folders. This mistake causes wasted time and accidental deletion of unrelated game files.
Mistake: Not showing hidden files on macOS and Linux
The .minecraft folder starts with a period, making it hidden by default. If you do not enable hidden item display, you will not see the folder even when navigating to the correct path. This causes the mistaken belief that Minecraft is not installed or the folder is missing.
Mistake: Typing the path incorrectly in Run or Go to Folder
Typing "appdata" without the percent signs (%appdata%) on Windows returns nothing. Typing "Library/Application Support/minecraft" without the tilde (~) on macOS opens the system Library, not the user’s. These typos result in opening the wrong directory, leading to confusion or accidental modification of system files.
Mistake: Modifying files while Minecraft is running
Changing resource packs, configs, or mods while the game is open can cause corruption or instability. The game may lock files, preventing edits or causing crashes upon next launch. This mistake results in lost progress or broken mod setups that require reinstalling the modpack.
What’s Inside the Minecraft Java Folder
The .minecraft folder contains subdirectories that organize game data. The saves folder holds all single-player worlds (each world is a separate folder named after the world). The resourcepacks folder contains downloaded texture packs (.zip files). The mods folder stores mod files (.jar files) for Forge or Fabric. The config folder holds mod configuration files (.cfg, .json). The logs folder contains diagnostic files for troubleshooting crashes. The shaders folder stores shader packs for optifine. The versions folder stores game version manifests and JAR files used by the launcher. Each subfolder is essential to the game’s function; deleting any may remove worlds, settings, or mod functionality.
How to Back Up the Folder
To create a backup, close Minecraft completely. Navigate to the .minecraft folder using either method. Right-click the .minecraft folder and select "Copy." Open an external drive, cloud folder, or separate directory on your hard drive. Right-click and select "Paste." Rename the copied folder to "minecraft_backup_YYYY-MM-DD" (e.g., minecraft_backup_2024-06-15). This backup can restore worlds, mods, and settings after a system crash or accidental deletion. A full backup is about 1–5 GB depending on world size and mod count. Replacing the original folder with the backup restores all data instantly.
How to Verify You Found the Right Folder
Inside the folder, look for the versions folder and the saves folder. The versions folder must contain at least one subfolder named like "1.20.1" or "1.19.4". The saves folder must contain folders named after your worlds (e.g., "MySurvivalWorld"). If both exist, you are in the correct folder. If you see only a single file or no subfolders, you are in the wrong location. The presence of config, mods, or resourcepacks folders confirms you are in the Java Edition folder, not Bedrock.