How to install NeoForge for Minecraft 1.21.1
How to install NeoForge for Minecraft 1.21.1 with a launcher or the official installer, plus the Java version you need and where to download it safely.
· 6 min readThe short answer
The easiest way to install NeoForge is through a launcher. In the CurseForge app, Modrinth App or Prism Launcher, create a new profile or instance and pick NeoForge as the loader. To do it by hand, download the installer from neoforged.net, run it, choose Install client and click Proceed. Minecraft 1.21.1 needs Java 21.
NeoForge is a mod loader: the small program that lets Minecraft: Java Edition run mods. You need it for any mod made for NeoForge, and you may not have to install it yourself at all. Here's the easy way with a launcher, then the official installer.
Do you need to install it at all?
Playing a modpack? You can skip this. The launcher installs the right loader with the pack. See how to install a modpack.
Adding your own mods? Keep reading. Not sure NeoForge is the right loader? NeoForge vs Forge will help you choose.
Which version to pick
NeoForge version numbers follow the Minecraft version. For Minecraft 1.21.1, every NeoForge version starts with 21.1. At the time of writing, the newest is 21.1.265. Pick the newest one on offer unless a mod asks for something else.
Which Java version you need
Minecraft 1.21.1 needs Java 21, the 64-bit version. Java is the software Minecraft runs on.
- Using a launcher? You can usually ignore this. The CurseForge app installs Java for the game by itself, and Modrinth App and Prism Launcher can set it up for you too.
- Using the installer? The installer is itself a Java program, so your computer needs Java installed to open it. This is true even if you already have Minecraft.
To check, open Command Prompt on Windows or Terminal on a Mac, then type java -version and press Enter. If you get an error, or the version doesn't start with 21, install a Java 21 JDK from Adoptium, which is the source NeoForged's guide uses.
Install NeoForge with a launcher
This is the route to take unless you have a reason not to.
CurseForge app
- Open the app and pick Minecraft.
- Click Create.
- Name your profile, choose Minecraft 1.21.1, and choose NeoForge as the mod loader.
The new profile appears under My Modpacks.
Modrinth App
- Click the + button (Create new instance) and choose Custom setup.
- Name the instance. Choose NeoForge as the loader and 1.21.1 as the game version.
- Click Create instance.
Already have an instance? Open its settings and use the Installation tab to change the loader or game version.
Prism Launcher
- Click Add Instance and stay on the Custom page.
- Select 1.21.1 from the list.
- Under Mod Loader, choose NeoForge, pick a version, and click OK.
Already have an instance? Select it, click Edit, open the Version tab and use Install Loader.
Install NeoForge with the official installer
Use this if you want to play through the normal Minecraft Launcher.
- Open the Minecraft Launcher once, then close it. If you've never run it, the installer stops with a message telling you to run it first.
- Go to neoforged.net. Set Minecraft Version to 1.21.1 and NeoForge Version to the newest one.
- Click the download link. It says Click Here to Download Installer. You'll get a file named like
neoforge-21.1.265-installer.jar. - Run the file by double-clicking it. If that doesn't work, see the fixes below.
- Choose Install client and click Proceed. Leave the folder as it is unless you know you moved Minecraft.
- Open the Minecraft Launcher. You'll now have a NeoForge option. Select it and press Play.
The first start takes longer than usual. On the main menu, a Mods button shows that NeoForge is running.
Keep your modded game separate
NeoForged recommends a separate installation, so mods stay away from your normal game:
- In the Minecraft Launcher, open the Installations tab and click New Installation.
- Give it a name and choose the NeoForge version.
- Set the game directory to a new folder outside
.minecraft, then save it. - Start that installation once. This creates its
modsfolder.
Next, here's how to install mods, including where the files go.
Setting up a server instead? The same installer has an Install server option. See how to make a modded Minecraft server.
If the installer won't run
- Nothing happens when you double-click it, or it opens as a zip. Java probably isn't installed, or your computer doesn't know to open
.jarfiles with it. Install Java 21 as above. If it still won't open, open Command Prompt or Terminal in the folder with the file and runjava -jar neoforge-21.1.265-installer.jar, using your file's real name. - It says the directory is missing a launcher profile. Open the Minecraft Launcher once, close it, and run the installer again.
- It still fails. The installer writes a log file next to itself, with the same name plus
.log. That's the file to share when you ask for help.
Want the setup done for you?
Installing the loader is the short part. The long part is finding mods that work together. Packspire builds NeoForge packs for Minecraft 1.21.1 from the mods you pick on Modrinth or CurseForge, checks each one for the right loader and version, and starts the pack on a real server and a real game client.
Plan your pack with Packspire.
Frequently asked questions
Is NeoForge safe?
Yes, if you get it from the official place. NeoForge is a real, widely used mod loader, made by the team that left Forge in 2023. Its code is public on GitHub, under an open-source licence, so anyone can read it. We found no report of malware in an official NeoForge release.
The only safe downloads are neoforged.net, which links to the installer on the project's own server at maven.neoforged.net, or a launcher that installs it for you. Sites with similar names aren't the project, so don't trust an installer from a search ad, a download portal or a video description. Mods are a separate risk, because each one is its own code from its own author, so read is CurseForge safe? too.
Can Forge run NeoForge mods?
No. On Minecraft 1.21.1 a NeoForge mod won't load on Forge, and a Forge mod won't load on NeoForge. Here's the full explanation.
What Java version does NeoForge need?
For Minecraft 1.21.1, Java 21. NeoForged's guide says Java 21 for Minecraft 1.20.5 and newer, and Java 17 for 1.20.2 to 1.20.4. Use the 64-bit version.
Do I need to install NeoForge for a modpack?
No. When you install a NeoForge modpack through a launcher, the launcher installs NeoForge for you.
Which NeoForge version is for Minecraft 1.21.1?
Any version starting with 21.1, such as 21.1.265. Use the newest one unless a mod or pack needs a particular version.
Sources
- NeoForged, the official download page, and its source code, for how version numbers map to Minecraft and where installers are hosted
- Getting started, Installing a NeoForge client, Launchers, and FAQ, NeoForged docs
- NeoForge on GitHub, with its licence
- NeoForge installer source code, for the installer's buttons and error messages
- What is happening?, the NeoForged project's announcement, July 2023
- Minecraft 1.21.1 version data, Mojang, which lists Java 21
- Adoptium Temurin 21 downloads
- Creating a custom profile and Minecraft: getting started, CurseForge support
- Installing or updating mod loaders and game versions, Modrinth support, and the Modrinth App source code
- Creating an instance, Prism Launcher wiki, and Prism's source code
