The fastest way: look at the top-left corner of your screen
Your Mac username appears in the menu bar at the top of your screen, next to the Apple logo. Click the Apple menu (the icon in the top-left corner), then look at the first line of the dropdown. It shows your account name. That is your username.
This works whether you are logged in or not, and it takes two seconds. If you do not see a name there, your Mac may be set to hide it — move to the next method instead. The name that appears is exactly what you type when you log in to your Mac.
Key Takeaways
- Your username appears in the Apple menu at the top-left of your screen, next to the Apple logo, and this is the fastest way to find it.
- You can also find it in System Settings under General, then About, listed as "Computer Name".
- The Users folder in Finder shows all account names on your Mac — your username is the folder with your name on it, marked with a house icon.
- Your username is different from your display name; the username is what you use to log in and has no spaces.
- Terminal shows your username when ready if you type whoami and press Enter, though this method is mainly useful if you already work in the command line.
Check System Settings if the menu bar does not show your name
Open System Settings (the gear icon in your Dock, or search for it using Spotlight). Click General in the left sidebar, then click About. Your computer name appears near the top. This is your Mac username.
On older Macs running macOS Monterey or earlier, open System Preferences instead of System Settings, then click Sharing. Your computer name is listed at the top of that window. Both methods show the same information — the name you use to log in.
This route works well if the Apple menu method does not display your name, or if you want to verify your username while you are already in System Settings for another reason.
Look in the Users folder to see all account names
Open Finder and click Users in the sidebar (or press Command-Shift-U). You will see a folder for each account on your Mac. Your username is the name of your folder. The folder with a house icon next to it is your current account.
This method is useful if you have multiple accounts on your Mac and need to see all of them at once. Each folder name is the username for that account. If you share your Mac with family members or colleagues, this shows you every username on the device.
The Users folder also helps if you are troubleshooting permission problems, because you can see exactly which account names exist and match them to the folders they own.
Find your username in Terminal if you prefer the command line
Open Terminal (search for it in Spotlight or find it in Applications > Utilities). Type whoami and press Enter. Your username will appear on the next line.
Terminal is the fastest method if you are already working in the command line, but it is not necessary for most people. The menu bar or System Settings method is simpler if you are not familiar with Terminal. Terminal also shows your username without any extra information, which can be useful if you need to copy it exactly for a form or network connection.
Understand the difference between username and display name
Your username is what you type when you log in to your Mac. It has no spaces and is usually all lowercase. Your display name is what appears in messages and on your account — it can have spaces and capital letters. For example, your username might be "sarah.chen" but your display name might be "Sarah Chen".
If you need to change your username, you cannot do it directly in System Settings. You would need to create a new account with the name you want, then transfer your files. For most purposes, knowing your current username is enough. Your display name can be changed in System Settings > [Your Name] at the top of the sidebar, but changing your actual username requires more steps.
Why you might need your Mac username
You need your username when you set up file sharing with other people, troubleshoot permission errors, or connect to a network drive. Some software also asks for your username during installation. Knowing where to find it quickly saves time when you are setting up a new device or helping someone else with theirs.
Your username is not sensitive information — it is visible to anyone who uses your Mac. It is different from your password, which you should never share. If you are setting up a shared computer or connecting to a work network, having your username ready makes the process faster.
Frequently Asked Questions
Is my username the same as my Apple ID?
No. Your Apple ID is your email address or phone number used for iCloud and the App Store. Your Mac username is the account name on your computer. They are separate. You can find your Apple ID in System Settings > [Your Name] at the top of the sidebar.
Can I change my Mac username?
You cannot rename your username directly. To use a different name, you would create a new account with the name you want, then move your files to it. This is a longer process, so most people keep their original username unless there is a specific reason to change it.
What if I forgot my password but remember my username?
Your username and password are separate. If you forgot your password, restart your Mac and hold Command-Q at the login screen to access password reset options. You will need your Apple ID email and password to reset your Mac password.
Why does my username have a number at the end?
If your Mac added a number (like "john1" instead of "john"), it means another account already had that name. The number makes each username unique on your Mac. You cannot remove the number without creating a new account.
Do I need my username to log in every time?
Most Macs are set to log in automatically or show your account at the login screen. You only type your username if you manually log out or if your Mac requires it for security reasons. Knowing your username is still useful for file sharing and troubleshooting, even if you do not type it often.