How to Turn On Two-Factor Authentication for Facebook

By Information Security Asia · Updated November 21, 2026 · 4 min read

Short answer: open Facebook, go to Menu > Settings & privacy > Settings > Accounts Center > Password and security > Two-factor authentication, choose your Facebook account, and pick a method. An authentication app or a security key is the best choice; SMS works but is weaker. Then save your recovery codes somewhere safe so you can still get in if you lose your phone.

Two-factor authentication (2FA) means that even if someone learns your password, they also need a code or key that only you have. Facebook accounts are frequently stolen through phishing and password reuse and then used to scam friends or run ads, so 2FA is one of the most valuable settings you can switch on.

How to Turn On Two-Factor Authentication for Facebook

Choose a 2FA method

Method How it works Recommendation
Security key Tap or insert a physical key Strongest, phishing-resistant
Authentication app Six-digit code from an app such as Google Authenticator, Microsoft Authenticator or Duo Recommended for most people
WhatsApp Code sent via WhatsApp Acceptable
Text message (SMS) Code sent to your phone number Weakest; vulnerable to SIM swaps
Recovery codes One-time backup codes Keep as backup, not primary

Turn on 2FA with an authentication app

  1. Install an authenticator app on your phone.
  2. In Facebook, open Accounts Center > Password and security > Two-factor authentication.
  3. Select your Facebook account (if you have several Meta accounts, set up each one).
  4. Choose Authentication app and tap Next.
  5. Scan the QR code with your authenticator app, or enter the setup key manually.
  6. Enter the six-digit code the app shows, and confirm with your password.

Facebook may also offer to set up a passkey on supported devices, which lets you sign in with your device’s fingerprint, face or PIN. Passkeys are phishing-resistant and worth enabling alongside 2FA.

Add a security key (optional)

In the same menu, choose Security key and follow the prompts to register a FIDO-certified key via USB or NFC. Register two keys if you can, so you have a spare. See setting up a hardware security key.

Save your recovery codes

After enabling 2FA, go to Two-factor authentication > Additional methods > Recovery codes. Facebook gives you a set of one-time codes. Print them or store them in your password manager. Each code works once, and you can generate a new set at any time, which invalidates the old ones.

How to Turn On Two-Factor Authentication for Facebook

Understand “trusted” devices and login alerts

  • When you sign in on a new device, Facebook asks for a code. You can choose to remember that browser so you are not asked every time.
  • Turn on alerts about unrecognised logins in Password and security.
  • Review Where you’re logged in occasionally and log out of old sessions.

If you lose your phone or authenticator app

  1. Use a recovery code to sign in.
  2. If you have a remembered device that is still logged in, use it to change your 2FA settings.
  3. Otherwise, choose Try another way on the login screen; Facebook may let you confirm via an alternate method or identity check.
  4. Once back in, remove the lost device and set up 2FA on your new phone.

Many authenticator apps now support encrypted cloud backup, which makes changing phones easier.

Beware of 2FA scams

  • Never send a Facebook login code to anyone, even a friend who messages you asking for it; their account has probably been hijacked.
  • Meta will not ask for your code by message, email or phone call.
  • Fake “Meta Support” pages asking for your password and code are common. Check emails through Accounts Center > Password and security > Recent emails.

Frequently asked questions

Does 2FA make my Facebook account unhackable?

It blocks most account takeovers, but phishing for codes and session cookie theft still exist. Security keys and passkeys provide the strongest protection.

Can I use 2FA without a phone number?

Yes. An authenticator app or security key does not require you to give Facebook a phone number.

Why am I not receiving SMS codes?

Check signal, carrier blocks on short codes, and that your number is correct. Switching to an authenticator app avoids SMS problems.

Does 2FA protect Instagram too?

Each account in Accounts Center needs its own 2FA setting. See Instagram 2FA.

Related: secure your Facebook account, 2FA methods compared.

Sources

Keep reading