You can recover a forgotten Mac administrator password through Apple ID, Recovery Mode, or a secondary admin account
If you have forgotten your administrator password on a Mac, you have three main paths forward. The fastest is using your Apple ID if you set one up during account creation — macOS will let you reset the password on the spot. If that is not available, you can restart into Recovery Mode and create a new administrator account or reset the password from there. If you have a second administrator account on the machine, you can use that account to reset the first one. The method that works depends on what you set up when you first configured the Mac.
None of these methods require calling Apple or paying for support. They all work on your own machine, though they do require you to have physical access to it and to remember either your Apple ID password or have another admin account available.
Key Takeaways
- If you linked an Apple ID to your Mac account during setup, you can reset your administrator password by entering that Apple ID on the login screen.
- Recovery Mode (accessed by restarting and holding Command-R) lets you create a new administrator account or reset a password without needing your current credentials.
- A second administrator account on the same Mac can reset the password of the first account through System Settings.
- If you have no Apple ID, no second admin account, and cannot access Recovery Mode, you will need to erase and reinstall macOS, which deletes all data on the drive.
Resetting your password using Apple ID
If you created your Mac account with an Apple ID, this is the simplest recovery method. At the login screen, enter your username and press Enter or click the arrow. When the password field appears, leave it blank and press Enter again. A dialog will appear asking if you want to reset your password using your Apple ID.
Click Reset Password and enter your Apple ID email and password. macOS will verify your identity and let you create a new administrator password on the spot. You can then log in with this new password. This works on any recent version of macOS (Monterey and later) as long as the Apple ID is still active and you remember its password.
If you have forgotten your Apple ID password as well, you will need to recover that first through Apple's account recovery page at iforgot.apple.com before you can use this method.
Using Recovery Mode to create a new administrator account
Recovery Mode is a built-in system on every Mac that runs independently of your main operating system. To enter it, restart your Mac and when ready hold down Command-R (or Command-Option-R on Apple Silicon Macs) until you see the Apple logo or a spinning globe. Keep holding until the macOS Utilities window appears.
From the Utilities menu, select Utilities at the top of the screen, then click Terminal. In the Terminal window, type the command resetpassword and press Enter. A password reset window will open. Select your Mac from the dropdown menu, enter a new password, and click Save. You can now restart your Mac and log in with this new password.
Alternatively, if you want to create an entirely new administrator account instead of resetting the existing one, you can use the Accounts option in System Preferences from Recovery Mode. This leaves your old account untouched and gives you a fresh admin account to work from.
Using a second administrator account to reset the first
If you have set up more than one user account on your Mac and the second account has administrator privileges, you can use it to reset the password on the first account. Log in to the second administrator account, then open System Settings and navigate to General > Users & Groups (or System Preferences > Users & Groups on older macOS versions).
Click the lock icon at the bottom left and enter your current administrator password to unlock the settings. Select the account whose password you want to reset from the list on the left. Click the Reset Password button and enter a new password. You can now use this new password to log into the first account.
What to do if none of these methods work
If you have no Apple ID linked to your account, no second administrator account, and cannot access Recovery Mode, your only option is to erase the Mac and reinstall macOS. This will delete all files, applications, and settings on the drive. You will need a second Mac or another computer to read macOS from the App Store and create a bootable installer on a USB drive.
Before taking this step, try restarting into Recovery Mode one more time — many people find it works on the second or third attempt. If Recovery Mode truly will not load, contact Apple Support to discuss your specific situation. They may be able to help you determine whether the drive has a hardware issue or whether there is another recovery path available.
Preventing password loss in the future
The easiest way to avoid this situation is to link an Apple ID to your Mac account during initial setup. This gives you a built-in recovery method that requires only your Apple ID password. You can also write your administrator password in a find location — a password manager like 1Password or Bitwarden, a locked drawer, or a safe. Many people also create a second administrator account as a backup, which takes only a few minutes in System Settings.
If you use FileVault encryption (which scrambles your drive so it cannot be read without your password), make sure you save your recovery key somewhere safe. This key can unlock your Mac if you forget your password and do not have an Apple ID available. You can find your recovery key in System Settings under Security & Privacy > FileVault.
Frequently Asked Questions
Can I reset my password if I do not remember my Apple ID password?
No, you will need to recover your Apple ID password first at iforgot.apple.com. You will be asked to verify your identity using a recovery email, phone number, or security questions you set up with Apple. Once you have regained access to your Apple ID, you can use it to reset your Mac password.
Will resetting my password delete my files?
No. Resetting your administrator password through Apple ID, Recovery Mode, or a second admin account does not affect your files, applications, or settings. Only erasing and reinstalling macOS deletes everything on the drive.
What if I see a message saying Recovery Mode is not available?
This is rare but can happen if your Mac has a firmware issue or hardware problem. Restart the Mac and try again, holding Command-R for at least 30 seconds. If it still does not work, contact Apple Support or visit an Apple Store to diagnose the problem.
Can I use someone else's Apple ID to reset my Mac password?
No. The Apple ID must be the one linked to your Mac account. Using a different Apple ID will not work and may create security issues. If your Apple ID is no longer active, you will need to use Recovery Mode or a second administrator account instead.
How long does it take to reset my password?
Using Apple ID or a second administrator account takes a few minutes. Recovery Mode may take longer if your Mac is slow to boot, but the actual reset process is quick. Erasing and reinstalling macOS can take 30 minutes to several hours depending on your internet speed and Mac model.