Why Does My Discord Keep Closing Itself? Fix Crash Loop
In this article
Discord keeps closing itself primarily because of corrupted local cache files, outdated software versions, or conflicts with background applications. The most immediate and effective fix is to clear the app's cache data, which forces Discord to rebuild its temporary files from scratch.
What You'll Need
- A computer running Windows 10/11 or macOS (steps vary slightly by OS)
- Administrator access on your device
- The official Discord application installed from discord.com
Step-by-Step
- Force Quit Discord Completely: Simply clicking the 'X' button often leaves the app running in the background. On Windows, press
Ctrl + Shift + Escto open Task Manager. Find "Discord" in the list, right-click it, and select "End Task." On macOS, pressCmd + Option + Esc, select Discord, and click "Force Quit." This ensures no background processes interfere with the next steps. - Clear the Discord Cache: This is the most critical step for fixing crash loops. Close Discord completely as described above. Open your file explorer (Windows) or Finder (macOS). Press
Win + R(Windows) or go toGo > Go to Folder(macOS). Type the following path exactly:%appdata%and press Enter. Locate the folder named "Discord." Right-click it and rename it to "Discord.old." This does not delete your account data; it simply moves the potentially corrupted cache files out of the way. When you restart Discord, it will automatically create a fresh, clean cache folder. - Update Discord Manually: If renaming the folder did not resolve the issue, your installation may be outdated. Download the latest version of Discord directly from the official website (discord.com/download). Run the installer. Even if you already have Discord installed, running the installer again will repair any missing or broken core files that cause unexpected closures.
- Disable Hardware Acceleration: Graphics card conflicts are a common cause of crashes. Once Discord opens, click the gear icon (User Settings) near your username. Scroll down to "Advanced" in the left sidebar. Toggle off "Enable Hardware Acceleration." Restart the application. This reduces the strain on your GPU during rendering and often stops the app from freezing or closing unexpectedly.
- Check for Conflicting Software: Some overlay apps, such as Steam Overlay, Xbox Game Bar, or third-party recording software, can conflict with Discord. Temporarily disable these overlays in their respective settings. Test Discord to see if the crashing persists. If it stops, re-enable one by one to identify the culprit.
Common Mistakes
Users often attempt to reinstall Discord without clearing the cache first. This is ineffective because the installer preserves the existing corrupted cache files. Another frequent error is assuming the problem is an internet connection issue when the app closes instantly upon launch; this is almost always a local file or permission error, not a network problem.
Tips
If you frequently experience crashes, consider using the Discord Web App (discord.com/app) as a temporary alternative while you troubleshoot. It runs in your browser and uses significantly less system resources than the desktop client. Additionally, ensure your graphics drivers are updated, as outdated drivers are a silent killer for many real-time communication apps.
Troubleshooting
If Discord still closes after clearing the cache and updating, try running the application as an administrator. Right-click the Discord shortcut and select "Run as Administrator." This grants the app necessary permissions to write to system folders. If this fails, perform a complete uninstall via your operating system's settings, then delete the remaining "Discord" and "Discord Canary" folders in the AppData directory manually before reinstalling. Note that this will remove all saved settings and login sessions, requiring you to log in again.
Frequently Asked Questions
Does clearing the cache delete my messages?
No. Clearing the cache only removes temporary files like images and scripts. Your chat history and server data are stored on Discord's servers and will remain intact.
Why does Discord close immediately after I click the icon?
This usually indicates a corrupted local configuration file or a conflict with a background process. Renaming the AppData folder as described in Step 2 is the standard solution.
Can I use Discord on a low-end PC?
Yes, but you should disable Hardware Acceleration and close other heavy applications. Using the web version may also provide better stability on older hardware.
Is it safe to rename the Discord folder in AppData?
Yes, it is safe. Discord treats the renamed folder as obsolete and creates a new one. Your account details are not stored in this specific folder.
What if Discord crashes only when I join a voice channel?
This is likely a driver issue. Update your audio drivers and ensure no other application is exclusively capturing your microphone input.