The fastest way: Settings

Open Settings by pressing Windows key + I on your keyboard. Go to Accounts in the left sidebar, then click Your info. Your username appears at the top of the page under your profile picture. This is the name Windows uses to log you in and identify your account.

If you see an email address instead of a username, that means you signed in with a Microsoft account rather than a local account. The email is your login name in that case. You can still use the other methods below to see your local computer username if you need it.

This method works on Windows 10 and Windows 11. The Settings app opens when ready and shows your account information without requiring any technical knowledge or command-line tools.

Key Takeaways

  • Settings shows your username when ready: press Windows key + I, go to Accounts, then Your info.
  • Command Prompt displays your username when you type whoami and press Enter.
  • File Explorer shows your username in the address bar when you click This PC or open your user folder.
  • System Properties reveals your username under Computer Name, along with the full path to your user folder.

Using Command Prompt

Press Windows key + R to open the Run dialog. Type cmd and press Enter. In the Command Prompt window, type whoami and press Enter. Your username appears on the next line in the format COMPUTERNAME\username. The part after the backslash is your actual username.

This method works the same way on every Windows computer and is often the fastest if you are already comfortable with Command Prompt. You can close the window by typing exit and pressing Enter.

Command Prompt shows your username exactly as Windows recognizes it internally, which is useful if you need to know how a program or network connection will see your account. This is the most reliable method if you suspect your display name has been changed.

Checking File Explorer

Open File Explorer by pressing Windows key + E. Click This PC in the left sidebar. Look at the address bar at the top — it shows the path to your current location. Your username is the folder name that appears after C:\Users\. For example, if the path reads C:\Users\JamesRodriguez, your username is JamesRodriguez.

You can also navigate directly to your user folder by clicking the home icon or typing your username into the address bar. Windows stores your personal files, documents, and downloads in a folder with your username, so this folder is straightforward to spot in the Users directory.

This visual method works well if you prefer not to use Settings or Command Prompt. The folder path is always visible in the address bar, and you can see your username every time you open File Explorer.

System Properties method

Right-click This PC or My Computer on your desktop or in File Explorer. Select Properties. In the System window, scroll down to find Computer name, domain, and workgroup settings. Below that, you see Full computer name and User name. Your username is listed under User name.

This window also shows your computer name and the full path to your user folder, which starts with C:\Users\ followed by your username. This method gives you the most context about your account and computer setup in one place.

System Properties is useful if you need to see multiple pieces of information about your account at once. The User name field here always shows your actual username, not a display name.

Difference between username and email

If you signed in with a Microsoft account, Windows may show your email address as your login name. Your actual username — the one that appears in file paths and Command Prompt — is different. You can find your true username using any of the methods above, and it will not include the @ symbol.

Local accounts (accounts created on just your computer) always have a username without an email format. If you are unsure which type of account you have, Settings will show you clearly: Microsoft accounts display an email address and a profile picture, while local accounts show only a username.

What to do if you see a different name

Sometimes the name displayed in Settings does not match the folder name in File Explorer or the output from Command Prompt. This happens when you changed your display name after creating your account. Your actual username — the one Windows uses internally — is the folder name in C:\Users\, not the display name in Settings.

Programs and system tools use your actual username, not your display name. If you need to know which name a program or network will see, use Command Prompt or check your user folder path in File Explorer. That is always your true username.

Frequently Asked Questions

Why do I see an email address instead of a username?

You signed in with a Microsoft account rather than a local account. The email is your login name for that account. Your actual computer username is still stored separately and appears in file paths and Command Prompt output.

Can I change my username?

You can change your display name in Settings easily, but changing your actual username (the folder in C:\Users\) is more complex and requires creating a new account or using advanced tools. Most people only need to change their display name, which is what appears in Settings.

What if Command Prompt shows a name I do not recognize?

That is your actual username. It may differ from the name shown in Settings if someone changed the display name. The Command Prompt output is what Windows uses internally and what programs see when they check your username.

Do I need my username to sign in?

Not necessarily. If you use a password or PIN, Windows lets you sign in without typing your username. But some programs and network connections require your username, so it is useful to know where to find it.

Which method is most reliable?

Command Prompt and File Explorer are equally reliable because they both show your actual username as Windows recognizes it. Settings is fastest but may show a display name instead. Use Command Prompt if you want the most certainty.