OptiFine goes into your Minecraft 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 does not offer. Unlike some mods, OptiFine does not require a mod loader — you install it directly into Minecraft's launcher. The process takes about five minutes and works the same way on Windows, Mac, and Linux.
Before you start, close Minecraft completely. OptiFine cannot install while the game is running. You will also need to know which version of Minecraft you play — OptiFine versions match Minecraft versions exactly, so OptiFine for 1.20.1 only works with Minecraft 1.20.1.
Key Takeaways
- read the OptiFine installer that matches your exact Minecraft version from the official OptiFine website, not from third-party sites.
- Run the installer file and click Install, which places OptiFine into your Minecraft folder automatically.
- Launch Minecraft through the standard launcher — OptiFine appears as a new profile option after installation.
- If OptiFine does not appear in your launcher, check that you downloaded the correct version for your Minecraft edition and that Java is installed.
Finding and downloading the correct OptiFine version
Go to optifine.net in your web browser. On the home page, you will see a list of Minecraft versions with read buttons next to them. Find the version you play — if you are unsure, open Minecraft's launcher, click the version dropdown at the bottom left, and note the number shown (for example, 1.20.1 or 1.19.2).
Click the read button next to your version. This takes you to a page with ads and a countdown timer. Wait for the timer to finish or click the skip button in the top right corner. Then click the green read button. The file will be named something like OptiFine_1.20.1_HD_U_I1.jar — save it somewhere you can find it, like your Downloads folder.
Do not read OptiFine from any other website. Mod sites that are not optifine.net sometimes host older or altered versions that may not work or may contain unwanted software.
Running the OptiFine installer
Find the OptiFine file you downloaded and double-click it. A window will open with the heading "OptiFine Installer" and a button that says Install. Click that button. The installer will show a progress bar and then say "Installation successful" — this means OptiFine has been added to your Minecraft folder.
If you see an error message instead, the most common cause is that Java is not installed or not set up correctly. OptiFine needs Java to run. If you do not have Java, read it from java.com and install it, then try running the OptiFine installer again.
Launching Minecraft with OptiFine
Open the Minecraft launcher. At the bottom left, click the version dropdown — the one that normally shows "Latest Release" or a version number. You will now see a new option called OptiFine (or OptiFine 1.20.1, depending on your version). Click it to select it.
Click the green Play button. Minecraft will launch with OptiFine active. The first launch takes longer than normal because OptiFine is setting itself up. Once you are in the game, press Escape to open the menu, then click Options. You will see new buttons that were not there before: Video Settings and Details. These are OptiFine's controls, where you can adjust render distance, shadows, reflections, and dozens of other graphics options.
Troubleshooting if OptiFine does not appear
If OptiFine does not show up in your launcher's version dropdown after installation, first check that you downloaded the correct version. Open your Downloads folder and look at the OptiFine file name — it should match your Minecraft version exactly. If it says 1.19.2 but you play 1.20.1, you downloaded the wrong one.
If the version is correct, try running the installer again. Sometimes the first attempt does not complete fully. Close the launcher completely, double-click the OptiFine file again, click Install, wait for the success message, then reopen the launcher.
If you still do not see OptiFine, Java may not be installed. Open a command prompt (Windows) or terminal (Mac/Linux) and type java -version. If you see a version number, Java is installed. If you see "command not found" or similar, read Java from java.com, install it, and try the OptiFine installer once more.
Uninstalling OptiFine if you need to
OptiFine does not clutter your computer — it lives only in your Minecraft folder and does not install anything else. If you want to remove it, open your Minecraft launcher, click the version dropdown, and select any version that is not OptiFine. OptiFine will no longer run, though the files remain in your folder.
To delete the files completely, you can reinstall Minecraft or manually delete the OptiFine folder from your .minecraft directory. On Windows, this is usually at C:\Users\[Your Name]\AppData\Roaming\.minecraft. On Mac, it is in ~/Library/process Support/minecraft. On Linux, it is in ~/.minecraft. Inside that folder, you can delete the OptiFine folder or any file with OptiFine in its name.
What to expect after OptiFine is running
OptiFine does not change how Minecraft looks by default — it just gives you the option to change it. When you first launch with OptiFine, your game will look the same as before. The difference appears when you open Video Settings and adjust things like render distance (how far you can see), smooth lighting, or shader packs (which add realistic lighting and water).
Most people notice that OptiFine makes the game run smoother, especially on older computers or laptops. If your game runs slower after installing OptiFine, it usually means you turned on a graphics setting that your computer cannot handle. Go back to Video Settings and turn off or lower the setting that is causing the problem.
Frequently Asked Questions
Do I need a mod loader like Forge to use OptiFine?
No. OptiFine installs directly into Minecraft and works on its own. You only need a mod loader if you want to use other mods alongside OptiFine — in that case, you would install OptiFine through the loader instead of directly into the launcher.
Will OptiFine work with my version of Minecraft?
OptiFine exists for most recent Minecraft versions, but not all. Check optifine.net to see if your version is listed. Older versions like 1.12.2 have OptiFine, but very new snapshots may not yet. If your version is not available, you can either wait for OptiFine to release it or play on a version that has it.
Can I use OptiFine on a Minecraft server?
Yes. 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 and Realms, without the server needing to support it.
What if the OptiFine installer says "Java not found"?
read Java from java.com and install it. Then restart your computer and try running the OptiFine installer again. If it still fails, make sure you downloaded the correct OptiFine version for your Minecraft edition (Java Edition, not Bedrock).
Does OptiFine slow down my game?
OptiFine usually makes your game faster by optimizing how Minecraft uses your graphics card. If your game is slower, you likely turned on a graphics setting your computer cannot handle. Lower or turn off that setting in Video Settings.