Set up 2FA on Facebook
Turn on Facebook 2FA in Accounts Center › Password and security › Two-factor authentication, pick your account and choose “Authentication app”. It takes about three minutes; save the recovery codes at the end.
- Time
- About 3 minutes
- Where
- Facebook app or website
- Setting
- “Authentication app”
Path: Facebook › Settings › Accounts Center › Password and security › Two-factor authentication
Before you start
- Your Facebook password.
- Access to the email or phone number on the account, in case Facebook asks you to confirm.
- If you only have your iPhone, use “Copy key” in Facebook and Enter key in 2FA Setup instead of the QR code.
Turn on 2FA for Facebook, step by step
- 1
Open Accounts Center
In the Facebook app tap Menu › Settings & privacy › Settings › Accounts Center. On a computer: your profile picture › Settings & privacy › Settings › Accounts Center.
- 2
Choose Two-factor authentication
Tap Password and security › Two-factor authentication, then the Facebook account you want to protect. Enter your password if asked.
- 3
Pick Authentication app
Select “Authentication app” and tap Next. Facebook shows a QR code and a key you can copy.
- 4
Add it to 2FA Setup
Scan the QR code with 2FA Setup, or on the same iPhone copy the key and use Enter key. Type the 6-digit code into Facebook and tap Next.
How scanning works - 5
Save recovery codes
Back in Two-factor authentication, open Additional methods › Recovery codes and save them somewhere off your phone. Each code works once.
Scan the Facebook QR code with 2FA Setup
Open 2FA Setup and tap +. The camera opens straight away: point it at the QR code Facebook 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 “Facebook is protected” and your first code. Enter that code on Facebook 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 Facebook
Facebook supports an authentication app, SMS, security keys and, on some accounts, approval from a device where you are already logged in. The authentication app works without signal and cannot be intercepted by SIM swap.
Where the codes are, and your backup codes
Your codes appear in 2FA Setup as “Facebook” with your email or name. They change every 30 seconds.
Recovery codes are in Two-factor authentication › Additional methods › Recovery codes. You can get a new set at any time; the old set then stops working.
Keep a second method (SMS or a security key) as a fallback, so a lost phone does not lock you out.
Why the codes work without internet
When you scan the QR code, Facebook 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.
Facebook 2FA questions
Where is two-factor authentication on Facebook now?
It moved to Accounts Center: Settings › Accounts Center › Password and security › Two-factor authentication. The old Security and Login page links there.
Facebook says my code is wrong.
Set your iPhone clock to Set Automatically (Settings › General › Date & Time) and use a fresh code. If you set up 2FA twice, delete the older Facebook entry in the app.
I lost my phone. How do I get back in?
Use a recovery code, or choose “Try another way” on the login screen to use SMS or a device where you are still logged in. If none work, Facebook’s account recovery asks you to confirm your identity.
Can I use the same authenticator for Instagram?
Yes. Instagram has its own entry; set it up in Accounts Center for the Instagram account. See Instagram 2FA.
Official source: Facebook Help: two-factor authentication. Menus change; if a label differs from this guide, tell us at support@2fasetup.app.