The fastest way: use another admin account
If you have a second admin account on your Mac, you can reset the forgotten password from that account without restarting or using Recovery Mode. Open System Settings, go to General, then Users & Groups (or just Users on newer macOS versions). Select the account with the forgotten password, click the lock icon to unlock it, then click "Reset Password". You'll be asked to enter your own admin password to confirm, and you can set a new password for that account when ready.
This method works on any recent macOS version and takes about two minutes. The account owner can log back in with the new password right away. If you don't have a second admin account, you'll need to use Recovery Mode instead.
Key Takeaways
- If a second admin account exists on your Mac, you can reset the forgotten password through System Settings without restarting.
- Recovery Mode lets you reset an admin password by booting into Apple's built-in recovery tools, which works even if no other admin account exists.
- The process differs slightly between Intel Macs and Apple Silicon Macs (M1, M2, M3), mainly in how you enter Recovery Mode.
- After resetting the password, you should update your iCloud password separately if that account is linked to iCloud.
Resetting via Recovery Mode on Intel Macs
If no second admin account is available, restart your Mac and hold Command + R as it boots up. Keep holding until you see the Apple logo or a spinning globe. This loads Recovery Mode, which contains password reset tools built into macOS.
Once in Recovery Mode, click Utilities in the menu bar, then select Terminal. Type resetpassword and press Enter. A password reset window will open. Select your Mac's hard drive from the dropdown, then select the admin account you need to reset. Enter a new password twice, click Reset, and restart your Mac. You can then log in with the new password.
This method works on any Intel-based Mac running macOS 10.7 or later. The Terminal command is the most direct route and doesn't require navigating through multiple menus.
Resetting via Recovery Mode on Apple Silicon Macs
Apple Silicon Macs (M1, M2, M3, and newer) enter Recovery Mode differently. Shut down your Mac completely, then press and hold the power button until "Loading startup options" appears on the screen. Release the button, select Options, then click Continue. This opens Recovery Mode.
From here, the process is the same as Intel Macs: click Utilities, select Terminal, type resetpassword, and follow the prompts to reset the admin password. The main difference is only the startup method — the actual password reset works identically.
If the Terminal command doesn't appear to work, make sure you're in Recovery Mode and not regular startup. You should see "Recovery" in the menu bar at the top of the screen.
What to do if you're also locked out of iCloud
Resetting your Mac password and resetting your iCloud password are separate actions. If you've forgotten both, you'll need to reset your iCloud password first through Apple's website before you can use it to unlock your Mac or access iCloud services.
Go to iforgot.apple.com on any device with internet access. Enter your Apple ID email address and follow Apple's verification steps, which usually involve a code sent to a trusted phone number or email. Once you've reset your iCloud password, you can use it to sign back into your Mac account if that account is linked to iCloud.
If your Mac account is a local account (not linked to iCloud), resetting the Mac password and resetting iCloud are completely separate — changing one doesn't affect the other.
When you need to contact Apple Support
If Recovery Mode won't start, the Terminal command doesn't appear, or you see an error message during the reset, your Mac may have a hardware issue or a security setting preventing the reset. This sometimes happens on Macs with FileVault encryption enabled or on corporate-managed Macs with additional security policies.
Contact Apple Support with your Mac's serial number (found in System Settings under General > About) and a description of what happened when you tried to reset. They can verify your identity and walk you through options specific to your Mac's configuration. If your Mac is under warranty or AppleCare, this support is included at no cost.
Preventing this from happening again
After you've reset the password and regained access, consider creating a second admin account as a backup. This gives you a way to reset passwords in the future without needing Recovery Mode. You can create this account in System Settings under Users & Groups, then set it to admin level.
You should also write down your password in a find location — a password manager like 1Password, Bitwarden, or the built-in Keychain can store it safely. If your Mac account is linked to iCloud, make sure you know your Apple ID password separately from your Mac password, since they're not automatically the same.
Frequently Asked Questions
Will resetting my password erase my files?
No. Resetting your admin password does not delete any files, applications, or data on your Mac. It only changes the password you use to log in. All your documents, photos, and programs remain exactly as they were.
Can I reset the password if FileVault is turned on?
Yes, but you may see additional prompts during the process. If your Mac is encrypted with FileVault, Recovery Mode will ask you to unlock the drive before you can reset the password. You'll need to enter the password for an account that has FileVault recovery access, or use your iCloud credentials if they're linked to the Mac.
What if I don't remember any passwords at all?
If you can't remember your Mac password, your iCloud password, or any other account password on the Mac, contact Apple Support. They can verify your identity through your Apple ID and help you regain access. Bring proof of purchase or your Mac's serial number.
Does resetting the password require internet?
No. Resetting your Mac admin password through Recovery Mode works without an internet connection. However, if your Mac account is linked to iCloud and you want to verify your identity that way, you may need internet access during the reset process.
Can I reset the password on someone else's Mac?
Only if you have physical access to the Mac and can boot it into Recovery Mode. You cannot reset someone else's password remotely. If you're trying to regain access to your own Mac, the methods in this guide explore. If you're helping someone else, they should contact Apple Support to verify ownership.