What OptiFine does and which version of Minecraft you need
OptiFine is a mod that improves Minecraft's graphics performance and adds visual settings you cannot find in the base game. It lets you increase your frame rate, adjust lighting and shadows, enable zoom, and tweak dozens of other display options. OptiFine works only with Java Edition of Minecraft on Windows, Mac, and Linux — not with Bedrock Edition, which runs on consoles and mobile devices.
Before you install OptiFine, you need to know which version of Minecraft Java Edition you own. If you bought Minecraft through the official launcher and it runs on your computer, you have Java Edition. Bedrock Edition (the version on Xbox, PlayStation, Nintendo Switch, and mobile) cannot use OptiFine, so if that is what you play, OptiFine will not work for you.
Key Takeaways
- OptiFine only works with Minecraft Java Edition on Windows, Mac, and Linux, not with Bedrock Edition.
- You must download OptiFine from the official OptiFine website (optifine.net), never from third-party sites, to avoid malware.
- The installation process differs depending on whether you use the standard launcher or a mod manager like MultiMC or Prism Launcher.
- After installation, OptiFine appears as a profile in your launcher, and you select it before launching the game.
- OptiFine is compatible with most Minecraft versions, but you must download the version that matches the game version you want to play.
Download OptiFine from the official website
Go to optifine.net in your web browser. On the home page, you will see a list of Minecraft versions. Find the version you play — for example, 1.20.1 or 1.19.2 — and click the download link next to it. A new page will load showing a preview image and a green "Download" button.
Click the green Download button. Your browser will download a file with a name like "OptiFine_1.20.1_HD_U_I7.jar". Save this file somewhere you can find it, such as your Downloads folder. Do not download OptiFine from any other website, because third-party sites often host modified versions that contain malware.
Install OptiFine using the standard launcher
Open the Minecraft Launcher. Click the "Installations" tab at the top. On the right side, click "New Installation". A form will appear asking you to name the installation and choose settings.
In the "Name" field, type something like "OptiFine 1.20.1" so you can identify it later. Under "Version", click the dropdown and select the same Minecraft version you downloaded OptiFine for — if you downloaded OptiFine 1.20.1, select version 1.20.1 here. Leave the other fields at their default settings and click "Create".
Close the launcher. Navigate to your Minecraft folder. On Windows, this is usually at C:\Users\[YourUsername]\AppData\Roaming\.minecraft. On Mac, it is at ~/Library/Application Support/minecraft. On Linux, it is at ~/.minecraft. Inside the .minecraft folder, open the "mods" folder. If no mods folder exists, create one by right-clicking in the .minecraft folder and selecting "New Folder", then naming it "mods".
Move the OptiFine .jar file you downloaded into the mods folder. Open the Minecraft Launcher again, go to Installations, find the OptiFine installation you just created, and click "Play". The game will launch with OptiFine installed.
Install OptiFine using MultiMC or Prism Launcher
If you use a mod manager like MultiMC or Prism Launcher, the process is simpler. Open your mod manager and select the instance (the Minecraft installation) where you want to install OptiFine. Click "Edit Instance" or the settings icon. Look for a "Mods" section or button and click it.
Click "Add Mod" or a similar button. A file browser will open. Navigate to your Downloads folder and select the OptiFine .jar file you downloaded. The mod manager will add OptiFine to that instance automatically. Close the settings window and launch the instance — OptiFine will be active.
Verify OptiFine is installed and adjust settings
When Minecraft launches with OptiFine installed, you will see "OptiFine" in the bottom left corner of the main menu. This confirms the installation worked. Click "Options" on the main menu, then "Video Settings". You will now see many more options than the standard game offers, including "Render Distance", "Smooth Lighting", "Shadows", and "Zoom".
OptiFine's default settings are usually safe, but if your frame rate drops, you can lower "Render Distance" or turn off "Fancy Graphics" to improve performance. If you want to use OptiFine with other mods, install those mods in the same mods folder — OptiFine is compatible with most popular mods, though some conflicts can occur.
Uninstall OptiFine if you need to
If OptiFine causes problems or you no longer want it, uninstall is straightforward. If you used the standard launcher, go to your .minecraft folder, open the mods folder, and delete the OptiFine .jar file. If you used a mod manager, open the instance settings, go to Mods, find OptiFine in the list, and click "Remove".
After uninstalling, launch Minecraft normally. The game will run without OptiFine, and you can reinstall it later if you change your mind.
Frequently Asked Questions
Can I use OptiFine with Minecraft Bedrock Edition?
No. OptiFine only works with Java Edition. Bedrock Edition (on Xbox, PlayStation, Switch, and mobile) uses a different code structure and cannot run OptiFine. You would need to own Java Edition to use OptiFine.
Will OptiFine work with my mods?
OptiFine works with most mods, but some conflicts can happen. If you install OptiFine and another mod together and the game crashes, try removing one to see which caused the problem. Mods that change rendering or graphics often conflict with OptiFine.
What if OptiFine makes my game run slower?
OptiFine usually improves frame rate, but if it does not on your computer, adjust the video settings. Lower "Render Distance", turn off "Fancy Graphics", or disable "Shadows". You can also uninstall OptiFine and play without it — the base game will run at its normal speed.
Do I need to download OptiFine again for each Minecraft version?
Yes. Each version of Minecraft (1.20.1, 1.19.2, etc.) needs its own OptiFine download. Go to optifine.net, find the version you want to play, and download the matching OptiFine file.
Is OptiFine safe to download?
OptiFine is safe when downloaded from optifine.net. Never download it from other websites, because third-party sites sometimes host versions with malware. Always use the official OptiFine website.