Minecraft Error Code -1
Minecraft closes and the launcher reports the game crashed with exit code -1. This is one of the most-searched Minecraft errors, and despite the scary number it is almost always a modded-client problem you can pin down by reading the log.
What does this error mean?
Exit code -1 simply means the Java process running Minecraft ended abnormally, it is a symptom, not the cause. The real reason is written in latest.log or the generated crash report: typically an incompatible mod, the wrong Java, a corrupt install, or running out of memory.
Process exited with code -1 (the game crashed)
Most Common Causes
- An incompatible or corrupted mod crashing at startup.
- The wrong Java version for the Minecraft/mod-loader version.
- Not enough RAM allocated to the client in the launcher.
- A conflict between mods (e.g. two rendering or core mods).
- A corrupted Minecraft installation or game files.
How To Diagnose
- Open latest.log (or the newest file in crash-reports/) and read the first error/stack trace.
- Note any mod name or class mentioned at the top of the trace.
- Check 'java -version' against what your version/loader needs.
- Look at the RAM allocated to the instance in the launcher.
Recommended Fixes
- Read the crash report
latest.log and crash-reports/ name the failing mod or class, that is your real cause to fix. - Use the correct Java
Match Java to your version (1.17+ Java 16+, 1.18-1.20.4 Java 17, 1.20.5/1.21+ Java 21). - Remove the conflicting mod
Pull the mod named in the log, or bisect mods in halves to find the crasher. - Allocate enough RAM
Raise the instance's allocated memory in the launcher if the log shows a memory error.
Frequently Asked Questions
Only that Minecraft crashed abnormally. The actual cause is in latest.log / the crash report, not in the number itself.
Most often on modded clients, yes. On vanilla it is usually Java version, RAM, or a corrupted install.
In the instance folder: latest.log under logs/, and the newest file under crash-reports/.