Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Facebook Two-Factor Authentication Setup Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Two-factor authentication (2FA) adds a second layer of security to your Facebook account. Instead of just entering your password, you'll also enter a one-time code sent to your phone or generated by an authenticator app. This makes it much harder for someone else to log in, even if they steal your password. Before you start, have your phone nearby and make sure you can receive text messages or have an authenticator app like Google Authenticator or Duo Mobile installed.

What You'll Need

  • Your Facebook password (you'll need to confirm it during setup)
  • A mobile phone that can receive text messages, or an authenticator app (like Google Authenticator, Authy, or Duo Mobile) already installed
  • Access to the email address linked to your Facebook account (in case you need to recover access)

Step-by-Step

  1. Open Facebook and go to Settings. On the Facebook app (iOS or Android), tap your profile picture in the bottom-right corner (or top-right on some versions). Then scroll down and tap Settings & Privacy > Settings. On a computer, click your profile picture in the top-right corner and choose Settings & privacy > Settings.
  2. Find the Security section. In the left-hand menu (desktop) or the list of settings (mobile), look for Security and login. Tap or click it. The exact wording may vary slightly by device and app version, but it's always under the main Settings menu.
  3. Locate the Two-Factor Authentication option. Scroll down to the section labeled Two-Factor Authentication. You'll see a button that says Edit or Use two-factor authentication. Click it.
  4. Choose your security method. Facebook will ask how you want to receive your login codes. Your options are:
    • Text message (SMS): Facebook sends a six-digit code to your phone via text.
    • Authentication app: You use an app like Google Authenticator to generate codes, which works even without cell service.
    Pick the one you prefer. If you choose SMS, enter your phone number and tap Continue. If you choose an authentication app, you'll see a QR code on the screen.
  5. Confirm your phone number or scan the QR code.
    • For SMS: Enter the phone number, then Facebook will send a code to that number. Type that code into the box and tap Continue.
    • For an authentication app: Open the app on your phone, tap the plus icon to add a new account, and scan the QR code shown on Facebook's screen. The app will then display a six-digit code. Enter that code into the Facebook field and tap Continue.
  6. Save your backup codes. After enabling 2FA, Facebook will show you a list of one-time backup codes. These are 8-digit codes you can use if you ever lose your phone or can't receive codes. Write them down and store them somewhere safe (like a password manager). You can also download or print them. Do not skip this step—it's your lifeline if you get locked out.
  7. Turn on the extra security features (optional but recommended). Once 2FA is active, you'll see options like Security Alerts and Recognized Devices. Keep alerts on to get notified of new logins. You can also set up Trusted Contacts (friends who can help you recover your account) and Recovery Codes (a separate set of codes) from the same Security and login page.
  8. Test it. Log out of Facebook and log back in. You should be prompted for the code. If you chose SMS, the code arrives as a text. If you chose an authenticator app, open the app and enter the current code. This confirms everything works.

Common Mistakes

  • Skipping backup codes. Many people skip saving the backup codes and later get locked out when they switch phones or lose their phone. Always save them.
  • Using SMS when you don't have reliable cell service. If you travel or have poor reception, an authenticator app is more reliable because it works offline.
  • Entering the wrong code from the authenticator app. Authenticator codes expire every 30 seconds. If you type it too slowly, it may be invalid. Enter it quickly or wait for the next one.
  • Not updating your phone number. If you get a new phone number, update it in Facebook's settings immediately. Otherwise, you won't receive SMS codes.
  • Ignoring the “Recognized Devices” setting. If you don't mark your personal devices as recognized, you'll be asked for a code every time you log in, which can be annoying. But it's also more secure—so decide what's right for you.

Tips

  • Use an authenticator app instead of SMS when possible. SMS codes can be intercepted by SIM-swapping attacks. An authenticator app is more secure.
  • Store backup codes in a password manager. If you use a password manager like LastPass or 1Password, add the backup codes there so they're encrypted and accessible if you lose your phone.
  • Set up more than one way to receive codes. Facebook allows you to add both a phone number and an authenticator app. That way, if one fails, you have the other.
  • Keep your authenticator app on a separate device. If you use the same phone for both the authenticator app and Facebook, losing that phone means you lose both. Consider using a tablet or a second phone for the authenticator app.
  • Review your active sessions regularly. In Settings > Security and login, you can see all devices where you're logged in. If you see one you don't recognize, log it out and change your password.

Troubleshooting

If you're having trouble setting up or using two-factor authentication, try these steps in order:

  1. Make sure your phone's time is correct. Authenticator apps rely on accurate time. If your phone's clock is off, the codes won't match. Go to your phone's settings and enable automatic date & time.
  2. Check that you're entering the code before it expires. Authenticator codes change every 30 seconds. If you're too slow, wait for the next one.
  3. Verify your phone number is correct. In Facebook Settings > Security and login, check the phone number listed. If it's wrong, update it.
  4. Resend the SMS code. If you didn't receive the text, tap “Resend code” in the login prompt. Also check your phone's spam folder or signal strength.
  5. Restart your phone. A simple restart can fix many issues with SMS delivery or authenticator apps.
  6. Update the Facebook app. Go to your app store and check for updates. An outdated app can cause login issues.
  7. If you're locked out and don't have backup codes, go to Facebook's account recovery page (facebook.com/login/identify) and follow the prompts. You can also use your trusted contacts if you set them up earlier.

Frequently Asked Questions

Can I use two-factor authentication without a phone?

Yes, you can use an authenticator app on a tablet or a desktop computer (like Google Authenticator on Windows or Authy on Mac). You can also buy a physical security key (like a YubiKey) and plug it into your computer's USB port.

What happens if I lose my phone?

If you saved your backup codes, you can use one of those to log in. If you didn't, you'll need to use Facebook's account recovery process, which may ask for your email, phone number, or answers to security questions.

Can I turn off two-factor authentication later?

Yes. Go to Settings > Security and login > Two-Factor Authentication and click Turn Off. You'll be asked to enter your password to confirm.

Does two-factor authentication work on the Facebook mobile app?

Yes. Once you enable it, you'll be prompted for a code when logging in from a new device, including the mobile app. The app itself doesn't require a code every time you open it if you've marked the device as recognized.

What if I don't receive the SMS code?

First, check that your phone number is correct in Facebook settings. Then wait a minute and tap “Resend code.” If it still doesn't arrive, restart your phone or try using an authenticator app instead.

Can I use the same authenticator app for multiple accounts?

Yes. Authenticator apps like Google Authenticator and Authy can store codes for many accounts. Just add each account by scanning its QR code.