OptiFine 1.20.2 Download and Install Guide

Use the I7 pre1 preview for Minecraft Java 1.20.2. Install it as a standalone profile in Minecraft Launcher. This build has no Forge support.

Sunlight catches one slate stepping stone in a still blue pool.

For Minecraft Java 1.20.2, download OptiFine HD U I7 pre1. It's the only build listed for that game version, and it's a preview. I’d use a standalone installation in Minecraft Launcher for this build. The I7 pre1 changelog explicitly rules out Forge.

Find the 1.20.2 file in Preview versions

On the official OptiFine downloads page, use Show all versions if the older entries are hidden. Find Minecraft 1.20.2, expand Preview versions and choose Mirror on the I7 pre1 row to reach the file page. The JAR is named preview_OptiFine_1.20.2_HD_U_I7_pre1.jar. The game version and the pre1 suffix are the two parts to check before opening it.

Minecraft 1.20.2 preview list showing I7 pre1, Mirror and Forge N/A.
Open Preview versions under Minecraft 1.20.2. The I7 pre1 row has its own Mirror link.

On the file page, check for preview OptiFine 1.20.2 HD U I7 pre1 above the Download link. That title identifies the exact artifact you opened.

The Download button beneath the OptiFine 1.20.2 HD U I7 pre1 title.
Match the title to I7 pre1 before using Download on the OptiFine file page.

Install the standalone preview

  1. In Minecraft Launcher, open Installations and select New installation. Choose release 1.20.2 in the version list, then run it to the title screen and quit. The Minecraft Launcher instructions for older game versions show where to find the version selector.
  2. Open the I7 pre1 JAR with Java, point the installer at the Minecraft folder that contains the base installation, and click Install. If a double-click opens an archiver or produces an error, use the OptiFine JAR instructions for your operating system.
  3. Back in Minecraft Launcher, select the OptiFine entry for 1.20.2 beside Play. If it isn't in the list, open Installations and make sure Modded is enabled. At the title screen, open Options → Video Settings and look for the OptiFine controls before opening your world.

The game uses Java 17, as specified in Mojang's 1.20.2 launcher metadata. The runtime Minecraft Launcher uses for the game and the Java that opens a downloaded JAR are separate settings. If the installer can't find 1.20.2, check that plain 1.20.2 has launched once and that the selected Minecraft folder contains versions/1.20.2.

Keep the shader choice tied to your launcher profile

If your 1.20.2 installation uses Fabric, there's a separate shader route. The Iris 1.6.14 build for Minecraft 1.20.2 lists Fabric and Quilt. Open the version page and check the game and platform fields together. For this Iris release, add the matching Sodium 0.5.5 build for Minecraft 1.20.2 to the same profile.

Iris 1.6.14 for Minecraft 1.20.2 with Fabric and Quilt in the Compatibility section.
The Fabric and Quilt labels apply to this specific Iris release.

If your modpack is pinned to Forge on 1.20.2, keep that pack intact. The OptiFine preview belongs in a separate standalone profile. If the pack itself needs OptiFine, the 1.20.1 Forge pairing guide covers a different game version. Check that the pack supports that version before creating a separate installation, and use a fresh world to check it.