OptiFine is a mod you download from the official OptiFine website, then place into your Minecraft mods folder
OptiFine is a performance mod that makes Minecraft run faster and look better by optimizing graphics and reducing lag. You download it as a single .jar file from optifine.net, then move that file into your Minecraft installation's mods folder. The whole process takes about five minutes if you already have Minecraft installed and a mod loader set up.
OptiFine works differently depending on whether you're using Minecraft Java Edition or Bedrock Edition. This guide covers Java Edition, which is what most players use for mods. If you play Bedrock (the version on Windows 10/11, consoles, or mobile), OptiFine is not available — you'd need to look at other performance options through the Minecraft Marketplace instead.
Key Takeaways
- OptiFine downloads as a .jar file from optifine.net, and you need to place it in your mods folder, not run it directly.
- You must have Forge or Fabric installed first — OptiFine is a mod, not a standalone program.
- After placing OptiFine in your mods folder, launch Minecraft through your mod loader and OptiFine will load automatically.
- OptiFine settings are found in the Video Settings menu in-game, where you can adjust render distance, graphics quality, and shader support.
Download OptiFine from the official website
Go to optifine.net in your web browser. On the home page, you'll see a list of Minecraft versions. Click the version you play — for example, if you play Minecraft 1.20.1, click that version number. You'll be taken to a download page showing different OptiFine builds for that version.
Look for the latest stable release (usually marked as the most recent date). Click the green "Download" button next to it. Your browser will either download the file immediately or show a download confirmation. The file will be named something like "OptiFine_1.20.1_HD_U_I1.jar" depending on your version.
Do not run this file by double-clicking it. Treat it as a mod file that needs to go into a specific folder, not as an installer or program to launch.
Locate your Minecraft mods folder
Your mods folder is inside your Minecraft installation directory. On Windows, press the Windows key and R together to open the Run dialog, type %appdata%, and press Enter. This opens your AppData folder. Navigate to .minecraft, then look for a folder called mods. If the mods folder doesn't exist, create it by right-clicking in the .minecraft folder, selecting New, then Folder, and naming it "mods".
On Mac, open Finder, press Command+Shift+G to open "Go to Folder", and type ~/Library/Application Support/minecraft. Then look for the mods folder and create it if needed.
On Linux, the .minecraft folder is usually in your home directory. Open your file manager and press Ctrl+H to show hidden files, then navigate to .minecraft and create a mods folder if it doesn't exist.
Move the OptiFine file into your mods folder
Find the OptiFine .jar file you downloaded (usually in your Downloads folder). Cut or copy it, then navigate to your mods folder and paste it there. You should see the OptiFine file sitting in the mods folder alongside any other mods you have installed.
Do not unzip or extract the OptiFine file. It stays as a .jar file — that's the correct format for Minecraft mods.
Launch Minecraft through your mod loader
Open the Minecraft Launcher. If you're using Forge, select the Forge installation from the dropdown menu at the bottom left of the launcher, then click Play. If you're using Fabric, select your Fabric installation and click Play. Minecraft will load with OptiFine active.
The first launch may take longer than usual as Minecraft processes the new mod. Once you're in the game, open Video Settings from the main menu or pause screen. You should see new options that weren't there before — these are OptiFine's settings. Look for options like "Render Distance", "Graphics", "Smooth Lighting", and "Shaders" if you want to use shader packs.
Troubleshoot if OptiFine doesn't load
If you launch Minecraft and don't see OptiFine's extra video settings, the mod didn't load. The most common cause is that you don't have Forge or Fabric installed. OptiFine is a mod, not a standalone program, so it requires a mod loader to run. Install Forge or Fabric first, then place OptiFine in the mods folder.
Another common issue is placing the file in the wrong folder. Double-check that the OptiFine .jar file is in the mods folder inside .minecraft, not in your Downloads folder or anywhere else. If you extracted the .jar file by accident, delete the extracted folder and put the original .jar file back in the mods folder instead.
If OptiFine still doesn't load after checking both of these, try downloading a different build from optifine.net — sometimes a specific build has compatibility issues with your version of Minecraft or your mod loader.
Adjust OptiFine settings for your computer
Once OptiFine loads, open Video Settings in-game. Start with the "Graphics" option and set it to "Fast" if your computer struggles with performance, or "Fancy" if it runs smoothly. The "Render Distance" slider controls how far you can see — lower values improve performance on slower computers. "Smooth Lighting" makes shadows look better but uses more resources.
If you want to use shader packs (which add realistic lighting and water effects), make sure "Shaders" is set to "ON" in the Video Settings. Then you can download shader packs separately and place them in a shaders folder that OptiFine creates automatically. Shaders are optional and use significant GPU power, so only enable them if your computer can handle it.
Frequently Asked Questions
Do I need Forge or Fabric to use OptiFine?
Yes. OptiFine is a mod and requires either Forge or Fabric to run. Install one of these mod loaders first, then place OptiFine in your mods folder. If you try to run OptiFine without a mod loader, it won't work.
Can I use OptiFine with other mods?
Usually yes, but some mods conflict with OptiFine. If you have other mods installed and Minecraft crashes when you add OptiFine, try removing OptiFine temporarily to see if that fixes the crash. If it does, the conflict is with OptiFine and another mod you have. Check the mod's documentation or community forums to see if there's a known issue.
Will OptiFine work on Minecraft Bedrock or console versions?
No. OptiFine only works on Minecraft Java Edition. Bedrock Edition (Windows 10/11, Xbox, PlayStation, Nintendo Switch, mobile) doesn't support mods like OptiFine. Performance improvements on Bedrock come through the Minecraft Marketplace or built-in graphics settings.
What's the difference between Forge and Fabric for OptiFine?
Both work with OptiFine, but Fabric is lighter and faster while Forge is more widely used. If you're just using OptiFine and a few other mods, Fabric is often the better choice. If you use many mods, check whether they're built for Forge or Fabric first.
Does OptiFine cost money?
No. OptiFine is free to download and use. The website may show ads, but you don't pay to use the mod itself.