How to enable 2FA on Facebook
Enable two-factor authentication on Facebook to stop unauthorized logins. After setup, Facebook asks for a rotating code from MS Authenticator App in addition to your password.
Step-by-step setup
- 1
Log in to Facebook
Open the Facebook app and head to your profile, and tap the three lines in the bottom right.

- 2
Go to Account Center
Scroll down and tap on Settings & Privacy > Settings > See more in Accounts Centre.

- 3
Navigate to Two-Factor Authentication
In Account Center, tap Password and security > Two-factor authentication.

- 4
Choose Your Account and Method
Select your Facebook account, verify it by entering the requested code, choose the Authentication app option, and tap Next.

- 5
Copy Key or Scan the QR Code
Facebook will show options: Copy key or View barcode/QR code. Option 1: Copy the key to manually add the account in the MS Authenticator App. Option 2: Screenshot the QR code to add it via Photo or File on the MS Authenticator App.

- 6
Add the Facebook Account to the MS Authenticator App
Open the MS Authenticator App and tap the + button. Option 1: Tap Manually - Paste the key under Secret Key, complete the Service and Account sections, and tap the plus to look for the icon. Option 2: Tap Photo or File - Select the photo or file to scan the QR code and add the account automatically.

- 7
Get Your Facebook Code
Once added, you’ll see a 6-digit code for Facebook in the MS Authenticator App. Tap on the code to copy it and complete the pairing.

- 8
Confirm Setup in Facebook
Head back to the Facebook app and tap Next. Paste the 6-digit code when prompted. Complete the setup by tapping Next again.

Menu names on Facebook can change — the official Facebook 2FA documentation ↗ always has the exact, current path.
Frequently asked questions
- Does Facebook work with authenticator apps like MS Authenticator App?
- Yes. Facebook supports TOTP authenticator apps, so you can generate its two-factor codes in MS Authenticator App.
- Is Facebook two-factor authentication free?
- Yes. Enabling authenticator-app 2FA on Facebook is free — you only need the free MS Authenticator App.
- What if I lose access to my Facebook 2FA codes?
- Use the backup or recovery codes you saved during setup. If you didn't save them, contact Facebook support to regain access, then re-add the account to MS Authenticator App.
- Should I use an authenticator app or a security key on Facebook?
- Facebook supports both. An authenticator app like MS Authenticator App is free and works on any phone; a hardware security key adds phishing resistance. You can enable both.
Generate your Facebook codes in MS Authenticator App
Free, offline, and encrypted. One tap for every 6-digit code.
Get the appMore Social guides
Novaz is not affiliated with, endorsed by, or sponsored by Facebook. Facebook and its logo are trademarks of their respective owner and are used here for identification only.