OptiFine installs as a separate profile for Minecraft: Java Edition. Download the build that matches your Minecraft version from OptiFine’s official downloads page, launch that same vanilla version once in the official Minecraft Launcher, run the downloaded .jar installer, and then select the new OptiFine installation. It does not work with Bedrock Edition. As of August 7, 2026, the newest listed files are OptiFine HD U K1 pre2 and pre1 for Minecraft 26.1.2 (both preview builds), while 1.21.11 has the non-preview J9 release.
What do I need before installing OptiFine?
You need Minecraft: Java Edition on Windows, macOS, or Linux, the official Minecraft Launcher, and a Java runtime capable of opening the installer file. OptiFine is a Java Edition mod; Bedrock Edition uses add-ons instead. Mojang explains the edition differences in its Java and Bedrock comparison and lists Java Edition as the PC edition for Windows, macOS, and Linux at Minecraft.net.
- Correct edition: Minecraft: Java Edition, not Bedrock.
- Exact version match: The OptiFine build and Minecraft version must be identical, such as 1.21.11 with an OptiFine 1.21.11 file.
- Launcher installation: The matching vanilla version must already be installed and launched once.
- Installer access: A downloaded
.jarfile and a desktop Java runtime, or a workingjavacommand. - World safety: Back up important worlds before changing versions. Mojang warns that opening a world in an older version can permanently damage it; see its Java world-storage guidance.
Which OptiFine version should I download?
Choose the file under the exact Minecraft version you intend to play. Do not assume that the newest OptiFine entry supports every newer Minecraft release: OptiFine publishes separate, version-specific builds, and a newly released Minecraft version may have only a preview or no build at all.
| Minecraft version | OptiFine files listed on August 7, 2026 | Status and dates |
|---|---|---|
| 26.1.2 | OptiFine HD U K1 pre2; K1 pre1 |
Preview versions; June 22, 2026 and June 9, 2026 |
| 1.21.11 | OptiFine HD U J9; J8 |
Non-preview releases; February 5, 2026 and January 21, 2026 |
| Older releases | Separate builds for 1.21.10, 1.21.9, 1.21.8, 1.21.7, 1.21.4, 1.21.3, 1.21.1, 1.20.6, 1.20.4, and earlier versions | Use the entry matching your installed game |
The 26.1.2 K1 files are explicitly marked Preview versions; do not describe K1 pre2 as the normal stable release. Check the live OptiFine downloads page immediately before installing because its list changes as new Minecraft versions and OptiFine builds appear.
How do I download the official OptiFine installer?
- Open optifine.net/downloads. Avoid search-result mirrors and unofficial repackaged files.
- Find the heading for the exact Minecraft version you plan to run.
- Select the OptiFine build you want. For example, a 26.1.2 file may be named
OptiFine_26.1.2_HD_U_K1_pre2.jar. - Choose Download to use OptiFine’s advertising redirect, or choose Mirror to download directly from the OptiFine site without that redirect.
- On the resulting download page, select Download again if prompted.
- Save the file and confirm that it ends in
.jar. The filename should contain the same Minecraft version you selected.
Only the official OptiFine site should be used for the installer. A file that has been renamed to end in .jar is not necessarily a Java archive; keep the original download and investigate an error rather than changing an extension.
How do I prepare the matching Minecraft version?
OptiFine’s installer adds a launcher profile for a version that the official launcher already knows about. Start the matching vanilla version before opening the installer.
- Open the official Minecraft Launcher and select Minecraft: Java Edition.
- Choose the exact version required by the OptiFine filename.
- Launch vanilla Minecraft and wait until the main menu appears.
- Close the game and the launcher completely.
If the version is not listed, create it in the launcher using Installations → New → Create new installation → VERSION → Create. These are the current controls described in Mojang’s Java version-change instructions. Select the matching release in the VERSION menu, save the installation, launch it once, and then exit.
How do I install OptiFine with the graphical installer?
Close Minecraft and the launcher first, then open the downloaded archive as a Java application. The installer normally detects the directory used by the official launcher.
- Locate the downloaded OptiFine
.jar. - Windows: double-click it. If it opens in WinRAR, 7-Zip, or another archive utility, right-click it and choose Open with → Java(TM) Platform SE binary.
- macOS or Linux: open the file with an installed Java runtime. If the file association fails, use the terminal procedure below.
- Review the Minecraft installation folder shown by the OptiFine installer. It should be the directory used by the official launcher.
- Click Install.
- Wait for the message OptiFine is successfully installed., then click OK.
Change the folder only when the launcher uses a custom game directory. With a third-party launcher, select that launcher’s actual profile directory; do not automatically substitute the default %appdata%.minecraft path.
How do I launch the new OptiFine installation?
- Reopen the Minecraft Launcher.
- Open Installations.
- Find the newly created OptiFine entry for the matching Minecraft version.
- Select it and click Play.
If you cannot see it, enable the Modded filter in the Installations screen; current launcher guides commonly hide modded profiles until that filter is enabled. You can also use Installations → New → Create new installation → VERSION and select the OptiFine version after the installer has completed. The filtering procedure is illustrated by the OptiFined Windows installation guide.
How can I verify that OptiFine is active?
After the game reaches the title screen, open Options → Video Settings. An OptiFine installation adds sections and controls such as Shaders, Details, and Performance. If those controls are missing, the launcher started vanilla Minecraft or a different Minecraft version, not the OptiFine profile.
What should I do if the .jar file will not open?
The file opens as a ZIP or archive
Windows has associated .jar files with WinRAR, 7-Zip, or another archive program. Use Open with → Java(TM) Platform SE binary, or launch the installer explicitly from a terminal.
Double-clicking does nothing
Java may be missing, the file association may be broken, the download may be incomplete, or the installed Java may be incompatible. Running the command in a terminal exposes the actual error and avoids relying on the file association.
Run the installer from a terminal
Open a terminal, change to the folder containing the download, and run:
java -jar OptiFine_26.1.2_HD_U_K1_pre2.jar
Replace the example filename with the one you downloaded. If it contains spaces, quote it:
java -jar "OptiFine filename.jar"
This is Oracle’s documented Java launcher syntax: -jar tells Java to run the specified JAR application, as described in its JAR execution documentation.
The terminal says “java: command not found”
Java is not available on your system path. Install a desktop Java runtime, restart the terminal, and run the command again. Oracle’s end-user download page currently lists Java 8 Update 491, released April 21, 2026; see Oracle’s Java downloads and its installation help. The launcher’s private Java runtime can run Minecraft without making a separate java command available for downloaded files.
Why does the installer say it cannot find Minecraft?
- The matching version was never launched: start the exact vanilla version to create its files, close the game and launcher, then run the installer again.
- The wrong directory is selected: point the installer to the official launcher’s custom game directory.
- A third-party launcher is in use: use that launcher’s profile directory and its own installation format.
- The wrong edition is installed: OptiFine requires Java Edition, not Bedrock.
After correcting the directory or launching the version once, reopen the installer and confirm the path displayed before clicking Install.
Why is the OptiFine profile missing from the launcher?
- Close and reopen the Minecraft Launcher completely.
- Open Installations and turn on the Modded filter if it is available.
- Check that the OptiFine filename and the installed Minecraft version are identical.
- Run the installer again while the official launcher is closed.
An OptiFine 1.21.11 installer cannot create a working 1.21.4 profile. The installer is tied to the Minecraft version named in its file, so correcting the version mismatch is essential rather than merely renaming the profile.
Why does Minecraft launch without OptiFine features?
The launcher selected the vanilla entry instead of the OptiFine entry, or the OptiFine build does not match the selected Minecraft version. Return to Installations, select the OptiFine profile, and verify the version before clicking Play. Once in the game, confirm the additional controls under Options → Video Settings.
What should I do if Minecraft crashes after adding other mods?
First launch the OptiFine profile by itself. OptiFine’s official FAQ identifies mod conflicts and another mod overwriting OptiFine classes as causes of crashes or reduced performance. Install OptiFine last when combining it with other mods, except for mods specifically designed to load after OptiFine, and then add the remaining mods one at a time so the conflicting file or profile can be identified.
You do not need Forge for the standard OptiFine installer: the installer creates a launcher profile directly. Forge matters only when you are deliberately building a Forge-based mod setup; the OptiFine downloads page reports Forge compatibility separately for each build, including entries marked N/A.
Why is my FPS unchanged or lower after installing OptiFine?
OptiFine is not a guaranteed FPS multiplier. Its FAQ documents cases where performance is unchanged or lower because of settings, texture-pack features, drivers, conflicts, or an incomplete installation.
- High-quality options such as Render Distance Extreme, Antialiasing, and Anisotropic Filtering can consume more GPU resources.
- An FPS limiter in Video Settings can make a faster render path appear unchanged.
- HD texture-pack features such as Connected Textures, Custom Sky, Random Mobs, and Custom Animations add workload.
- Another mod, an outdated graphics driver, or an incomplete installation can negate performance improvements.
To restore OptiFine’s defaults, use Video Settings → Other → Reset Video Settings. For a fair comparison, test vanilla and OptiFine in the same world with the same render distance, texture pack, and other settings; otherwise you are measuring configuration changes rather than the mod.
How do I fix flickering or incorrectly rendered chunks?
OptiFine identifies Chunk Loading: Multi-Core as a common cause when the graphics-card driver does not handle it correctly. Disable Threaded Optimization or OpenGL Threading in the graphics-card control panel, restart Minecraft, and test the same world again. If the problem remains, return to default chunk-loading settings and check for driver or mod conflicts.
Which common OptiFine claims are wrong?
- “OptiFine works on Bedrock.” It does not; it is a Java Edition mod, while Bedrock uses add-ons. Mojang’s Bedrock Add-Ons FAQ describes that system.
- “The latest OptiFine always supports the latest Minecraft release.” Releases are version-specific. On August 7, 2026, 26.1.2 had only K1 preview builds, while 1.21.11 had the non-preview J9 release.
- “Forge is mandatory.” It is not for the normal installer workflow; Forge is relevant to a separate Forge-based mod configuration.
- “OptiFine always doubles FPS.” The official FAQ explicitly records unchanged or lower FPS under certain settings and conflicts.
- “Minecraft’s bundled Java automatically opens downloaded JAR files.” The launcher can use its own runtime while the operating system has no JAR association. Use a desktop Java runtime or
java -jar. - “OptiFine can be redistributed freely in any modpack.” OptiFine’s FAQ says modpack redistribution is generally not allowed without explicit permission.
What is the safest repeatable installation checklist?
- Confirm that you own and are launching Java Edition.
- Back up worlds before switching versions.
- Record the exact Minecraft version shown in the launcher.
- Download the corresponding file only from optifine.net.
- Launch that vanilla version once, then close the launcher.
- Open the
.jarwith Java or runjava -jar. - Verify the installer’s game directory before clicking Install.
- Enable the Modded filter if the new profile is hidden.
- Launch the OptiFine profile and check for Shaders, Details, and Performance.
- Add other mods only after the standalone OptiFine profile works.
Frequently Asked Questions
Can I install OptiFine on Minecraft Bedrock Edition?
No. OptiFine is built for Java Edition and cannot be installed through the Bedrock launcher or add-on system. Bedrock players need Bedrock-compatible add-ons instead.
Do I need to uninstall OptiFine before changing Minecraft versions?
No. Each OptiFine profile is associated with its own Minecraft version. Leave the existing profile in place and install the matching OptiFine build for the other version, while backing up worlds before opening them in a different release.
Is a preview OptiFine build safe for a long-term survival world?
A preview label means the build is not the normal stable release. Test it on a copied world first and keep a backup, especially when the official downloads page lists no non-preview build for your Minecraft version.
Can I use shaders immediately after installing OptiFine?
Once the OptiFine profile is confirmed, shader controls appear under Video Settings. Shader packs add their own GPU and memory demands, so begin with conservative settings and troubleshoot the base OptiFine installation before adding a shader pack.
What should I do if a launcher update changes the installation screens?
Use the launcher’s Installations page and look for the equivalent New, VERSION, and Create controls. The important checks remain the same: select Java Edition, choose the exact game version, and launch the OptiFine profile rather than the vanilla profile.