If you can't reset your Mac login password

If you can't reset your Mac login password

If the standard steps to reset the password of your Mac user account haven't been successful, try these additional steps.

Before you begin

 


Start up from macOS Recovery

Determine whether you're using a Mac with Apple silicon, then follow the appropriate steps to start up from macOS Recovery:

  • Apple silicon: turn on your Mac and continue to press and hold the power button until you see the startup options window. Select the gear icon labelled Options, then click Continue.
  • Intel processor: turn on your Mac and immediately press and hold Command (⌘)-R until you see an Apple logo or other image.

 


If you're asked to select an admin user

If you're asked to select an admin user you know the password for, click “Forgotten all passwords?” and proceed as described below.

If you're asked for your Apple ID information

Enter your Apple ID information. You may also be asked to enter the verification code sent to your other devices.

If you see an Activation Lock window, click Exit to Recovery Utilities. Then continue as described in the next section, “Use the Reset Password assistant”.

If you're asked to select a user that you want to reset the password for:

  1. Select the user, then enter your new password information and click Next. 
  2. After authentication has been successful, click Exit. 
  3. Choose Apple menu  > Restart. The password reset process has been completed, so you don't need to take additional steps.

If you're asked for your recovery key

  1. Enter your FileVault recovery key. You'll have received it when you turned on FileVault and chose to create a recovery key instead of allowing your iCloud account (Apple ID) to unlock your disk. 
  2. When prompted to reset your password, click Reset Password.
  3. Select a user to reset the password for.
  4. After authentication has been successful, click Exit.
  5. Choose Apple menu  > Restart. The password reset process has been completed, so you don't need to take additional steps.

 


Use the Reset Password assistant

You should now see the utilities window, which shows options such as restoring from Time Machine, reinstalling macOS and using Disk Utility.

  1. From the Utilities menu in the menu bar, choose Terminal.
  2. In the Terminal window, type resetpassword, then press Return to open the Reset Password assistant.
  3. If you're asked to select an admin user you know the password for, click “Forgotten all passwords?”.
  4. At the Reset Password window, click Deactivate Mac, then click Deactivate to confirm.
  5. If you see an Activation Lock window, enter your Apple ID email and password, then click Next.
  6. At the Reset Password window, enter your new password information, then click Next.
    If this window shows multiple user accounts, click the Set Password button next to each account name, then enter the new password information for each account.
  7. When the password reset process has been completed, click Exit.
  8. Choose Apple menu  > Restart, then log in with your new password.

 


If you still can't reset your password, erase your Mac

If no other solution is successful, you have the option to reset your password by erasing your Mac.

  1. Shut down your Mac, then start up from macOS recovery as described previously.
  2. When you're asked to select an admin user you know the password for, choose Erase Mac from the Recovery Assistant menu in the menu bar.
  3. From the Erase Mac window, click Erase Mac, then click Erase Mac to confirm. 
  4. If your Mac restarts to a flashing question mark, press and hold the power button for a few seconds until your Mac turns off.
  5. Start up from macOS Recovery again, then reinstall macOS. For details, see How to reinstall macOS

If you can't reinstall macOS because the installer can't see a hard disk on which to install, you may need to change the format of the disk:

  1. Press Command (⌘)-Q to quit the installer.
  2. When you see the utilities window, select Disk Utility, then click Continue.
  3. Select the first item listed in the sidebar of the Disk Utility window. This is your built-in hard disk.
  4. Click the Erase button or tab on the right-hand side of the window, then enter these details:
    • Name: Macintosh HD
    • Format: Mac OS Extended (Journalled)
    • Scheme (if shown): GUID Partition Map
  5. Click Erase, then click Erase to confirm.
  6. When the erase process has been completed, press Command-Q to quit Disk Utility and return to the utilities window. You should now be able to reinstall macOS successfully.

 


If you still need help, please contact Apple Support.

    • Related Articles

    • If you forgot your Mac login password

      If you forgot the password to log in to your Mac user account, or the password isn't accepted, choose a reset option from the login window. These steps are for macOS Catalina or later. The steps for macOS Mojave or earlier are different. If you're ...
    • Mesh vs Access Points

      Comparison of Mesh WiFi vs Access Points – Which One is Best for Homes You want fast and consistent Wi-Fi coverage all across your home or office network so you want to compare Mesh WiFi with multiple Access Points network. The good news is that both ...
    • Sage 50 - Error: 'Processing, please wait...'

      Summary This guide explains how to fix this error ' in Sage 50cloud Accounts when opening or processing in a Remote Data Access company. Description When you try to log in to, or process in, a company connected to Remote Data Access, you get the ...
    • Setting up a mailbox on an Android device

      How do I set up an Exchange Basic, Mail Lite, Mail Extra, Starter, StarterPlus, Standard or Advanced mailbox on an Android device? This article covers how to set up an Exchange Basic, Mail Lite, Mail Extra, Starter, StarterPlus, Standard or Advanced ...