Discord Keeps Logging Me Out: 7 Fixes
In this article
If Discord keeps logging you out, the usual cause is a corrupted local cache, an outdated app, or a token/authorization hiccup. The quickest fix is to fully restart the app, then clear its cache. Below are the exact steps to stop the random logouts, from simplest to most thorough.
What You'll Need
- Access to your Discord login credentials (email/phone and password, or the QR code from the mobile app).
- If you use 2FA (two-factor authentication), have your authentication app or backup codes handy.
- Administrator rights on your computer (for clearing app data or reinstalling).
Step-by-Step
- Fully quit and restart Discord. On Windows, right-click the Discord icon in the system tray (bottom-right) and choose Quit Discord. On Mac, press Cmd+Q. On mobile, swipe Discord away from the recent apps list. Then reopen it. This clears temporary memory issues that can cause a logout.
- Check Discord’s server status. If Discord’s servers are having issues, you may be logged out unexpectedly. Visit status.discord.com in a browser. If there’s an outage, wait it out—no local fix will help.
- Clear Discord’s cache (desktop). Press Win+R (Windows) or Cmd+Shift+G (Mac) and type
%appdata%/discord(Windows) or~/Library/Application Support/discord(Mac). Delete the Cache, Code Cache, and GPUCache folders. This does not delete your account or messages. Then restart Discord. - Clear Discord’s cache (mobile). On Android, go to Settings > Apps > Discord > Storage > Clear Cache (not “Clear Data”). On iPhone/iPad, there’s no direct cache clear—uninstall and reinstall the app (see step 7).
- Update Discord. On desktop, Discord auto-updates, but you can force it by pressing Ctrl+R (Windows) or Cmd+R (Mac) while the app is open. On mobile, go to the App Store (iPhone) or Google Play Store (Android) and check for a Discord update. An outdated version can cause auth errors.
- Re-login after a full restart. After clearing cache or updating, log in again. If you use 2FA, have your code ready. This refreshes your token.
- Reinstall Discord (last resort). Uninstall Discord completely, then download the latest version from discord.com/download (desktop) or the official app store (mobile). This removes any corrupted installation files. Your account data is safe—it’s stored on Discord’s servers.
Common Mistakes
- Clicking “Log Out” instead of “Quit.” In the system tray, right-click and choose Quit Discord, not “Log Out.” Logging out just forces you to log back in.
- Clearing “Data” instead of “Cache” on Android. “Clear Data” wipes your local settings and may log you out, but it’s not the same as clearing cache—it can cause more issues. Stick to “Clear Cache.”
- Ignoring server status. If Discord is down, you’ll be logged out repeatedly. Check status.discord.com first to avoid wasted effort.
- Using a VPN or proxy. Some VPNs trigger Discord’s security checks, causing logouts. Try disabling your VPN temporarily to see if that stops it.
Tips
- Enable 2FA. If you haven’t, turn on two-factor authentication in Discord’s settings. It prevents unauthorized logouts (and logins).
- Keep your app updated. Set Discord to auto-update on desktop (it does by default) and enable auto-update on your phone’s app store.
- Use a stable internet connection. Frequent disconnects can cause Discord to lose its session. Connect to a reliable Wi-Fi or wired network.
- Don’t share your token. If someone gets your Discord token, they can log you out. Never paste it into a website or give it to anyone.
Troubleshooting
If the steps above don’t stop the logouts:
- Check for malware. Run a full antivirus scan. Malware can interfere with Discord’s files and cause logouts.
- Try Discord in a browser. Use the web version at discord.com/app. If it works fine there, the issue is with your desktop app, not your account.
- Check your system clock. If your computer’s time is off by more than a few minutes, Discord’s security may log you out. Set your clock to automatic time sync.
- Disable hardware acceleration. In Discord, go to Settings > Advanced and turn off Hardware Acceleration. Then restart Discord. This fixes some rendering-related crashes that can lead to logouts.
- Create a new Discord account (temporary test). If the issue persists on a new account, it’s a device problem. If it stops, your original account might be compromised—change your password and enable 2FA immediately.
Frequently Asked Questions
Why does Discord log me out every time I close the app?
This usually means Discord isn’t saving your login token. Clearing the cache and re-logging in often fixes it. If not, reinstall the app.
Can a VPN cause Discord to log me out?
Yes. Some VPNs change your IP address frequently, which can trigger Discord’s security checks. Try disabling your VPN or using a static IP.
Does clearing Discord cache delete my messages or servers?
No. Clearing the cache only removes temporary files like images and sounds. Your messages, servers, and account settings are stored on Discord’s servers.
Why does Discord log me out on mobile but not on desktop?
This often happens due to a corrupted mobile app installation or an outdated version. Try updating or reinstalling the mobile app.
Can someone else log me out of Discord?
Yes, if they have your password or token. If you suspect this, change your password immediately and enable 2FA. You can also go to Settings > Authorized Apps to revoke access.
Is there a way to prevent Discord from logging me out permanently?
There’s no permanent guarantee, but keeping the app updated, clearing cache regularly, and using a stable internet connection minimizes the chances.