Guide hub
Fixing Minecraft Mod Crashes
Symptom-first troubleshooting · 8 sections
Minecraft mod crashes look random and almost never are. Five causes account for the overwhelming majority of them, and the crash log tells you which one you have if you know which thirty lines to read.
This section is organised by what you see on screen rather than by what is wrong underneath, because when the game has just closed itself you do not yet know what is wrong. Find your symptom, follow it back to the cause.
Read the first error, not the last
The single most useful habit in modded troubleshooting is opening the log and reading downward from the top rather than scrolling to the bottom.
Modded crashes cascade. One mod fails to initialise, which breaks the registry, which breaks nine other mods that depended on it. The bottom of the log is full of the wreckage; the top contains the thing that actually went wrong.
Two files matter. The crash report lives in the crash-reports folder inside your Minecraft directory and is generated when the game dies with a specific fault. latest.log lives in the logs folder and records everything from the session, including cases where the game closed without producing a crash report at all.
Cause 1 — version or loader mismatch
By a wide margin the most common. The mod was built for a different Minecraft version, or for a different loader, than the profile you launched.
Fabric reports this clearly, listing the mod and what it required. Forge and NeoForge are blunter, often just refusing to start with a message about an incompatible mod set. Either way the fix is the same: open the mod's page, check which versions and loader it supports, and either replace the file or change your profile to match.
This is worth over-checking because it is invisible until launch. A mod file named for 1.20.1 sitting in a 1.21.4 profile looks completely normal in the folder.
What a Fabric mismatch looks like
Incompatible mods found!
- Mod 'Example Mod' (examplemod) 1.2.0 requires
version 1.20.1 of minecraft, but only 1.21.4 is present
Read it as: this file is for 1.20.1. You are running 1.21.4.Cause 2 — a missing dependency
Many mods rely on shared libraries. Fabric API is required by most Fabric mods. Cloth Config provides settings screens. Architectury lets a mod ship for several loaders from one codebase.
When one is missing, the log names it directly, which makes this the easiest failure to fix — download the named library, matching your Minecraft version and loader, and put it in the mods folder alongside everything else.
The wrinkle is that dependencies have dependencies. Installing Cloth Config may reveal that it wants Fabric API too. Work down the chain; it terminates quickly.
| Cause | Signature in the log |
|---|---|
| Version or loader mismatch | Incompatible mod set, or a named mod requiring another version |
| Missing dependency | Names the library it wanted |
| Out of memory | java.lang.OutOfMemoryError, usually on world load |
| Mod conflict | Names an innocent bystander; needs a bisect |
| Wrong Java | UnsupportedClassVersionError with a class file version |
Cause 3 — running out of memory
This one announces itself as java.lang.OutOfMemoryError and behaves differently from the others: the game usually starts fine and dies later, when you load a world or fly into new terrain.
The default 2GB allocation is comfortable for perhaps forty small mods. A hundred-mod pack wants 4GB to 6GB. Raise it in the launcher's installation settings by editing the JVM arguments, changing -Xmx2G to -Xmx6G.
Do not give it everything. Allocating more than about two-thirds of your physical RAM starves the operating system, and Java's garbage collector behaves worse with an enormous heap, not better. On a 16GB machine, 6GB to 8GB is the sensible ceiling.
Cause 4 — two mods that cannot coexist
Genuine incompatibilities are rarer than people assume but they do happen, typically when two mods rewrite the same system — two lighting engines, two world generators, two mods that both replace the inventory screen.
These are the hardest to diagnose because the log often names an innocent bystander. The reliable technique is a bisect: remove half your mods, launch, and see whether the crash persists. Keep halving the guilty half. Twelve launches identifies the culprit out of a thousand mods, and it beats reading the log for an hour.
Before starting, check the mod pages. Known incompatibilities are usually documented, and someone else has almost certainly hit it first.
- Move half your mods out of the folder to a temporary directory.
- Launch. If it crashes, the culprit is in the half that remains; if not, it is in the half you removed.
- Halve the guilty group again and repeat.
- Continue until one mod is left. That is your conflict.
- Check that mod's page for a known-issues section before assuming it is broken.
Cause 5 — the wrong Java runtime
Minecraft versions require specific Java versions: 21 for 1.20.5 and newer, 17 for 1.18 through 1.20.4, 8 for the 1.16 and 1.12.2 era.
The official launcher bundles the right one, so this rarely bites there. It bites with third-party launchers, or when a system-wide Java installation takes precedence.
The signature is an UnsupportedClassVersionError naming a class file version. 65.0 means the code was built for Java 21. 61.0 is Java 17. 52.0 is Java 8. Match the runtime to the number and the crash stops.
When the game closes with no crash report at all
Sometimes the window simply disappears. No crash report is written because the JVM died before it could write one.
Check latest.log rather than crash-reports — it will usually contain the last thing that happened. Common causes are a graphics driver fault, an out-of-memory kill by the operating system, or an antivirus product terminating Java.
If the log ends mid-sentence with no error, suspect memory or the OS. If it ends with a driver message, update your graphics drivers before anything else.
Getting help without wasting anyone's time
If you need to ask someone, post the log rather than describing it. Upload latest.log to a paste site — mclo.gs is built for exactly this and highlights the relevant lines automatically — and share the link.
Say which Minecraft version, which loader, and roughly how many mods. Those three facts eliminate most of the guesswork.
Screenshots of the crash screen are the least useful thing you can provide, because the actual cause is almost never on it.
Crashes that only happen in one place
A crash that fires reliably at one location, or when one specific thing is on screen, is a different animal from a startup crash and is diagnosed differently.
These are almost always a corrupted chunk or a broken block entity — a machine from a tech mod that ended up in an invalid state, usually after a mod update changed how it stores data.
The log will name a class from the responsible mod. Search that mod's issue tracker for the error before doing anything drastic; this category of bug is well known to authors and often already fixed in a newer build.
If it is not, tools like MCA Selector let you delete the offending chunk from the world file. You lose whatever was in it and the game regenerates the area on next visit. Back up before touching anything, because chunk editing is unforgiving.
Preventing crashes rather than fixing them
Most of the pain in modded Minecraft is avoidable with three habits that cost almost nothing.
Add mods in small batches. Five at a time means a crash points at five suspects instead of eighty, and the bisect you would otherwise run never becomes necessary.
Back up the world before every mod-list change. Not on a schedule — before changes, because that is when worlds break. A copied folder is enough.
Pin your Minecraft version in the launcher so an automatic update cannot move your profile underneath your mods. This single setting prevents the most common overnight breakage there is.
None of these are exciting, and together they eliminate the large majority of the situations that send people looking for a troubleshooting guide in the first place.
- Add mods five at a time, launching between batches.
- Copy the world folder before any mod-list change.
- Pin the Minecraft version so the launcher cannot move it.
- Keep a note of which mod versions worked.
- Read the first error in the log, not the last.
Every guide in this section
- How to Read a Minecraft Crash Report
How to read a Minecraft crash report: which four lines matter, how to spot the guilty mod, and why the bottom of the file is almost always a distraction.
- Minecraft Exit Code 1: What It Means and How to Fix It
Minecraft exit code 1 is not an error message, it is the absence of one. Here is how to find the real cause in the log and fix each of the five things that produce it.
- Minecraft Out of Memory Error: Allocate RAM Properly
Minecraft out of memory error explained: how much RAM to allocate for your mod count, where to change it in each launcher, and why more is not always better.
Questions people actually ask
- Where are Minecraft crash reports saved?
- In the crash-reports folder inside your Minecraft directory — %appdata%\.minecraft on Windows, ~/Library/Application Support/minecraft on macOS. Third-party launchers keep them inside each instance folder instead.
- What does exit code 1 mean?
- It is a generic 'the game stopped unexpectedly' signal, not a specific fault. It carries no diagnostic information on its own — the actual cause is in latest.log, and it is usually a version mismatch or a missing dependency.
- Why does my game crash only when loading a world?
- Almost always memory. Startup is comparatively cheap; world loading allocates a great deal at once. Raise the -Xmx value in your launcher's JVM arguments.
- How do I find which mod is crashing?
- Read the first error in latest.log, which usually names the mod. If it does not, bisect: remove half the mods, launch, and keep halving whichever group still crashes. Around twelve launches isolates one mod from a thousand.
- Is it safe to just delete the mod that is crashing?
- Usually, but if it added blocks or items to a world you have already built, removing it leaves gaps and the world may refuse to load cleanly. Back the world up first.
- What is UnsupportedClassVersionError?
- Your Java runtime is older than the mod requires. The class file version in the message maps to a Java version: 65.0 is Java 21, 61.0 is Java 17, 52.0 is Java 8.
- The game closes with no error at all. What now?
- Read latest.log rather than crash-reports — the JVM died before writing a report. Suspect graphics drivers, an antivirus killing Java, or the operating system reclaiming memory.
- Does reinstalling Minecraft fix mod crashes?
- Rarely, and it destroys your configuration in the process. Mod crashes come from the mods, not the game files. Fix the mod list instead.
- Why did my mods work yesterday and not today?
- Something changed — the launcher auto-updated Minecraft to a version your mods do not support, or a mod updated itself. Check the profile's version first; auto-update is the usual culprit.
- Can too many mods cause crashes on its own?
- Indirectly. Mod count itself is not the limit, but each mod adds memory pressure and increases the chance of two of them conflicting. If you crossed a hundred mods recently, raise your memory allocation before assuming a specific mod is broken.
- What is mclo.gs and should I use it?
- A paste site built specifically for Minecraft logs. It highlights the important lines and strips personal paths, which makes it the polite way to ask for help in a Discord or forum thread.
- Does allocating more RAM always help?
- No. Past roughly two-thirds of your physical memory it starts to hurt, because the operating system needs headroom and Java's garbage collector performs worse on very large heaps.
Sources & further reading
Read next
- Minecraft Exit Code 1: What It Means and How to Fix It
Minecraft exit code 1 is not an error message, it is the absence of one. Here is how to find the real cause in the log and fix each of the five things that produce it.
- Minecraft Out of Memory Error: Allocate RAM Properly
Minecraft out of memory error explained: how much RAM to allocate for your mod count, where to change it in each launcher, and why more is not always better.
- How to Read a Minecraft Crash Report
How to read a Minecraft crash report: which four lines matter, how to spot the guilty mod, and why the bottom of the file is almost always a distraction.
- Which Minecraft Java Version Do Mods Need?
The Minecraft Java version for mods depends on your Minecraft version: Java 21, 17 or 8. How to check what you have, and how to fix a version mismatch.
Back to the full How to Mod Minecraft guide for the whole install walkthrough from the beginning.

Sukie · Editor
Sukie runs How to Mod Minecraft. She writes and edits every guide on the site, works through each install path herself before publishing, and rewrites anything that turns out to be wrong. The focus here is narrow on purpose: getting mods, loaders and modded servers working without wading through forum threads.
About this site · How guides are checked · Last updated September 4, 2026
NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.