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 (not your email address or phone number) in the first box, then enter your password in the second box. Click the blue "Log In" button.

Your username is the custom web address Facebook created for you — it looks like facebook.com/yourname. If you have not set a username yet, Facebook will not let you log in this way. You will need to create one first through your account settings, or use your email address or phone number to log in instead.

Key Takeaways

  • Your Facebook username is different from your email address or phone number and appears in your profile URL as facebook.com/yourname.
  • You must have already created a username in your account settings before you can use it to log in.
  • If you forget your username, you can recover it by logging in with your email or phone number, then checking your profile settings.
  • Two-factor authentication will ask for a security code after you enter your username and password if you have it turned on.
  • If login fails, clear your browser cache and cookies, or try a different browser before assuming your credentials are wrong.

Where to find your username if you are not sure what it is

Open Facebook and log in with your email address or phone number instead. Once you are logged in, click your profile picture in the top right corner and select "Settings and privacy," then "Settings." On the left side, click "Personal information." Your username will be listed there as a clickable link that shows facebook.com/yourname.

Write down your username somewhere you can find it later. Many people forget it because they log in with email so often that they never use the username. Keeping it written down in a password manager or a find note makes the next login faster.

Creating a username if you do not have one yet

If you have never set a username, Facebook will not let you log in using one. Go to facebook.com and log in with your email address or phone number. Click your profile picture, then "Settings and privacy," then "Settings." On the left side, click "Personal information," then look for the username field. Click "Create a username" and follow the prompts.

Facebook usernames must be between 5 and 50 characters long and can contain letters, numbers, periods, and underscores. Once you create a username, you cannot change it for 60 days. After that, you can change it once every 60 days. Choose something you will remember and that you do not mind appearing in your profile URL.

What to do if your login fails

If you enter your username and password but the login does not work, first check that you are typing your username correctly. Usernames are case-sensitive on some devices, so "JohnSmith" is different from "johnsmith." Make sure Caps Lock is not on.

If you are sure the username and password are correct, clear your browser's cache and cookies. In most browsers, you can do this by pressing Ctrl+Shift+Delete (Windows) or Command+Shift+Delete (Mac), then selecting "All time" and clicking "Clear data." Close the browser completely and try again. If the problem persists, try logging in using a different web browser or a private browsing window.

If you still cannot log in, you may have forgotten your password. Click "Forgotten password?" on the login screen. Facebook will send a reset link to the email address or phone number associated with your account. Follow the link to create a new password, then try logging in again with your username.

Two-factor authentication and username login

If you have turned on two-factor authentication for your account, logging in with your username will work the same way as logging in with your email. After you enter your username and password, Facebook will ask you to enter a security code. This code comes from an authentication app like Google Authenticator, Microsoft Authenticator, or Authy, or as a text message to your phone, depending on which method you set up.

Enter the code when prompted. If you do not have access to your authentication method, click "Do not have your phone?" or a similar option to use a backup code instead. Backup codes are long strings of numbers that Facebook gives you when you first turn on two-factor authentication. Keep these codes in a safe place.

Logging in on mobile devices

On the Facebook app for iPhone or Android, tap the login screen and enter your username in the email or phone field. Then enter your password and tap "Log In." The process is the same as on a computer, though the layout looks different.

If you are already logged into the Facebook app on your phone, you do not need to log in again unless you have signed out. If you have multiple Facebook accounts, you can add them in the app settings and switch between them without logging out and back in each time.

Keeping your account find when using username login

Your username is public — anyone can see it because it appears in your profile URL. Your password is private and should never be shared. Do not type your login information on a computer or phone that other people use, and do not save your password in your browser if you share the device.

If you log in from a public computer, always click "Log Out" when you are done, not just close the browser window. Public computers can retain login information even after you close the window. If you think someone else has logged into your account, change your password when ready and check your login activity in Settings to see where your account has been accessed.

Frequently Asked Questions

Can I use my email address instead of my username to log in?

Yes. Facebook lets you log in with your email address, phone number, or username. All three work on the login screen. If you do not remember your username, using your email is faster than looking it up.

What is the difference between my username and my name on Facebook?

Your name is what appears on your profile and in posts — it can have spaces and special characters. Your username is a custom web address with no spaces, used in your profile URL. You can change your name anytime, but you can only change your username once every 60 days.

Why does Facebook say my username does not exist when I try to log in?

You may have typed it wrong, or you may not have created a username yet. Try logging in with your email address instead. Once you are logged in, check your settings to confirm you have a username and that you are spelling it correctly.

Can I log in with just my username, without a password?

No. Facebook always requires both your username (or email or phone) and your password. If you have forgotten your password, click "Forgotten password?" on the login screen to reset it.

Is it safer to log in with my username or my email address?

Both are equally safe. The security of your login depends on your password strength and whether you have two-factor authentication turned on, not on whether you use your username or email. Use whichever one you remember more easily.