Meta Business Help Center
Receive a code for two-factor authentication on Facebook
Facebook’s Code Generator will be discontinued soon. You may no longer have access to this product. Make sure you have another two-factor authentication method set up, so you don’t lose access to your account. There are several ways to receive a security code. Learn more about how to get a code for two-factor authentication.
If you turned on two-factor authentication, you need to generate and enter a special login code when you log in.
Steps to receive a code for two-factor authentication:
- Open the Facebook app and tap the menu icon.
- Tap Settings & privacy.
- Tap Code Generator.
- Use the code to log into Facebook.
If you don't have access to a mobile phone, learn how to generate a code from your desktop.