Minecraft Exit Code -1: How to Fix It

Medium 20-60 minutes Medium Severity Verified June 2026
Error Code
Exit code -1
Brand
Minecraft
Product Type
game
Severity
Medium
DIY Difficulty
Medium
Estimated Fix Time
20-60 minutes
Minecraft Exit Code -1 means the Java Virtual Machine (JVM) crashed unexpectedly while the game was running or trying to launch. This is typically caused by insufficient RAM allocation, an outdated or corrupted Java installation, incompatible mods, or outdated graphics drivers. The good news is that this error is almost always fixable at home without any professional help.
Ad

Tools You'll Need

How to Fix Error Code Exit code -1

  1. Restart Minecraft and Your Computer

  2. Update the Minecraft Launcher

  3. Reinstall or Update Java

    Only download Java from official sources such as adoptium.net or java.com to avoid malware.
  4. Increase RAM Allocation for Minecraft

    Allocating too much RAM (over 75% of total system memory) can cause your entire system to slow down or crash. Check your total RAM in System Settings before adjusting.
  5. Remove or Update Incompatible Mods

    Back up your entire .minecraft folder before making changes so you do not lose your worlds or settings.
  6. Update Your Graphics Card Drivers

  7. Lower In-Game Graphics Settings

  8. Check the Crash Report for Specific Clues

  9. Reinstall Minecraft Completely

    Back up your worlds from the .minecraft/saves folder before uninstalling. A clean reinstall will remove all local game files.
Ad

When to Call a Professional

If Minecraft continues to crash with Exit Code -1 after trying all steps above, the issue may be related to failing hardware — particularly faulty RAM sticks or an overheating GPU. Run a memory diagnostic tool (Windows Memory Diagnostic or MemTest86) to check for bad RAM. If hardware faults are confirmed, consult a computer repair technician. Additionally, if you are on a managed school or work computer where you cannot install or update software, contact your IT administrator for assistance.

Frequently Asked Questions

What does Minecraft Exit Code -1 mean?
Exit Code -1 means the Java Virtual Machine (JVM) that runs Minecraft crashed unexpectedly. It is not a specific single cause — it is a general crash signal that can stem from low RAM, outdated Java, incompatible mods, bad graphics drivers, or corrupted game files.
How do I fix Minecraft Exit Code -1 with mods?
Remove all mods from your .minecraft/mods folder and launch vanilla Minecraft. If it works, add mods back one at a time and relaunch after each addition. The mod that causes the crash when added back is the incompatible one. Check that mod's page for an updated version compatible with your Minecraft version.
How much RAM should I allocate to fix Exit Code -1?
For vanilla Minecraft, 2-4 GB is usually sufficient. For heavily modded packs, 6-8 GB is recommended. Never allocate more than 70-75% of your total system RAM. You can change the allocation in the Minecraft Launcher under Installations > Edit > More Options > JVM Arguments by adjusting the -Xmx value.
Does Exit Code -1 mean I lost my Minecraft world?
No, Exit Code -1 is a launcher/JVM crash and does not delete your saved worlds. Your worlds are stored in the .minecraft/saves folder and should be completely intact. However, any unsaved progress from the session that crashed may be lost.
Why does Minecraft keep crashing with Exit Code -1 on a new PC?
On a new PC, the most common causes are missing or incompatible Java installation, outdated graphics drivers that came pre-installed, or Windows not yet fully updated. Make sure you have installed Java 17 or later, updated your GPU drivers from the manufacturer's website, and run Windows Update fully before trying again.