Error 4006
Discord Discord
Severity: MinorWhat Does This Error Mean?
Discord Error 4006 means your current session is no longer valid. This typically appears as a WebSocket error in the background, and you may see Discord disconnect and reconnect repeatedly. Logging out and back in creates a fresh valid session and fixes this immediately.
Affected Models
- Discord on Windows
- Discord on macOS
- Discord on Browser
Common Causes
- Your Discord login session has expired and the authentication token is no longer valid
- Discord forced a session reset, for example after a password change or suspicious login detection
- Your account was logged in on too many devices, causing session conflicts
- Discord received a security update that invalidated existing sessions
- A temporary Discord server hiccup caused your session to become desynced
How to Fix It
-
Log out of Discord completely. Click the gear icon at the bottom left (User Settings) > Log Out. Then log back in with your email and password.
Logging out and back in creates a fresh session token, which immediately resolves Error 4006.
-
If you are using Discord in a browser, clear the browser's cache and cookies for discord.com, then log back in.
Outdated session cookies stored in the browser can cause repeated 4006 errors.
-
If the error started after a password change, all existing sessions are automatically invalidated. You need to log in again on every device — phone, computer, and browser.
This is a security feature, not a bug — it prevents the old password from still working on other devices.
-
Check if Discord is logged in on many devices. Go to User Settings > Devices and log out of any devices you do not recognize or no longer use.
Too many active sessions can sometimes cause authentication conflicts.
-
Enable two-factor authentication for better account security. Go to User Settings > My Account > Enable Two-Factor Auth. This adds a second layer of protection against unauthorized session use.
2FA means even if someone has your password, they cannot log in without your phone.
When to Call a Professional
Error 4006 is always a session expiry issue — no professional help needed. If you keep getting forced session resets repeatedly, Discord may have detected unusual activity on your account. In that case, change your password and enable two-factor authentication (2FA) for better security.
Frequently Asked Questions
What is a session token and why does it expire?
When you log in to Discord, a unique token is created for your session. It is like a temporary ID pass — it proves you are allowed to use Discord without re-entering your password every time. For security, these tokens expire periodically or when Discord detects something unusual. Error 4006 means your token has expired — you just need to log in again to get a fresh one.
Can a hacker cause Error 4006 on my account?
If someone else logged into your account, Discord may have detected the unusual activity and force-expired all sessions — causing Error 4006 for you. If you did not change your password recently and are suddenly getting 4006 errors, change your Discord password immediately and enable 2FA.
Does Error 4006 delete my Discord messages or servers?
No. Session errors never affect your data. All your messages, servers, friends list, and settings are stored on Discord's servers and are completely safe. Logging back in gives you full access to everything exactly as before.