A strong password is a good lock. Two-factor authentication is a second lock that a thief can't pick just by learning your password. If you only do one thing to protect your Facebook account this year, turning on two-factor authentication is a strong candidate.

This guide explains what it is, which method to choose, and how to set it up without locking yourself out.

What Two-Factor Authentication Means

Two-factor authentication, often shortened to 2FA, means that logging in takes two different things:

  1. Something you know: your password.
  2. Something you have: usually your phone, an app on it, or a small physical security key.

When 2FA is on and someone tries to log in from a new device or browser, Facebook asks for that second factor. A person who stole your password from a fake login page or a data breach still can't get in without it.

You typically won't be asked for the code every single time. Devices and browsers you've already approved are usually remembered.

The Main Methods, Compared

Facebook has offered several ways to receive your second factor. The exact options can change, so check what your settings show, but these are the common types.

Authentication App

An authentication app on your phone generates a new short code every few seconds. You type that code when asked. Many free authentication apps exist, and some password managers include this feature.

Why it's a good choice: The code is generated on your device, so it doesn't depend on text messages and is harder for scammers to intercept.

Text Message Codes

Facebook sends a code to your phone number by SMS.

Why some people use it: It's familiar and needs no extra app.

The downside: Text messages can be delayed, and phone numbers can sometimes be hijacked by scammers who trick a carrier into moving your number to their SIM card. SMS is still far better than no 2FA, but an app or key is generally stronger.

Security Key

A security key is a small physical device that you plug in or tap against your phone. It confirms your login only on the real site, which makes it very resistant to phishing.

Good for: People who manage business pages, have large audiences, or simply want the strongest option.

Recovery Codes

Recovery codes are a set of one-time backup codes you can use if you lose access to your phone or key. They aren't a primary method, but they're your safety net.

How to Turn It On

Menus move around over time, so think of these steps as a map rather than exact directions.

  1. Open Facebook in the app or on the web and go to your settings. Look for Settings & privacy, then Settings.
  2. Find the area for your account security. In recent versions, many security settings live in the Accounts Center, under a section named something like Password and security.
  3. Look for Two-factor authentication and select the account you want to protect.
  4. Choose your method and follow the on-screen steps. For an authentication app, you'll usually scan a QR code with the app and then type the code it shows to confirm.
  5. Save your recovery codes when offered.

If you can't find the option, search for "two-factor authentication" in the official Facebook Help Center at facebook.com/help, which always has the current steps.

Save Your Recovery Codes Properly

This step is the one people skip and later regret. If your phone is lost, stolen, broken, or replaced, recovery codes may be the fastest way back into your account.

Good places to keep them:

  • Printed on paper and stored with important documents at home
  • In a password manager's secure notes
  • Written down and kept somewhere private, not taped to your monitor

Bad places: a photo in your camera roll that syncs everywhere, an unencrypted note titled "Facebook codes," or an email to yourself.

Changing Phones Without Getting Locked Out

Before you trade in or reset a phone that has your authentication app, plan the move:

  • Check whether your authentication app supports transferring accounts to a new phone, and do that first.
  • Or, log in on the new phone while you still have the old one, then set up 2FA again on the new device.
  • Keep your recovery codes handy during the switch.

The most common lockout story is someone wiping an old phone before moving their authentication app.

What If You Get a Code You Didn't Ask For

If you receive a Facebook login code or approval request and you weren't trying to log in, that may mean someone has your password.

  • Don't approve the request and don't share the code with anyone.
  • Change your password from the real app or site right away.
  • Review where you're logged in and sign out of anything unfamiliar.

No legitimate support person will ever ask you to read them a login code. Anyone who does is trying to get into your account.

Common Questions

Will I need my phone every time I log in? Usually not on devices you've already approved. You'll mostly see the prompt on new devices or browsers.

Is 2FA worth it if my account isn't "important"? Yes. Hijacked personal accounts are often used to scam the owner's friends and family, who trust messages from you.

What if I don't have a smartphone? Text message codes and security keys can work without an app. Recovery codes help too.

The Takeaway

Two-factor authentication takes a few minutes to set up and closes the door on most password-only attacks. Pick the strongest method you're comfortable with, save your recovery codes somewhere safe, and plan ahead when you change phones. That's it. Your future self will be glad you did.