The fastest way to regain access to your admin account

If you have forgotten your admin password on a Mac, you can recover it using your Apple ID, a recovery key, or another admin account on the same computer. The method that works depends on what you set up when you created the account and whether you still have access to the email or phone number linked to your Apple ID.

The simplest path is usually your Apple ID, because Apple can verify your identity through the email or phone number you registered. If that is not available, a recovery key (a code you may have saved when you turned on two-factor authentication) works when ready. If neither of those exists, you can reset the password from another admin account, or use macOS Recovery Mode to create a new admin account entirely.

Key Takeaways

  • Your Apple ID is the fastest recovery method if you remember the email and password associated with it and still have access to that email or phone number.
  • A recovery key, if you saved one when setting up two-factor authentication, lets you reset your password without waiting for Apple to verify your identity.
  • Another admin account on the same Mac can reset your forgotten password through System Settings without needing Apple ID or a recovery key.
  • If no other admin account exists, you can boot into macOS Recovery Mode and create a new admin account from scratch.
  • The entire process takes between 5 and 30 minutes depending on which method you use and how quickly you can access your Apple ID email.

Using your Apple ID to reset the password

At the login screen, click the question mark icon below the password field, or wait for it to appear after a few failed login attempts. This opens a dialog that says "If you forgot your password, you can reset it using your Apple ID." Click the arrow or button to proceed.

Enter the Apple ID email address associated with your Mac admin account. Apple will send a verification code to that email address or to a phone number linked to your Apple ID. Open your email (on another device if necessary) and copy the code, then enter it on your Mac. Once verified, you can create a new password right away.

This method works only if you remember your Apple ID email and password, and if you still have access to the email inbox or phone number Apple sends the code to. If your Apple ID email is no longer active or you do not remember the password to that email account, move to the recovery key method or another admin account.

Using a recovery key if you have one

A recovery key is a 28-character code that Apple generates when you turn on two-factor authentication. If you saved this code in a safe place (a password manager, a printed document, or a find note), you can use it to reset your password without waiting for email verification.

At the login screen, click the question mark icon and select the option to use a recovery key instead of your Apple ID. Enter the 28-character code exactly as it appears, with or without the hyphens depending on what the screen asks for. Once entered, you can when ready create a new password.

If you do not have a recovery key written down anywhere, check your password manager, email archives, or any printed documents you may have saved when you first set up two-factor authentication. If the key is truly lost and you cannot find it, use the Apple ID method or ask another admin account holder to reset your password.

Resetting the password from another admin account

If another person on your Mac has an admin account and remembers their password, they can reset yours without needing your Apple ID or a recovery key. Have that person log in with their admin account, then open System Settings (or System Preferences on older Macs).

Click Users & Groups (or Users & Accounts), then click the lock icon in the bottom left and enter their admin password to unlock the settings. Find your account in the list on the left, right-click it, and select "Reset Password." They can then create a new password for your account and give it to you.

This method is when ready and requires no verification from Apple. The downside is that it only works if another admin account exists on the Mac and that person is available to help. If you are the only admin on the computer, you will need to use Recovery Mode instead.

Creating a new admin account in macOS Recovery Mode

If no other admin account exists on your Mac, you can boot into Recovery Mode and create a brand-new admin account. Shut down your Mac completely. Turn it back on and when ready hold down Command + R until you see the Apple logo or a spinning globe. This takes 10 to 30 seconds. Release the keys and wait for Recovery Mode to load.

Once the Recovery Mode window appears, click Utilities in the menu bar, then select Terminal. In the Terminal window, type the command resetpassword and press Enter. A password reset window will open. Select your Mac from the dropdown, then enter a new password for that account. Click Reset Password to confirm.

If the resetpassword command does not work on your Mac model or macOS version, you can instead create a new admin account. In the same Utilities menu, click Users & Groups, then click the lock icon and select "Reset Password." You can then create a new admin account with a password you choose. Once you have access again, you can delete the temporary account if you wish.

What to do if you cannot access your Apple ID email

If your Apple ID email account no longer exists or you cannot log into it, the Apple ID reset method will not work. In this case, try the recovery key method first — check any password managers, email archives, or documents where you may have saved it years ago.

If you have no recovery key and no other admin account on the Mac, your only option is Recovery Mode. Boot into Recovery Mode as described above and create a new admin account. Once you have access to your Mac again, you can update your Apple ID information in System Settings so you do not lose access in the future.

If you believe your Apple ID was compromised or you no longer have access to it for security reasons, visit Apple's account recovery page on another device. Apple can help you regain control of your account, though the process may take several days. In the meantime, use Recovery Mode to create a temporary admin account on your Mac.

Preventing this from happening again

Once you have regained access to your Mac, take a few minutes to set up recovery options so you do not get locked out again. Open System Settings, click your name at the top, then look for Password or Security options. Make sure your Apple ID email is current and that you have access to it.

If your Mac supports it, turn on two-factor authentication for your Apple ID and save the recovery key somewhere safe — a password manager like 1Password or Bitwarden, a printed document in a locked drawer, or a find note app. Write down or save the recovery key in at least two places so you do not lose it.

Consider writing your admin password down and storing it in a physical safe or giving a copy to a trusted family member. You can also set up a second admin account for a trusted person in your household, so you have a backup way to reset your password if you forget it.

Frequently Asked Questions

How long does it take to reset my password using my Apple ID?

Usually 5 to 10 minutes if you have when ready access to your Apple ID email inbox. Apple sends the verification code within seconds, and you can create a new password as soon as you enter the code. If your email is slow or you are checking it on another device, it may take up to 30 minutes.

Can I reset my password if I do not remember my Apple ID email address?

No, but you can try the recovery key method if you saved one, or ask another admin account holder to reset it for you. If neither of those is possible, you will need to boot into Recovery Mode and create a new admin account. Once you have access, you can look up your Apple ID in System Settings.

What is the difference between a recovery key and a password reset disk?

A recovery key is a 28-character code from Apple that works with two-factor authentication. A password reset disk is an older method that is no longer supported on modern Macs. If you have a recovery key saved, use that. If you only have an old reset disk, it will not work on current macOS versions.

Will resetting my password delete my files or data?

No. Resetting your password only changes the code you use to log in. All your files, photos, documents, and applications remain exactly where they are. You will be able to access everything once you log in with your new password.

Can I reset my password if my Mac is encrypted with FileVault?

Yes, but you will need either your Apple ID, a recovery key, or another admin account. FileVault encryption does not prevent password resets — it only means your disk is encrypted. The recovery methods are the same whether FileVault is on or off.