OptiFine installs through CurseForge by downloading the mod file, then placing it in your Minecraft mods folder

OptiFine is a Minecraft mod that improves frame rates and adds graphics options. CurseForge is a mod platform where you can find and download OptiFine, but CurseForge itself does not install mods into your game — it only hosts the files. You download the OptiFine file from CurseForge, then move it to the correct folder on your computer. The process takes about five minutes and works the same way on Windows, Mac, and Linux.

Before you start, you need Minecraft Java Edition (not Bedrock) and Forge, which is a mod loader that lets Minecraft run mods. OptiFine requires Forge to work. If you do not have Forge installed yet, install it first — CurseForge has Forge files too, or you can get it from the Forge website directly.

Key Takeaways

  • OptiFine requires Minecraft Java Edition and Forge to be installed before you download the mod file.
  • You download the OptiFine file from CurseForge, then manually move it to your Minecraft mods folder.
  • The mods folder is inside your Minecraft installation directory, which is different on Windows (.minecraft), Mac (Library/Application Support/minecraft), and Linux (.minecraft).
  • After you place the OptiFine file in the mods folder, launch Minecraft with the Forge profile and OptiFine will load automatically.
  • If OptiFine does not appear in your video settings after launching, check that the file is in the correct mods folder and that you are using the Forge profile.

Finding and downloading OptiFine from CurseForge

Go to curseforge.com and search for "OptiFine" in the search bar at the top. Click on the OptiFine project page. You will see a list of versions — each one is built for a specific Minecraft version like 1.20.1 or 1.19.2. Download the version that matches the Minecraft version you play. Click the file name to download it to your computer, usually to your Downloads folder.

The file will be named something like "OptiFine_1.20.1_HD_U_I1.jar". Do not rename it or change the file type. Leave it as a .jar file. If your browser asks where to save it, choose Downloads or your desktop so you can find it easily.

Locating your Minecraft mods folder

The mods folder is inside your Minecraft installation directory. The location depends on your operating system. On Windows, open File Explorer and type %appdata% in the address bar at the top, then press Enter. Look for a folder called .minecraft and open it. Inside, you will see a folder called mods. If the mods folder does not exist, create it by right-clicking in the .minecraft folder, selecting New, then Folder, and naming it "mods".

On Mac, open Finder and press Command + Shift + G to open the Go to Folder dialog. Type ~/Library/Application Support/minecraft and press Enter. Look for the mods folder inside. On Linux, open your file manager and navigate to ~/.minecraft, then find the mods folder.

If you have never installed a mod before, the mods folder may not exist yet. Create it using the same method as Windows — right-click, select New Folder, and name it exactly "mods" (lowercase, no spaces).

Moving the OptiFine file into the mods folder

Open your Downloads folder or wherever you saved the OptiFine .jar file. Cut or copy the file (right-click and select Cut or Copy). Navigate to your mods folder using the steps above, then right-click inside the empty mods folder and select Paste. The OptiFine file is now in the correct location.

Do not extract or unzip the .jar file. Leave it as a single .jar file in the mods folder. If you accidentally unzipped it, delete the unzipped folder and download OptiFine again.

Launching Minecraft with Forge and OptiFine

Open the Minecraft Launcher. In the launcher, look for your Forge profile in the list on the left side. If you do not see a Forge profile, you need to install Forge first. Click on the Forge profile to select it, then click Play. Minecraft will launch and load OptiFine automatically.

The first launch may take longer than usual because Minecraft is loading the mod. Wait for the game to fully load. Once you are in the main menu, go to Options and then Video Settings. If OptiFine installed correctly, you will see new graphics options like Render Distance, Mipmap Levels, and Shaders. If you do not see these options, OptiFine did not load — check that the .jar file is in the mods folder and that you launched with the Forge profile.

Troubleshooting OptiFine not loading

If OptiFine does not appear in your video settings, first check that the .jar file is in the correct mods folder. Open your mods folder and confirm the OptiFine file is there and still named with the .jar extension. If the file is there but OptiFine still does not load, make sure you are launching Minecraft with the Forge profile, not the regular Java Edition profile.

If you are using the Forge profile and OptiFine still does not load, the version mismatch is the most common cause. Check the Minecraft version you are playing by looking at the launcher profile — it will say something like "Latest Release" or "1.20.1". Go back to CurseForge and download the OptiFine version that matches your Minecraft version exactly. Delete the old OptiFine file from your mods folder and replace it with the correct version.

If Minecraft crashes when you launch it with OptiFine, you may have a conflict with another mod. Try removing OptiFine from the mods folder temporarily and launching Minecraft with Forge alone. If it launches without crashing, OptiFine is conflicting with another mod you have installed. Some mods do not work well together — check the mod descriptions on CurseForge to see if there are known conflicts.

Adjusting OptiFine settings for better performance

Once OptiFine loads, go to Options and Video Settings to see the new graphics options. The most important settings for frame rate are Render Distance (how far you can see), Mipmap Levels (texture detail), and Graphics (Fast or Fancy). Lowering Render Distance and setting Graphics to Fast will increase your frame rate the most. If you have a newer graphics card, you can keep these higher and still get good performance.

OptiFine also adds a Shaders option, which lets you install shader packs for advanced lighting and water effects. Shaders use more graphics power, so only use them if your computer can handle it. Start with the default OptiFine settings and adjust from there based on your frame rate.

Frequently Asked Questions

Do I need Forge to use OptiFine?

Yes, OptiFine requires Forge to run. Forge is a mod loader that allows Minecraft to load mods like OptiFine. Install Forge first, then add OptiFine to your mods folder.

Can I use OptiFine with other mods?

Yes, OptiFine works with most mods. Place all your mod .jar files in the same mods folder. Some mods conflict with each other, so if Minecraft crashes, try removing mods one at a time to find the conflict.

What if I cannot find my .minecraft folder?

On Windows, type %appdata% in File Explorer's address bar. On Mac, press Command + Shift + G in Finder and type ~/Library/Application Support/minecraft. On Linux, the folder is ~/.minecraft in your home directory. If you still cannot find it, check that hidden files are visible in your file manager settings.

Will OptiFine work with Minecraft Bedrock Edition?

No, OptiFine only works with Minecraft Java Edition. Bedrock Edition uses a different system and does not support mods the same way. If you play Bedrock, you cannot use OptiFine.

How do I uninstall OptiFine?

Open your mods folder and delete the OptiFine .jar file. Launch Minecraft with Forge, and OptiFine will no longer load. The graphics options will return to the default Minecraft settings.