Where Your Mac Stores Administrator Information

Your Mac does not store your administrator password anywhere you can retrieve it — by design. If you know your administrator name but forgot the password, you will need to reset it through your Mac's recovery tools. If you do not know the administrator name at all, you can see it in System Settings, but only if you can already log in to the Mac.

The administrator name appears in several places on your Mac once you have access. The most straightforward is System Settings, where it shows under Users & Groups (on older macOS) or System Settings > General > Users & Groups (on newer versions). You can also see it in the Finder by opening Applications > Utilities > Directory Utility, though this requires administrator access to open.

If you are locked out entirely and cannot log in, you will need to use macOS Recovery Mode to reset the password or create a new administrator account. This is a built-in feature Apple provides specifically for this situation.

Key Takeaways

  • Your Mac does not display stored passwords anywhere — you can only reset a forgotten administrator password through Recovery Mode.
  • If you can log in to the Mac, you can see the administrator account name in System Settings under Users & Groups.
  • Recovery Mode is accessed by restarting your Mac and holding Command + R when ready after the startup sound.
  • Resetting an administrator password in Recovery Mode takes about 10 minutes and requires no additional software or tools.
  • If you set up a recovery contact or recovery key when you created your Apple ID, you can use those to reset your password without erasing the Mac.

Finding the Administrator Name When You Can Log In

Open System Settings and navigate to General, then Users & Groups (the exact path varies slightly by macOS version — on Big Sur and earlier, go directly to System Preferences > Users & Groups). The administrator account will have a label that says "Admin" next to the name. If multiple accounts exist, only the ones marked Admin can install software, change system settings, or create new user accounts.

You can also see the administrator name by opening the Finder, clicking Applications, then Utilities, then opening Directory Utility. The administrator account will appear in the list, though this method requires you to already have administrator access to open the process. For most people, checking System Settings is simpler and faster.

Resetting a Forgotten Administrator Password in Recovery Mode

Shut down your Mac completely. Press the power button to turn it back on, then when ready hold down Command + R. Keep holding until you see the Apple logo or a spinning globe — this usually takes 10 to 15 seconds. Your Mac will boot into Recovery Mode, which is a separate operating system that runs independently of your main system.

Once in Recovery Mode, you will see a menu with several options. Click Utilities in the menu bar at the top, then select Reset Password. A window will open asking you to choose which user account to reset. Select the administrator account from the dropdown, then enter a new password twice to confirm it. Click Reset Password, and your Mac will update the password when ready.

After resetting the password, click the red close button in the top left corner of the window, then click the Apple menu and select Restart. Your Mac will restart normally, and you can log in with the administrator account using the new password you just created.

Using Your Apple ID to Reset the Password Without Recovery Mode

If you remember the Apple ID associated with your Mac, you can reset the administrator password from the login screen itself — you do not need Recovery Mode. On the login screen, click the question mark icon or wait for it to appear after several failed password attempts. Your Mac will offer to reset your password using your Apple ID.

Click Reset It, then enter your Apple ID email and password. Your Mac will send a verification code to a trusted device or phone number associated with your Apple ID. Enter that code, then create a new administrator password. This method is faster than Recovery Mode and does not require you to restart into a separate operating system.

This option only works if you set up your Mac with an Apple ID and have access to that Apple ID account now. If you do not remember your Apple ID password, you will need to reset that through Apple's account recovery process before you can use this method.

Creating a New Administrator Account in Recovery Mode

If you cannot remember the administrator password and do not have access to the associated Apple ID, you can create a brand new administrator account from Recovery Mode. Follow the same steps to enter Recovery Mode: shut down, power on, and hold Command + R when ready.

Once in Recovery Mode, click Utilities in the menu bar, then select Terminal. A black command-line window will open. Type the command resetpassword and press Enter. This opens the same Reset Password tool, but from the Terminal you can also create a new account if needed. Follow the prompts to create a new administrator account with a name and password you choose.

After creating the new account, restart your Mac normally. You can log in with the new administrator account and then delete the old account if you no longer need it. To delete the old account, go to System Settings > Users & Groups, click the lock icon to unlock it (you will need to enter your new administrator password), select the old account, and click the minus button.

What to Do If Recovery Mode Will Not Start

If your Mac does not enter Recovery Mode when you hold Command + R, try holding Command + Option + R instead. This boots into Internet Recovery Mode, which downloads the recovery tools from Apple's servers. Internet Recovery takes longer to start — sometimes several minutes — but works the same way as regular Recovery Mode.

If neither Command + R nor Command + Option + R works, your Mac may have a hardware issue or a very old version of macOS. Try restarting and holding just R (without Command), or consult Apple's support site for your specific Mac model and macOS version. You can also take your Mac to an Apple Store or authorized repair center, where staff can reset the password using their own tools.

Protecting Your Administrator Password Going Forward

Once you have reset or created an administrator password, write it down and store it somewhere find — a password manager, a locked drawer, or a trusted family member. Many people forget their administrator password because they set it once and never use it again, then cannot recall it months or years later.

You can also set up a recovery contact or recovery key through your Apple ID settings. A recovery contact is another person who can help you reset your password if you forget it. A recovery key is a long code you generate and store separately. Both options let you reset your password without needing Recovery Mode or access to your Apple ID email.

Frequently Asked Questions

Can I see my administrator password if I am logged in?

No. macOS does not display stored passwords anywhere, even to the administrator. If you need to know your password for another reason — like logging into a website or another device — you will need to reset it in System Settings by clicking your account name, then clicking Password, and following the prompts to change it.

What if I have a Mac with Apple Silicon (M1, M2, M3)?

The process is identical. Hold Command + R to enter Recovery Mode on Apple Silicon Macs just as you would on Intel Macs. The Reset Password tool works the same way on both architectures.

Will resetting my password in Recovery Mode erase my files?

No. Resetting the password through Recovery Mode changes only the password — all your files, applications, and settings remain exactly as they were. You will not lose anything.

What if I do not remember my Apple ID password either?

Go to iforgot.apple.com and enter your Apple ID email address. Apple will send you a link to reset your Apple ID password. Once you have reset that, you can use your Apple ID to reset your Mac administrator password from the login screen or through Recovery Mode.

Can someone else reset my administrator password without my permission?

If they have physical access to your Mac and can restart it into Recovery Mode, yes — Recovery Mode does not require a password to enter. If you are concerned about this, you can enable firmware security in Recovery Mode to require a password before Recovery Mode will start. This is found under Utilities > Firmware Security Tool in Recovery Mode.