Minecraft exit code 1: what it means and how to fix it
“Game crashed, exit code 1” and similar exit codes: what they mean, how to find the real cause in the log and fix it in a few minutes.
Updated:

The message exit code 1 means just one thing: the Java process ended with an error. The code itself doesn't say what broke — it's like an “out of order” sign on a door. The real cause is always written in the game log or the crash report, and the fastest way forward is to read it.
What exit codes mean
- 0 — the game closed normally, no error.
- 1 — a generic error: a mod, Java, a damaged file or wrong launch parameters. The most common code.
- -1 — the game crashed while starting, often because of Java or the mod loader.
- -805306369 — the game stopped responding and was force-closed; often low memory or endless loading.
- -1073741819 (0xC0000005) — a memory access violation; most often the graphics driver or an overlay is to blame.
Step 1. Read the report
When the game crashes, TCLauncher opens the report by itself: what happened and which mod is mentioned in the error. If the text is hard to follow, ask the AI assistant to explain it in plain words — it sees your instance and mods.
Without the launcher, look for two files in the game folder: logs/latest.log (the log of the last launch) and the newest file in crash-reports. Look at lines with Caused by and ERROR — the name of a mod or library there is usually the answer.
Step 2. The most common causes of code 1
- A mod for the wrong game version or loader. A Fabric mod won't run on Forge, and a 1.20.1 mod won't run on 1.21. In “Mods” → “Installed” such a mod is marked as incompatible.
- A missing dependency. Many mods need libraries such as Fabric API or Architectury. If you install mods from the launcher's catalogue, dependencies are added automatically. More in the article about mod dependencies.
- The wrong Java. New game versions need Java 21, old ones Java 8. The launcher picks it automatically, but if a custom Java is set in the instance settings, check it. See Java errors.
- Bad JVM arguments. “Magic” parameters copied from the internet often break the launch. Clear the “JVM arguments” field in the instance settings and try again.
- Two mods in conflict. Two mods change the same thing — for example, two rendering mods. How to find the culprit is explained in the article about mod conflicts.
Step 3. If there's no report
Sometimes the game closes so fast that no report appears. Then:
- Run the same game version without mods — a new vanilla instance takes a minute to create. If it works, the problem is in the mods.
- Update your graphics driver from the manufacturer's website — especially if the code looks like
-1073741819. - Turn off overlays (screen recorders, FPS counters, RGB lighting apps) — they hook into the game and can crash it.
- Check free disk space: without space the game can't even save a log.
Step 4. Finding the bad mod by halves
When there are many mods and the report says nothing, the fastest method is splitting in half. Turn off half of the mods with the “Disable” button (the file isn't deleted, it just gets .disabled), start the game. It crashed — the culprit is in the enabled half; it didn't — in the disabled one. Repeat 4–5 times and out of a hundred mods one will remain.
Before experimenting, make a copy of the instance or world — see backing up worlds.
Download TCLauncher — it reads crash reports by itself and tells you which mod is to blame.
FAQ
What does “Minecraft exited with code 1” mean?
That the game process ended with an error. The code is generic: the real cause is in latest.log or in a report from the crash-reports folder.
Exit code 1 without mods — what should I do?
Check Java for your game version, clear custom JVM arguments, update the graphics driver and turn off overlays. If that doesn't help, create a new clean instance.
Can I fix the error without deleting mods?
Yes. Turn off suspicious mods with the “Disable” button — the file stays and can be brought back with one click.