How to download OptiFine from the official site
Find your exact Minecraft: Java Edition version on optifine.net. Click (Mirror) beside the matching OptiFine build, then click Download on the file page to save the JAR.

Open the official OptiFine downloads page and find your exact Minecraft Java Edition version. Click (Mirror) beside the build you want, then click Download on the OptiFine file page. For Minecraft 1.21.11 and J9, the saved file is OptiFine_1.21.11_HD_U_J9.jar.
Find your Minecraft version in the catalog
Use the version of the Minecraft installation you play. For a modpack, use its Minecraft version. Read the heading first, then the OptiFine build beneath it. Under Minecraft 1.21.11, for example, the main row reads OptiFine HD U J9. Use the latest 26.x compatibility guide to check what its preview builds currently support.
If your version is missing from the initial list, click Show all versions. In the expanded list, find Minecraft 1.21.10 and open Preview versions to see OptiFine HD U J7 pre11. The + More link under 1.21.11 opens older builds for that version.

When the catalog offers a release for your Minecraft version, I’d start there. Check the Changelog for the features you need. For Minecraft 26.3, Preview versions reveals OptiFine HD U K3 pre2, labeled Forge N/A. Its K3 pre2 changelog says shaders are unavailable in that build. For a Forge modpack, the Forge column helps you decide which build to pick.

Open the Mirror and download the JAR
Use (Mirror) in the row you picked. It takes you straight to that build’s page on optifine.net. The Download button in the catalog goes through an advertising service.
On the 1.21.11 J9 file page, the title reads OptiFine 1.21.11 HD U J9. Confirm that the title matches your selection, then click the Download button beneath it.

Find the saved JAR
In desktop Chrome, open More → Downloads. Find the JAR in your download history and select the folder icon beside it. Chrome’s Show in folder control opens the folder that contains the file. On Mac, it’s labeled Show in Finder.

Compare the version and build in the filename with the row you chose. For the J9 example, those parts are 1.21.11 and J9. Check the ending, too. It should be .jar. Once the name matches, you’re ready to install the file you downloaded.
If the download stalls
If no transfer appears, check that you reached the OptiFine file page and clicked Download there. If Chrome shows a paused transfer, check your connection, open Download in progress, and find Resume beside the filename. Use Chrome’s download error guide if an error still appears.
If Chrome flags the file with a security warning, leave it unopened. Check the warning and where the download came from before deciding whether OptiFine is safe to open.


