The fastest way to see your Windows username right now
Your Windows username appears in the bottom left corner of your lock screen, or you can find it in Settings in under a minute. The method depends on whether your computer is locked or already open — both take about the same time.
If your computer is on and unlocked, the quickest route is Settings. If it is locked or you prefer not to open anything, the lock screen shows your username without any password entry.
Key Takeaways
- Your username appears on the Windows lock screen in the bottom left corner without requiring a password.
- In Settings, go to Accounts, then Your info, and your username displays at the top of that page.
- Command Prompt shows your username if you type whoami and press Enter, useful if you need to verify it in a technical context.
- A Microsoft account username (your email) differs from your local Windows username — Settings shows both if you have a Microsoft account.
Check your lock screen without unlocking
The lock screen is the easiest place to see your username because it requires no password and no navigation. When your computer is locked, look at the bottom left corner of the screen — your username appears there in small text, usually above or below a profile picture.
If you are already logged in and the screen has gone to sleep, press any key or move the mouse to wake it. The lock screen will appear, and your username will be visible in the same spot. You do not need to enter your password to read it.
Find it in Settings on an unlocked computer
If your computer is already open, Settings is the official place Windows stores your username information. Click the Start button (the Windows logo in the bottom left), then type Settings and press Enter. The Settings window will open.
Once Settings is open, click Accounts on the left side menu. Then click Your info at the top of the list. Your username appears at the very top of that page, displayed as "Your info" with your account name directly below it. If you use a Microsoft account, you will see both your email address and your local Windows username on this page.
Use Command Prompt if you need to verify it
Command Prompt is a text-based tool built into Windows that can display your username in a technical format. This method is useful if you are troubleshooting a problem or need to confirm your username in a specific way, but it is not necessary for everyday use.
Click the Start button, type Command Prompt, and press Enter. A black window will open. Type whoami (all lowercase, one word) and press Enter. Your username will appear on the next line in the format COMPUTERNAME\username. The part after the backslash is your actual Windows username.
Understand the difference between account types
Windows offers two types of accounts: local accounts and Microsoft accounts. A local account has a username you create on your computer. A Microsoft account uses your email address as the login and syncs your settings across devices.
If you use a Microsoft account, Settings will show both your email address and your local Windows username. The email is what you use to sign in, but your local username is what appears in Command Prompt and in file paths. Both are correct — they just serve different purposes. If you are unsure which type you have, the Your info page in Settings will say "Microsoft account" or "Local account" near the top.
What to do if you cannot see your username
If the lock screen does not show a username, your computer may be set to hide account names for security reasons. In this case, Settings is your best option. Open Settings, go to Accounts, and click Your info — your username will be displayed there regardless of lock screen settings.
If Settings does not show a username either, or if you see only an email address, you are likely using a Microsoft account. The email address is your account identifier, and it functions as your username for sign-in purposes. If you need a traditional local username for a specific task, you may need to create a separate local account or contact your IT department if this is a work computer.
Frequently Asked Questions
Is my username the same as my password?
No. Your username is your account name, and your password is separate. Anyone can see your username on the lock screen, but only you should know your password. Never share your password with anyone, even if they ask for your username first.
Why do I see an email address instead of a username?
You are using a Microsoft account, which uses your email as the sign-in name. This email functions as your username for Microsoft services. If you need a traditional Windows username, check Settings under Accounts — it may show a local username as well, or you can create a local account if needed.
Can I change my Windows username?
Yes, but the process differs depending on your account type. For a local account, go to Settings, Accounts, Your info, and click "Rename your account." For a Microsoft account, you change your email address through your Microsoft account settings online, not through Windows Settings.
What if I forgot my username entirely?
Check your lock screen first — it displays your username without any password. If the lock screen is hidden, restart your computer and look at the lock screen before signing in. If you still cannot find it, Settings under Accounts will show your username once you sign in with your password.
Does my username appear in file paths?
Yes. When you save files to your user folder, the path includes your username — for example, C:\Users\YourUsername\Documents. This is normal and expected. Your username in file paths is the same one shown in Settings and on the lock screen.