Skip to content

Discord 2FA setup

Discord throws you out if you lose both your phone and its authenticator. This browser-only route generates your Discord 6-digit codes on any device you’re actually logged in on — and server owners often require 2FA before moderation actions count, so it’s effectively mandatory if you run a community.

4 min · no app required6 digits30s periodSHA-1

Fact-checked against Discord's official documentation · last reviewed 7 November 2026 · how we review guides

Open the generator for Discord

Step by step

  1. 01

    Open Discord settings

    Desktop or web: gear icon next to your username → “My Account”. Under “Password and Authentication”, click “Enable Authenticator App”.

  2. 02

    Verify your password

    Discord asks for your current account password. Enter it and continue — you’ll land on the “Add an authenticator app” step.

  3. 03

    Get the secret key instead of using your phone

    The screen shows a QR code by default. Click the manual-entry/link option below it — “enter the key manually” — and you’ll see a Base32 key like abc123XYZ….

  4. 04

    Paste it into 2FA COUNTER

    Copy that key, paste it into the generator, and name the account “Discord”. Or scan the QR: screenshot it, then paste the screenshot anywhere on the generator page with Ctrl+V.

  5. 05

    Copy the live code back into Discord

    A fresh 6-digit code appears in the yellow ring. Click “Copy code” and type/paste it into Discord’s confirm dialog. Discord then shows SMS-backup options — enable them if you want a fallback.

  6. 06

    Save your recovery codes first

    Discord displays a one-time set of recovery codes. Download them and store them in an encrypted password manager. If you keep the Base32 secret there too, 2facounter.com can rebuild your codes anywhere, offline.

FAQ

Discord says my 2FA code is wrong.

That’s clock drift, nine times out of ten. Check that your device clock auto-syncs with an internet time server (Windows: Settings → Time & language → “Sync now”; macOS: System Settings → Date & time), then try again — the generator computes against the time your device reports.

Does 2FA change anything about running a server?

Yes. Server owners can enable "2FA requirement for moderation actions", which then demands that anyone performing bans or deletions has 2FA enabled on their account — and your own enrollment from this guide satisfies that. It is also required to configure many moderation bots.

Can I still use Discord without a phone number this way?

Yes — enabling 2FA is about the authenticator, not the phone number. If you don’t want SMS as a backup, skip it; it’s optional on Discord.

I lost the phone my Discord authenticator was on. Can I still log in?

Use a recovery code if you saved them. Otherwise browser 2FA codes can’t help retroactively — that’s why saving recovery codes before you need them is step six.

A Discord key is a permission key, not just a login key

On Discord, 2FA also gates server moderation — bans, deletes, and bot setup can require it wherever the server turns that requirement on. If you run any community, losing your second-factor keys is losing the server itself. Recovery codes first, Base32 key second, both encrypted.

Generate Discord 2FA codes now