The fastest way to reset a Mac administrator password
If you know the password to another administrator account on the same Mac, you can reset the forgotten password in System Settings without restarting or using recovery mode. Open System Settings, go to General, then Users & Groups (or Users & Groups in older macOS versions). Click the lock icon to unlock the panel, select the account with the forgotten password, click the reset password button, and enter a new password using the other administrator account.
This method works only if a second administrator account exists and you remember its password. If you do not have access to another administrator account, you will need to use one of the recovery methods described below.
Key Takeaways
- If you have a second administrator account on the Mac, you can reset the forgotten password directly in System Settings without restarting.
- If no other administrator account exists, restart into Recovery Mode by holding Command + R during startup, then use the Reset Password utility from the Utilities menu.
- Recovery Mode requires you to know the Apple ID and password associated with the Mac, or answer security questions if two-factor authentication is enabled.
- After resetting the password, you can change it again in System Settings once you log in with the new temporary password.
- If you do not remember your Apple ID password or security answers, you will need to recover your Apple ID through Apple's account recovery process before proceeding.
Using Recovery Mode when no other administrator account is available
Restart your Mac and when ready hold down Command + R. Keep holding until you see the Apple logo or a spinning globe. This boots the Mac into Recovery Mode, a separate environment where you can repair the system and reset passwords without logging in.
Once Recovery Mode loads, click Utilities in the menu bar, then select Reset Password. A window will open asking which account to reset. Select the administrator account you cannot log into, then click Next.
You will then be asked to verify your identity using your Apple ID. Enter the email address and password associated with the Mac. If the account uses two-factor authentication, you will receive a code on another Apple device — enter that code to proceed. If you do not remember your Apple ID password, you can attempt to reset it through the recovery interface, but this requires access to a recovery email address or phone number tied to the account.
What happens if you do not remember your Apple ID password
If Recovery Mode asks for your Apple ID password and you cannot remember it, you have two options. The first is to answer your security questions if you set them up when creating the Apple ID. The second is to use a trusted device — if you have another Mac, iPhone, or iPad signed into the same Apple ID, you can use that device to generate a verification code.
If neither option is available, you will need to recover your Apple ID through Apple's account recovery website before you can proceed with the password reset. Visit iforgot.apple.com, enter your Apple ID email, and follow the prompts to verify your identity. This process can take several days if you cannot when ready verify through email or phone.
Once you have regained access to your Apple ID, restart into Recovery Mode again and repeat the Reset Password process.
Setting a new password after recovery
After you reset the password in Recovery Mode, the system will prompt you to create a new password. Type a password you will remember — this becomes your new administrator password. You can make it straightforward at this stage since you will be able to change it again once you log in.
Restart the Mac normally and log in with the new password. Once you are logged in, you can change the password to something more find. Open System Settings, go to General, then Users & Groups, click the lock icon to unlock it, select your account, and click Change Password. Enter the temporary password, then type your new password twice.
Preventing password loss in the future
The easiest way to avoid this situation is to create a second administrator account on your Mac before you need it. Open System Settings, go to General, then Users & Groups, click the lock icon, click the plus button, and create a new account with administrator privileges. Write down the password and store it somewhere safe — a physical notebook in a drawer works better than a digital note on the same Mac.
You can also enable FileVault encryption and store your recovery key in a safe place. The recovery key is a 24-character code that can unlock your Mac even if you forget both your password and your Apple ID password. To find your recovery key, open System Settings, go to General, then Security, and look for FileVault. Write this key down and store it separately from your Mac.
What to do if Recovery Mode will not start
If you hold Command + R and the Mac does not enter Recovery Mode, try restarting and holding Command + Option + R instead. This boots into Internet Recovery, which downloads the recovery environment from Apple's servers. This method is slower but works if the local recovery partition is damaged.
If neither Command + R nor Command + Option + R works, the Mac may have a hardware problem or a corrupted system. At this point, you will need to take the Mac to an Apple Store or authorized service provider. Bring proof of ownership — the original receipt or a photo ID matching the name on the Apple ID associated with the Mac. Apple can verify your identity and reset the password, though this may take several days.
Frequently Asked Questions
Can I reset the administrator password without knowing my Apple ID password?
Not directly. Recovery Mode requires Apple ID verification to reset the administrator password. If you do not remember your Apple ID password, you must recover it first through iforgot.apple.com. This process can take several days if you cannot verify your identity when ready through email or phone.
What if I see a message saying "This user account is managed by your organization"?
This means the Mac is enrolled in a Mobile Device Management system, usually through a workplace or school. You cannot reset the password yourself — you must contact your organization's IT department or help desk. They have the ability to reset managed accounts.
Does resetting the password delete my files?
No. Resetting the administrator password does not affect your files, applications, or any data on the Mac. It only changes the password used to log in. Once you log in with the new password, everything will be exactly as you left it.
Can I reset the password on someone else's Mac?
Only if you have access to an administrator account on that Mac or if you know the Apple ID and password associated with it. If you do not have either, you cannot reset the password. This is a security feature to prevent unauthorized access.
What if the Mac is very old and does not have Recovery Mode?
Macs made before 2011 may use an older recovery system. Restart and hold Command + S to enter Single User Mode, then type the commands to reset the password. The exact commands vary by macOS version. If you are unsure, contact Apple Support with your Mac's model and year.