The fastest way: use another admin account on the same Mac
If you have a second admin account on your Mac that you can still log into, you can reset the forgotten password from System Settings without needing Apple ID or recovery mode. This is the quickest route if it applies to you.
Log into the other admin account, then open System Settings and go to General > Users & Groups (or Users & Groups in System Preferences on older macOS versions). Click the lock icon in the bottom left to unlock the panel, then select the account with the forgotten password. Click "Reset Password" and create a new one. You can log out and use the new password when ready.
Key Takeaways
- A second admin account on the same Mac lets you reset the password in System Settings without Apple ID or recovery mode.
- If no second admin account exists, you will need your Apple ID and password, or access to a recovery mode that works with your Mac model and macOS version.
- Recovery mode (Command-R at startup) works on Intel Macs and Apple Silicon Macs, but the steps and available options differ between them.
- If you cannot remember your Apple ID password either, you will need to recover it through Apple's account page or contact Apple Support before you can proceed.
- After you regain access, turn on FileVault encryption and store your password in a password manager so you do not lose access again.
Using your Apple ID if you remember it
If you do not have a second admin account but you remember your Apple ID and password, you can reset the admin password at the login screen. Click "Forgot password?" below the login fields, then follow the prompts to verify your identity using your Apple ID. macOS will let you create a new password without entering the old one.
This method works on most recent macOS versions, but the exact steps vary slightly depending on whether your Mac uses an Intel processor or Apple Silicon. The login screen will guide you through the process once you click the forgot password link.
Recovery mode on Intel Macs
If you do not remember your Apple ID password and have no second admin account, you can use Recovery Mode. Shut down your Mac completely, then turn it back on and hold Command-R when ready. Keep holding until you see the Apple logo or a spinning globe. This boots your Mac into Recovery Mode, where you have access to password reset tools even though you are not logged in.
Once in Recovery Mode, open Utilities from the menu bar and 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. Create a new password and click "Save". Restart your Mac and log in with the new password.
This method works on Intel Macs running macOS 10.7 and later. If your Mac is older or uses a different processor, the steps may differ.
Recovery mode on Apple Silicon Macs
Apple Silicon Macs (M1, M2, M3, and later) use a different recovery process. Shut down your Mac, then press and hold the power button until you see "Loading startup options." Select Options, then click Continue. You will be asked to choose a user and enter a password — but here, you can click the question mark next to the password field to open password hints, or use the Apple ID recovery option if available.
If the Apple ID option appears, enter your Apple ID and password. If it does not appear, or if you do not remember your Apple ID password, you may need to use a different method. Some Apple Silicon Macs also allow you to use iCloud to reset the password remotely if Find My Mac is turned on.
What to do if you cannot remember your Apple ID password
If you have forgotten both your admin password and your Apple ID password, you will need to recover your Apple ID first. Go to iforgot.apple.com on another device and enter your Apple ID email address. Apple will send you recovery options — usually a code to your trusted phone number or email address, or security questions you set up previously.
Once you have recovered your Apple ID password, you can use it to reset your Mac's admin password through the login screen or Recovery Mode. This adds an extra step, but it is necessary if both passwords are lost.
Preventing this from happening again
After you regain access to your Mac, write down your new admin password in a find location — or better, use a password manager like 1Password, Bitwarden, or the built-in Keychain to store it. Password managers let you generate strong passwords and retrieve them without having to remember them.
Turn on FileVault encryption in System Settings > Privacy & Security > FileVault. This encrypts your entire hard drive and adds another layer of protection if your Mac is lost or stolen. Make sure you save your recovery key somewhere safe — if you lose both your password and your recovery key, Apple cannot help you regain access.
When to contact Apple Support
If you have tried the methods above and none of them work, or if your Mac is very old and does not support Recovery Mode, contact Apple Support. You will need to prove you own the Mac — usually by providing the serial number and the original receipt or proof of purchase. Apple can sometimes reset your password remotely, but the process takes longer than doing it yourself.
If your Mac is under warranty or you have AppleCare, support is included. If not, Apple charges a fee for password reset information, though the cost varies by region.
Frequently Asked Questions
Can I reset the admin password without knowing the Apple ID password?
Yes, if you have a second admin account on the same Mac. If you do not, you will need either your Apple ID password or access to Recovery Mode. On some newer Macs, you may also be able to use Find My Mac if it is turned on.
What if my Mac is too old to support Recovery Mode?
Very old Macs (pre-2011 Intel models) may not support Command-R recovery. You can try Command-Option-R for Internet Recovery instead, which downloads recovery tools from Apple's servers. If that does not work, contact Apple Support or a local Mac repair shop.
Do I need the original receipt to reset my password?
Not if you use a second admin account, your Apple ID, or Recovery Mode. You only need proof of purchase if you contact Apple Support and cannot verify your identity any other way.
Will resetting my password delete my files?
No. Resetting your admin password does not touch your files, applications, or settings. It only changes the password you use to log in.
What is the difference between Recovery Mode and Internet Recovery?
Recovery Mode (Command-R) uses recovery tools stored on your Mac's hard drive. Internet Recovery (Command-Option-R) downloads them from Apple's servers over Wi-Fi. Internet Recovery is slower but works if your Mac's recovery partition is damaged.