The quickest way to see your username right now

Your username appears in the bottom left corner of your Windows lock screen, or in the top right corner of your Mac menu bar. On Windows, you can also press the Windows key and type "cmd" to open Command Prompt, then type whoami and press Enter — your username will appear when ready. On Mac, open System Preferences, click System Settings, then go to General > About, and look for "Computer Name" and "Local Hostname" near the top.

If you need to see it without opening anything, just look at the folder icon on your desktop or in File Explorer. Windows shows your username in the address bar when you open "This PC" — it appears as C:\Users\YourUsername. On Mac, open Finder, click the Finder menu, then Preferences, and your username shows in the "Sidebar" section.

Key Takeaways

  • Your Windows username appears on the lock screen in the bottom left corner, or you can type whoami in Command Prompt to see it when ready.
  • On Mac, your username shows in the top right corner of the menu bar, or you can find it in System Settings under General > About.
  • Windows usernames also appear in the file path when you open File Explorer — look for C:\Users\YourUsername.
  • Your username is different from your password and is used to identify your account on the computer, not to log in remotely.

Finding your username in Windows Settings

Open the Settings app by pressing the Windows key and typing "settings," then press Enter. Click on "Accounts" in the left menu, then click "Your info" at the top. Your username appears under your profile picture at the top of the page.

If you see an email address instead of a username, that means you signed in with a Microsoft account rather than a local account. Your actual computer username is still there — scroll down to the "Account settings" section and look for "Local account info." If you want to use a simpler local username instead of your email, you can create a new local account from the same Accounts menu, though this requires administrator permission.

Finding your username on Mac

Click the Apple menu in the top left corner, then select "System Settings." Click "General" in the left sidebar, then click "About." Your computer name appears near the top — this is what other people see when they connect to your Mac on a network. Your actual user account name is different and appears in the "Local Hostname" field just below it.

You can also find your username by opening Finder, clicking "Go" in the menu bar, then selecting "Home." The folder that opens is named after your username. If you want to see it in the terminal, open Applications > Utilities > Terminal, type whoami, and press Enter.

Why you might need your username

Your username identifies your account on your own computer. You need it when you set up file sharing with other people, when you troubleshoot permission problems, or when a technician asks for it over the phone. It is also the name that appears in the Users folder on Windows or the /Users folder on Mac, where all your personal files are stored.

Your username is not the same as your password, and you do not need it to log into your computer — you use your password for that. Your username is public information on your own machine; it does not give anyone access to anything. If you are worried about privacy when sharing your computer with others, the username itself is not the security concern — the password is.

Changing your username if you want a different one

On Windows, you can change your username by going to Settings > Accounts > Your info, then clicking "Rename your account." Type the new name you want and click "Next." This changes the display name but not the folder name in C:\Users. If you want to change the folder name itself, you need to create a new local account and transfer your files, which is more involved.

On Mac, go to System Settings > General > About and click "Edit" next to "Computer Name" to change what others see on the network. To change your actual user account name, go to System Settings > General > Users & Groups, click the lock icon to unlock it, right-click your account, and select "Advanced Options." This is more technical and requires you to know your administrator password.

What to do if you forgot your username

If you cannot remember your username on Windows, restart your computer and look at the lock screen — all user accounts on the machine are listed there. Click the account you use, and the username appears above the password field. You can also restart in Safe Mode and log in with the built-in Administrator account if you have access to it.

On Mac, restart your computer and look at the login screen — your username appears below your profile picture. If you have multiple accounts, they all show on this screen. If you are locked out entirely, you may need to use your Apple ID to reset your password, or restart in Recovery Mode and use the Reset Password utility.

Frequently Asked Questions

Is my username the same as my email address?

Not necessarily. If you signed into Windows with a Microsoft account or Mac with an Apple ID, your email appears on the login screen, but your actual computer username is different. Check Settings or System Settings to see your real username — it is usually shorter and does not contain the @ symbol.

Can someone else see my username?

Yes, your username is visible to anyone who sits at your computer and looks at the lock screen or login screen. It is also visible in file paths and folder names. Your username is not secret — it is just an identifier. Your password is what keeps people out of your account.

What if I see two different names when I look for my username?

You are probably seeing your display name and your account name. Windows and Mac both let you have a friendly display name that is different from the actual account folder name. The folder name in C:\Users or /Users is your real username. Both names are correct — they just serve different purposes.

Do I need to know my username to use my computer?

No. You log in with your password. Your username is only something you need if you are setting up file sharing, troubleshooting permissions, or someone asks you for it. Most people never need to know their username unless they are doing something technical.