The fastest way: Settings
Open Settings by pressing Windows key + I on your keyboard. Go to Accounts in the left menu, then click Your info. Your username appears at the top under your profile picture — it's the name Windows uses to identify your account on this computer.
This method works on Windows 10 and Windows 11. The username shown here is what you type when you log in, or what appears on the login screen if you have multiple accounts on the device. This is the most straightforward route if you want to see your username without opening any technical tools.
Key Takeaways
- Your Windows username is visible in Settings under Accounts > Your info, and it's the name you use to log in to your computer.
- Command Prompt shows your username when ready when you type whoami and press Enter.
- File Explorer displays your username in the address bar when you navigate to your user folder, which is usually labeled with your account name.
- The login screen itself shows all usernames on your computer if you need to see which account you're using.
Using Command Prompt for a quick answer
Press Windows key + R to open the Run dialog. Type cmd and press Enter. In the black Command Prompt window, type whoami and press Enter. Your username appears on the next line in the format COMPUTERNAME\username. The part after the backslash is your actual Windows username.
This method is the fastest if you're comfortable with Command Prompt. The output is always accurate because it pulls directly from your system's user account data. Many IT professionals and support staff use this method because it's reliable and works the same way on every Windows computer.
Finding it in File Explorer
Open File Explorer and look at the address bar at the top. Click on This PC in the left sidebar. You'll see a folder labeled with your username under "Users" — this is your user profile folder. The folder name is your Windows username.
You can also navigate directly to your user folder by typing C:\Users in the address bar and pressing Enter. Every folder in that directory represents a user account on your computer, and your folder is named after your username. This visual method helps if you want to see all accounts on your device at once.
Checking the login screen
If you have multiple accounts on your computer, the login screen shows all usernames. Press Ctrl + Alt + Delete and select Sign out, or restart your computer. The login screen displays each account name. Your username is the one you normally click to log in.
This method is useful if you're unsure which account you're currently using, or if you need to see all usernames on the device at once. The login screen is always accurate because it reflects the actual accounts stored on your computer.
The difference between username and email address
Your Windows username is not the same as your Microsoft account email. The username is a local name stored on your computer — it's what appears in Command Prompt and File Explorer. If you signed in with a Microsoft account, that email address is tied to your account, but your Windows username is separate.
To see both, go to Settings > Accounts > Your info. The top line shows your username. Below that, you'll see "Email address" if you're signed in with a Microsoft account. Some computers use only a local username with no email attached. Understanding this distinction matters when you're troubleshooting or contacting support, because support staff may ask for your username specifically, not your email.
Why you need your username
Your Windows username is required for several tasks: troubleshooting file permissions, running certain commands in Command Prompt, setting up network shares, or contacting support about your computer. It's also the name that appears in file properties and system logs when you create or modify files.
If you're setting up a new device or transferring files between computers, knowing your exact username prevents mistakes when entering it into forms or commands. System administrators also need usernames when managing multiple computers on a network or setting up shared folders that only certain accounts can access.
Frequently Asked Questions
Is my Windows username the same as my computer name?
No. Your computer name is the device's network identifier, while your username is your personal account on that device. You can have multiple usernames on one computer, but the computer itself has only one name. To find your computer name, right-click This PC and select Properties.
Can I change my Windows username?
Yes, but the process differs depending on whether you use a local account or a Microsoft account. Local accounts can be renamed in Settings > Accounts > Other people. Microsoft accounts must be renamed through your Microsoft account settings online, and the change may take time to sync to your computer.
What if I see a long string of numbers instead of a name?
This usually means your account was created without a proper username set, or Windows assigned a temporary name. You can rename it in Settings > Accounts > Your info by clicking "Rename your account" and entering a new name.
Does my username appear in files I create?
Yes. When you create or edit a file, Windows records your username in the file's properties under "Author" or "Last modified by". This is visible in file details and some document metadata.
Which method should I use if I'm not sure about my account type?
Start with Settings > Accounts > Your info. This method works for both local and Microsoft accounts and shows you whether your account is tied to an email address. If you need the technical format, use Command Prompt with the whoami command.