The basic steps to log in with your username
Go to facebook.com in your web browser. On the login screen, you will see two text boxes. Enter your username in the first box — the same username you chose when you created your account, not your email address or phone number. Enter your password in the second box, then click the blue "Log In" button.
If you log in on a device you own and trust, Facebook will remember you. The next time you visit facebook.com, you may already be logged in, or Facebook may ask you to confirm your identity with a code sent to your email or phone. This is a security feature to protect your account.
On a shared or public computer, always log out when you finish. Click the downward arrow in the top right corner of Facebook, select "Log Out", and close your browser completely.
Key Takeaways
- Your Facebook username is different from your email address or phone number — it is the custom name you chose during signup.
- Enter your username and password on facebook.com, then click "Log In".
- If Facebook does not recognize your device, you will need to confirm your identity with a code sent to your email or phone.
- On a shared computer, always log out completely and close your browser when you finish.
- If you cannot remember your username, you can recover your account using your email address or phone number instead.
Finding your username if you forgot it
Your username appears in your Facebook profile URL. If your profile link is facebook.com/john.smith.123, then john.smith.123 is your username. You can also find it by going to facebook.com, clicking the downward arrow in the top right, selecting "Settings and Privacy", then "Settings", and looking under "Personal Information" or "Username".
If you cannot locate your username, you do not need it to log in. Go to facebook.com and enter your email address or phone number instead of your username — Facebook will recognize either one. You can then reset your password if needed.
What to do if your username is not working
If you enter your username and Facebook says it does not recognize it, double-check that you are typing it correctly. Usernames are case-sensitive on some systems, though Facebook usually accepts both uppercase and lowercase letters. Make sure you are not adding spaces or special characters that were not part of your original username.
If you are certain your username is correct but Facebook still will not accept it, try logging in with your email address or phone number instead. Both will work if they are connected to your account. Once you are logged in, you can check your username in your settings to confirm what it actually is.
Using a saved password on your device
Most web browsers and phones offer to save your Facebook password. If you choose to save it, the next time you visit facebook.com, your browser may fill in your username and password automatically. You can then click "Log In" without typing anything.
This is convenient on your personal device, but it means anyone with access to that device can log into your Facebook account. On a shared computer or a borrowed phone, do not allow your password to be saved. If your browser has already saved it, clear your saved passwords before you leave.
Logging in on the Facebook app
The Facebook mobile app works the same way as the website. Open the app, tap the login screen, enter your username in the first field, enter your password in the second field, and tap "Log In". The app may ask you to confirm your identity the first time you log in on that phone.
If you want to log out of the app, tap the three horizontal lines in the bottom right corner, scroll down, and tap "Log Out". This removes your account from that device but does not delete the app itself.
Two-factor authentication and login codes
If you have turned on two-factor authentication for your account, Facebook will send you a code after you enter your username and password. Check your email or text messages for a six-digit code, enter it on the login screen, and click "Confirm". This extra step makes your account much harder for someone else to break into, even if they know your password.
If you do not receive a code, wait a few minutes — it may be delayed. If it still does not arrive, check your spam or junk folder. You can also use a backup code if you saved one when you first set up two-factor authentication. If you have lost access to your email or phone, you will need to recover your account through Facebook's account recovery process.
Recovering your account if you are locked out
If you cannot log in with your username, password, or recovery email, go to facebook.com and look for the "Forgotten Account?" link below the login boxes. Click it and enter your email address, phone number, or full name. Facebook will show you a list of accounts that match and let you recover access to the right one.
Facebook may ask you to identify friends in photos, answer security questions, or confirm your identity through your email or phone. Follow the steps on screen. Once you have confirmed your identity, you can create a new password and log in again.
Frequently Asked Questions
Is my username the same as my email address?
No. Your username is a custom name you chose during signup, like john.smith.123 or jane_doe_2024. Your email address is separate. You can log in with either one, but they are not the same thing.
Can I change my username?
Yes. Log into Facebook, click the downward arrow in the top right, select "Settings and Privacy", then "Settings". Go to "Personal Information" and look for "Username". You can change it once every 14 days. Your old username becomes available for someone else to use.
What if I log in on a new device and Facebook asks for a code?
Facebook is confirming that it is really you. Check your email or text messages for a six-digit code, enter it on the login screen, and click "Confirm". This is a security feature. If you do not receive a code, check your spam folder or wait a few minutes for it to arrive.
Can I log in with my phone number instead of my username?
Yes. On the facebook.com login screen, enter your phone number in the first box instead of your username, enter your password, and click "Log In". Facebook will recognize your phone number if it is connected to your account.
What should I do if someone else is logging into my account?
Change your password when ready. Go to facebook.com, log in, click the downward arrow in the top right, select "Settings and Privacy", then "Settings". Go to "Security and Login" and click "Change Password". Make your new password long and unique. You can also see all active sessions and log out of devices you do not recognize.