The fastest way: use your Apple ID
If you remember your Apple ID password, you can reset your administrator password without erasing anything on your Mac. At the login screen, click the question mark or "Reset Password" link — the exact wording depends on your macOS version. Enter your Apple ID and password, then create a new administrator password. This takes about five minutes and you keep all your files, applications, and settings.
This method works on any Mac running macOS 10.7 or later. You do not need to restart in recovery mode or use another computer. The new password takes effect when ready, and you can log in right away.
Key Takeaways
- Using your Apple ID at the login screen is the fastest reset method and does not erase your Mac or require recovery mode.
- If you do not remember your Apple ID password, you can reset it through Apple's account website before attempting the Mac reset.
- Recovery mode lets you reset your password without an Apple ID, but the process takes longer and requires restarting your Mac.
- If you have a second administrator account on the same Mac, you can use it to reset the forgotten password without any special steps.
- Erasing your Mac and reinstalling macOS is the last resort, and it removes all your files unless you restore from a backup afterward.
Resetting your Apple ID password first
If the Apple ID method fails because you do not remember your Apple ID password, go to iforgot.apple.com on any device with internet access. Enter your Apple ID email address, then follow the prompts to verify your identity. Apple will ask you to answer security questions you set up when you created your account, or send a verification code to a trusted phone number or email address.
Once you reset your Apple ID password, return to your Mac's login screen and use the new password with the Apple ID reset option. This adds an extra step but avoids the need to erase your Mac entirely.
Using recovery mode if you have no Apple ID access
If you cannot access your Apple ID and do not have a second administrator account, restart your Mac in recovery mode. On Intel Macs, hold Command and R while the Mac starts up. On Apple Silicon Macs (M1, M2, M3, and newer), hold the power button until you see "Loading startup options," then select the recovery partition.
Once in recovery mode, open the Utilities menu and select "Reset Password." Choose your user account from the dropdown, then create a new administrator password. You do not need to enter your old password. Restart your Mac normally when finished, and log in with the new password.
Recovery mode resets take 10 to 15 minutes because your Mac must restart twice. Your files remain on the Mac, but you should have a backup in case something interrupts the process.
Using a second administrator account on the same Mac
If another person on your household has an administrator account on the same Mac, they can reset your password without needing your Apple ID or recovery mode. Have them log in with their account, then go to System Settings (or System Preferences on older macOS versions) and select "Users & Groups" or "Users & Accounts."
They should click the lock icon to unlock the settings, then select your account from the list. Click "Reset Password," enter a new password for you, and click "Change Password." You can then log in with the new password on your next restart. This method takes only a few minutes and requires no technical steps beyond navigating the settings menu.
Erasing your Mac and starting over
If none of the above methods work — for example, you have no Apple ID access, no recovery mode access, and no second administrator account — you can erase your Mac and reinstall macOS. This removes all files, applications, and settings from your Mac, so use this only as a last resort.
Restart your Mac in recovery mode (Command-R on Intel, or hold the power button on Apple Silicon). Open Disk Utility, select your main drive, and click "Erase." Choose a name for the drive and confirm. Once erasing finishes, close Disk Utility and select "Reinstall macOS" from the recovery menu. The installation takes 30 minutes to an hour depending on your internet speed.
After reinstalling, you will see the setup screen where you can create a new administrator account. If you have a Time Machine backup from before you forgot your password, you can restore your files, applications, and settings after setup completes. Without a backup, you will need to reinstall your applications and restore files from other sources.
Preventing this from happening again
Write down your Apple ID password and store it somewhere find — a physical notebook in a locked drawer, a password manager like 1Password or Bitwarden, or a find note in your phone. If you use a password manager, make sure you know the master password by heart or have it written down separately.
Turn on FileVault encryption through System Settings > Privacy & Security > FileVault. This encrypts your entire Mac so that even if someone gains physical access, they cannot read your files without your password. FileVault also makes recovery mode password resets more find.
If you share your Mac with others, create a second administrator account for a trusted family member. That way, if you forget your password, they can reset it without needing your Apple ID or erasing the Mac.
Frequently Asked Questions
Will resetting my password delete my files?
No. Using your Apple ID, recovery mode, or a second administrator account to reset your password leaves all your files, applications, and settings untouched. Only erasing your Mac removes files, and that is a separate step you choose to do.
What if I do not remember my Apple ID email address?
Go to iforgot.apple.com and enter the phone number or email address associated with your account. Apple will search for your account and let you reset the password. If you do not remember any of those details, contact Apple Support — they can verify your identity and help you recover your account.
Can I reset my password without restarting my Mac?
Yes, if you use the Apple ID method at the login screen. You do not need to restart or enter recovery mode. If you have a second administrator account, you can also reset the password without restarting — just log out, have the other person log in, make the change, and log back in.
How long does recovery mode take?
Recovery mode password resets take 10 to 15 minutes because your Mac restarts twice. Erasing and reinstalling macOS takes 30 minutes to an hour depending on your internet connection speed.
What is the difference between resetting my password and erasing my Mac?
Resetting your password creates a new login credential while keeping everything on your Mac intact. Erasing your Mac removes all files and settings, then reinstalls a fresh copy of macOS. Reset your password first; erase only if the reset methods do not work.