The fastest way: Settings
Open Settings by pressing the Windows key and typing "settings", then press Enter. Go to Accounts on the left side. At the top of the main panel, you will see your username displayed under your 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 you signed in with a Microsoft account rather than a local account. The email is your account identifier, but your local username (the one used for file folders and network access) may be different. To find that, use one of the methods below.
Key Takeaways
- Your Windows 11 username appears in Settings under Accounts at the top of the screen, next to your profile picture.
- If you see an email address in Settings, your local username is different and can be found in File Explorer or Command Prompt.
- File Explorer shows your username in the address bar when you open "This PC" — it appears as a folder name under "Users".
- Command Prompt displays your username when ready when you type whoami and press Enter.
- The username matters for file permissions, network sharing, and troubleshooting, so write it down if you need it for a specific task.
Finding it in File Explorer
Open File Explorer by pressing the Windows key and E together. Click on This PC in the left panel. In the main window, look for a folder labeled Users. Open that folder. The folders inside are named after each user account on the computer. Your username is the folder that corresponds to your account.
You can also see your username in the address bar at the top of File Explorer. When you navigate to your Documents or Downloads folder, the path will show something like C:\Users\YourUsername\Documents. The part between "Users\" and the next backslash is your local username.
Using Command Prompt for when ready confirmation
Press the Windows key and type "cmd", then press Enter to open Command Prompt. Type whoami (one word, no spaces) and press Enter. The output will show your username in the format COMPUTERNAME\Username. The part after the backslash is your local username.
This method works even if you are not sure whether you are looking at the right folder or setting. Command Prompt gives you the definitive answer that Windows itself is using right now.
Checking the Users folder directly
Right-click on the Windows Start button and select File Explorer. In the address bar at the top, type C:\Users and press Enter. You will see a list of all user accounts on the computer. Your username is one of these folder names. If you are not sure which one is yours, look for the folder that was modified most recently — that is usually the active account.
Each folder in the Users directory represents a separate account. System accounts like "Public" and "Default" are not user accounts, so you can ignore those. Your username is the folder you use to store your personal files.
Why your username matters
Your Windows username is used for file permissions, network sharing, and system administration tasks. If you are setting up a printer, connecting to a shared folder on another computer, or troubleshooting a permission error, you will often need to provide your exact username. Writing it down prevents typos that can cause access problems.
The username is also different from your password. Knowing your username does not give anyone access to your account — they would still need your password. Your username is the public-facing identifier that Windows and other programs use to recognize you on this computer.
Local accounts versus Microsoft accounts
Windows 11 allows you to sign in with either a local account (a username and password stored only on your computer) or a Microsoft account (linked to an email address and Microsoft services). If you use a Microsoft account, Settings will show your email address, but your local username still exists and is used by Windows internally.
To find your local username when you have a Microsoft account, use File Explorer or Command Prompt instead of Settings. Both methods show the actual local username that Windows uses for file storage and permissions, regardless of which type of account you signed in with.
Frequently Asked Questions
Is my username the same as my email address?
Not necessarily. If you signed in with a Microsoft account, your email is your sign-in identifier, but Windows creates a separate local username for file storage. Use File Explorer or Command Prompt to see your actual local username. If you signed in with a local account, your username is what you type when you log in.
Can I change my Windows 11 username?
You can change the display name (what appears in Settings) through Accounts settings. Changing your local username (the folder name in C:\Users) is more complex and requires administrative steps. For most purposes, changing the display name in Settings is sufficient.
What if I see multiple usernames in the Users folder?
Each folder represents a different account on the computer. Your username is the one you use to sign in. If you are not sure which one is yours, open Command Prompt and type whoami to see the account currently logged in.
Do I need my username to sign in to Windows?
If you use a local account, yes — you type your username and password at the sign-in screen. If you use a Microsoft account, you sign in with your email address instead. Either way, Windows knows your local username internally even if you do not type it during sign-in.