Your Minecraft Java folder is located in your system's user directory under .minecraft, but its exact path depends on your operating system. You can access it directly through the Minecraft launcher or by navigating to the standard system folder for your OS.

Windows: AppData\Roaming\.minecraft

On Windows, the Minecraft Java folder is stored in your user profile under AppData\Roaming\.minecraft. To open it, press Windows+R to open the Run dialog, type %appdata%\..\Local\Packages, then press Enter. Navigate up one level to AppData\Roaming, then open the .minecraft folder. If you don’t see the AppData folder, enable hidden items in File Explorer by clicking View > Show > Hidden items. The folder contains saves, resource packs, mods, configs, and logs. Most players use this folder to install mods via Forge or Fabric.

macOS: Library\Application Support\.minecraft

On macOS, the folder is hidden inside your user’s Library directory. Open Finder, click Go in the top menu, then hold the Option key to reveal the Library folder. Click Library, then open Application Support, and locate the .minecraft folder. If you don’t see the Library folder, you can also press Command+Shift+G in Finder and type ~/Library/Application Support/.minecraft. This folder holds your worlds, shaders, and mod files. Mods placed here will load when you launch Minecraft Java Edition.

Linux: .minecraft in Your Home Directory

On Linux, the folder is located at ~/.minecraft in your home directory. Open your file manager and press Ctrl+H to show hidden files. Navigate to your home folder and open the .minecraft folder. Alternatively, open a terminal and type cd ~/.minecraft to change to that directory. Use ls to list contents: saves, mods, resourcepacks, and options.txt are standard subfolders. This is where the game stores configuration settings and downloaded assets.

How to Find It Using the Minecraft Launcher

The easiest and most reliable way to locate your Minecraft Java folder is through the launcher itself. Launch Minecraft Java Edition, then click the three horizontal lines (menu icon) in the top-right corner. Select Installations, then click the three dots next to your current installation. Choose Open game dir. This opens the .minecraft folder directly, regardless of your OS. This method works even if your system hides folders or if you’ve moved the folder manually. Always use this method if you’re unsure of your system’s file structure.

What You’ll Find Inside the Folder

The .minecraft folder contains several key subdirectories. The saves folder holds all your single-player worlds—each world is a separate folder named after the world. The mods folder contains .jar files for mods installed via Forge or Fabric. The resourcepacks folder holds texture packs and behavior packs. The config folder stores settings for mods and the game’s own options.txt file. The logs folder records startup errors and crashes, useful for troubleshooting. The versions folder contains the game’s core files for each installed version. Never delete the versions folder unless you’re freeing space and have no need for older game versions.

Common Mistakes When Navigating the Folder

Many users accidentally delete or move critical files. Never rename or delete folders inside .minecraft unless you know their purpose. For example, deleting the versions folder will break your ability to launch older Minecraft versions. Moving the entire .minecraft folder to another drive without updating launcher settings can cause the game to reset or lose all worlds. If you want to back up your worlds, copy only the saves folder. If you’re installing mods, always verify that the mod version matches your Minecraft version—using a 1.19 mod on 1.20 will cause crashes. Always close the Minecraft launcher before editing files in the folder.

Backing Up a World

Suppose you want to back up your world named ‘SunsetIsland’. First, close Minecraft completely. Open your .minecraft folder using the launcher’s Open game dir option. Navigate to the saves folder. Find the folder named SunsetIsland. Right-click it and select Copy. Open a new folder on your desktop named ‘Minecraft Backups’. Paste the copied folder there. The backup is now safe. To restore it later, close Minecraft, delete the original SunsetIsland folder in saves, then paste the backup back into saves. The world will reappear in your single-player list. This method works for any world, regardless of size or mods used.

How to Check If You’re Using Java Edition

The Minecraft Java folder only exists if you’re running Minecraft Java Edition. If you’re using Minecraft for Windows (Bedrock Edition), there is no .minecraft folder. To confirm, open the Minecraft launcher. If you see a button labeled ‘Play’ and a version number like ‘1.20.1’, you are on Java Edition. If you see a button labeled ‘Play’ with a green icon and no version dropdown, you are on Bedrock Edition. Bedrock Edition stores data in a different location—typically under AppData\Local\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe on Windows, or in a system-managed container on macOS and Linux. If you don’t see a .minecraft folder, you’re not running Java Edition.

What to Do If the Folder Is Missing

If the .minecraft folder does not exist, you have not launched Minecraft Java Edition since installing it. Launch the game once, let it load to the main menu, then close it. The folder will be created automatically. If you launched it and still don’t see the folder, check your user permissions. On Windows, ensure you’re logged in as the correct user. On Linux, check if you’re using a different user account or if the folder was created under root. If you installed Minecraft as an administrator but launch it as a regular user, the folder may be in the admin profile. Always launch the launcher with the same account you installed it under.

How to Move the Folder to Another Drive

To move the .minecraft folder to another drive—such as an SSD or external storage—first close Minecraft and all related processes. Copy the entire .minecraft folder to the new location. Open the Minecraft launcher, click Installations, then click the three dots next to your installation. Select Edit. In the Game Directory field, paste the new path—for example, D:\Minecraft\.minecraft on Windows or /mnt/data/Minecraft/.minecraft on Linux. Click Save. Launch the game. If it loads without error, the move was successful. If it crashes or says ‘Worlds not found’, the path was typed incorrectly or the folder was not copied fully. Always test the new location before deleting the original.