You cannot retrieve a forgotten administrator password, but you can reset it

Your Mac administrator password is not stored anywhere you can look it up. Instead, you will need to reset it using one of three methods: your Apple ID, a recovery key you saved earlier, or macOS Recovery Mode. The method available to you depends on what you set up when you created your account and which version of macOS you are running.

If you are locked out right now, the fastest route is usually your Apple ID — if you remember that password and have access to the email address tied to it. If you do not have an Apple ID or cannot access it, you will need to use Recovery Mode, which takes longer but does not require any external account.

Key Takeaways

  • Your administrator password cannot be retrieved from your Mac, but you can reset it using your Apple ID, a recovery key, or Recovery Mode.
  • If you set up two-factor authentication on your Apple ID, you will need access to a trusted device or phone number to reset your password.
  • Recovery Mode requires you to restart your Mac and hold down Command-R (or Command-Option-R on newer Macs), then use Utilities to reset the password.
  • If you saved a recovery key when you turned on FileVault encryption, that key can reset your password without needing your Apple ID.

Resetting with your Apple ID

If you remember your Apple ID and password, this is the simplest method. Restart your Mac and wait for the login screen. Click "Forgot password?" below the password field, then enter your Apple ID. Your Mac will ask you to verify your identity — usually by sending a code to your trusted phone number or a trusted device you own.

Once you verify, you will be asked to create a new administrator password. This new password does not have to match your Apple ID password; they are separate. You can use any password you want, as long as it meets your Mac's requirements (usually at least one uppercase letter, one number, and eight characters total).

If you have two-factor authentication turned on for your Apple ID, you must have access to a device that receives the verification code. If you do not have that device anymore, you will need to use Recovery Mode instead.

Using a recovery key if you have FileVault turned on

If you turned on FileVault encryption on your Mac, you should have received a recovery key — a long string of letters and numbers that looks like XXXX-XXXX-XXXX-XXXX-XXXX-XXXX. If you saved this key somewhere safe (a password manager, a printed copy, or a file on another device), you can use it to reset your password without your Apple ID.

At the login screen, click "Forgot password?" and select the option to use your recovery key instead of your Apple ID. Enter the key exactly as it appears, including the hyphens. Your Mac will then let you create a new administrator password.

If you do not remember saving a recovery key, you probably did not have FileVault turned on when you created your account. In that case, you will need to use Recovery Mode.

Resetting your password in Recovery Mode

Recovery Mode is built into your Mac and does not require any external account or saved key. Restart your Mac and when ready hold down Command-R (or Command-Option-R if your Mac has an Apple Silicon chip). Keep holding until you see the macOS Utilities window or the Apple logo appears. This usually takes 10 to 30 seconds.

Once you are in Recovery Mode, click "Utilities" in the menu bar, then select "Reset Password" from the dropdown. Choose your user account from the list, then enter a new administrator password twice. Click "Reset Password" to confirm. Your Mac will restart and you can log in with your new password.

Recovery Mode works on all Macs and does not require you to remember anything except how to hold down Command-R. The trade-off is that it takes longer than using your Apple ID — the whole process usually takes 15 to 20 minutes.

What to do if you cannot access Recovery Mode

If your Mac will not start up or you cannot reach the Recovery Mode screen, your hardware may need service. Some older Macs have different startup key combinations, and some newer Macs with Apple Silicon chips behave differently. If you have an Intel Mac, try Command-Option-R to start up from the internet recovery system instead of your local recovery partition.

If you still cannot reach Recovery Mode after trying both key combinations, contact Apple Support or visit an Apple Store. Bring proof of ownership (your receipt, your Apple ID account, or your serial number). They can reset your password, but the process requires verification and may take a few days.

Preventing this from happening again

Once you have reset your password and can log in again, take a few minutes to prepare for the future. Write down your new administrator password in a password manager like 1Password, Bitwarden, or the built-in Keychain. Do not store it in a note on your Mac itself — if you are locked out, you cannot read it.

If you use FileVault encryption, make sure you know where your recovery key is stored. Take a screenshot of it or print it and keep it in a safe place away from your Mac. If you do not have FileVault turned on, consider turning it on — it protects your data if your Mac is stolen, and it gives you another way to reset your password later.

Set up two-factor authentication on your Apple ID if you have not already. This makes your Apple ID harder to break into, and it ensures that only you can use it to reset your Mac password.

Frequently Asked Questions

Can someone else reset my Mac password without my permission?

Not without physical access to your Mac or knowledge of your Apple ID. If your Mac is encrypted with FileVault, even physical access will not help — they would need your password or recovery key. If you are worried someone has your Apple ID password, change it when ready and turn on two-factor authentication.

What if I forgot my Apple ID password too?

Go to iforgot.apple.com on any device and enter your Apple ID email address. Apple will send you a link to reset your Apple ID password. Once you have reset that, you can use it to reset your Mac administrator password at the login screen.

Will resetting my password delete my files?

No. Resetting your administrator password does not touch your files, photos, documents, or any data on your Mac. It only changes the password you use to log in. Your files remain exactly where they are.

How long does it take to reset my password in Recovery Mode?

The entire process usually takes 15 to 20 minutes from the moment you restart your Mac. Most of that time is waiting for Recovery Mode to load and your Mac to restart after you set the new password. The actual password reset takes less than a minute.

Can I reset my password if my Mac is broken and will not turn on?

Not on your own. If your Mac will not start up at all, the problem is likely hardware-related, not a password issue. You will need to contact Apple Support or visit an Apple Store for diagnosis and repair.