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.
- Download Java from the official website here.
- 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.
- 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.
- 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).

- 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.

- Now, once you are on the download page, click “Download” again.

- 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”.

- A small installer window will appear, just click “Install”. After a while, the message “OptiFine is successfully installed.” will pop-up.

- 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”.

- 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
- 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.
Java Edition:
Download OptiFine from Official Website
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;



Jack
I click “Open With”, then i click java and it said unable to install java, im confuzzled
Nika
I’ve installed java, when I try to run the optifine 1.20.4 a windows command prompt window, opens and closes immediately. I have windows 11 could that be part of the issue?
Jasper
Same problem here, just removed iris and java and tried optifine and still no result.
j
If anyone can help i download it but its step 5 I do not have the Java(TM) option when I right click to open Optifine?
max
same
fwa
same
Bry
same
hunter
i did everything and i was able to launch the game but my question is. is there a key u press to activate xray/ cuz nothing changed for me
Admin
Nope, it’s just a resource pack, not a mod. It can only be activated or deactivated in the same way as any other resource pack. If this is your first time installing a resource pack, be sure to read our installation instructions on this page.
kubi
i have demo minecraft so i can do it !!!!!!! bad
NaiNai
Just get tlauncher
Liv
I can’t play on realms with the newest optifine?..
em
You can as long as the owner of the realm installed optifine when they made the server
Jinx
Optifine only goes up to 1.20.1 and I have 1.20.4. Will it not work? Is there a way to get it to work?
Simon
when i try to open the jar file it shows a cmd window and it close inmediately, what can i do there
Max
I have the same problem. please help us :)
Rex
Hey Max, I just restarted my computer and it worked for me.
eve
when will optifine 1.20.2 will be released??
Pix
Hi I’m trying to install Optifine, but when I try to open with Java, I get the error message, “Unable to install Java (next line) There are errors in the following switches: (next line) “C:\Users\(my folder)\Downloads\OptiFine_1.20.1_HD_U_I5(1).jar”;. (next line) Check that the commands are valid and try again.” I’m no computer guy so I have no idea what this message means ToT If anyone has any idea how to help I’m all ears!!!
Lunar9038
I had the same problem, you need to first download a java application convertor to get it to install. just go to the top of the page and right below the first picture there is a link that says get java here. so just download that first and then follow these instructions.
TheCarSuspect
Which version of Java do I download for windows? does it matter what I choose?
Luigi1169
I’ve installed optifine but its not showing up in the launcher im in 1.20.1 and have the 1.20.1 pack
Nick
Hey im in the middle of installing optifine and when it says to ‘open with’ the Java platform SE binary but i do not have it. Do i need to download something else too?
Nick
Nevermind i got it to work. But i cant install it for some reason due to a command being invalid??
Raeyul
I try to install, but it says minecraft 1.20.1 isn’t found. is it because I have 1.20.2?
Admin
Yes, Optifine and Minecraft versions must match.
mismatch05
hi, will this work with Tlauncher?
sspyder0
i really need help because i have downloaded minecraft on the microsoft store with the pc game pass, will it still work? im trying to click install but it keeps saying “Cannot find minecraft (version)” how can i fix that?
Admin
The Microsoft Store version is probably the bedrock edition, which optifine does not support.
Tim
I think you mixed it up I have it from microsoft store it’s a 2 in 1
Admin
There is Bedrock Edition and Java Edition, if you want optifine to work, you need Java Edition.
Ratava75
Do we have an ETA for when the Optifine version that works with 1.20.2 is going to be released?
D-Dawg
Is there an ETA when Optifine will be updated for the 1.20.2 version? We use the MC Realms to play and the current download is incompatible with Realms.
Star80
Hello. the installer tells me it can’t find minecraft (version) and it won’t work at all.
Admin
First you need to install the version of Minecraft.
joi
when i hit install it tells me it cant find minecraft (version number) even though im trying to use an older version because 1.20.2 isnt out yet
Ollie78142
THANK YOU YOU’RE THE BEST :)
notgonnatellumyname
thank you SOOOO much i cant thank u enough i spent like a hour scorunging the internet and this was the only thing that worked
all the other totorials were from some stupid fat discord mod
johnil06
-I can donwload optifine, but I cant open it in the Java (TM), Its not an option for me to download in. How do I fix it?
Admin
If you installed java correctly, try restarting your computer. Sometimes it helps to make new menu items appear. Also, if you’re using Windows 11, try clicking “Show more options” (step 5 image, last dropdown menu item) first and then “open with” from the drop-down menu.
puppitree
I installed Java, but when I click “Open with…” it doesn’t show up.
Spin4team4096
same, i have no idea what to do to fixm it :( :( :(
Sainto7
I drag the resource pack into the folder but it wont show up in the settings no matter how many times i restart or download again – is there any way i can fix this ? i made sure both optifine and the blood resource pack were on 1.19