Optifine 1.21 / 1.20

While Minecraft is an ever-expansive and fun game to play in its original variant, a lot more can be added to it by installing mods and resource packs. One of the most effective and useful tools (mods) you can install – whether you want to keep the original flavor or add some uniqueness to your game – is the Optifine mod. Optifine is not a resource pack in itself. It does not change any textures in the game. It is, instead, a tool that allows you to adjust Minecraft to increase performance or visuals to your liking. For instance, it provides new settings in the menus that allow you to more freely adjust rendering distance and other factors that might affect how well your computer can run the game. It also allows you to use various resource packs with custom features. If you use HD resource packs and have seen major frame rate drops, see serious lag spikes in your system, or otherwise just need an FPS boost, Optifine HD will provide exactly what you are looking for.

Featured video:

Optifine can be used in both single player games and multiplayer servers. Be warned, though, Optifine HD only works in multiplayer games if the server’s host also has Optifine HD installed on the server. If this is not the case, Optifine will be disabled and you will not be able to use it. Another warning that comes with this is that some of the steps you can take to increase your frame rate will also make Minecraft less visually appealing to look at. You can disable clouds, the sky, stars, fog, and a number of other functions that make the game more visually appealing. All in all, Optifine HD is probably the best way to take more complete control of your Minecraft experience. You can adjust how textured and detailed everything is, from bare bones to top of the line graphics, based on what your personal computer can handle.

OptiFine should be compatible with all of these Minecraft versions: 1.21.11 - 1.21.10 - 1.21.9 - 1.21.8 - 1.21.7 - 1.21.6 - 1.21.5 - 1.21.4 - 1.21.3 - 1.21.2 - 1.21.1 - 1.21 - 1.20.6 - 1.20.5 - 1.20.4 - 1.20.3 - 1.20.2 - 1.20.1 - 1.20 - 1.19.4 - 1.19.3 - 1.19.2 - 1.19.1 - 1.19 - 1.18.2 - 1.18.1 - 1.18 - 1.17.1 - 1.17 - 1.16.4 - 1.16.3 - 1.16.2 - 1.16.1 - 1.16 - 1.15.2 - 1.15.1 - 1.15 - 1.14.4 - 1.14.3 - 1.14.2 - 1.14 - 1.13.2 - 1.13.1 - 1.13 - 1.12.2 - 1.12 - 1.11.2 - 1.11 - 1.10.2 - 1.10 - 1.9.4 - 1.9 - 1.8.9 - 1.8.8 - 1.8.1 - 1.8.6 - 1.8

How to install Optifine:

Guide last updated: 2022-07-22

Before we proceed with installing Optifine, you also need to have Java installed on your device in order to be able to run the Optifine installer. Java is available for Windows, Linux, Mac OS X, and Solaris. Get Java here.

Quick Java Installation Guide:

Click the image to open it full size in a new tab.

  1. Download Java from the official website here.
  2. Run the file you just downloaded and click Install.

NOTE: Optifine will only work with the Java Edition of Minecraft. Optifine does not currently work with Bedrock or any other edition.

And now.. OptiFine:

Please follow each step carefully if you have never installed OptiFine before.

  1. In the download section (located directly below this guide), you will find a link to the official Optifine website. Click on this link and you should be redirected to the developer’s official website.
  2. On the optifine website, you will see many different labels. First make sure you find the correct “Minecraft Version Label”. If you’re playing Minecraft 1.18.2, look for the appropriate label, then simply select one of the versions of Optifine under that label (we strongly recommend that you always choose the OptiFine HD Ultra editions. They usually have the most features) and click Download (or Mirror).
  3. If you clicked the “Download” button (step 2), then most likely you will first be redirected to an sponsor page with a short timer of 5 seconds. Just wait and click “Skip”. If you clicked the “Mirror” button (step 2), you will be redirected directly to the download page.
  4. Now, once you are on the download page, click “Download” again.
  5. Right-click on the newly downloaded Optifine installer file (should be in .jar format), select “Open With”, and then click “Java (TM) Platform SE binary”.
  6. A small installer window will appear, just click “Install”. After a while, the message “OptiFine is successfully installed.” will pop-up.
  7. Run the Minecraft launcher and click on the small arrow to the left of the green “PLAY” button. You will notice that there is a new version titled 1.19-OptiFine_HD_U_H8 (it may be different in your case depending on which version of Minecraft you are using and which version of optifine you have installed). Select this Minecraft Optifine version and click “PLAY”.
  8. Done. Now you have a version of Minecraft with Optifine. We hope the guide was useful to you, we tried to describe everything in as much detail as possible with screenshots so that you can understand it better. If you still have problems with the installation, leave your question below in the comments – either the administration or site visitors will definitely help you. But there should be no problems if you carefully read everything and do as it is written in the guide.

OptiFine Download

  • Credit for the creation of OptiFine goes to sp614x.
  • We do not modify or edit any resource packs. All resource packs, shaders and tools found on this website are linked directly to official sources rather than hosted on our own servers. We provide only the official download links from the original creators to ensure that your files are safe and secure.
  • These official links are updated manually and may occasionally stop working when a new version is released. We work hard to keep everything current so that you have a smooth experience. Please let us know in the comments if you find a link that no longer works.
  • Minecraft is a trademark of Mojang Studios and has no official connection to this website. Our goal is simply to share the best creations from the community with other players.
  • Please consider leaving a comment or voting for your favorite packs. This feedback helps authors improve their projects over time. You can also support the creators directly by visiting the official links located below the download section.
DOWNLOAD LINKS
By clicking on the link below, you will be redirected to the official Optifine website, where you will find all download links for versions from 1.7.x to the current version of Minecraft.

Java Edition:

Download OptiFine from Official Website

Download instructions:

Curseforge: download starts automatically after a few seconds;

Mediafire: click the big blue button with the text "DOWNLOAD";

Google Drive: in the top right corner you will see a small download icon (down arrow), click it and the download should start;

16,972 votes

Rate the OptiFine

Look.. 16972 users have already liked this. Give a diamond if you like it too!

Author: sp614x
Last updated: 3 February 2026
Category: Tools
Compatibility: Java

Leave a reply

447 comments

Comments regarding "incompatibility message" will no longer be approved as the "incompatibility message" can be easily ignored by simply clicking "Yes" when prompted, or read our article How to fix «made for older version» problem with most resource packs?
Links in comments are not allowed. Comments containing links will be removed.
Before commenting that the resource pack crashed your game, google your crash log. This is usually a graphic card driver issue.

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Lia

    I installed it as directed, but hit a brick wall the moment i load up minecraft. Everything was fine til that point. It stops before the game launches and says “Can not update Native Minecraft”. It stops right there, and the game doesnt launch. What could be the issue?

  2. everett

    this looks so nice

  3. ImportedK

    I downloaded optifine for 1.16.5 and i installed jave and jar fix, when i try to open with the java platform thingy, it shows and eeror.

  4. MimosaVendetta

    Is there a particular location the OptiFine installer is supposed to be? I’ve downloaded “preview OptiFine 1.17 HD U G9 pre24”. I tried having it in the download folder, the a folder on the same drive as my MC installation, and inside the Minecraft “Install” folder. I have selected “Open with” and navigated here: …\Curse\Minecraft\Install\runtime\java-runtime-alpha\windows-x64\java-runtime-alpha\bin Then I selected java.exe to open the file with.

    It took forever but I finally nabbed a screenshot of the error message that flickers for a millisecond: Error: Could not find or load main class …\Curse\Minecraft\Install\preview_OptiFine_1.17_ HD_U_G9_pre24.jar

    What am I doing wrong?

  5. Robert

    I agree with Joe, I’m able to use 7-zip on everything. I have java, restarted the computer, black box shows for 1 sec and then nothing. Ive seen multiple people with the same problem as me with no replies, please respond on how to continue from here.

  6. Patrick

    I have a problem too and it is the same like the most of them… if i try to open it with java platform SE binary then a black window pops up short and nothing happend afterwards no installer.. nothing and yes i checked my latest java version, i checked my minecraft version and i try it with older versions too but always the same happend and yes i restarted my pc everytime but always the same problem came up so do u have a fix for that or wahts wrong with it ?

  7. Patrick

    I installed Java the way it is supposed to, and everything is fine. Now, when I downloaded Optifine, I clicked “Open with” but Java Platform SE Binary or whatever, didn’t show up. There was an option to look for another program in the computer, but it didn’t show up there neither. Any help? (Note: I could actually install optifine with the installer, but the resource packs I had didn’t work as they should.)

    1. Admin

      What exactly do you mean “didn’t work as it should”. If optifine is installed correctly, you will see the new profiles in the Minecraft launcher in the version selection dropdown. Select the Optifine profile.

  8. zurple

    Jave Platform SE binary? it doesnt come up… was i supposed to do something before?

  9. gamer

    I try to instal optifine but it does not open and just comes up a a black box

    1. Admin

      Install java first.

  10. mastarules

    Hello i have v1.17 but the Previous Versions for this don’t show me the little arrow next to the play button. what could be wrong?

  11. joe

    DEVELOPERS PLEASE, commons sense – EASE of USE!!!, this needs to be a zip file like all other resource packs that we can place in the resource pack folder!, not some convoluted process to make it difficult to install.
    Hence this long thread of complaints and confusion from everyone!

    1. Admin

      Who EVER said it is a resource pack? It is a tool / mod needed for many resource packs. You cannot install a mod or a tool full of various features the way you install a resource pack. Resource packs are EASY TO USE simply because they are a collection of images, sounds, some text files and nothing else, while mods are standalone software that must later be integrated into Minecraft itself.

      1. dominick

        I have a unique problem (maybe you’ve gotten this before) but when I click open with Java(TM) Platform SE Binary it flashes a black box and quickly closes the black box window, when I click Java Platform SE Binary it displays this EXACT message,

        Unable to install Java There are errors in the following switches:

        “C:/User/Dominick/OneDrive/Documents/preview _O
        ptifine_1.17.1_HD_U_H1_pre1.jar”;.

        check the commands are valid and try again

  12. CS

    I have Minecraft on Lubuntu (Ubuntu light basically). The instructions for installing OptiFine do not work for my setup. Since Minecraft was installed via Snap the OptiFine installer thinks Minecraft isn’t even installed.

    1. Admin

      Our instructions are for Minecraft: java edition installed on Windows. Other operating systems are not that much suitable for gaming, and the “general” instructions may not work on your side depending on your configuration.

  13. Phoenix

    i checked the website, and there’s no complete version for 1.17. Should I just install the pre-release or would it be okay to install the 1.16.5 edition till there’s a 1.17 edition?

    1. Admin

      On the official page, you can see a drop-down list of preview versions in the “Minecraft 1.17” section. You can try them, they are compatible with version 1.17.

  14. HelpImDumb

    I still dont understand something
    I’ve tried downloading java like 5 times now, but I still cant open the file in java for no reason

    1. Admin

      After downloading, did you install Java and restart your computer?

  15. bogey

    I did everything it told me to do but I can’t open it, it says “Optifine_1.16.5_HD_U_G8.jar” cannot open because it is from an unidentified developer. can I have some help?

    1. ProjectX11

      i’m pretty sure you have to system preferences, security and privacy and you should see optifine wasn’t opened because it is from a unidentified developer. do you still want to open it?”

  16. Thorchu

    It took surprisingly long to download, but the outcome was fun + awesome!

  17. Elijah

    the optifine version doesnt pop up for me but everything successfully downloaded

  18. bull

    when i downloaded it it didnt work when ever i tried to put it in.

    1. Admin

      What you mean “to put it in”? Read the installation guide on this page..

  19. Tami

    Can this be downloaded for bedrock windows 10?

    1. Admin

      No, optifine is for Java only.

  20. Est0

    idk how install kuda shearders

    1. galaxy boy

      me too

  21. Amanda Rose

    wait am I supposed to download java? if so then how? and can I do it on Windows 10? (I apologize for the amount of questions)

    1. Ninjateddy

      Idk if you figured it out already, but you just look up the java thing they’re talking about, go to the official java website to download their latest software, and then you’re set to do exactly what this is saying.

    2. WAT

      I think Optifine is only for Java edition

  22. Sami

    I dunno How to run it there is no such option JAVA TM PLATFORM SE BINARY i already have java version of minecraft but i can’t find a way to install it…any idea ??????

    1. Admin

      First you need to download and install java itself.

  23. hwhhwh1

    Ok i have downloaded the optifine but in will only let run with winRAR or paint.net? How do you run it with java?

    1. Admin

      Download & install java first?

  24. Andi

    dude i already have optifine version in minecraft launcher

  25. pogchamp

    not pog i cant use it on mine craft