Facebook uses usernames as one way to identify you, but not the only way

Facebook lets you create a username, but the platform does not require one to work. Your account runs on your real name — the one you entered when you signed up — and Facebook uses that name as your primary identifier across the site. Your username is optional, a secondary handle that makes your profile easier to find and share. If you never set one, Facebook still knows exactly who you are through your account ID, email address, and phone number.

The distinction matters because it shapes what Facebook can do with your information. Your real name is tied to every action you take: every post, comment, reaction, and page you visit while logged in. Your username is just a vanity URL and a searchable handle. Facebook's tracking and targeting systems run on your real name and account ID, not your username. Changing your username does not change what Facebook knows about you or how it uses that data.

Key Takeaways

  • Facebook identifies you by your real name and account ID, not your username — your username is optional and mainly for convenience.
  • Your real name is attached to all your activity on Facebook, including posts, reactions, and pages you visit, regardless of what username you choose.
  • Changing or hiding your username does not reduce what Facebook collects about you or how it uses your data for targeting ads.
  • Facebook can still find and contact you through your email address and phone number even if you hide your username from search results.
  • Your username is visible to other users only if you set one; your real name is always visible on your profile unless you restrict who can see it.

What Facebook actually tracks and why your username does not matter

Facebook's data collection happens at the account level, not the username level. When you scroll through your feed, like a post, or visit a business page, Facebook logs that activity against your account ID — a unique number assigned to you when you created your account. That ID stays the same whether your username is "jane.smith" or "jsmith2024" or blank. The company uses this ID to build a profile of your interests, location, device type, and browsing habits, which it then sells to advertisers.

Your real name is what appears next to your posts and comments. It is what your friends see when you interact with their content. It is also what Facebook uses to match you across other platforms and services — if you use the same email address on Instagram (which Facebook owns), the company can link your activity there to your Facebook account. Your username is purely cosmetic from Facebook's perspective. Hiding it or changing it frequently does not disrupt any of this tracking.

How other people find you using your username

When you set a username on Facebook, you create a custom URL for your profile: facebook.com/yourname. Other users can search for that username in the Facebook search bar and land directly on your profile. If you do not set a username, people can still find you by searching your real name, but they will see your account ID in the URL instead of a readable name.

You can control whether your profile shows up in Facebook search at all by adjusting your privacy settings. Go to Settings and Privacy, then Settings, then Privacy, and look for "Who can look you up using the email address or phone number you provided?" You can set this to Friends Only or turn it off entirely. This setting affects both your real name and your username — if you restrict it, neither will appear in search results for people outside your chosen audience.

The difference between your username and your account ID

Facebook assigns you an account ID the moment you create your account. This is a long string of numbers that never changes and is unique to you. Your username is something you choose later, and you can change it whenever you want (though Facebook limits how often). The account ID is what Facebook uses internally to track you. The username is what you and your friends use to find each other.

If someone wants to find your profile and does not know your username, they can still do it if they have your email address or phone number. Facebook will show them your account even if your username is hidden. This is why changing your username or keeping it private does not meaningfully reduce your visibility to people who already know how to contact you.

What happens when you change or hide your username

You can change your Facebook username once every 60 days. When you do, your old username becomes available for someone else to claim, and your profile URL changes. However, Facebook still knows it is you. Your account ID does not change, your real name stays the same, and your activity history remains attached to your account. Advertisers and data brokers can still target you based on your interests and behavior.

If you want to hide your username from search results, you can make your profile private or adjust individual privacy settings. But this only hides your username from people searching for it — it does not hide you from Facebook itself. The company still collects the same data about you, still shows you targeted ads, and still sells information about your interests to third parties.

Why Facebook requires a real name but makes usernames optional

Facebook's real-name policy exists so the company can verify who you are and prevent duplicate accounts. It also makes it easier for advertisers to match you to other databases they own. If you are a customer of a retail store that bought a mailing list, Facebook can match your real name and email address to that list and show you ads based on what you bought. A username would not help with that matching process.

Usernames are optional because they serve a different purpose: they make profiles easier to share and remember. A friend can text you "find me at facebook.com/sarah.jones" instead of a long account ID. But from Facebook's business model, your real name is what matters. The username is a convenience feature for users, not a core part of how the platform identifies or tracks you.

How to manage what Facebook knows about you

If you want to reduce what Facebook collects, focus on your real account settings, not your username. Start by going to Settings and Privacy, then Settings, then Apps and Websites. Here you can see which apps and services have permission to access your Facebook data and revoke access to ones you do not use. You can also turn off off-Facebook activity tracking, which limits how much data Facebook collects about your browsing on other websites.

Next, review your ad preferences. Go to Settings and Privacy, then Settings, then Ads. You can see the interests and categories Facebook has assigned to you and remove ones that are inaccurate. You cannot opt out of targeted ads entirely, but you can reduce how much Facebook knows about your behavior by limiting which apps and websites can track you. Finally, consider limiting who can see your posts and profile information by adjusting your privacy level to Friends Only or Custom, depending on your comfort level.

Frequently Asked Questions

Can I use a fake name as my username to stay private?

Your username can be anything you want, but your real name is what Facebook requires and what the company uses to identify you. Using a fake username does not change what Facebook collects about you or how it tracks your activity. Your real name is still attached to your account and visible on your profile unless you restrict who can see it.

Does Facebook sell my username to advertisers?

Facebook does not sell your username directly. It sells information about your interests, location, age, and behavior to advertisers. Your username is just a label; the valuable data is your account ID, real name, email, and activity history. Changing your username does not stop this data sharing.

If I delete my username, does Facebook delete my account?

You cannot delete your username entirely, but you can leave it blank by not setting one. Your account will still exist and function normally. Facebook will still track you using your account ID and real name. Other people will just see your account ID in the URL instead of a readable name.

Can someone find me on Facebook if they only know my username?

Yes. If your profile is public or visible to the person searching, they can find you by typing your username into the Facebook search bar. If your profile is private or your username is hidden from search, they would need to know your real name or email address to find you.

Does my username appear on my posts and comments?

No. Your real name appears next to your posts and comments, not your username. Your username is only visible on your profile page and in your profile URL. People who see your posts will see your real name, not your username.