Why'd It Crash?

Minecraft crashed with exit code 1

Short answer: Exit code 1 doesn't tell you what went wrong. It only means the game quit with an error. The real cause is in your log file, so the fastest fix is to find that log and read the first real error in it.

What it means

The launcher shows an exit code whenever the game process ends. Code 1 is the generic "something failed" code, so the same message turns up for a wrong Java version, a broken mod, a missing dependency or a bad config file.

That's why guides that list ten random fixes are hit and miss. Look at the log first and you'll only need one of them.

How to fix it

  1. Open your game folder (or the instance folder in Prism, CurseForge or Modrinth) and look in crash-reports for the newest file. If there isn't one, use logs/latest.log.
  2. Paste it into the crash checker. It'll point at the actual error.
  3. If you just added or updated mods, take the newest ones out and launch again. That fixes a large share of exit code 1 crashes on modded installs.
  4. On vanilla, make sure the launcher is using the Java it ships with, and update your graphics driver.

Not sure this is your crash?

Paste your crash report or latest.log into the checker. It reads the log in your browser and tells you what broke, and how sure it is.

Check my crash log

Related crashes