OptiFine
For over a decade OptiFine has been synonymous with Minecraft optimization. One .jar file gives you zoom, shaders, connected textures, dynamic lighting and full control over the graphics settings. Below is everything you need to install and configure OptiFine in 2026.
What OptiFine is
OptiFine is an optimization mod for Minecraft Java Edition by sp614x. The first version appeared in 2011, and since then the mod has gone through every major game update. OptiFine works as a standalone mod: it does not need Fabric or Forge (although you can combine it with them through OptiFabric or additional wrappers).
The mod combines three things in one package: performance optimization (higher FPS on weaker hardware), shader support (SEUS, BSL, Complementary) and extended graphics settings that vanilla Minecraft does not offer. For many players OptiFine is the first and only mod they ever install.
Main OptiFine features
Zoom
The C key zooms the view in like a spyglass, without having to craft anything. Zoom is smooth, with a transition animation. Handy for reading the terrain, reading signs from far away and aiming a bow at long distances.
Connected Textures
Blocks of glass, glass panes and sandstone join visually into seamless surfaces instead of showing the visible edges of every block. The effect is subtle, but it greatly improves how builds look. The feature also works with resource packs that define their own texture-joining rules (the CTM format).
Dynamic lighting
Torches, lanterns and other light sources held in your hand light up the surroundings in real time. In vanilla Minecraft a torch only gives light once it is placed on a block, while with OptiFine it shines in your hand. That changes how you explore caves: you walk with a torch and see what is ahead of you.
Shaders
Shader packs (SEUS, BSL, Complementary Reimagined, Sildur's Vibrant) add realistic lighting, shadows, water reflections and atmospheric effects. Installing one comes down to dropping a .zip file into the shaderpacks folder.
Capes
Players who support OptiFine financially (a one-time donation) get access to a custom cape that other OptiFine users can see. You can customize the cape on optifine.net. It is the only paid part of OptiFine.
Graphics control
OptiFine adds dozens of new settings to the Video Settings menu: animation control (rain, smoke, torches, water drops), render distance in single-chunk steps, smart animations (rendering only the visible animations), smooth FPS, chunk loading and many more. Every slider has a description of what it does.
Compatibility with Minecraft versions
OptiFine is developed by one person, so builds for new Minecraft releases arrive with a delay, often first as test previews. As of October 2026, the latest stable version is HD U J9 for 1.21.11 (February 5, 2026). Only preview versions exist for 26.1.2 and 26.2, and there is no OptiFine build yet for 26.3 or the 26.4 snapshots.
| MC version | OptiFine | Status |
|---|---|---|
| 26.2 | HD U K2 pre1 | Preview preview build from September 22, 2026 |
| 26.1.2 | HD U K1 pre2 | Preview preview build from June 22, 2026 |
| 1.21.11 | HD U J9 | Stable latest stable (February 5, 2026) |
| 1.21.3 | HD U J2 | Stable |
| 1.21.1 | HD U J1 | Stable |
| 1.21 | HD U J1 pre9 | Preview no stable version |
| 1.20.4 | HD U I8 | Stable |
| 1.20.1 | HD U I6 | Stable most popular |
| 1.19.4 | HD U I4 | Stable |
| 1.16.5 | HD U G9 | Stable |
| 1.12.2 | HD U F5 | Stable legacy modpacks |
How to install OptiFine
Installing OptiFine differs from a typical mod. You do not need Fabric or Forge: OptiFine has its own installer, which creates a dedicated profile in the Minecraft Launcher.
Download OptiFine
Go to optifine.net/downloads and find the version that matches your Minecraft version. Click "Download" next to the version marked "(Recommended)" or "(Latest)". The site sends you through an ad page: click "Skip" or "Download" after waiting 5 seconds. The file you get is OptiFine_X.XX.X_HD_U_XX.jar.
Run the installer
Double-click the downloaded .jar file. If your system does not recognize the file, run it from the terminal:
java -jar OptiFine_1.21.11_HD_U_J9.jar
In the installer window click Install. After a few seconds you will see "OptiFine is successfully installed".
Launch Minecraft
Open the official Minecraft Launcher. In the profile menu you will find a new "OptiFine" entry. Select it and click "Play". If Video Settings shows the extended options (Shaders, Quality, Details, Performance, Animations), OptiFine is working.
OptiFine with Forge
If you need OptiFine together with Forge mods: install Forge, then copy the OptiFine .jar file into the .minecraft/mods/ folder. OptiFine detects Forge automatically and loads as a mod. In this case do not run the separate OptiFine profile: use the Forge profile.
Shaders in OptiFine
Once OptiFine is installed, you have instant access to shaders. Put shader packs (.zip files) into the .minecraft/shaderpacks/ folder. In game go to Options → Video Settings → Shaders and pick a pack from the list.
Popular shaders compatible with OptiFine:
You will find more shaders and comparisons on the page shaders for Minecraft.
Optimal settings for weaker hardware
If your computer barely runs Minecraft, these OptiFine settings give the biggest FPS jump:
Turns off leaf transparency and lowers the GPU load.
Every chunk costs performance, and 8 is the minimum for comfortable play.
Saves resources at the cost of looks.
Turns off particle, water and fire animations.
Renders animations only for visible blocks.
Changes the rendering pipeline, a big FPS gain.
Uses several CPU cores to load chunks.
For a detailed optimization guide, see how to boost FPS in Minecraft.
OptiFine vs Sodium + Iris
Since 2021 OptiFine has had serious competition in the Sodium (optimization) + Iris (shaders) duo, which runs on Fabric and, since August 2024, also in official NeoForge versions. Both approaches have their strengths:
| Feature | OptiFine | Sodium + Iris |
|---|---|---|
| Performance (raw FPS) | Good | Better (2-3x in benchmarks) |
| Shaders | Full support, widest compatibility | Growing compatibility, most shaders work |
| Connected Textures | Built in | Needs an extra mod (Continuity) |
| Zoom | Built in | Needs a mod (Zoomify or Ok Zoomer) |
| Dynamic light | Built in | Needs a mod (LambDynamicLights) |
| Mod compatibility | Conflicts with many Fabric/Forge mods | Excellent on Fabric |
| Open source | No | Yes |
| Installation | One file, its own profile | Fabric + a few mods |
When to choose OptiFine
You play solo or on a vanilla server, want simplicity (one mod = everything), use shaders that are not available on Iris or need OptiFine capes.
When to choose Sodium + Iris
You play with other Fabric mods, need maximum performance, prefer open source or the game crashes with OptiFine. You will find a detailed comparison at OptiFine vs Sodium: comparison.
Common problems
OptiFine will not install / "This Java instance does not support a 64-bit JVM"
Install 64-bit Java 21 from adoptium.net. Older Java versions may not support newer OptiFine versions.
The game crashes on launch with OptiFine
Check that the OptiFine version matches the Minecraft version. OptiFine 1.20.1 will not work on MC 1.20.4. If the versions match, empty the shaderpacks folder: a corrupted shader is the most common cause of crashes.
OptiFine does not work with mod X
OptiFine modifies the game's renderer at a low level, which causes conflicts with other graphics mods. If you need OptiFine plus other mods, consider moving to Sodium + Iris + Fabric.
Low FPS even with OptiFine
Allocate more RAM in the launcher settings (JVM arguments: -Xmx4G instead of the default 2G). Turn off shaders. Check that the game uses the dedicated GPU (not the integrated one).
Is there an OptiFine for Minecraft 26.3?
As of October 2026: no. The latest preview is HD U K2 pre1 for 26.2 (September 22, 2026). If you want to play on 26.3 with shaders, use Sodium and Iris: Iris 1.11.5 for 26.3 came out on Fabric on September 15, 2026, and version 1.11.7 on NeoForge on September 30, 2026.
Download OptiFine
You will find the latest versions and preview builds only on the official site, optifine.net. Clones on other domains may contain malware.
The mod is free. Only the optional cape for supporters is paid.