OptiFine 1.21.1 and 1.21: the right J1 download

Use OptiFine J1 for Minecraft 1.21.1 with Forge 52.0.16 if needed. Plain Minecraft 1.21 has a separate J1 pre9 preview for standalone installation.

Stone stepping stones across a still blue lake, warm sunlight on one central stone

For Minecraft: Java Edition 1.21.1, download the OptiFine HD U J1 release. OptiFine lists Forge 52.0.16 for that JAR. For plain 1.21, use the HD U J1 pre9 preview in a standalone installation. The catalog shows Forge N/A for that preview.

Choose J1 for Minecraft 1.21.1

Read the full version under Installations in Minecraft Launcher. If it says 1.21.11, choose the JAR for 1.21.11. On the official OptiFine downloads page, click Show all versions and find Minecraft 1.21.1. Open (Mirror) on the J1 row and check that the page names OptiFine 1.21.1 HD U J1. The downloaded file should be OptiFine_1.21.1_HD_U_J1.jar.

OptiFine HD U J1 under Minecraft 1.21.1, with the Mirror link and Forge 52.0.16.
On the Minecraft 1.21.1 row, choose the Mirror for J1. The catalog names Forge 52.0.16.

Older results still surface the 1.21.1 J1 pre14 file page, whose Download action no longer serves that JAR. Early 1.21.1 tutorials may also show the OptiKai fork. I would choose the official J1 release for a new 1.21.1 installation. The J1 changelog records the September 24, 2024 release, including fixes for shader crashes and a glint rendering bug.

Install Forge 52.0.16 if you need Forge

On Forge's 1.21.1 download page, expand Show all Versions. Use the Installer link beside 52.0.16. Check the number in the full list even if the prominent Latest and Recommended buttons suggest newer builds.

Forge download table showing 52.0.16 between 52.0.17 and 52.0.15, with its Installer link outlined.
Expand the full Forge list and select Installer on row 52.0.16.

Open the Forge installer JAR and choose Install client. When setup finishes, select the new Forge installation in Minecraft Launcher and launch it once. Open its folder from Installations in Minecraft Launcher and put the intact J1 file in that instance's mods folder. Start Forge and check Options > Video Settings for the OptiFine controls. If a modpack pins a different Forge version, test in a copy with a separate game directory. If it fails to reach the title screen, read the first useful error in that copy's logs/latest.log before changing another file.

Find the preview for plain Minecraft 1.21

In the downloads catalog, go to Minecraft 1.21 and expand + Preview versions. Choose preview_OptiFine_1.21_HD_U_J1_pre9.jar. The pre9 changelog says the JAR is incompatible with Forge on its own. If a pack depends on Forge 51.0.33, the OptiForge maintainer's compatibility table reports a world launch with that loader and pre9 through a separate third-party mod. Keep that experiment in a copy of the pack.

Expanded Preview versions for Minecraft 1.21, showing J1 pre9 and Forge N/A.
For Minecraft 1.21, expand Preview versions and choose the pre9 row.

For the standalone route on either game version, start the exact vanilla version once, reach the title screen and close it. Open the matching JAR, click Install and select the resulting OptiFine installation in Minecraft Launcher. The standalone install instructions apply to the official launcher.

Open the Shaders folder in J1

With J1 active, go to Options > Video Settings > Shaders… > Shaders Folder. Add a pack whose own requirements cover your Minecraft version, return to Shaders and choose the pack. The OptiFine shader instructions describe the ZIP and folder formats the pack can use. If this specific combination fails, try the same build in a separate installation with only that pack before changing loader versions.

Match the loader on Fabric or NeoForge

On Fabric 1.21.1, the exact Reforged 2.2.16 release pairs with J1 and lists Fabric Loader 0.19.5 or newer and Java 21 or newer. For shaders in a fresh Fabric setup, choose an Iris file for 1.21.1 on Fabric and use its stated Sodium dependency. Check the Fabric bridge options for OptiFine when the pack is already on Fabric.

On NeoForge, use the matching Iris release and its Sodium dependency. The similarly named Modrinth modpack bundles Iris and Sodium for NeoForge 21.1.170. Choose a mod file or a complete modpack according to what you want to install.