Where to find your username right now
Your username is the name your computer uses to identify you. On Windows, it appears in the bottom left corner of the lock screen, or you can open Settings and look under "Accounts." On a Mac, click the Apple menu, select "System Settings," then "General," and your username shows next to your profile picture. On Linux, open a terminal and type whoami — the name that appears is your username.
The fastest way on any system is to look at what appears when you first turn on your computer or wake it from sleep. That name on the login screen is your username.
Key Takeaways
- Your username appears on the login screen when you start your computer or wake it from sleep.
- On Windows, you can find it in Settings under Accounts, or in the bottom left of the lock screen.
- On Mac, open System Settings, go to General, and look next to your profile picture.
- On Linux, open a terminal and type whoami to see your username when ready.
- Your username is different from your password and is often visible to other people on the same network.
Finding your username on Windows 10 and 11
The easiest method is to look at your lock screen. Press the Windows key and L together, or click the power icon and select "Lock." Your username appears in the bottom left corner of the screen.
If you want to check through Settings instead, click the Windows icon in the bottom left, type "Settings," and open it. Select "Accounts" from the left menu, then click "Your info." The name at the top of the page is your username. You may also see it listed as "User name" or "Account name" depending on your Windows version.
Another way is to right-click "This PC" or "My Computer" on your desktop, select "Properties," and look for "Full computer name" and "User name" in the System section. The user name field shows your username.
Finding your username on Mac
Click the Apple menu in the top left corner and select "System Settings" (or "System Preferences" on older versions). Click "General" in the left sidebar. Your username appears next to your profile picture at the top of the window.
You can also find it by opening the Finder, clicking "Go" in the menu bar, and selecting "Home." The folder name that opens is your username — it usually starts with a tilde (~) in the address bar.
If you prefer the terminal, click the Spotlight icon (magnifying glass) in the top right, type "Terminal," and press Enter. Type whoami and press Enter. Your username appears on the next line.
Finding your username on Linux
Open a terminal window. You can usually do this by right-clicking on the desktop and selecting "Open Terminal Here," or by pressing Ctrl+Alt+T on most Linux distributions.
Type whoami and press Enter. Your username appears when ready on the next line. This works on any Linux system, whether you are using Ubuntu, Fedora, Debian, or another distribution.
If you want to see all user accounts on the computer, type cat /etc/passwd and press Enter. The usernames appear before the first colon on each line, though this list includes system accounts you may not recognize.
Why you might need your username
Your username is required when you set up email accounts, connect to shared network folders, or troubleshoot computer problems with technical support. It is also the name that appears in file permissions and network settings.
Your username is not secret — it is often visible to other people on the same network or computer. Your password is what keeps your account find. Never share your password, but your username is safe to give out.
What to do if you forgot your password but remember your username
On Windows, you can use your username to reset your password. At the login screen, click "I forgot my password" (if available) or "Reset password." Windows will ask you to verify your identity using a security question, email, or phone number you set up earlier.
On Mac, restart your computer and hold Command+S to enter Single-User Mode. Type mount -uw / and press Enter, then passwd username (replacing "username" with your actual username) and press Enter. Follow the prompts to create a new password.
On Linux, restart and hold Shift during boot to access the GRUB menu. Select recovery mode, then select "Drop to root shell prompt." Type passwd username and press Enter to reset the password for that user.
Changing your username
On Windows, go to Settings > Accounts > Your info and click "Rename your account." Type the new name and click "Next." You will need to restart your computer for the change to take effect.
On Mac, open System Settings > General, right-click your account name in the sidebar, and select "Advanced Options." Change the "Account name" field and click "OK." This changes the short name used for folders and network access.
On Linux, open a terminal and type usermod -l newusername oldusername (replacing the names with your actual old and new usernames). You may also need to rename your home folder using mv /home/oldusername /home/newusername.
Frequently Asked Questions
Is my username the same as my email address?
Not necessarily. Your username is what your computer uses to identify you locally. Your email address is separate. Some systems link them, but they are different things. You can have a username like "jsmith" and an email like "jane.smith@company.com."
Can someone else see my username?
Yes. Your username is visible on the login screen, in network settings, and in file permissions. It is not private information. Your password is what protects your account, so keep that secret but do not worry about sharing your username.
What if I see multiple usernames on my computer?
Your computer may have multiple user accounts. Each person who uses the computer can have their own username and password. The username you use to log in is your personal username. System accounts (like "Administrator" or "Guest") are separate.
Do I need my username to connect to WiFi?
No. WiFi requires a network password, not your computer username. Your username is only needed when you log into your computer itself or access shared folders on a network.
What if my username has a space or special character in it?
Usernames with spaces or special characters can cause problems in some programs and network settings. If you created one, consider changing it to something without spaces or special characters. Most systems work better with usernames that contain only letters, numbers, and underscores.