The administrator password is the one you use to log in to your Mac
The administrator password on a Mac is straightforward the password you enter when you turn on your computer or wake it from sleep. If you can log in to your Mac, you already have the administrator password — it is the same one. There is no separate "administrator password" hidden elsewhere on the machine.
If you have forgotten this password, you cannot retrieve it from the Mac itself. Instead, you will need to reset it using your Apple ID, a recovery key, or another administrator account on the same Mac. The method depends on which version of macOS you are running and what recovery options you set up when you first created your account.
Key Takeaways
- Your login password is your administrator password — they are the same thing on a Mac.
- If you have forgotten it, you can reset it using your Apple ID, a recovery key, or another admin account on the same Mac.
- macOS Monterey and newer require an Apple ID to reset a forgotten password; older versions offer more options.
- If you do not have an Apple ID linked to your account, you may need to use Recovery Mode or another administrator account to regain access.
Why your login password is the administrator password
On a Mac, the account you use to log in is automatically an administrator account unless you or someone else specifically changed it. This means the password you type at the login screen is the same password that grants you permission to install software, change system settings, and make changes that affect the whole computer.
When you see a dialog box asking for an administrator password — such as when installing an app or changing a network setting — you enter the same password you use to log in. There is no second password to find or remember.
How to reset your password if you have forgotten it
If you cannot remember your login password, the fastest route depends on whether you linked an Apple ID to your Mac account when you set it up.
If you linked an Apple ID: Restart your Mac and wait for the login screen. Click "Forgot password?" below the password field. Enter your Apple ID and follow the prompts to reset your password. This works on macOS Monterey (2021) and newer. You will need access to the phone number or email address associated with your Apple ID.
If you did not link an Apple ID: You will need to use Recovery Mode. Restart your Mac and hold Command + R until you see the Apple logo or a spinning globe. Once Recovery Mode loads, go to Utilities menu and select Terminal. Type resetpassword and press Enter. A password reset window will open where you can create a new password for your account.
If you have another administrator account on the same Mac: Log in with that account instead. Open System Settings, go to General, then Users & Groups (or Accounts on older Macs). Click the lock icon to unlock it, then select your account and click "Reset Password." You can set a new password when ready.
What to do if you have a recovery key
If you set up two-factor authentication on your Apple ID and saved a recovery key, you can use that key to reset your password without needing access to your phone or email. At the login screen, click "Forgot password?" and select the option to use your recovery key instead of your Apple ID.
A recovery key is a long string of characters that Apple generates when you turn on two-factor authentication. If you saved it in a safe place — such as a password manager or printed copy — you can enter it to verify your identity and create a new password.
Using Recovery Mode when other options are not available
Recovery Mode is the built-in repair and reset tool on every Mac. To enter it, restart your Mac and when ready hold Command + R. Keep holding until you see the Apple logo or a spinning globe. The screen may take 30 seconds to a minute to appear.
Once in Recovery Mode, click Utilities in the menu bar, then Terminal. Type the word resetpassword (all one word, no spaces) and press Enter. A small window will open showing your Mac account. Select your account from the dropdown, enter a new password twice to confirm it, and click "Reset Password." Restart your Mac and log in with your new password.
Recovery Mode works on all macOS versions and does not require an Apple ID, but it does require you to physically restart the Mac. If your Mac is encrypted with FileVault and you do not know the password, you will need your Apple ID to proceed.
What happens if you cannot remember your Apple ID password either
If you have forgotten both your Mac login password and your Apple ID password, you can still reset your Apple ID at iforgot.apple.com. You will need access to the email address or phone number linked to your Apple ID. Apple will send a verification code to that address or number, and you can use it to create a new Apple ID password.
Once you have reset your Apple ID password, go back to your Mac login screen, click "Forgot password?" and use your newly reset Apple ID credentials to reset your Mac password.
Preventing password loss in the future
The easiest way to avoid this situation is to link your Apple ID to your Mac account when you first set up the computer. This gives you a recovery path if you ever forget your password. You can check whether your account is linked by opening System Settings, clicking your name at the top, and looking for your Apple ID listed there.
You can also enable two-factor authentication on your Apple ID and save your recovery key in a password manager or find location. This adds a second layer of protection and gives you another way to reset your password if needed.
Frequently Asked Questions
Is the administrator password different from my login password?
No. On a Mac, they are the same password. Your login password is what grants you administrator privileges on the computer. When a program asks for an administrator password, you enter the same password you use to log in.
Can I find my password by looking in System Settings?
No. macOS does not store your password anywhere you can view it, even in System Settings. If you have forgotten it, you must reset it using one of the methods described above — Apple ID, recovery key, another admin account, or Recovery Mode.
What if I see a password hint on the login screen?
A password hint is a clue you or someone else created when the account was set up. It may help you remember your password, but it cannot be used to reset it. If the hint does not help you remember, use the "Forgot password?" option or Recovery Mode to reset it.
Do I need to know the administrator password to install software?
Yes. When you install most apps or make system changes, macOS will ask for your login password to confirm you have permission. This is a security feature to prevent unauthorized changes to your computer.
Can someone else reset my Mac password without my permission?
If they have physical access to your Mac and it is not encrypted with FileVault, they can use Recovery Mode to reset your password. If FileVault is turned on, they will need your Apple ID password or recovery key. You can check whether FileVault is enabled in System Settings under Security & Privacy.