The fastest way to find your admin account name
Open System Settings, click General in the left sidebar, then select About. Look for the "Computer Name" field — that is your Mac's name, not the admin username. Instead, go back and click Users & Groups (or Users in older macOS versions). The account with "Admin" written under its name is your administrator account. Click it once to see the full username in the details panel below.
If you are already logged in as the admin, your username appears in the top-right corner of the menu bar — click the Apple menu and select About This Mac, then look at the "Computer Name" line. That is not it either. The actual username is what appears next to the house icon in the Users & Groups window, or what you type when you log in at the login screen.
The Terminal method is faster if you know how to use it: open Terminal (in Applications > Utilities), type id -un, and press Enter. If you are logged in as admin, this shows your admin username when ready. If you are not admin, type dscl . list /Users | grep -v '^_' to see all user accounts, then identify which one has admin rights by checking Users & Groups.
Key Takeaways
- The administrator username is visible in System Settings under Users & Groups, marked with "Admin" beneath the account name.
- Your own username appears in the top-right menu bar if you are logged in, but you can also see it by typing id -un in Terminal.
- The "Computer Name" in About This Mac is your Mac's network name, not your username — do not confuse the two.
- If multiple accounts exist, only the ones labeled "Admin" in Users & Groups have administrator privileges.
Using System Settings to locate the admin account
Open System Settings by clicking the Apple menu in the top-left corner and selecting System Settings (or System Preferences in older macOS versions). In the sidebar, find and click Users & Groups. You will see a list of all accounts on your Mac on the left side. Look for the account that has the word "Admin" printed directly underneath its name — that is your administrator account.
Click that admin account once to highlight it. A details panel appears on the right showing information about that account, including the username field. The username is what you type at the login screen, not the display name. Write down the exact spelling, including any numbers or special characters, because macOS usernames are case-sensitive in some contexts.
If you see "Standard" or "Managed" under an account name instead of "Admin", that account does not have administrator rights. Only accounts marked "Admin" can install software, change system settings, or create new user accounts without a password prompt.
Finding the admin username if you are logged in as that account
If you are already using the administrator account, the quickest way to confirm your username is to look at the top-right corner of your screen. Click the Apple menu (the apple symbol in the very top-left), then select About This Mac. In the window that opens, look at the line that says "Computer Name" — but that is still not your username. Instead, look at the window title or check Users & Groups as described above.
A more direct method: open Terminal (Applications > Utilities > Terminal), type the command whoami, and press Enter. Terminal will print your current username on the next line. This is the fastest way to see exactly what your system calls you, with no room for confusion about display names or computer names.
Using Terminal to list all administrator accounts
If you need to see all administrator accounts at once, Terminal gives you that information in seconds. Open Terminal from Applications > Utilities, then type this command: dscl . list /Users | grep -v '^_' and press Enter. This shows every user account on your Mac except system accounts (which start with an underscore).
To see which of these accounts actually have admin rights, type dscl . read /Users/username AdminGroups, replacing "username" with the account name you want to check. If the command returns a result, that account is an administrator. If it returns "No such key", the account is standard. Repeat this for each account you want to check.
For a quicker visual check, stick with Users & Groups in System Settings — it shows you at a glance which accounts are admin and which are not, without needing to type commands.
What to do if you cannot find the administrator account
If you do not see any account marked "Admin" in Users & Groups, you may be looking at a Mac with parental controls or managed accounts. Click the lock icon at the bottom of the Users & Groups window and enter a password — you will need an existing admin account to unlock this view. If you do not know any admin password, you will need to use macOS Recovery to reset it.
Restart your Mac and hold Command + R when ready after you hear the startup sound. This boots into Recovery Mode. From the Utilities menu, select Terminal and type resetpassword. This tool lets you reset the password for any account, which you can then use to log in and confirm the username. After you log in, go to Users & Groups to see which account has admin rights.
Why you might need to know your admin username
You need your admin username when installing software that requires administrator permission, when changing system settings that are locked, or when troubleshooting issues that require Terminal commands. Some software also asks for your admin username and password before it will run — knowing the exact spelling prevents login errors.
If you are setting up a new Mac or helping someone else with theirs, knowing which account is the administrator helps you understand who can make changes to the system. Standard accounts cannot install software or modify system settings without the admin password, so identifying the admin account is the first step in understanding your Mac's security setup.
Frequently Asked Questions
Is the computer name the same as the username?
No. The computer name is what your Mac is called on the network (like "Sarah's MacBook Pro"). The username is what you type at the login screen (like "sarah.chen"). You can see the computer name in About This Mac, but you need to check Users & Groups or use Terminal to find the actual username.
Can a Mac have more than one administrator account?
Yes. You can create multiple admin accounts, and each one will be marked "Admin" in Users & Groups. All admin accounts have the same system-level permissions. If you see multiple accounts with "Admin" underneath, they are all administrators.
What if I forgot the admin password?
You can reset it using macOS Recovery without knowing the old password. Restart your Mac, hold Command + R, go to Utilities > Terminal, type resetpassword, and follow the prompts. You will need physical access to the Mac and the ability to restart it into Recovery Mode.
Does the admin username appear anywhere else on my Mac?
Yes. It appears in the login screen when you type your password, in Terminal when you type whoami, and in Users & Groups. Some applications also show it in their "About" windows or preferences, but Users & Groups is the most reliable place to check.
Can I change my admin username?
You can change the display name (the friendly name) in Users & Groups, but changing the actual username is more complex and requires Terminal commands. For most purposes, changing the display name is enough. If you need to change the actual username, consult Apple's support documentation or contact Apple Support, as the process varies by macOS version.