The fastest way: look at your login screen

When your Mac is locked or at the login screen, your username appears right there. If you see a list of user accounts with profile pictures, your name is printed under your photo. If you see a text field asking for a username, that field often shows a hint or placeholder with your account name — or you can type the first letter of your name and your Mac may auto-complete it.

This works whether you use your full name, an email address, or a custom username as your login. The name that appears on the login screen is the one you need for most tasks.

Key Takeaways

  • Your username appears on the Mac login screen under your profile picture, or as a hint in the login field.
  • Open System Settings, click General, then About to see your computer name and account details in one place.
  • The Terminal app shows your username when ready when you type whoami and press Enter, even if you have never used Terminal before.
  • Your username is different from your computer name — the computer name is what appears when you connect to a network or AirDrop.

Check System Settings for your account name

Open System Settings (the gear icon in your Dock, or search for it with Spotlight). Click General in the left sidebar, then click About. You will see your computer name at the top — but that is not your username. Scroll down or look for a section labeled System or account information.

A faster route: click General in the sidebar, then look for Users & Groups or Login Items (the exact name varies by macOS version). Your account name appears there. If you do not see it, go back to the login screen — that is always the clearest place to find it.

Use Terminal to see your username when ready

Open Terminal (search for it with Spotlight, or find it in Applications > Utilities). Type whoami and press Enter. Your username will print on the next line. This is the most direct method and works on every Mac.

You can also type id and press Enter to see your username along with your user ID number and group information. Both commands work even if you have never opened Terminal before — just type the word, press Enter, and read the result.

Look in Finder to confirm your account

Open Finder and look at the sidebar on the left. Under Locations, you will see your username next to a house icon. Click on it and you will open your home folder — the folder that belongs to your account. The path shown in Finder's address bar (or when you right-click and select Copy as Pathname) will show your username in the file path.

Your home folder is named after your username. If your username is sarah.chen, your home folder path will be /Users/sarah.chen. This confirms your exact username, including any periods or numbers.

Understand the difference between username and computer name

Your username is what you use to log in to your Mac. Your computer name is what your Mac is called on a network — it appears when you AirDrop files, connect to shared folders, or set up printers. They are often different, and you need the right one for different tasks.

If you are setting up a network printer or sharing files, you need your computer name. If you are troubleshooting login problems or setting up an app that asks for your account name, you need your username. The login screen always shows your username; System Settings > General > About shows your computer name.

What to do if you see multiple usernames on your Mac

If your Mac has more than one user account, the login screen will show all of them. Click on your account (the one with your photo or name), and that is your username. If you are already logged in and want to know which account you are using right now, open Terminal and type whoami — it will show only the username of the account you are currently in.

Each user account on a Mac has its own username, home folder, and settings. If you share your Mac with others, make sure you are looking at your own account name, not someone else's.

Frequently Asked Questions

Is my username the same as my Apple ID?

No. Your Apple ID is your account with Apple (usually an email address), while your username is your local Mac account. They can look similar, but they are separate. Your username is what you type to log in to your Mac; your Apple ID is what you use for iCloud, the App Store, and Apple services.

Can I change my username?

Yes, but it is complicated. You can change your full name (the display name) in System Settings, but changing your actual username requires creating a new account and moving your files over. Most people find it easier to leave the username alone and change only the display name if they want a different look on their Mac.

What if I forgot my password but remember my username?

You can use your username to reset your password through Recovery Mode or by using another administrator account on the Mac. Restart your Mac and hold Command + R to enter Recovery Mode, then use Utilities to reset your password. You will need your username to do this.

Why does my username have a period or number in it?

When you first set up your Mac, the system creates a username based on your full name. If your name is Sarah Chen, the username might be sarah.chen or sarahchen. If that name is already taken, the system adds a number. You cannot change this without creating a new account, but you can change your display name in System Settings.

Is my username private or can others see it?

Your username is visible to anyone who looks at your Mac's login screen or network settings. It is not a secret. However, your password is private — never share that. Your username alone does not let someone access your account without your password.