Discord Two-Factor Not Working? Fix It Now
In this article
If your Discord two-factor authentication (2FA) suddenly stops working, the quickest fix is to check the time on your phone or authenticator app, then re-sync it. Most 2FA failures happen because the time code generator and Discord's servers are out of sync. Below are the exact steps to get back into your account, plus what to do if you've lost your backup codes.
What You'll Need
- Your phone or tablet with the authenticator app you originally used (Google Authenticator, Authy, etc.)
- Your Discord login credentials (email and password)
- Your Discord backup codes (if you have them) – they were given when you first enabled 2FA
- Access to the email address associated with your Discord account
Step-by-Step
- Check the time on your device. Open your phone's settings and make sure the date and time are set to automatic (network-provided time). If they're manual, switch to automatic and wait a minute.
- Re-sync your authenticator app. Open your authenticator app (e.g., Google Authenticator). In most apps, go to Settings and look for "Time correction" or "Sync now." Tap it. This forces the app to realign its time with the server.
- Try the code again. Wait for the countdown timer to reset, then enter the new code on Discord. Make sure you type it exactly, including any spaces (usually there are none).
- Use a backup code. If the code still fails, click the "Use backup code" link on the 2FA login screen. Enter one of the 10 codes you saved when you set up 2FA. Each code works only once.
- If you don't have backup codes, request a removal. On the 2FA prompt, click "Lost your 2FA?" or "Need help?" Discord will ask you to verify your email and then start a 24-hour removal process. Check your email for a confirmation link.
- After removal, re-enable 2FA. Once the 24-hour period ends, Discord will let you log in without 2FA. Go to User Settings > My Account > Enable Two-Factor Auth, and set it up again with a fresh QR code. Save the new backup codes somewhere safe.
Common Mistakes
- Using an old backup code. Backup codes are single-use. If you've already used one, it won't work again.
- Entering the code after it expires. Codes refresh every 30 seconds. If you type too slowly, it may be invalid.
- Wrong time zone on your phone. Even if the time looks right, a wrong time zone can offset the code. Always use automatic time.
- Using a different authenticator app. If you switched phones and didn't transfer your 2FA setup, the new app won't have the correct secret key.
Tips
- Save backup codes offline. Write them down or store them in a password manager. Keep them somewhere you can access even if your phone is lost.
- Use Authy instead of Google Authenticator. Authy backs up your 2FA tokens to the cloud, so you can restore them on a new phone without losing access.
- Keep your authenticator app updated. Outdated apps may have bugs that cause code mismatches.
- Test your backup codes now. Before you need them, log out and try one. If it works, cross it off and save a new one.
Troubleshooting
If the steps above didn't work, try these in order:
- Restart your phone. This clears minor glitches in the authenticator app.
- Reinstall the authenticator app. Uninstall and reinstall Google Authenticator or Authy. If you have the secret key (a long string of letters/numbers), you can re-add Discord manually. If you don't have the secret key, you'll need to use backup codes or request removal.
- Check Discord's server status. Go to
status.discord.com. If there's an outage, 2FA may fail for everyone. Wait until it's resolved. - Clear your browser cache. If you're logging in via a web browser, cookies or cached data can interfere. Try incognito mode or a different browser.
- Contact Discord support. If you've exhausted all options, submit a ticket at
support.discord.com. Be ready to provide proof of account ownership (e.g., your email, phone number, and possibly a photo ID).
Frequently Asked Questions
I lost my phone and don't have backup codes. Can I get my account back?
Yes, but it takes time. Use the "Lost your 2FA?" option on the login screen. Discord will send a removal request to your email. After 24 hours, you'll be able to log in without 2FA. You'll need access to your email to confirm.
Why does my authenticator code show the wrong number?
Almost always a time sync issue. Set your phone to automatic time and use the "Sync" feature in your authenticator app. If that doesn't fix it, your phone's clock might be off by more than a few minutes – check the time zone.
Can I use SMS for Discord 2FA instead of an authenticator app?
Discord does not offer SMS-based 2FA. You must use an authenticator app or a hardware security key (like a YubiKey) if you have that enabled.
I have a new phone. How do I move my Discord 2FA?
If you still have your old phone, open the authenticator app and export/transfer the Discord account to your new phone (most apps have a "Transfer" feature). If you don't have the old phone, use a backup code to log in, then disable and re-enable 2FA with the new phone.
What if I enter the correct code and it still says "Invalid two-factor code"?
Double-check that you're entering the code from the correct account in your authenticator app. If you have multiple accounts, it's easy to pick the wrong one. Also, make sure you're not accidentally adding a space at the end.
Can I remove 2FA without a backup code?
Yes, but only through the 24-hour removal process. There's no instant way to bypass 2FA without the code or backup codes. This is a security feature to protect your account.