Set up 2FA on Discord
Turn on 2FA in Discord under User Settings › My Account › “Enable Authenticator App”. It takes about two minutes and needs a verified email address on your Discord account.
- Time
- About 2 minutes
- Where
- Discord app or website
- Setting
- “Enable Authenticator App”
Path: Discord › User Settings › My Account
Before you start
- A verified email address on your Discord account (User Settings › My Account shows it).
- Your Discord password. If you only ever logged in with a QR code, set a password first.
- Discord on a computer is easiest. If you only have your iPhone, copy the 2FA key and use “Enter key” in 2FA Setup.
Turn on 2FA for Discord, step by step
- 1
Open My Account
In Discord (desktop or browser), click the gear icon next to your name for User Settings, then My Account. On iPhone: tap your avatar › Account.
- 2
Enable Authenticator App
Under Password and Authentication, click “Enable Authenticator App” and enter your password. Discord shows a QR code and a 2FA key.
- 3
Scan it with 2FA Setup
Tap Scan below and point the camera at the QR code. Type the 6-digit code from 2FA Setup into Discord and click Activate.
How scanning works - 4
Download backup codes
Discord then offers backup codes. Download them (discord_backup_codes.txt) and store them off your phone. Each 8-digit code works once.
Scan the Discord QR code with 2FA Setup
Open 2FA Setup and tap +. The camera opens straight away: point it at the QR code Discord shows. If you are setting up on the same iPhone, take a screenshot and choose From Photos, or copy the text key and choose Enter key. Spaces and lowercase letters in the key are fine.
2FA Setup reads the algorithm, digit count and period from the QR code, shows “Discord is protected” and your first code. Enter that code on Discord to finish. Your secret is stored in the iPhone Keychain and never leaves the device.
Free for up to 5 accounts. Pro is $49.99 once for life, or a plan.
Other 2FA options on Discord
Discord supports authenticator apps, security keys/passkeys, and SMS as a backup once an authenticator is enabled. Server owners can require 2FA for moderators, so many communities need it anyway.
Where the codes are, and your backup codes
Your codes appear in 2FA Setup as “Discord” with your email or username. They change every 30 seconds.
Discord backup codes are 8 digits, and you get a set of ten. View or regenerate them anytime under My Account › View Backup Codes (needs your password).
Discord states it cannot remove 2FA from an account for you. Without a backup code, SMS fallback or your authenticator, you may lose the account. Save the codes now.
Why the codes work without internet
When you scan the QR code, Discord and your iPhone share a secret key. Every 30 seconds both sides combine that key with the current time and get the same 6-digit number (the TOTP standard, RFC 6238). Nothing is sent between them, which is why codes work in airplane mode and why the clock matters: if your iPhone time is off, the numbers no longer match. You can watch it happen with our TOTP generator.
Discord 2FA questions
Why is “Enable Authenticator App” greyed out?
Your email is not verified. Open the verification email from Discord (or resend it from My Account), click the link, then reload Discord.
Discord says “Invalid two-factor auth ticket” or the code is wrong.
Fix the iPhone clock first (Set Automatically), then use a fresh code. If you re-enabled 2FA at some point, delete older Discord entries. More in Discord 2FA not working.
Do I need 2FA to moderate a Discord server?
If the server owner turned on the 2FA requirement for moderation, you need it to kick, ban or delete messages. That setting is common in large servers.
I lost my phone and my backup codes. Can Discord help?
If you added a phone number as a backup, use “Receive auth code via SMS” on the login screen. Otherwise Discord Support generally cannot remove 2FA, and the account cannot be recovered.
Will turning on 2FA log me out?
No. Your current sessions stay logged in. New logins and some sensitive actions will ask for a code.
Official source: Discord Support: Setting up Multi-Factor Authentication. Menus change; if a label differs from this guide, tell us at support@2fasetup.app.