Minecraft closes and the launcher shows "Game crashed. Exit Code 1". The frustrating part is that this is not one specific error. Exit code 1 is a generic "it crashed" code, so the fix is not a single step, it is narrowing down which of a few usual causes is yours. Here is how to do that instead of guessing.
First, read the log, it names the real error
Exit code 1 is the headline; the real cause is in the log. Open .minecraft\logs\latest.log (type %appdata%\.minecraft\logs in the address bar) and look for the lines that say ERROR or Exception, usually near the bottom. That line points at the actual culprit: a mod name, a missing library, a Java error. Everything below is faster once you know which it is.
The three usual causes
- Mods that do not match. This is the most common by far. A mod built for a different Minecraft version, or two mods that conflict, throws exit code 1. Remove your mods, confirm the game launches clean, then add them back a few at a time until it breaks, so you find the bad one.
- Java out of date or corrupted. Minecraft Java runs on Java, and a broken or wrong-version Java install crashes it. Update or reinstall Java, and make sure the launcher is using the right one.
- Old graphics driver. Update it from the GPU maker's tool (NVIDIA, AMD or Intel), because the driver draws the game and an outdated one can crash it at launch.
The odd one: a username with special characters
Here is a cause almost no guide mentions. If your Windows username has accents or special characters, the launcher's path to the game folder can break, and it crashes with exit code 1. The workaround is to point the launcher's game directory to a simple path with no special characters, in the launcher's installation settings.
Exclusive tips
Want more guides like this?
Leave your email and we'll let you know when a new optimization guide drops. No spam, unsubscribe anytime.
Only optimization guides worth your time. Unsubscribe anytime.
Two paths to a faster PC
Forget endless tutorials. Find out in 1 minute what your setup needs, or let our technicians do everything for you, live.
Find my ideal package
Answer a few questions and UPGUIDE estimates your FPS gain in your main game.
Run free analysisDone by techniciansLet UPBOOST handle it
Full remote optimization, live on Discord, in a 1 to 3 hour session. 15-day guarantee.
View packages & pricingPCs optimized in Brazil and abroad
Still comparing? See UPBOOST vs. DIY vs. free boosters
If instead the launcher gives a specific graphics message like an OpenGL error, that is a different guide: Minecraft OpenGL error. And if the crash is in the middle of play rather than at launch, see Minecraft closing by itself.
Where UPBOOST comes in
Exit code 1 is usually a mod, Java or driver fix you can do yourself with the log and the steps above. Where UPBOOST helps is after it launches: when Minecraft opens but stutters or drops FPS, we tune the PC live, with a technician, in a session of 1 to 3 hours, with a 15-day guarantee.
Frequently asked questions
It is a generic crash code, not one specific error, so it just means the game closed unexpectedly. The real cause is in the log file, usually a mismatched mod, an out-of-date or corrupted Java, or an old graphics driver. Read .minecraft\logs\latest.log for the ERROR line to find which.