Reset your administrator password using your Apple ID
The fastest way to reset a forgotten administrator password on a Mac is through your Apple ID. When you restart your Mac and reach the login screen, click the question mark icon or "Reset Password" button below the password field. Enter your Apple ID and password, then create a new administrator password. Your Mac will accept this new password when ready and you can log in.
This method works on any Mac running macOS Big Sur or later, as long as your Apple ID is linked to your user account. If you do not see a reset option on the login screen, your account may not be set up with an Apple ID recovery method — in that case, use one of the other methods below.
After you reset your password this way, your Mac may ask you to update your keychain password (the encrypted storage for saved passwords and credit cards). You can update it right away or skip it and do it later from System Settings.
Key Takeaways
- The Apple ID reset method is the simplest route and works on any Mac with Big Sur or later, as long as your Apple ID is linked to your account.
- If you have a second administrator account on the same Mac, you can log in with that account and change the forgotten password from System Settings.
- Recovery Mode lets you reset the password without needing another account or your Apple ID, but requires you to restart your Mac and wait through the recovery process.
- If none of these methods work, you will need to contact Apple Support or take your Mac to an Apple Store, as the password cannot be reset without one of these recovery paths.
Use another administrator account on the same Mac
If you have a second administrator account already set up on your Mac, log in with that account instead. Once you are logged in, open System Settings (or System Preferences on older macOS versions), then go to General > Users & Groups (or Accounts on older versions). Click the lock icon in the bottom left, enter your administrator password, then select the account with the forgotten password and click "Reset Password." Enter a new password twice to confirm it.
This method is straightforward but only works if you remember the password for another administrator account. If you have only one account on your Mac, you will need to use the Apple ID method or Recovery Mode instead.
Reset the password through Recovery Mode
Recovery Mode is a built-in tool on your Mac that lets you reset passwords without needing another account or your Apple ID. Restart your Mac and hold Command + R as it starts up. Keep holding until you see the Apple logo or a spinning globe. When the macOS Utilities window appears, click Utilities in the menu bar, then select Terminal.
In the Terminal window, type resetpassword and press Enter. A password reset window will open. Select your user account from the dropdown, enter a new password twice, then click "Reset Password." Close Terminal and restart your Mac. You can now log in with your new password.
Recovery Mode takes longer than the Apple ID method because your Mac must restart and load the recovery system. However, it does not require you to remember your Apple ID password or have another account set up. On newer Macs with Apple Silicon chips, you may see a different recovery interface, but the Terminal and resetpassword steps remain the same.
What to do if you also forgot your Apple ID password
If you need to use the Apple ID reset method but cannot remember your Apple ID password, you will need to reset that first. Go to iforgot.apple.com on any device with internet access, enter your Apple ID email address, and follow Apple's steps to verify your identity. You can verify through a trusted phone number, a recovery email address, or security questions, depending on how your account is set up.
Once you have reset your Apple ID password, return to your Mac login screen and use the Apple ID reset method described in the first section. This adds an extra step but is still faster than Recovery Mode if you have access to another device.
Prevent password loss with a recovery contact
After you reset your password and regain access to your Mac, you can set up a recovery contact to make future resets easier. Open System Settings, go to General > Users & Groups, select your account, and look for the "Recovery Contact" or "Account Recovery" option. Add a trusted contact's email address — if you forget your password again, you can ask this person to help you reset it without needing your Apple ID.
You can also write down your Apple ID password in a find location, such as a password manager like 1Password or Bitwarden, so you have it available if you need it. Many people store their most important passwords in a password manager rather than trying to remember them.
When to contact Apple Support
If none of the methods above work — your Apple ID is not linked to your account, you have no other administrator accounts, Recovery Mode does not open, or you cannot reset your Apple ID password — contact Apple Support. You can reach them through apple.com/support, by phone, or by visiting an Apple Store in person. Apple will ask you to verify your identity using your serial number, purchase receipt, or other account information before they help you reset the password.
Bring your Mac and proof of purchase to an Apple Store if you have one nearby. In-person support is often faster than phone or online support, especially if your Mac has hardware issues that prevent Recovery Mode from working.
Frequently Asked Questions
Can I reset the administrator password without restarting my Mac?
No. All password reset methods require you to either log in with another account (which you cannot do if you are locked out) or restart your Mac to access Recovery Mode or the login screen. Plan for a restart no matter which method you use.
Will resetting my password delete my files?
No. Resetting your password does not delete any files, photos, documents, or other data on your Mac. It only changes the password you use to log in. Your files remain exactly where they were.
What if my Mac is encrypted with FileVault?
FileVault encryption does not prevent password resets — you can still use the Apple ID method, another administrator account, or Recovery Mode. However, you will need to enter your password or Apple ID before your Mac fully starts up, so the process takes a bit longer.
Can I reset the password for someone else's Mac?
Only if you have administrator access on that Mac. If the Mac belongs to someone else and you do not have their permission or another administrator account, you cannot reset the password. The owner will need to use their own Apple ID or contact Apple Support.
Does resetting my password affect my iCloud or Apple ID?
No. Your Mac password and your Apple ID password are separate. Resetting your Mac password does not change your Apple ID password, and you will still be able to use iCloud, FaceTime, and other Apple services with your existing Apple ID.