The fastest way to find your admin account name
Open System Settings, click General in the sidebar, then select About. Look for "Computer Name" — this is not your admin username. Instead, go back to System Settings, click General again, then Users & Groups (or Accounts on older macOS). The account marked "Admin" next to its name is your administrator account. Click it to see the full username below the account picture.
If you cannot open System Settings because you are locked out, restart your Mac and hold Command + S to enter Single User Mode. Type ls /Users and press Enter. The folders listed are your user accounts. The one you created first, or the one marked as admin in System Settings, is your administrator account.
On newer Macs running macOS Ventura or later, you may need to use Terminal instead. Open Terminal from Applications > Utilities, type dscl . list /Users, and press Enter. Look for accounts that are not system accounts (those starting with underscore). The admin account is usually the first regular user created on the Mac.
Key Takeaways
- Your administrator username appears in System Settings under Users & Groups, marked with "Admin" next to the account name.
- The computer name shown in About is not your username — they are different things.
- If you cannot access System Settings, Single User Mode or Terminal can show you the list of accounts and which one is admin.
- The first regular user account created on a Mac is almost always the administrator account.
Finding the admin account in System Settings
The clearest place to see your administrator username is in the Users & Groups pane. On macOS Sonoma and earlier, click the Apple menu, select System Settings, then click Users & Groups in the sidebar. On macOS Ventura and later, the pane is called Accounts. Look at the list of accounts on the left side of the window. The account with "Admin" written next to its name is your administrator account.
Click that account name. Below the account picture, you will see the full username in smaller text. This is the name you use when the system asks for an administrator password. Write it down if you need to remember it — this is the account that can install software, change system settings, and create or delete other user accounts.
Using Terminal to see all account names
Terminal shows you every account on your Mac and which ones have administrator rights. Open Terminal from Applications > Utilities. Type dscl . list /Users and press Enter. You will see a list of all accounts, including system accounts that start with an underscore (ignore those).
To see which regular accounts have admin rights, type dscl . read /Users/username AdminGroups, replacing "username" with the account name from the list above. If the output shows "admin" in the result, that account is an administrator. Repeat this for each account until you find the one marked as admin.
What to do if you forgot the admin password
Knowing your administrator username is different from knowing the password. If you know the username but forgot the password, you can reset it through System Settings. Click the Apple menu, go to System Settings, then Users & Groups (or Accounts). Click the lock icon at the bottom left and enter any administrator password you remember. If you cannot do that, restart your Mac and hold Command + Q at the login screen to access password reset options.
If you are the only user on the Mac and have no other admin account, you will need to use your Apple ID to reset the password. The system will ask for your Apple ID and verification code sent to a trusted device. This process takes a few minutes but does not require you to know the old password.
Checking admin status for other accounts
You may have multiple user accounts on your Mac, and not all of them are administrators. To see which accounts have admin rights, open System Settings, go to Users & Groups (or Accounts), and look at each account. Accounts marked "Admin" can change system settings and install software. Accounts marked "Standard" cannot make these changes without an admin password.
If you need to give another account administrator rights, click that account in the Users & Groups pane, click the lock icon at the bottom, enter an admin password, then check the box next to "Allow user to administer this computer." The change takes effect when ready.
Finding your username on the login screen
When you restart your Mac and see the login screen, the account names shown are your actual usernames. If your Mac is set to show a list of users, each name you see is a username. Click the one marked "Admin" or the one you use to log in — that is your administrator account. The name displayed on the login screen is exactly what the system uses when it asks for an administrator password.
If your Mac shows a single login field instead of a list, type your username and password as usual. Your username is what you type in that field, not your full name or email address (though your email may be associated with the account).
Frequently Asked Questions
Is my administrator username the same as my computer name?
No. Your computer name is what appears in Finder and on the network. Your administrator username is the account name you use to log in. You can see both in System Settings, but they are separate things. The computer name is under General > About, and the username is under Users & Groups.
Can I have more than one administrator account?
Yes. You can create multiple accounts and give each one administrator rights. Each admin account has its own username and password. All admin accounts can change system settings and install software, so give admin rights only to accounts you trust.
What if I see a username that starts with an underscore in Terminal?
Those are system accounts used by macOS itself, not user accounts. Ignore them. Regular user accounts do not start with underscores. The administrator account you are looking for will be a normal name without an underscore at the beginning.
Do I need to know my admin username to install software?
When you install most software, the system asks for an administrator password, not the username. However, knowing the username helps you understand which account has the rights to make that change. If the password prompt appears, any administrator account password will work.
Can I change my administrator username?
You cannot change the short username directly in System Settings. However, you can change the full name displayed in System Settings by clicking the account, then clicking the Edit button next to the name. The short username stays the same, but the display name changes. If you need to change the actual username, you will need to create a new account and migrate your files.