Two-factor authentication (2FA) adds a second check when you log in to Facebook, so a password alone isn’t enough to access your account. This guide shows you how to turn it on using an authenticator app, text message, or a security key, and covers what to do if you get locked out. You’ll need access to your Facebook account and a phone or authenticator app.
What You’ll Need
- Your Facebook password and access to the email or phone number linked to your account
- A smartphone with an authenticator app (like Google Authenticator, Duo Mobile, or Authy) – recommended, or
- A phone number that can receive text messages, or
- A hardware security key (if you choose that method)
Step-by-Step
- Log in to Facebook on the app or website.
- Click your profile picture in the top right (on the website) or tap the menu icon (three lines) on the app.
- Select Settings & privacy, then Settings.
- In the left column, click Security and login (on the app, look for “Security” or “Password and security” under Settings).
- Scroll to the Two-factor authentication section and click Edit next to “Use two-factor authentication.”
- Choose your preferred method:
- Authenticator app – Facebook will show a QR code. Open your authenticator app, tap “+” or “Add account,” scan the code, and enter the 6-digit code it generates.
- Text message (SMS) – Enter your phone number, then enter the code Facebook texts you.
- Security key – Insert your key into a USB port and tap it when prompted (works on supported browsers/devices).
- After you enter the code or tap the key, click Continue or Turn On.
- Facebook will give you a set of recovery codes. Save these somewhere safe – they let you get back in if you lose your phone. Click Next after saving them.
- You may be asked to confirm your choice by entering your password again. Do that to finish.
- Once enabled, you’ll see “Two-factor authentication is on” in the Security and login section.
Common Mistakes
- Skipping the recovery codes – If you lose your phone and haven’t saved the codes, you could be locked out for weeks while Facebook verifies your identity.
- Using SMS when you travel – Text messages may not arrive when you’re abroad or in areas with poor signal. An authenticator app works offline.
- Not updating your phone number – If you change your number without updating it in Facebook, you won’t receive SMS codes.
- Deleting the authenticator app – If you remove the app without disabling 2FA first, you’ll lose access to your codes.
- Ignoring the “trusted browser” prompt – If you don’t check “Don’t ask again on this browser,” you’ll be asked for a code every time you log in.
Tips
- Use an authenticator app instead of SMS – it’s more secure and doesn’t rely on cell service.
- Store your recovery codes in a password manager or a printed copy in a safe place.
- Add more than one method (e.g., authenticator app + a backup phone number) so you have a fallback.
- Log in from a device you trust and select “Don’t ask again on this browser” to reduce login prompts.
- Periodically check the “Where you’re logged in” list under Security and login to spot unfamiliar sessions.
Troubleshooting
I don’t receive the SMS code. Wait a minute and try again. Make sure your phone has signal and that you entered the correct number. If it still fails, use the “Try another way” link to get a code from your authenticator app or a recovery code.
I lost my phone and don’t have recovery codes. Go to the Facebook login page and click “Forgot password?” then follow the identity verification steps. You may need to provide a photo ID or confirm your email address. This process can take a few days.
The QR code won’t scan. Make sure your screen brightness is high and you’re holding your phone steady. If it still fails, tap “Can’t scan it?” to get a manual entry key and type it into your authenticator app.
I get an error when entering the code from my authenticator app. Check that your phone’s time is set to automatic – a time drift will make codes invalid. Go to your phone’s settings and turn on automatic date/time.
I can’t turn off 2FA. Facebook may require you to confirm your identity first. Log in, go to Security and login, and under Two-factor authentication click Edit. You may need to enter a code or your password. If you’re locked out, use the recovery options.
Frequently Asked Questions
Is two-factor authentication mandatory on Facebook? No, but Facebook strongly encourages it. Some accounts (like those for Pages with large audiences) may be required to enable it.
Can I use the same authenticator app for multiple accounts? Yes, most authenticator apps support multiple accounts – just add each one separately.
What if I get a new phone? Install your authenticator app on the new phone, then log in to Facebook on a trusted device and go to Security and login to re-scan the QR code or re-enter the setup key. You can also use recovery codes to get in if needed.
Does 2FA protect against all hacks? No, but it blocks most automated attacks and phishing attempts that only have your password. Always be cautious about fake login pages and never share your codes.
Can I use a security key with my phone? Yes, if your phone supports NFC or USB, you can use a security key as your 2FA method. It’s one of the most secure options.
How do I get new recovery codes? Go to Security and login, click Edit next to Two-factor authentication, then choose “Get new codes.” Old codes will stop working.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix msmpeg2vdec.dll Errors in Windows
- How to Update Sonos App and Speakers
- Unlock iPad Without Apple ID: Is It Possible?
- iOS 18 WhatsApp Notifications Not Working? Fix
- Fix Windows Cannot Locate Suitable Printer Driver
- Spotify Private Listening: Turn It On and Off