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

Every computer has one or more user accounts, and each account has a username. This is different from your full name or email address — it's the short identifier the operating system uses to organize your files, settings, and permissions. You may already know your username if you type it when you start your computer, but if you've forgotten it or inherited a device, you can find it in seconds using built-in tools.

The steps differ slightly depending on whether you use Windows, macOS, or Linux. All three operating systems store this information in places you can reach without special software or administrator access.

Key Takeaways

  • On Windows, open Settings, go to Accounts, and your username appears under "Your info" — or open Command Prompt and type whoami.
  • On macOS, click the Apple menu, select System Settings, go to General, then Users & Groups to see your account name.
  • On Linux, open a terminal and type whoami or id to display your username when ready.
  • Your username is not the same as your display name, email address, or password — it's the login identifier only.
  • If you see multiple usernames on your device, each one is a separate account with its own files and settings.

Finding your username on Windows 10 or 11

The quickest route on Windows is the Settings app. Click the Start button (Windows logo), type "Settings" into the search box, and open the Settings process. Once it opens, select Accounts from the left sidebar, then click Your info at the top. Your username appears directly under your profile picture, labeled as "Account name."

If you prefer not to use the graphical interface, you can open Command Prompt instead. Press the Windows key and R together, type cmd, and press Enter. In the black Command Prompt window, type whoami and press Enter. The system will display your username in the format COMPUTERNAME\username — the part after the backslash is your actual username.

A third option is to right-click on "This PC" or "My Computer" on your desktop or in File Explorer, select Properties, and look for "Computer name" and "Full computer name." Below that, you'll see "Owner," which is often your username, though not always if the account was renamed after creation.

Finding your username on macOS

On a Mac, click the Apple menu in the top-left corner and select System Settings (or System Preferences on older versions). Navigate to General, then click Users & Groups or Accounts depending on your macOS version. Your account will be highlighted, and your username appears below your display name — it's usually shown in parentheses or as a separate field labeled "Account name."

From the terminal, you can also type whoami and press Enter to see your username when ready. To open Terminal, use Spotlight search: press Command and Space together, type "Terminal," and press Enter.

If you're looking at the login screen itself, your username is the short text field where you type to log in — not the full name that appears above it. The full name is your display name; the username is what the system actually uses.

Finding your username on Linux

Linux systems make this straightforward. Open a terminal window (the method varies by distribution — usually right-click on the desktop or search for "Terminal" in your process menu). Type whoami and press Enter. The terminal will print your username on the next line.

For more detailed information, type id and press Enter. This command shows your username, user ID (a number the system uses internally), group ID, and group memberships — useful if you need to understand your account's permissions.

You can also check the file /etc/passwd by typing cat /etc/passwd, which lists all user accounts on the system. Your username will be the first field in the line corresponding to your account, before the first colon.

The difference between username, display name, and email

These three identifiers often cause confusion because they look similar but serve different purposes. Your username is what you type at the login screen — it's short, has no spaces, and is used by the operating system to manage files and permissions. Your display name is the full name that appears in menus and file properties; it can include spaces and special characters. Your email address is a separate identifier used for online accounts, password recovery, and communication — it may or may not match your username.

On Windows, you might log in with the username "jsmith" but have the display name "Jane Smith" and an email "jane.smith@example.com." All three are different. This matters when you're troubleshooting permissions, setting up shared folders, or contacting support — they'll ask which identifier you need.

What to do if you see multiple usernames

If your device shows more than one username, each one is a separate user account with its own files, desktop, and settings. This is common on shared computers, family devices, or machines passed between people. You can see all accounts in the same places you found your own username: Settings > Accounts on Windows, or System Settings > Users & Groups on macOS.

If you don't recognize an account, it may be a system account (like "Administrator" or "Guest") or an account created by software installation. Do not delete an account unless you're certain no one uses it and it's not required by the system — deleting an account also deletes all files stored in that account's folder.

Why you might need your username

Knowing your username becomes important in several situations. If you're setting up file sharing on a network, you'll need to type your username to grant other people access to your folders. If you're troubleshooting permissions errors, support staff will ask for your username to understand which account is affected. If you're setting up remote access or connecting to a server, you'll need to provide your username and password. Some software also requires your username during installation to set up user-specific settings.

Your username is not secret information — it's visible to anyone who can see your computer's login screen or file properties. It's the password that needs to stay private. If you've forgotten your password but remember your username, you can use that username to begin the password recovery process on your device.

Frequently Asked Questions

Is my username the same as my Microsoft account or Apple ID?

Not necessarily. Your Microsoft account or Apple ID is used to sign into online services and may be an email address. Your local computer username is what the operating system uses to manage your device. You can have a Microsoft account named "jane@example.com" but a local Windows username of "jsmith." They're separate identifiers.

Can I change my username after I've created it?

Yes, but the process is different on each system and can affect file permissions. On Windows, you can change your display name easily, but changing the actual username (the folder name) is more complex. On macOS and Linux, renaming a user account requires careful steps to avoid breaking file access. If you need to change your username, search your operating system's documentation for "rename user account" — it's possible but worth doing carefully.

What if I'm locked out and can't log in to see my username?

If you're at the login screen and can't remember your username, look for a "Sign-in options" button or link — it may show you a list of accounts on the device. If the device is yours and you've forgotten the password, you can use password recovery options tied to your email or phone number. If it's a work or school device, contact your IT department or help desk.

Does my username appear in my file paths?

Yes. On Windows, your files are usually stored in C:\Users\[username]. On macOS, they're in /Users/[username]. On Linux, they're typically in /home/[username]. If you see these paths in error messages or file properties, the part in brackets is your username.

Can someone else see my username?

Yes. Your username is visible on the login screen, in file properties, in network settings, and in system information. It's not private. What is private is your password — never share that. Your username alone doesn't give anyone access to your files or settings; they would also need your password.