The fastest way: look at the top-left corner of your screen

Your Mac username appears in the menu bar at the very top of your screen, in the upper left corner. Open any window and look above the menu items (File, Edit, View). You will see an Apple logo, then your computer name, then a small downward arrow. Click that arrow and your username is the first line in the dropdown menu — it appears right after a house icon.

This works on any Mac running macOS 10.10 or later. The username shown here is the one you use to log in each time you start your computer. If you see a different name than you expected, that is the account name the system recognizes, even if you gave your account a longer display name during setup.

Key Takeaways

  • Your username appears in the top-left menu bar next to the Apple logo — click the dropdown arrow to see it when ready.
  • The Terminal app shows your username when you type whoami and press Enter, useful if the menu bar method does not work.
  • System Settings under Users & Groups displays your account name and lets you see whether you are an administrator or standard user.
  • Your username is different from your display name — the username is what you type at login, while the display name is what appears in messages and shared folders.

Using Terminal to confirm your username

If you want to verify your username using the command line, open Terminal (search for it in Spotlight by pressing Command+Space, type "Terminal", and press Enter). At the prompt, type whoami and press Enter. The system will print your username on the next line.

Terminal shows the exact username the system uses internally, which is sometimes different from what appears in the menu bar if your display name was customized. This method is most useful if you manage multiple accounts or need to confirm the technical name of your account for troubleshooting.

Finding your username in System Settings

Click the Apple menu in the top-left corner and select System Settings (or System Preferences on older Macs). Navigate to General, then scroll down and click Users & Groups. Your account will be highlighted on the left side, and your username appears below your account picture.

System Settings also shows whether your account is an administrator account or a standard user account. Administrator accounts can install software and change system settings, while standard accounts have restrictions on what they can modify. If you need to perform a task that requires administrator access, this is where you can see whether your account has that permission.

What to do if you see multiple usernames

If you see more than one account listed in Users & Groups, each one is a separate login account on your Mac. The one with a house icon next to it is your current account — that is the username you are logged in with right now. Other accounts belong to different people who use the same computer, or they are system accounts created by macOS for specific functions.

You can only change the password or settings for the account you are currently logged into, unless you have administrator access to another account. If you need to modify a different account, you will need to log out, log back in as that user, and then make the changes.

The difference between username and display name

Your Mac actually has two names: the username (also called the account name or short name) and the display name. The username is what you type when you log in — it is usually lowercase, has no spaces, and is short. The display name is what other people see when you share files or send messages — it can be longer and include spaces and capital letters.

When you look in the menu bar or use Terminal, you are seeing the username. When you look at your account in System Settings under Users & Groups, you may see both names listed. If you set up your account with your full name, your display name might be "Sarah Mitchell" while your username is "sarahmitchell" or "smitchell".

Resetting a forgotten username

If you cannot remember your username and none of these methods are working, restart your Mac and hold Command+S while it boots to enter Single-User Mode. At the prompt, type ls /Users and press Enter. The system will list all user accounts on your Mac by their folder names — these are your usernames.

If you have forgotten your password as well as your username, you will need to use your Apple ID to reset your account. Restart your Mac and select "Forgot password?" at the login screen. Follow the prompts to verify your identity using your Apple ID, and you can create a new password. Your username itself cannot be changed without erasing and reinstalling macOS, so write it down once you find it.

Frequently Asked Questions

Is my username the same as my Apple ID?

No. Your Apple ID is the email address you use to sign into iCloud and the App Store. Your Mac username is the account name you type at the login screen on your computer. They are separate, though you can use your Apple ID to reset your Mac password if you forget it.

Can I change my username?

You cannot change your username directly in System Settings. To change it, you must create a new administrator account, transfer your files to it, and delete the old account — or erase your Mac and reinstall macOS with a new account name. For most people, changing the display name instead (which you can do in System Settings) is simpler and accomplishes the same goal.

Why does my username look different in different places?

Your Mac may show your display name in some places (like Messages or Finder) and your username in others (like Terminal or the login screen). This is normal. The display name is for people to read, while the username is what the system uses internally. Both refer to the same account.

What if I see "root" or "nobody" as a username?

These are system accounts created by macOS to run background processes. They are not user accounts you can log into. Your personal username will be different. If you only see system accounts and no personal account, restart your Mac and check the login screen to see which account you normally use.