Your username is the name your computer uses to identify you when you log in

Your computer username is not the same as your email address or your full name. It is the short identifier you type into the login screen, or that appears in your file paths and system settings. Windows, Mac, and Linux all store this information in different places, but you can find it in under a minute using built-in tools — no software needed.

The fastest way depends on which operating system you use. If you are already logged in, you likely already know your username because you typed it this morning. But if you have inherited a computer, forgotten which account you use, or need to find a different user's name on a shared machine, the steps below will show you exactly where to look.

Key Takeaways

  • On Windows, open Settings, go to Accounts, and your username appears at the top of the Your Info page.
  • On Mac, open System Settings, click General, then About, and your computer name is listed — your username is the short name that appears before the @ symbol in the Terminal.
  • On Linux, open a terminal and type whoami to see your current username when ready.
  • If you see a full name instead of a short username, the short username is usually the first part of your email address or a variation without spaces.
  • On shared computers, you can see all user accounts in Windows Settings or Mac System Settings without needing to log into each one.

Finding your username on Windows 10 and Windows 11

Open the Settings app by pressing the Windows key and typing "Settings," then press Enter. Click on Accounts in the left sidebar. You will see a page labeled Your Info at the top. Your username appears directly under your profile picture. This is the name you use to log in to your computer.

If you see a full name like "Sarah Johnson" instead of a short name like "sjohnson," the full name is your display name. Your actual username is usually shorter and appears in your file path. To confirm, open File Explorer, click This PC, then look at the address bar. Your username will appear after "Users\" — for example, "C:\Users\sjohnson\Documents." The part after "Users\" is your true username.

If you need to see all user accounts on the computer, stay in Settings and click Other people in the Accounts section. You will see a list of every account on the machine, including administrator accounts and guest accounts. You do not need to log into each one to see the usernames.

Finding your username on Mac

Click the Apple menu in the top-left corner and select System Settings (or System Preferences on older versions). Click General in the sidebar, then click the About tab. You will see "Computer Name" listed — this is the name of your Mac, not your username. Your actual username is different.

To find your username, open the Terminal app. You can find it by clicking the Spotlight icon (magnifying glass) in the top-right corner, typing "Terminal," and pressing Enter. In the Terminal window, type whoami and press Enter. Your username will appear on the next line. This is the short name your Mac uses to identify you in the system.

Alternatively, open Finder and click Go in the menu bar, then select Home. The folder that opens is named after your username. Look at the window title or the folder icon label — that is your username. You can also see it in the Finder sidebar under "Favorites" — it usually appears as a house icon with your username next to it.

Finding your username on Linux

Open a Terminal window. You can usually do this by right-clicking on the desktop and selecting "Open Terminal Here," or by searching for "Terminal" in your process menu. Type whoami and press Enter. Your username will print on the next line. This works on any Linux distribution — Ubuntu, Fedora, Debian, or others.

If you want to see all user accounts on the system, type cat /etc/passwd in the Terminal and press Enter. You will see a list of every account, including system accounts. Your username will be the first part of each line. System accounts often have names like "root," "daemon," or "nobody," while human user accounts usually have readable names.

What to do if you see a full name instead of a username

Many computers display your full name on the login screen and in settings, but your actual username is shorter. For example, your display name might be "Sarah Elizabeth Johnson," but your username might be "sjohnson" or "sarah.johnson." The display name is for people to read; the username is what the computer uses internally.

To find the real username when you only see a full name, check your file path. On Windows, open File Explorer and look at the address bar — the folder name after "Users\" is your username. On Mac, open Terminal and type whoami. On Linux, do the same. The Terminal command works on all three systems and always shows your true username, not your display name.

Finding usernames on a shared computer

If multiple people use the same computer, you can see all the usernames without logging into each account. On Windows, go to Settings > Accounts > Other people. You will see every account on the machine listed by username. On Mac, go to System Settings > General > About, then look at the list of users in the login window — you may need to restart or log out to see this screen clearly.

On Linux, open Terminal and type cat /etc/passwd to see all accounts. Look for usernames that are not system accounts — these usually have names that look like real people's names or identifiers, rather than "root" or "daemon."

Why you might need your username

Your username is required for several tasks: setting up file sharing with other computers, troubleshooting permission errors, connecting to a network drive, or providing it to a technician who needs to access your account remotely. It is also the name that appears in shared folders and network settings, so other people on your network may need to know it to send you files or grant you access to shared resources.

If you are setting up a new device or recovering from a problem, having your username written down can save time. It is not sensitive information in the way a password is — your username is often visible to anyone who looks at your computer's login screen or file system — but it is the piece of information you need to prove which account is yours.

Frequently Asked Questions

Is my username the same as my email address?

Not always. Your email address and username may look similar — for example, both might start with "sarah.johnson" — but they are stored separately. Your username is what you type to log into your computer. Your email is what you use to contact people or log into websites. Check your actual username using the steps above rather than assuming they match.

Can I change my username?

Yes, but the process is different on each system and can affect file paths and permissions. On Windows, you can change your display name easily in Settings, but changing your actual username (the folder name in Users\) requires more steps. On Mac and Linux, you can change your username, but it is more complex. If you need to do this, look up the specific steps for your operating system, as mistakes can lock you out of your account.

What if I forgot my password but remember my username?

Knowing your username does not help you log in if you have forgotten your password. On Windows, you can use password reset options on the login screen. On Mac, you can use your Apple ID to reset your password. On Linux, you may need to boot into recovery mode or use a live USB. Contact your system administrator or the device manufacturer if you are locked out.

Do I need to share my username with anyone?

Your username is not a secret like a password, but you do not need to share it unless someone specifically asks — for example, a technician troubleshooting your computer or a network administrator setting up file sharing. Never share your password, even if someone asks for your username and password together.

Why does my username look different in different places?

Your computer may display your full name in some places (like the Settings app) and your short username in others (like the file path or Terminal). This is normal. The short version is your actual username; the full name is just a display label. Use the short version when you need to type your username, and use the Terminal command whoami if you are ever unsure which one is correct.