How two-factor authentication works on Facebook

If you're having trouble logging into your Facebook account, review these tips first.
Two-factor authentication is a security feature that helps protect your Facebook account and your password. If you set up two-factor authentication, you'll be asked to enter a special login code or confirm your login attempt each time someone tries accessing Facebook from a browser or mobile device we don't recognize. You can also get alerts when someone tries logging in from a browser or mobile device we don't recognize.
Turn on or manage two-factor authentication
1.
Tap in the top right of Facebook.
2.
Scroll down and tap Settings , then tap Password and security .
3.
Scroll down and tap Use two-factor authentication .
4.
Choose the security method you want to add and follow the on-screen instructions.
If you've successfully turned on two-factor authentication for your Facebook account, a checked box will appear next to Two-factor authentication at the top of your settings.
When you set up two-factor authentication on Facebook, you’ll be asked to choose one of three security methods:
Tapping your security key on a compatible device.
Login codes from a third party authentication app .
Text message (SMS) codes from your mobile phone.
Once you've turned on two-factor authentication, you can get 10 recovery login codes to use when you're unable to use your phone. Learn how to set up recovery codes .
Other Useful Resources
If you haven't saved the browser or mobile device you're using, you'll be asked to do so when you turn on two-factor authentication. This way you won't have to enter a security code when you log in again. Don't click Save this browser if you're using a public computer that other people can access (example: a library computer).
We need to be able to remember your computer and browser information so we can recognize it the next time you log in. Some browser features block this. If you've turned on private browsing or set up your browser to clear your history every time it closes, you might have to enter a code every time you log in. Learn more .
To set up text message (SMS) two-factor authentication, you can either use a mobile number that’s already been added to your account or add a new number. Learn more about how Facebook uses a mobile number added for two-factor authentication.
Learn about what you can do if you turned on two-factor authentication but are now having trouble logging in .
Was this helpful?
© 2024 Meta