The fastest way to open your Minecraft folder is to press the Windows key plus R, type %appdata%\.minecraft into the Run box, and press Enter. That path works for the standard Java Edition launcher installed for your Windows user account. If you use the Microsoft Store version of the launcher or a custom install location, the folder lives somewhere else, and the steps below cover that case too.

Before you start, close Minecraft if it is running so the folder is not locked while you browse it. You do not need administrator rights for the standard location, but you do need to be signed in to the same Windows account that installed the game.

Open the .minecraft Folder Through Run in Four Steps

The Run dialog accepts environment variables, which is why %appdata% works even though the real path is buried several folders deep. Type the variable and the subfolder together and Windows expands it for you.

  1. Press Windows key + R on your keyboard. A small Run window opens in the lower-left corner of the screen.
  2. Type %appdata% and press Enter. File Explorer opens directly inside your Roaming folder, typically at C:\Users\YourName\AppData\Roaming.
  3. Look for a folder named .minecraft. The leading dot is part of the name; if you do not see it, your game may be installed elsewhere or the folder may be hidden.
  4. Double-click .minecraft to open it. Inside you will find saves for your worlds, resourcepacks, screenshots, logs, and options.txt for your settings.

You can skip the separate step by typing the full path in one go: %appdata%\.minecraft. Press Enter and Explorer lands inside the folder directly. This is the version most people mean when they ask how to find the Minecraft folder using Run.

If you want to reach the folder again later without retyping, right-click the .minecraft folder and choose Pin to Quick access. It then appears in the left sidebar of every File Explorer window.

When %appdata% Does Not Land in the Right Place

The Run method depends on the game being installed under your Windows user profile. Several common setups break that assumption, and each has its own route.

Microsoft Store or Xbox App Install

The Bedrock Edition bought through the Microsoft Store does not use %appdata%\.minecraft. Its data sits inside a hidden system folder tied to the package. Type %localappdata%\Packages into Run, then look for a folder whose name begins with Microsoft.MinecraftUWP. Inside that, open LocalState to reach worlds and settings. Because these folders are protected, copying files out of them can fail; use the game's own export options where they exist.

Custom Install Location

Some launchers let you choose a game directory during setup. If yours did, the folder is wherever you pointed it, not in AppData. Open your launcher, go to the installation or profile settings, and read the game directory field. That path is the one to paste into Run. Pasting a full path such as D:\Games\Minecraft works the same way as an environment variable.

Hidden Folders

AppData is a hidden folder by default. Run bypasses that because it expands the variable directly, but if you navigate by hand through File Explorer you may not see it. In File Explorer, open the View tab and tick Hidden items. The folder appears greyed out, which is normal.

What Each Folder Inside .minecraft Holds

Knowing which subfolder to open saves you from hunting through the whole directory. The table below lists the ones people reach for most often.

Folder or fileWhat it containsWhen you would open it
savesOne folder per world, including level dataBacking up or moving a world
resourcepacksTexture and sound packs you have addedInstalling or removing a pack
screenshotsImages captured with the screenshot keyFinding a picture you took in game
logsText files recording each sessionDiagnosing a crash or connection error
options.txtGraphics, sound and control settingsResetting settings that will not change in game
modsMod files, if you use a modded profileAdding or removing a mod

The mods folder may not exist until you install your first mod or use a launcher that creates it. Do not create it manually unless the mod's own instructions tell you to; some loaders expect a different folder name.

Confirm You Are in the Right Folder

Check the address bar at the top of the Explorer window. It should end in .minecraft, and the contents should include saves and options.txt together. If you see only a handful of unrelated folders, you have opened the wrong directory.

A second check: open saves and look for folders named after your worlds. If your most recent world is there, you are in the correct installation. If the list is empty but you know you have played, you are looking at a different profile or a fresh install.

To copy the exact path for later use, click once in the address bar; the full path highlights, and you can copy it. Paste it into a note or a shortcut so you do not repeat the search.

Fixes When the Run Command Fails

Most failures fall into a small number of causes. Match the symptom to the row below before trying anything else.

SymptomLikely causeFix
Windows cannot find the pathTypo in the folder name or a missing leading dotRetype %appdata%\.minecraft exactly, including the dot before minecraft
Run opens but nothing happensExplorer is already open behind other windowsCheck the taskbar for a File Explorer window
Folder is emptyGame installed under a different Windows accountSign in as the account that installed the game, or search the drive for options.txt
Access deniedProtected Store package folderUse the game's export feature instead of copying files directly
No .minecraft folder at allGame never launched, or launcher uses a custom directoryLaunch the game once, then check the launcher's game directory setting

If you still cannot find it, use File Explorer's search: open This PC, type options.txt into the search box, and wait for results. The folder containing that file is your game directory. Searching the whole drive can take several minutes on a large disk, so narrow the search to your user folder first.

When you edit or delete anything inside .minecraft, close the game first. Changing files while the game is running can cause settings to be overwritten when it saves on exit, and deleting a world folder while it is loaded can corrupt it. Copy the saves folder to another drive before making changes if the worlds matter to you.