OptiFine goes into your Minecraft launcher's mods folder, not into the game itself
OptiFine is a mod that makes Minecraft run faster and look better by letting you adjust graphics settings the base game doesn't offer. Unlike some mods that need a mod loader first, OptiFine installs directly into your launcher — but the exact steps depend on which launcher you use and which Minecraft version you're running.
The process takes about five minutes. You read one file, put it in the right folder, and restart your launcher. The hardest part is finding that folder on your computer, because it's hidden by default on most systems.
Key Takeaways
- OptiFine downloads as a single .jar file that you place in your mods folder, not installed like a regular program.
- Your mods folder location depends on your operating system: Windows uses AppData, Mac uses Library, and Linux uses .minecraft in your home directory.
- You need to launch Minecraft at least once before the mods folder exists, so the launcher can create it.
- OptiFine works best when you launch the game through the OptiFine profile in your launcher, not through the standard Minecraft profile.
Finding and downloading the OptiFine file
Go to optifine.net in your web browser. On the home page, click the version of Minecraft you want to use — if you're not sure which one you have, open your launcher and check the version number in the bottom left corner. Common versions are 1.20, 1.19, and 1.18, but OptiFine supports older versions too.
Click the read link next to the version you chose. Your browser will read a file with a name like "OptiFine_1.20_HD_U_I1.jar". Save it somewhere you can find it — your Downloads folder is fine for now. Do not run it or double-click it yet.
Locating your mods folder on Windows
Press the Windows key and R at the same time to open the Run dialog. Type %appdata% and press Enter. A folder window will open showing your AppData folder. Look for a folder called .minecraft and double-click it to open it.
Inside .minecraft, look for a folder called mods. If you see it, skip to the next section. If you don't see it, you need to create it: right-click in the empty space, select New, then Folder, and name it exactly mods (lowercase, no spaces).
If the .minecraft folder doesn't exist at all, launch Minecraft once through your launcher, let it load to the main menu, then close it. This creates the folder structure. Then repeat the steps above.
Locating your mods folder on Mac
Open Finder and click Go in the menu bar at the top. Select Library from the dropdown. Look for a folder called minecraft and double-click it.
Inside minecraft, look for a folder called mods. If it's not there, right-click in the empty space, select New Folder, and name it mods. If the minecraft folder itself doesn't exist, launch Minecraft once through your launcher first, then repeat these steps.
Locating your mods folder on Linux
Open your file manager and press Ctrl and H at the same time to show hidden files. Navigate to your home directory and look for a folder called .minecraft. Double-click it to open it.
Inside, look for the mods folder. If it doesn't exist, right-click and create a new folder named mods. If .minecraft itself is missing, launch Minecraft once through your launcher, close it, and then repeat these steps.
Moving the OptiFine file into the mods folder
Once you've found or created your mods folder, drag the OptiFine .jar file you downloaded into it. The file should now sit directly inside the mods folder — not in a subfolder, just at the same level as any other mod files you might have.
You can close the folder window now. You don't need to unzip the file or do anything else to it. The .jar file is ready to go.
Creating and using the OptiFine profile in your launcher
Open the Minecraft launcher. In the left sidebar, look for an option to create a new profile or installation. Click it. Name the profile something like "OptiFine" so you remember what it's for.
In the profile settings, make sure the version is set to the same Minecraft version you downloaded OptiFine for — if you downloaded OptiFine 1.20, set this profile to 1.20. Save the profile.
Now, whenever you want to play with OptiFine, select the OptiFine profile from the launcher and click Play. Do not use the standard Minecraft profile, because that won't load the mod. The first time you launch through the OptiFine profile, it may take a few extra seconds to start while it initializes the mod.
Checking that OptiFine loaded correctly
Once the game starts, go to Options in the main menu and look for a button labeled Video Settings or Graphics. If OptiFine loaded, you'll see many more options than usual — things like Render Distance, Mipmap Levels, and Antialiasing. If you see only the standard Minecraft graphics options, OptiFine didn't load, and you should check that the .jar file is in the correct mods folder.
If OptiFine still doesn't load, the most common reason is that the mods folder is in the wrong location. Double-check the path for your operating system above, and make sure the folder is named exactly mods with no capital letters.
Frequently Asked Questions
Do I need Forge or Fabric to use OptiFine?
No. OptiFine installs standalone into your launcher without needing a mod loader. This makes it simpler to set up than most other mods, but it also means OptiFine doesn't work well alongside mods that do require Forge or Fabric.
Can I use OptiFine with other mods?
OptiFine can work with some mods, but not all. Mods that change graphics or performance often conflict with OptiFine. If you want to use multiple mods together, you'll usually need to use Forge or Fabric instead, which are designed to let mods coexist.
What if OptiFine makes my game crash?
Remove the OptiFine .jar file from your mods folder and restart the launcher. If crashes happen only with certain graphics settings, try lowering them one at a time — OptiFine's settings are powerful but can push older computers too hard. Check your computer's specs against OptiFine's recommendations for your Minecraft version.
Can I use OptiFine on servers?
OptiFine is a client-side mod, meaning it only affects what you see on your computer. You can use it on any server, including multiplayer servers, without the server needing OptiFine installed. The server won't know you're using it.
How do I uninstall OptiFine?
Delete the OptiFine .jar file from your mods folder and restart the launcher. Switch back to the standard Minecraft profile if you created a separate OptiFine profile. The game will run normally without the mod.