Your Windows username is the account name you use to sign in to your computer
Your Windows username is the name that appears on your sign-in screen and in the top-right corner of your taskbar when you are logged in. It is not your email address, though you may have set up your account using one. Windows stores this name separately, and you may need it to troubleshoot network problems, share files with others, or understand which account owns certain files on your computer.
The fastest way to find it depends on whether your computer is currently on and you are logged in. If you are already using your computer, you can see your username in under ten seconds. If you need to find it another way, there are several backup methods that work even if you have forgotten your password.
Key Takeaways
- Your Windows username appears in the top-right corner of the taskbar when you are logged in, or on the sign-in screen before you log in.
- You can view your username by opening Settings, navigating to Accounts, and looking at the top of the page.
- If you are locked out, you can see your username on the sign-in screen itself, or by checking the C:\Users folder on another computer with access to the same hard drive.
- Your username is different from your password and different from any email address linked to your account.
- Knowing your username helps you troubleshoot network sharing, file permissions, and account-related errors.
Check the top-right corner of your taskbar
If you are currently logged into your computer, the simplest method is to look at the bottom-right corner of your screen. Click on the area where the time and date appear, or look for a small icon or your name already visible there. Windows displays your username in this location on most versions.
On Windows 10 and Windows 11, you may see your full name, your username, or an icon representing your account. If you see only an icon, click it and a menu will appear showing your full account name. This is the name Windows uses internally for your account.
Open Settings and navigate to your account information
This method works on Windows 10 and Windows 11 and shows your username clearly in one place. Press the Windows key on your keyboard (the key with the Windows logo), then type "Settings" and press Enter. The Settings app will open.
Once Settings is open, click on "Accounts" in the left sidebar. At the top of the main panel, you will see a section labeled "Your info" or similar. Your Windows username will be displayed here, often shown as "User name" or under your account picture. Write down exactly what you see — this is your Windows username.
Check the sign-in screen if you are locked out
If you cannot log in to your computer, your username is still visible on the sign-in screen itself. Look at the screen where you enter your password. The name or email address shown above the password box is your account identifier. On some computers, multiple usernames appear as separate tiles — your username is the label under the account you are trying to access.
If you see an email address instead of a straightforward name, that is your Microsoft account email, not your local Windows username. The actual Windows username may be different. To find the true local username, you will need access to another computer or to the hard drive itself.
Find your username in the Users folder
Every Windows computer stores user account folders in a location called C:\Users. If you have access to another computer, or if you can access your hard drive through another method, you can see all usernames on the computer by opening File Explorer and navigating to C:\Users. Each folder in this directory is named after a Windows username on that computer.
For example, if you see folders named "Marcus", "Sarah", and "Guest", then "Marcus" and "Sarah" are the Windows usernames on that computer. The folder names are the exact usernames Windows uses. This method is useful if you have physical access to the hard drive but cannot log in through the normal sign-in screen.
Use the Command Prompt to display your username
If you are logged in but want to confirm your username through a technical method, you can open Command Prompt. Press the Windows key, type "cmd", and press Enter. A black window will open.
Type the command whoami and press Enter. Command Prompt will display your username in the format "COMPUTERNAME\USERNAME". The part after the backslash is your Windows username. This method is reliable and works on all Windows versions. You can also type echo %username% to see just your username without the computer name.
Understand the difference between username and email
Many people confuse their Windows username with their email address or their Microsoft account name. These are three separate things. Your Windows username is what the operating system calls you internally — it might be "Marcus" or "mchen" or something else entirely. Your email address is what you use to sign in to websites and services. Your Microsoft account name is the email you linked to your Windows account for cloud features like OneDrive and password recovery.
If you set up your computer with a Microsoft account, Windows may show your email address on the sign-in screen, but your actual Windows username is still stored separately. To find the true username, use one of the methods above — the Settings app or the Command Prompt method will show you the actual name Windows uses for your account folder and system files.
Frequently Asked Questions
Is my Windows username the same as my password?
No. Your username is the name of your account, and your password is the secret code you use to prove you own that account. You can change your password without changing your username, and vice versa. Anyone can see your username on the sign-in screen, but only you should know your password.
Can I change my Windows username?
Yes, but the process is different depending on whether you have a local account or a Microsoft account. For a local account, open Settings, go to Accounts, click "Your info", and select "Rename your account". For a Microsoft account, you must change it through your Microsoft account settings online, not through Windows itself. Changing your username does not affect your files or passwords.
What if I see my email address instead of a username?
You are likely using a Microsoft account to sign in. Your email is your sign-in method, but Windows still has an internal username. Use the Command Prompt method (whoami) or check the C:\Users folder to find your actual Windows username, which may be different from your email address.
Why do I need to know my Windows username?
You may need it to troubleshoot network file sharing, understand file permissions, connect to shared printers, or contact technical support. Some error messages also reference your username. Knowing it helps you understand which account owns certain files and settings on your computer.
Is my Windows username visible to other people on my network?
Yes. When you share files or connect to network resources, other people on your network can see your username. This is normal and expected. Your username is not a secret — your password is. Never share your password, but your username is safe to give out.