The basic steps to get OptiFine
OptiFine is a mod that makes Minecraft run faster and look better by improving graphics performance. You download it from the official OptiFine website, then place the file in your Minecraft mods folder. The whole process takes about five minutes if you already have Minecraft installed.
The official OptiFine website is optifine.net. This matters because OptiFine is popular enough that fake versions exist on other sites — downloading from anywhere else risks getting malware bundled with the mod. Stick to optifine.net and you avoid that problem entirely.
Key Takeaways
- Download OptiFine only from optifine.net, not from mod sites or YouTube links, because other sources often contain malware.
- You need Minecraft Java Edition installed, not Bedrock Edition — OptiFine does not work with the Windows 10/11 version or mobile versions.
- OptiFine requires Forge or Fabric, which are mod loaders that let Minecraft run mods at all.
- After downloading OptiFine, you move the file to your mods folder, then launch Minecraft through your mod loader to activate it.
Check which version of Minecraft you have
OptiFine only works with Minecraft Java Edition. If you own the Windows 10 or Windows 11 version (sometimes called Bedrock Edition), or if you play on mobile or console, OptiFine will not work. Java Edition is the original Minecraft — it is the one you can mod.
To check which version you own, open the Minecraft Launcher. If you see "Minecraft Java Edition" as an option, you have the right version. If you only see "Minecraft" without "Java Edition" next to it, you have Bedrock and will need to look for different performance mods designed for that version instead.
Install Forge or Fabric before OptiFine
OptiFine needs a mod loader to work. The two main choices are Forge and Fabric. Forge is older and more widely compatible with other mods; Fabric is newer and lighter on system resources. For OptiFine alone, either works, but if you plan to add other mods later, check whether they require Forge or Fabric first.
Download your chosen mod loader from its official website — forgemc.org for Forge or fabricmc.net for Fabric. Run the installer file, choose "Install client," and let it finish. Then close the installer. Your Minecraft Launcher will now show a new profile for that mod loader. Launch Minecraft through that profile once to create the mods folder.
Download OptiFine from the official website
Go to optifine.net in your web browser. Click "Downloads" at the top. You will see a list of Minecraft versions. Find the version you play — if you are not sure, open your Minecraft Launcher and check which version is installed. Click the version number to expand the list of OptiFine builds for that version.
You will see several builds listed with dates. The one at the top is usually the latest. Click "Download" next to it. Your browser will either download the file directly or take you to a page with a download button. Do not click any ads or pop-ups on that page — they are not part of OptiFine. Wait a few seconds and look for a small "Skip" button or a download that starts automatically.
Move the OptiFine file to your mods folder
The file you downloaded is named something like "OptiFine_1.20.1_HD_U_I1.jar". Do not run it or double-click it. Instead, find your Minecraft mods folder. On Windows, press the Windows key and R together, type %appdata%\.minecraft\mods, and press Enter. On Mac, open Finder, press Command-Shift-G, paste ~/Library/Application Support/minecraft/mods, and press Enter.
A folder window will open. If the mods folder does not exist yet, create a new folder and name it "mods". Drag the OptiFine .jar file into this mods folder. That is all — you do not need to unzip it or move anything else.
Launch Minecraft and check that OptiFine loaded
Open your Minecraft Launcher. Make sure the profile you are using is the Forge or Fabric profile you installed earlier — not the regular Java Edition profile. Click "Play" and wait for Minecraft to start.
Once you are in the main menu, go to Options and then Video Settings. If OptiFine loaded correctly, you will see new graphics options that were not there before — things like "Render Distance," "Mipmap Levels," and "Anisotropic Filtering." If you see these options, OptiFine is active. If you do not see them, close Minecraft and check that the .jar file is in the mods folder and that you launched through the Forge or Fabric profile.
Troubleshooting common problems
If Minecraft crashes when you launch it with OptiFine, the most common cause is a version mismatch — you downloaded OptiFine for a different Minecraft version than the one you are running. Check the version number in your Launcher, go back to optifine.net, and download the correct build.
If OptiFine loads but your game runs slower, try lowering the graphics settings you just unlocked. OptiFine gives you more control, but pushing settings too high on older computers can hurt performance instead of helping it. Start with default settings and adjust one at a time to find what works for your system.
If you see an error about Java or missing libraries, your Java installation may be outdated or incomplete. Minecraft Java Edition comes with its own Java, so this is rare, but if it happens, reinstall Minecraft Java Edition from the official launcher.
Frequently Asked Questions
Is OptiFine safe to download from optifine.net?
Yes. OptiFine.net is the official website and has been the source for years. The risk comes from downloading OptiFine from other sites, YouTube links, or mod repositories that host copies — those versions sometimes include malware. Stick to optifine.net and you are safe.
Can I use OptiFine with other mods?
Usually yes, but it depends on the other mods. OptiFine works with most mods if they are all installed through the same mod loader (Forge or Fabric). Some mods conflict with OptiFine's graphics changes, so if you add another mod and the game crashes, try removing OptiFine to see if that fixes it.
Will OptiFine work on a server?
OptiFine is a client-side mod, meaning it only affects your own game, not the server. You can use it on any server without the server needing to install anything. The server will not even know you are using it.
What if I want to uninstall OptiFine?
Delete the OptiFine .jar file from your mods folder. The next time you launch Minecraft through your mod loader, OptiFine will not load. You can also just rename the file to something like "OptiFine_disabled.jar" if you want to keep it but turn it off temporarily.
Does OptiFine work with Minecraft Bedrock or mobile?
No. OptiFine is only for Java Edition. Bedrock and mobile versions use different code and do not support mods the same way. Those versions have their own performance settings built in, but you cannot add OptiFine to them.