The best way to secure your Facebook account is to enable login approvals. Once enabled, you will need a login code every time you want to log into your account from a new device. This feature will protect your account from being hacked, even if your password is weak.

Note that Facebook can only deliver the login code to your mobile phone number. However, you can also use Code Generator on your Android phone or tablet to “manually” generate a code. That way you will always be able to log into Facebook, even when you can’t receive text messages.

Let us show you how to set up Login Approvals and Code Generator on your Android device.

Why Enable Login Approvals?

Login Approvals is an extra security layer that will make it harder for someone to hack your Facebook account. When they try to log into your account from a device that you haven’t previously authorized, they will need both your password and a login code.


Moreover, when someone attempts to log into your account from another computer — and if you don’t use Code Generator — you will indirectly be notified of this login attempt as you receive a security code in a text message.

Though you can always receive login alerts to your email address or on your Facebook account. You can enable the respective notifications under Account Settings > Security > Login Alerts in both your browser and the mobile app. We highly recommend enabling email notifications.


How to Enable Login Approvals

Login Approvals require a mobile phone number. First, you’ll need to navigate to Facebook in your browser and head to Mobile Settings under Settings > Mobile. Here, make sure that you have a current mobile phone number on record. You can add as many numbers as you like and we highly recommend that you add at least two.


Once you have updated your phone number, you can go ahead and enable Login Approvals. While this feature is available in the mobile app, it doesn’t seem to work reliably. Thus, open Facebook in your browser, go to Settings > Security > Login Approvals, and check Require a login code to access my account from unknown browsers.


After you have successfully enabled Login Approvals, be sure to keep your Mobile Settings up to date, always have an authorized device as a backup to log in and change your settings, and set an App Password for Facebook apps that are not eligible for Login Approvals.

facebook login approvals

You can also download backup codes for when you don’t have access to your phone. Go to Settings > Security > Login Approvals and click Get codes. This features is also available in the mobile app under Account Settings > Security > Login Approval Codes.

How to Set Up Code Generator

Until now, all steps could be completed in the browser. Code Generator, however, is a feature exclusive to the Facebook Android app. If you had the app installed all along, Code Generator might be available already. Otherwise, install and open the app (but think twice about installing Facebook mobile).