Your username is the name your computer uses to identify you when you log in
Your PC account username is the text you type into the login screen when you start your computer, or the name that appears in the top-right corner of your screen after you've logged in. It's not your email address (though it can look like one), and it's not your password. Your username is how Windows, Mac, or Linux keeps your files, settings, and preferences separate from other people who use the same computer.
Finding your username takes less than a minute and requires no special tools. The method depends on whether your computer is currently turned on and whether you're already logged in.
Key Takeaways
- Your username appears on the Windows login screen, in the Settings app under "Your info," or in the top-left corner of your Mac's Apple menu.
- On Windows 10 and 11, open Settings, select "Accounts," then "Your info" to see your username displayed at the top of the page.
- On Mac, click the Apple menu in the top-left corner, select "System Settings" (or "System Preferences" on older versions), then "General" to find your account name.
- On Linux, open a terminal and type whoami to display your username when ready.
- If you've forgotten your password but remember your username, you can still log in by using your password recovery options at the login screen.
Finding your username on Windows 10 or 11
The quickest way on Windows is through the Settings app. Press the Windows key on your keyboard (the one with the four squares), then type "settings" and press Enter. The Settings window will open. On the left side, click "Accounts," then click "Your info" in the menu that appears.
At the top of the page, under your profile picture, you'll see your account name. This is your username. It may be a single word like "Sarah" or "Marcus," or it may include your full name like "Sarah.Johnson" or "Marcus_Chen." Some usernames are email addresses if you set up your computer using a Microsoft account.
If you're not already logged in and need to see your username from the login screen, look at the text field where you type your password. The username field usually appears above it, and it may already show your username in light gray text. If multiple people use the computer, you'll see a list of usernames to choose from.
Finding your username on Mac
On a Mac, click the Apple menu (the apple symbol) in the top-left corner of your screen. From the dropdown menu, select "System Settings" if you're using macOS Ventura or newer, or "System Preferences" on older versions. Once that window opens, click "General" in the left sidebar, then look for "Users & Groups" or "Accounts" (the exact name depends on your macOS version). Your account name appears in the list on the left side of that window.
A faster method is to click the Apple menu and look at the very top of the dropdown menu. Your username often appears there next to a small icon. If you don't see it, you can also open Finder, click "Go" in the menu bar, and select "Home." The folder that opens is named after your username, so the folder name is your account name.
Finding your username on Linux
On Linux, open a terminal window. You can usually do this by right-clicking on the desktop and selecting "Open Terminal," or by searching for "Terminal" in your applications menu. Once the terminal is open, type the command whoami (all lowercase, no spaces) and press Enter. Your username will appear on the next line.
If you want to see a list of all usernames on the computer, type cat /etc/passwd and press Enter. This shows more information than you probably need, but your username will be the first part of each line, before the first colon.
What to do if you can't remember your username
If your computer is off and you can't log in, turn it on and look at the login screen. If multiple user accounts exist, you'll see a list of usernames to choose from. If you see only one account and can't remember its name, you may need to use a password recovery option. On Windows, click "I forgot my password" on the login screen and follow the steps to reset it using your email or phone number. On Mac, restart the computer and hold Command + R to enter Recovery Mode, then use the "Reset Password" utility.
If you're logged in but can't find your username using the methods above, you can also check your email. If you set up your computer using an email address as your account, that email is your username. Look for the confirmation email from Microsoft (Windows) or Apple (Mac) that was sent when you first set up the computer.
Why you might need your username
You'll need your username when you're setting up a new program, connecting to a network, or troubleshooting computer problems with technical support. Some software asks for your username to save your preferences or to let other people on the same computer know whose files they're looking at. Network administrators may ask for your username to give you access to shared folders or printers.
When you contact tech support, they may ask for your username to understand your computer's setup, though they won't need your password. Your username is also useful if you're sharing your computer with family members and need to keep your files separate from theirs.
Frequently Asked Questions
Is my username the same as my email address?
Not always. If you set up your computer using a Microsoft account (on Windows) or an Apple ID (on Mac), your email address may appear as your username. But if you created a local account with a straightforward name like "John" or "Admin," your username is just that name, not an email address. Check your Settings or System Preferences to see which type of account you have.
Can I change my username?
Yes, but the process is different on each system. On Windows, go to Settings > Accounts > Your info and click "Rename your account." On Mac, go to System Settings > General > Users & Groups, unlock the settings by clicking the lock icon, then right-click your account and select "Advanced Options." On Linux, use the terminal command usermod -l newusername oldusername. Be aware that changing your username may affect file permissions and program settings.
What's the difference between my username and my password?
Your username is public information that identifies which account you're using. Your password is secret and proves you own that account. You type both at the login screen, but only your password should be kept private. Your username is often visible to other people on the network or in shared folders.
Do I need my username to log in if I use Windows Hello or Face ID?
No. If your computer is set up with biometric login (fingerprint, face recognition, or PIN), you can log in without typing your username or password. However, your username still exists in the background and is used by the computer to organize your files and settings. You may still need it for other purposes like network access or technical support.