The fastest way to see your Windows username right now
Your Windows username appears in the bottom left corner of your lock screen, just above the password box. If your computer is already unlocked, open the Start menu (the Windows icon in the bottom left), and your username shows at the top of the menu next to your profile picture. That is your Windows username — the name you type when you log in.
If you need to write it down or confirm it is spelled correctly, these two places will show you exactly what it is without opening any settings or running any commands. Most people find their username this way in under ten seconds.
Key Takeaways
- Your Windows username appears on the lock screen above the password box and at the top of the Start menu next to your profile picture.
- The Settings app shows your username under System > About, listed as "Device name" and "User name" in separate places.
- If you forget your password but remember your username, you can still restart your computer and log in with a password reset.
- A local account username is different from a Microsoft account email — your local username is what appears on the lock screen.
Finding your username in Settings
Open the Settings app by pressing the Windows key and typing "settings", then press Enter. Click System in the left menu, then scroll down and click About. You will see two separate names here: the "Device name" (your computer's name on a network) and the "User name" (your Windows username). The User name is what you need.
This route takes a few more steps than checking the lock screen, but it confirms your username is spelled correctly and shows you both your username and your computer's network name in one place. This is useful if you are troubleshooting a connection problem or need to tell someone your exact username.
Using Command Prompt to check your username
If you prefer to use the command line, press the Windows key and type "cmd", then press Enter to open Command Prompt. Type echo %username% and press Enter. Your Windows username will print on the next line exactly as the system recognizes it.
This method is most useful if you are already working in Command Prompt for another reason, or if you need to copy your username into a script or batch file. For most people, checking the lock screen or Start menu is faster and does not require typing commands.
The difference between your Windows username and your Microsoft account
If you signed into Windows with a Microsoft account (an email address), your Windows username might not be the same as that email. Windows creates a short username behind the scenes, often based on the first part of your email or a shortened version of your name. The lock screen shows this Windows username, not your email address.
If you signed in with a local account (a username and password you created on this computer only), your Windows username is exactly what you typed when you set it up. Either way, the lock screen and Start menu show you the correct name to use when logging in.
What to do if you cannot remember your username
If you are locked out and cannot see the lock screen clearly, restart your computer and look at the lock screen before entering any password. Your username will be visible there. If you are using a Microsoft account and forgot both your username and password, you can use your phone number or backup email to reset your password on the lock screen itself — Windows will let you in once you reset it.
If you are using a local account and forgot both your username and password, you will need to restart the computer in Safe Mode or use a password reset disk if you created one earlier. Contact Microsoft Support or your organization's IT department if you need help recovering a local account.
Why you might need to know your username
Your Windows username is required when you share files over a network, set up remote access, troubleshoot permission problems, or contact technical support. Some programs also ask for your username to configure settings or restore backups. Knowing where to find it quickly saves time when you need it.
Write down your username and keep it somewhere safe — not in a place where someone else can find your password, but somewhere you can look it up if you need it later. Many people take a photo of their lock screen or write it in a password manager for this reason.
Frequently Asked Questions
Is my Windows username the same as my email address?
Not necessarily. If you signed in with a Microsoft account, Windows created a short username behind the scenes. Your email is your Microsoft account, but your Windows username is different. Check your lock screen to see your actual Windows username.
Can I change my Windows username?
Yes. Open Settings, go to Accounts > Your info, and click "Rename your device" to change your computer's name. To change your user account name, go to Accounts > Other people, select your account, and click "Rename". Changes take effect after you restart.
What if I see multiple usernames on my lock screen?
Your computer may have multiple user accounts. Click on the account you use to log in — that is your Windows username. If you are not sure which one is yours, try the one with your name or profile picture.
Do I need my username to reset my password?
No. On the lock screen, you can click "I forgot my password" and reset it using your phone number or backup email, even if you cannot remember your username. Once you reset your password, you can log in and see your username in Settings.