How to Resolve Discord ‘Invalid Authentication’ on Login
🔍 WiseChecker

How to Resolve Discord ‘Invalid Authentication’ on Login

When you attempt to log into Discord and see the error message “Invalid Authentication,” the login process stops immediately. This error usually means Discord cannot verify your credentials due to a corrupted local token, a time sync issue on your device, or a conflict with your network connection. The message appears on the login screen or after entering your email and password. This article explains why the error occurs and provides step-by-step methods to fix it so you can regain access to your account.

Key Takeaways: Fixing Discord Invalid Authentication Error

  • User Settings > Log Out and Log Back In: Refreshes the authentication token stored locally on your device.
  • Windows Time Sync (Settings > Time & Language > Sync Now): An incorrect system clock causes Discord to reject your login token.
  • Clear Discord Cache (%appdata%\discord\Cache): Removes corrupted cached data that may interfere with authentication.

Why Discord Shows “Invalid Authentication” on Login

Discord uses an authentication token to keep you logged in after you first enter your credentials. This token is stored locally on your computer in a file called Local State inside the Discord app data folder. When you log in, Discord sends this token to its servers to verify your identity. If the token becomes corrupted, outdated, or mismatched with the server’s records, Discord responds with “Invalid Authentication.”

Several specific triggers cause this token mismatch:

Corrupted Local State File

The Local State file can become damaged after a crash, improper shutdown, or a failed update. When this happens, Discord cannot read the token correctly and rejects the login attempt.

System Time Out of Sync

Authentication tokens have a timestamp. If your computer’s clock is more than a few minutes off from the real time, Discord’s servers see the token as expired or invalid. This is the most common cause on Windows 10 and Windows 11.

Network Proxy or VPN Interference

Some VPNs, proxy servers, or corporate firewalls modify the authentication request headers. Discord’s servers then see a mismatch and return the error.

Steps to Fix the Invalid Authentication Error

Follow these methods in order. Test Discord after each step before moving to the next.

Method 1: Log Out and Log Back In

  1. Open Discord and click the gear icon
    In the bottom-left corner of the Discord window, click the gear icon to open User Settings.
  2. Scroll to the bottom of User Settings
    On the left sidebar, scroll down until you see the Log Out button. Click it.
  3. Close Discord completely
    Right-click the Discord icon in the system tray and select Quit Discord. Wait 10 seconds.
  4. Reopen Discord and log in
    Launch Discord again. Enter your email and password manually. Do not use the QR code login. Click Log In.

If the error persists, move to Method 2.

Method 2: Sync Your System Clock

  1. Open Date & Time settings
    Press Windows + I to open Settings. Go to Time & Language > Date & Time.
  2. Enable automatic time and time zone
    Turn on both Set time automatically and Set time zone automatically. If they are already on, toggle them off, wait 5 seconds, then toggle back on.
  3. Click Sync Now
    Under Additional settings, click the Sync Now button. Wait for the confirmation that the time was synced.
  4. Restart Discord
    Close Discord fully from the system tray, then reopen it and try logging in again.

Method 3: Clear Discord Cache

  1. Close Discord completely
    Right-click the Discord icon in the system tray and select Quit Discord.
  2. Open the Run dialog
    Press Windows + R, type %appdata%, and press Enter.
  3. Navigate to the Discord folder
    In File Explorer, open the discord folder.
  4. Delete the Cache folder
    Find the Cache folder, right-click it, and select Delete. Also delete the Code Cache and GPUCache folders if they exist.
  5. Restart Discord
    Launch Discord. It will recreate the cache folders automatically. Try logging in again.

Method 4: Delete the Local State File

  1. Close Discord completely
    As in previous methods, ensure Discord is not running in the system tray.
  2. Open the Discord app data folder
    Press Windows + R, type %appdata%\discord, and press Enter.
  3. Locate and delete Local State
    Find the file named Local State (no extension). Right-click it and select Delete. Note: This will sign you out of all Discord sessions on this computer.
  4. Restart Discord and log in
    Open Discord. You will see the login screen. Enter your email and password to create a fresh authentication token.

Method 5: Disable VPN and Proxy

  1. Turn off your VPN
    Open your VPN client and disconnect. If you use a browser VPN extension, disable it temporarily.
  2. Disable Windows proxy
    Press Windows + I to open Settings. Go to Network & Internet > Proxy. Turn off Use a proxy server under Manual proxy setup.
  3. Restart Discord
    Close and reopen Discord, then attempt to log in.

Method 6: Reinstall Discord

  1. Uninstall Discord
    Press Windows + I, go to Apps > Apps & features. Find Discord in the list, click it, and select Uninstall.
  2. Delete leftover app data
    Press Windows + R, type %appdata%\discord, and press Enter. Delete the entire discord folder. Repeat with %localappdata%\discord and delete that folder too.
  3. Download the latest version
    Go to discord.com/download and download the installer for Windows.
  4. Install and log in
    Run the installer. After installation, open Discord and log in with your credentials.

If Discord Still Shows Invalid Authentication After the Main Fix

Error Reappears After Every Restart

If the error returns each time you open Discord, the issue is likely a corrupted user profile on Windows. Create a new Windows user account and test Discord from that account. If it works, migrate your files and settings to the new profile.

Error Only on One Device

If you can log into Discord on your phone or another computer but not on your Windows machine, the problem is local. Focus on Methods 2, 3, and 4 above. Also check if your antivirus software is blocking Discord’s network traffic. Temporarily disable real-time protection and test the login.

Error After Account Password Change

When you change your Discord password, the old authentication token on all devices becomes invalid. You must log out and log back in with the new password on every device. If you see “Invalid Authentication” after a password change, follow Method 1 first.

Discord Authentication Methods: Email/Password vs QR Code vs Token

Item Email and Password QR Code Login Authentication Token
Description Standard login using your registered email and password Scan a QR code with your phone to log in on desktop A stored encrypted key that keeps you logged in without re-entering credentials
When error occurs If password is wrong or account is locked If QR code expires or phone camera fails If token is corrupted, system time is wrong, or network modifies the request
How to fix Reset password via Forgot Password link Refresh the QR code on desktop and try again Use Methods 1 through 6 in this article

Now you can resolve the “Invalid Authentication” error on Discord by logging out and back in, syncing your system clock, clearing the cache, or deleting the Local State file. Start with the simplest fix — logging out and logging in again. If that fails, sync your Windows time and clear the cache. For persistent cases, reinstall Discord completely. Always keep your system time synchronized to prevent authentication issues in the future.