Your Windows username is the name you use to sign in to your computer
Your Windows username is the account name that appears on your sign-in screen — the name you type in (or select) every time you turn on your computer or wake it from sleep. It is not your email address, though you may have set up your account using one. Windows stores this name in your system settings, and you can find it in several places depending on which version of Windows you have and how quickly you need the answer.
The fastest way to see your username right now is to open the Start menu, type "cmd" or "command prompt", and run it. Type the single word whoami and press Enter. Your username will appear on the next line. If you prefer not to open a command window, you can also find it in your Settings app or by looking at your user folder — both methods take about 30 seconds.
Key Takeaways
- Your Windows username is the account name you sign in with, visible on your lock screen and in Settings under Accounts.
- The quickest method is opening Command Prompt, typing whoami, and pressing Enter to see your username when ready.
- You can also find your username by opening Settings, selecting Accounts, then Your Info, where it appears at the top of the page.
- If you see a name like "User" or a string of numbers, you may be using a local account rather than a Microsoft account, but it is still your valid Windows username.
Finding your username in Settings
Open the Start menu and type "settings" — the Settings app will appear at the top. Click it to open. Once inside, select Accounts from the left sidebar (you may need to scroll down to see it). Then click Your info at the top of the right panel.
Your username appears at the very top of the page, usually in large text. Below it you will see whether you are signed in with a Microsoft account (which uses an email address) or a local account (which uses a straightforward name). Both are valid Windows usernames — the difference is only in how you manage your account across devices. If you see your email address here, that is your Microsoft account username, but your Windows system username may be different and shorter (you can see the actual system username by using the Command Prompt method below).
Using Command Prompt to see your username when ready
Press the Windows key on your keyboard (the key with the Windows logo), type "cmd", and press Enter. A black window will open — this is Command Prompt. Type the word whoami (all lowercase, no spaces) and press Enter.
Your username will appear on the next line. This is your actual system username as Windows recognizes it. If you see something like "DESKTOP-ABC1234\YourName", the part after the backslash is your username. The part before it is your computer's name, which is different. Close the Command Prompt window when you are done — you can type "exit" and press Enter, or just click the X button.
Finding your username in your user folder
Open File Explorer by pressing the Windows key and typing "file explorer", then pressing Enter. On the left sidebar, click This PC or My Computer. Double-click the C: drive (or whichever drive Windows is installed on). Then double-click the Users folder.
Inside the Users folder you will see a list of account folders. Each folder is named after a Windows username on your computer. Your username is the folder that corresponds to the account you are currently signed in with. If you are not sure which one is yours, look for a folder with a house icon next to it — that usually marks the current user's folder. The folder name is your Windows username.
What if you see an unfamiliar username
If the username you find does not match what you expected, there are a few common reasons. You may have set up your account with a Microsoft email address, but Windows created a shorter local username behind the scenes — for example, your email might be "jane.smith@outlook.com" but your system username is "janesmith" or "jane". Both are correct; Windows just uses the shorter version internally.
You may also be looking at a computer that was set up by someone else, or one that was upgraded from an older version of Windows and kept the old account name. If you need to change your username, you can do that in Settings under Accounts, though the process is different depending on whether you use a Microsoft account or a local account. For now, the username you find using any of the methods above is the one Windows recognizes as yours.
Why you might need to know your username
Your Windows username comes up when you are setting up software, connecting to a network, or troubleshooting a problem. Some programs ask for your username to set file permissions or create user-specific settings. Network administrators may need it to manage your computer on a shared network. If you are following instructions from a tech support person or a how-to guide, they may ask "What is your username?" — now you know exactly where to find it.
You will also see your username in error messages and log files, which can help you understand what went wrong. Knowing where to find it quickly saves time when you need it.
Frequently Asked Questions
Is my Windows username the same as my Microsoft account email?
Not always. Your Microsoft account uses an email address, but Windows creates a separate system username behind the scenes. You sign in with your email, but the system username (what you see in Command Prompt or the Users folder) is usually shorter. Both are correct — they just serve different purposes.
Can I have more than one username on the same computer?
Yes. Each person who signs in to the computer can have their own account with their own username. You will see all of them in the Users folder. When you sign in, you are using one specific username. Other people on the computer have different usernames and their own separate files and settings.
What if I forgot my password but remember my username?
Your username and password are separate. Knowing your username does not let you sign in without the password. To reset a forgotten password, you will need to use the "I forgot my password" link on the sign-in screen, which usually requires access to your email or phone number associated with your account.
Does my username appear anywhere else on my computer?
Yes. It appears in File Explorer at the top of windows (sometimes showing "C:\Users\YourUsername\..."), in Settings under Accounts, in system logs, and in any program that displays the current user. The Command Prompt method shows it most clearly.
What if I see "Administrator" as my username?
Administrator is a special account type, not a regular username. If you see it, you are either signed in to the built-in Administrator account (which is rare on modern Windows) or you have administrator permissions on your account. Your actual username is something else — check Settings under Accounts to see your real account name.