“Enter a 6-digit login code generated by an authentication app”: what to do
This message means the account has two-factor authentication with an authenticator app. The code comes from the app (or from the secret key it was set up with), not from SMS.
Updated 2026-11-19
Where the 6-digit code comes from
When 2FA was turned on, Facebook (or Instagram) gave a secret key that was added to an authenticator app such as Google Authenticator, Microsoft Authenticator, 2FAS or Duo. That app shows a new 6-digit code every 30 seconds. Type the code shown under the account's name.
Option 1: you have the secret key
If you saved the key (a code of 32 letters and numbers, sometimes split into groups of four), paste it into Get2FA. You'll get the same 6-digit code the app would show, on any device. Many people who manage several accounts keep lines like user|password|KEY; Get2FA finds the key in each line automatically.
Option 2: you have the authenticator app
Open the app on the phone where 2FA was set up and type the code under the right account. If it's rejected, check that the phone's date and time are set to automatic. More causes in 2FA code not working.
Option 3: no app and no key
- Tap “Try another way” on the login screen: Facebook may offer a confirmation on a device where you're already logged in, an SMS, or a recovery code (the 8-digit codes you could save when turning on 2FA).
- If none works, follow Facebook's account recovery, which may ask for an ID or a video selfie.
Next time
When you turn on 2FA, copy the key shown under the QR code and keep it in a password manager. See how to set up Facebook 2FA and where to find the secret key.
Guides
- What is 2FA (two-factor authentication)?
- Where to find your 2FA secret key
- How to turn on Instagram 2FA with an authentication app
- How to set up Facebook 2FA with an authenticator app
- How to transfer Google Authenticator to a new phone
- 2FA code not working? Here's how to fix it
- Lost your phone with the authenticator app? What to do
- Fortnite 2FA: how to enable it at fortnite.com/2fa
- What is TOTP? (and TOTP vs HOTP)
- Microsoft Authenticator not showing a code? Here's the fix
- How to set up Amazon Two-Step Verification with an authenticator app
- How to turn on PayPal 2-step verification with an authenticator app
- How to set up Coinbase 2FA with an authenticator app
- How to enable Discord 2FA with an authenticator app
- How to set up X (Twitter) 2FA with an authentication app
- How to set up TikTok 2-step verification with an authenticator app
- How to use any authenticator app with your Microsoft account
- How to set up GitHub 2FA with a TOTP app
- How to enable Binance 2FA with an authenticator app