How to Set Up 2FA on Discord
In this article
Setting up two-factor authentication (2FA) on Discord adds a second layer of security to your account, so even if someone gets your password, they still can't log in without your phone or backup codes. You can do it in under two minutes from the desktop app, browser, or mobile app. Here's the shortest path: open Discord, go to User Settings > My Account, click "Enable Two-Factor Auth," scan the QR code with an authenticator app (like Google Authenticator or Authy), enter the 6-digit code, and save your backup codes.
What You'll Need
- Your Discord account password (you'll need to confirm it during setup).
- A smartphone or tablet with an authenticator app installed. Discord works with Google Authenticator, Authy, Microsoft Authenticator, and most other TOTP apps. If you don't have one, download it from your device's official app store.
- Access to your email or phone number (optional, but recommended for account recovery).
Step-by-Step
- Open Discord and log in to your account on the desktop app, browser version, or mobile app. The steps are the same on all platforms, but menu labels may vary slightly by version and device.
- Go to User Settings. On desktop/browser, click the gear icon (⚙️) at the bottom left, next to your username. On mobile, tap your avatar in the bottom right corner, then tap the gear icon at the top.
- Open the My Account tab. In the left sidebar, click "My Account" (it's usually the first option under "User Settings").
- Click "Enable Two-Factor Auth." You'll see this button under the "Password and Authentication" section. If you already have 2FA on, it will say "Two-Factor Auth Enabled" instead.
- Enter your password. Discord will ask you to confirm your password to continue. Type it and click "Continue."
- Scan the QR code with your authenticator app. A QR code will appear on your screen. Open your authenticator app, tap the "+" or "Add account" button, and scan the code. If you can't scan (e.g., you're on a phone and using a different device), click "Can't scan it?" to see a manual setup key. Enter that key into your authenticator app manually.
- Enter the 6-digit code from your authenticator app. After scanning, your app will show a 6-digit number that changes every 30 seconds. Type that code into Discord's "Enter Authentication Code" field.
- Click "Activate" or "Enable." Once the code is accepted, 2FA is turned on. Discord will immediately show you a list of backup codes.
- Save your backup codes. You'll see 10 single-use codes. Download them, write them down, or store them in a password manager. Keep them somewhere safe—they're the only way to get back into your account if you lose your phone or authenticator app. Click "Download" or "Copy" to save them, then check the box saying you've saved them and click "Done."
That's it. From now on, when you log in on a new device, Discord will ask for a 6-digit code from your authenticator app (or a backup code if you don't have your phone).
Common Mistakes
- Not saving backup codes. The most common error is closing the backup code screen without saving them. If you lose your phone later, you'll be locked out permanently.
- Using SMS instead of an authenticator app. Discord offers SMS-based 2FA in some regions, but it's less secure (SIM swapping can bypass it) and not available everywhere. The authenticator app method is recommended.
- Entering the code too late. The 6-digit code expires every 30 seconds. If you wait too long, it won't work. Just type the current code quickly.
- Scanning the QR code with your phone camera instead of the authenticator app. The regular camera app won't work; you must use the authenticator app's built-in scanner.
- Deleting the authenticator app after setup. If you delete the app without disabling 2FA first, you'll lose access to your account.
Tips
- Store your backup codes in a password manager (like Bitwarden, 1Password, or KeePass) or print them and keep them in a safe place. Don't screenshot them on your phone—if someone gets your phone, they get your codes.
- Use an authenticator app that supports cloud backup (like Authy) so you can restore your 2FA codes if you get a new phone. Google Authenticator doesn't back up by default, but you can transfer codes manually.
- Add your email and phone number to your Discord account before enabling 2FA. This gives you extra recovery options if you ever get locked out.
- Consider enabling 2FA on your email account too. If someone takes over your email, they can reset your Discord password and potentially bypass 2FA.
- If you use Discord on multiple devices, you'll only need to enter the 2FA code once per device. After that, Discord remembers the device as trusted.
Troubleshooting
I don't see the "Enable Two-Factor Auth" button. Make sure you're logged into the correct account and that you're on the "My Account" page. If you already have 2FA enabled, the button won't appear. Also, check that your Discord app is updated to the latest version.
The QR code won't scan. Make sure you're using the authenticator app's scanner, not your phone's camera. If the code is blurry, try increasing the brightness of your screen or moving closer. Alternatively, click "Can't scan it?" to get a manual setup key and type it into the app.
I entered the code but it says it's invalid. The code expires every 30 seconds. Wait for the timer in your authenticator app to reset, then enter the new code. Double-check that you're entering the code for the correct account (if you have multiple).
I lost my phone and can't get my 2FA code. Use one of your backup codes. If you didn't save them, you'll need to contact Discord support. They may ask for proof of identity (like a photo ID) to help you recover your account. This process can take several days.
I'm locked out of my account. If you have backup codes, use one to log in. If not, go to the Discord login page and click "Forgot your password?"—but note that resetting your password won't disable 2FA. You'll still need a backup code or to contact support. Discord's support team can help, but be prepared to verify your identity.
I want to turn off 2FA. Go to User Settings > My Account > "Remove Two-Factor Auth." You'll need to enter your current 2FA code and your password to confirm. This is useful if you're switching phones and want to re-set up 2FA fresh.
Frequently Asked Questions
Is 2FA on Discord free?
Yes, Discord's 2FA feature is completely free. You only need a free authenticator app on your phone.
Can I use SMS text messages for 2FA instead of an app?
Discord offers SMS-based 2FA in some countries, but it's not available everywhere and is less secure than an authenticator app. We recommend using an authenticator app for better security.
What happens if I lose my backup codes?
If you lose your backup codes and your phone, you'll be locked out of your account. You'll need to contact Discord support and verify your identity to regain access. Always store backup codes in a safe place.
Can I use the same authenticator app for multiple accounts?
Yes, most authenticator apps (like Google Authenticator, Authy, and Microsoft Authenticator) support multiple accounts. Just add each Discord account as a separate entry.
Does 2FA protect me from being hacked?
2FA significantly reduces the risk of unauthorized access, but it's not foolproof. It protects against most phishing and password theft, but you should still use a strong, unique password and be cautious of suspicious links.
Do I need to enter the 2FA code every time I log in?
Only when you log in from a new device or after clearing your browser cookies. Discord remembers trusted devices, so you won't be prompted on devices you've already used.