The fastest way: check the top-left corner of your screen
Your Mac username appears in the menu bar at the top of your screen, in the upper left corner next to the Apple logo. Click the Apple menu (the symbol), and your username shows when ready below "System Settings" at the top of the dropdown. This is the quickest check if you just need to confirm what your account is called.
If you do not see a username there, your Mac may be set to display your full name instead. The account name and display name are sometimes different — your account name is what you use to log in, while your display name is what appears in messages and shared documents. Both are tied to the same account, but they look different on screen.
Key Takeaways
- Your username appears in the Apple menu at the top left of your screen, listed just below "System Settings."
- The System Settings app shows your account name under Users & Groups (older Macs) or General settings (newer Macs), along with your full name and account type.
- Terminal displays your username when ready when you type whoami and press Enter, if you are comfortable using command-line tools.
- Your account name is what you type to log in; your display name is what shows in messages and shared folders and may be different.
Finding your username in System Settings
Open System Settings by clicking the Apple menu and selecting "System Settings," or search for it using Spotlight (Command + Space, then type "System Settings"). Once inside, the location of your username depends on your Mac's age.
On newer Macs (Monterey and later), go to "General" in the left sidebar, then look for your account information at the top of the main panel. Your account name appears under your profile picture. On older Macs (Big Sur and earlier), click "Users & Groups" in the sidebar — you may need to unlock the settings first by clicking the lock icon and entering your password. Your account name is listed under the account you are currently using, and it appears in parentheses next to your full name.
The account name shown here is the one you need if you are setting up file sharing, connecting to a network, or troubleshooting permission issues. Write it down exactly as it appears, including any numbers or special characters.
Using Terminal to see your username when ready
If you are comfortable opening Terminal, this method shows your username in one second. Open Terminal by searching for it in Spotlight (Command + Space, then type "Terminal"), or find it in Applications > Utilities.
Once Terminal opens, type whoami (all lowercase, one word) and press Enter. Your account name prints on the next line. This is the same username that appears in System Settings, but Terminal shows it without any extra steps or menus.
Terminal also shows your username in the command prompt itself — the line where you type. It usually reads something like username@computername ~ %. The part before the @ symbol is your account name. This method is useful if you are already in Terminal for other tasks and want to confirm your account name without switching windows.
Understanding account name versus display name
Your Mac has two names for your account, and they serve different purposes. Your account name (also called login name or short name) is what you type when you log in. It is usually lowercase, has no spaces, and may include numbers. This is the name that appears in Terminal and in System Settings under "Users & Groups."
Your display name is your full name — the one that shows in Messages, shared folders, and when other people see your account on the network. You can change your display name without changing your account name, and many people do. If you see a full name in the Apple menu but are not sure of your account name, check System Settings to see both side by side.
What to do if you cannot find your username
If System Settings does not show your account information, you may not have permission to view it. Try restarting your Mac and logging in again, then check System Settings once more. If the settings are locked (you see a lock icon), click it and enter your password.
If you are using a managed account (common on work or school Macs), your account name may be controlled by your organization's network. Contact your IT department or network administrator — they can tell you your official account name and whether it differs from what appears on screen. Do not assume your display name is your account name in this situation, because organizations often use different naming schemes for login versus display.
Why you might need to know your username
Your account name comes up when you are setting up file sharing with other computers, troubleshooting permission errors, connecting to a network drive, or following technical support instructions. Some applications also ask for your account name during installation or setup. Knowing it in advance saves time and prevents mistakes when you are following step-by-step guides or working with IT support.
If you are selling or giving away your Mac, you may need to confirm your account name to properly erase the drive or transfer ownership. Having this information written down before you need it prevents confusion later.
Frequently Asked Questions
Is my account name the same as my email address?
No. Your account name is separate from your email address or Apple ID. Your account name is what you type to log into your Mac locally. Your Apple ID is a separate account used for iCloud, the App Store, and other Apple services. Check System Settings to see your actual account name — it is usually shorter and has no spaces or special characters.
Can I change my account name?
You can change your display name easily in System Settings, but changing your actual account name is more complex and can affect file permissions and applications. If you need to change your account name, contact Apple Support or consult your IT department, especially if this is a work or school Mac. For most people, changing the display name is the simpler option.
Why does my account name look different in Terminal than in System Settings?
It should not look different — Terminal and System Settings show the same account name. If they appear different, you may be looking at your display name in one place and your account name in the other. Double-check that you are looking at the "account name" field in System Settings, not the full name field.
What if I forgot my password and need to know my username to reset it?
If you are locked out of your Mac, you can see your account name on the login screen itself — it appears as a list of accounts you can click to log in. Your account name is displayed there. If you need to reset your password, use your Apple ID to reset it through the login screen, or contact Apple Support for additional options.