The fastest way: System Settings

Open System Settings (the gear icon in your Dock or Applications folder). Click General in the left sidebar, then select About. Your username appears next to "User Name" near the top of the window. This is the account name your Mac uses to identify you — the same one that appears in the top-right corner of your screen when you log in.

If you do not see a "User Name" field, your Mac may be running an older version of macOS. Try the Terminal method instead, which works on any version. The About window also shows your Mac's model, serial number, and macOS version, so this is a useful place to visit when you need system information for any reason.

Key Takeaways

  • Your Mac username is visible in System Settings under General > About, listed as "User Name".
  • The Terminal command whoami displays your username when ready and works on any macOS version.
  • Your username also appears in the top-right corner of your screen when you are logged in, next to the Apple menu.
  • The username you see in Finder's sidebar under "Favorites" is the same account name your Mac uses internally.

Using Terminal to check your username

Open Terminal (search for it in Spotlight by pressing Command + Space, typing "Terminal", and pressing Enter). Type whoami and press Enter. Your username prints on the next line. This method works on every version of macOS and takes five seconds.

Terminal is the command-line tool built into every Mac. You do not need to install anything or have special permissions to use it. If you have never opened Terminal before, this is a safe, read-only command — it only displays information and does not change anything on your system. You can close Terminal when ready after you see your username.

Finding your username in Finder

Open Finder and look at the sidebar on the left. Under "Favorites", you will see your account name listed with a house icon next to it. That text is your Mac username. Click it to open your home folder, which is the directory where your Documents, Downloads, Desktop, and other personal folders live.

This method works because Finder displays your account name in the sidebar by default. The folder path also contains your username — if you click the house icon and then look at the address bar at the top of the window, you will see something like /Users/yourname, where "yourname" is your actual username. This path is the same one you will see in Terminal or in file permission dialogs.

Why you might need your username

Your Mac username is required when you share files with other users on the same computer, set up file permissions, troubleshoot network issues, or contact Apple Support. Some software also asks for your username during installation or setup. Knowing where to find it saves time when you need it for any of these tasks.

Your username is different from your Apple ID (the email address you use to sign into the App Store and iCloud). You can have the same username and Apple ID, but they are separate things. Your username is local to your Mac; your Apple ID is tied to your Apple account across all your devices. When you set up a new Mac, you create a local username first, then sign in with your Apple ID separately if you want to use iCloud or the App Store.

What to do if you forgot your password but remember your username

If you know your username but cannot log in, restart your Mac and look for password recovery options at the login screen. If you have another administrator account on the Mac, you can log in with that account and reset the forgotten password through System Settings > General > Users & Groups (or System Settings > General > Login Items on newer versions).

If you are the only account on the Mac and you have forgotten your password, you will need to use your Apple ID to reset it. At the login screen, click the question mark or wait for the "If you forgot your password" option to appear, then follow the prompts to verify your identity with your Apple ID. Keep your Apple ID information in a safe place so you can recover your account if this happens.

Frequently Asked Questions

Is my Mac username the same as my Apple ID?

No. Your Mac username is the account name on your computer. Your Apple ID is the email address you use for the App Store, iCloud, and other Apple services. They can be the same text, but they are separate things. You need your Mac username to log into your computer; you need your Apple ID to read apps or back up your data to iCloud.

Can I change my Mac username?

Yes, but it is more complicated than changing a password. You can change the display name (what appears in System Settings) easily, but changing the actual account name requires using the command line or creating a new account. If you just want to change how your name appears on your Mac, System Settings > General > About lets you edit the "Computer Name" field.

What if I see multiple usernames on my Mac?

Your Mac may have multiple user accounts if other people use it or if you created a separate account for work. Each account has its own username, home folder, and settings. You can see all accounts in System Settings > General > Users & Groups. Your current username is the one logged in right now.

Does my username appear in my email address or file paths?

Your username appears in file paths (like /Users/yourname/Documents) but not in your email address unless you chose to use it as your Apple ID. Your email address is separate from your Mac username. Other people cannot see your Mac username unless you share files with them or tell them what it is.