The fastest way: Settings menu
Open the Settings app by pressing the Windows key and typing "settings", then press Enter. Click Accounts in the left sidebar. At the top of the window, under "Your info", you will see your username displayed next to a profile picture. This is the name Windows uses to identify your account on this computer.
If you see an email address instead of a username, that means your account is linked to a Microsoft account. The email is what you use to sign in, but Windows still has a local username behind the scenes — scroll down on this same page to find "Local account info" if you need the separate local name. The local username is what appears in file permissions and system logs.
Key Takeaways
- Your Windows 10 username appears in Settings under Accounts > Your info, next to your profile picture.
- If you signed in with an email address, that email is your sign-in name, but your local username may be different and appears lower on the same page.
- You can also find your username by opening Command Prompt and typing whoami, which displays it when ready.
- The username folder in C:\Users\ shows all account names on the computer, useful if you need to check multiple accounts.
Using Command Prompt to see your username
Right-click the Windows Start button and select Windows PowerShell (Admin) or Command Prompt (Admin). Type whoami and press Enter. The result will show your username in the format COMPUTERNAME\username. The part after the backslash is your actual Windows username.
This method is faster if you already have a terminal window open, or if you need to check the username for troubleshooting purposes. The output is always exact and leaves no room for confusion between sign-in email and local account name. It also works the same way whether you use a Microsoft account or a local account.
Checking the Users folder on your hard drive
Open File Explorer and navigate to C:\Users\. Each folder in this directory is a Windows account on your computer. Your username is the name of your own folder. If you see multiple folders, each one represents a different user account that has logged into this computer at some point.
This method is useful if you want to see all usernames on the computer at once, or if you are trying to figure out which account belongs to which person in a household. The folder names are always the exact usernames Windows recognizes. You can also use this to verify that your username matches what appears in Settings or Command Prompt.
Finding your username in System Information
Right-click This PC or My Computer on your desktop or in File Explorer, then select Properties. Look for the line that says "Full computer name". Your username is not shown here directly, but you can see the computer name. To see your username from this screen, click Advanced system settings on the left, then click Environment Variables at the bottom. Look for the variable named USERNAME — the value next to it is your account name.
This route takes more steps than the others, so most people use Settings or Command Prompt instead. It is useful mainly if you are already in System Information for another reason and want to check your username while you are there. The Environment Variables method is also reliable for confirming your username in cases where Settings might show a display name instead.
Why you might need your username
Windows usernames come up when you are setting file permissions, troubleshooting network connections, or running commands that need to know which account is active. If you are following instructions from a support article or IT staff member and they ask for your username, any of these four methods will give you the exact answer.
The username is different from your display name (the name that appears on the sign-in screen) and different from your Microsoft account email. If someone asks for your "Windows username" specifically, they mean the account name that Windows uses internally — not your email or your display name. Knowing which one you need prevents confusion when you are troubleshooting or setting up permissions.
Frequently Asked Questions
Is my username the same as my email address?
Not necessarily. If you signed in with an email address, that email is your sign-in credential, but your local Windows username may be different. Check Settings > Accounts > Your info and scroll down to see both your sign-in method and your local account name if they differ.
What if I see DOMAIN\username in Command Prompt instead of just my username?
The part before the backslash is your computer name or domain name. The part after the backslash is your actual username. If you are on a work network, the domain name appears first. Your username is the second part.
Can I change my Windows username?
Yes, but the process depends on whether you use a local account or a Microsoft account. Local accounts can be renamed in Settings > Accounts > Other people. Microsoft accounts require changing your account name through your Microsoft account settings online, which is more involved.
Why do I see multiple folders in C:\Users\ that I did not create?
Windows creates system folders like "Public" and "Default" automatically. You may also see folders for accounts that were deleted but whose files were kept. Only the folders matching actual user accounts you recognize are active accounts on the computer.
Does my username have to match my computer name?
No. Your computer name and your username are separate. You can see your computer name in System Information, and your username in any of the four methods above. They are often different and do not need to match.