
A forgotten administrator password can block login, app installs, updates, and system changes. macOS provides several recovery paths depending on Apple ID setup, other admin accounts, and FileVault state.
This guide applies to Apple Silicon and Intel Macs running recent macOS versions.
Does This Affect You?
Use these methods if you forgot the password for an admin account or cannot approve administrator prompts. Start with Apple ID reset if it appears at the login screen.
Reset with Apple ID
- At the login screen, enter the wrong password three times.
- If macOS offers to reset using Apple ID, choose that option.
- Sign in with the Apple ID and password linked to the Mac account.
- Create a new Mac login password and hint.
- Log in with the new password.
If the Apple ID option does not appear, the account may not be linked for reset or FileVault settings may require another route.
Reset from Another Administrator Account
- Log in to another administrator account on the same Mac.
- Open System Settings > Users & Groups.
- Select the locked-out account.
- Choose Reset Password, authenticating if macOS asks.
- Set a new password and log in to the affected account.
This resets login access but may not unlock the old Keychain automatically, so saved Wi-Fi passwords and website logins may need to be re-entered.
Reset from macOS Recovery
- Shut down the Mac.
- On Apple Silicon, hold the power button until startup options appear, then choose Options. On Intel, turn on the Mac and hold Command + R.
- In Recovery, choose Utilities > Terminal.
- Run
resetpasswordand press Return. - Close Terminal when the reset tool opens.
- Select the user account, create a new password, and restart.
Password Reset Notes
FileVault May Need a Recovery Key
If FileVault is enabled, the disk may need a FileVault recovery key before password reset works. Store that key securely away from the Mac.
Keychain May Be Separate
After some resets, macOS may create a new keychain or ask for the old password to unlock saved passwords. This is normal security behavior.
Prepare for Next Time
Keep the Mac signed in to Apple ID with two-factor authentication and store FileVault recovery information in a password manager.
Sources
- Apple Support: If you forgot your Mac password
- Apple Support: Reset a login password using macOS Recovery
- Apple Support: Use Apple ID to reset your Mac password
