I got a MacBook Pro and I forgot my administrator username and password and I can't log in into my account. If I use my guest account I can't log in into my iCloud because it is asking me for my administrator credentials.

How can I reset my computer or reset my administrator information?

I have tried to open a new Apple ID but I still need my administrator permission to log in.


Password assistant (FileVault must be on)

One way to reset your password is using set Password assistant (FileVault must be on).

If FileVault is on, follow these steps to reset your password:

  1. Wait up to a minute at the login screen, until you see a message saying that you can use the power button on your Mac to shut down and start up again in Recovery OS. If you don't see this message, FileVault isn't on.

  2. Press and hold the power button until your Mac turns off.

  3. Press the power button again to turn on your Mac.

  4. When the Reset Password window appears, follow the onscreen instructions to create a new password. If you need to connect to Wi-Fi, move your pointer to the top of the screen and use the Wi-Fi menu to connect. To exit without resetting your password, choose Apple menu > Restart.


  1. When done, click Restart.

  2. If you were able to reset your password with the Reset Password assistant, log in to your account using your new password.

  3. Determine whether to create a new login keychain.


Reset using your Recovery Key (FileVault must be on)

If FileVault is on and you have a recovery key you can use that to reset your password:

  1. At the login screen, keep entering a password until you see a message saying that you can reset your password using your Recovery Key. If you don't see the message after three attempts, FileVault isn't on.

  2. Click the arrow next to the message. The password field changes to a Recovery Key field.

  3. Enter your Recovery Key. Use uppercase characters, and include the hyphens. Follow the onscreen instructions to create a new password, then click Reset Password when done.

  4. Determine whether to create a new login keychain.

Reset using Recover Mode

You can reset your password from the terminal using Recovery Mode:

  1. Turn off your Mac (choose Apple > Shut Down).

  2. Press the power button while holding down Command + R. The Mac will boot into Recovery.

  3. When you see the load bar appear you can let go of the keys. It may take a few minutes to load.

  4. Select Disk Utility and press Continue.

  5. Choose Utilities > Terminal.

  6. Enter resetpassword (all one word, lower-case letters) and press Return.

  7. Select the volume containing the account (normally this will be your main hard drive).

  8. Choose the account to change with Select the User Account.

  9. Enter a new password and re-enter it into the password fields.

  10. Enter a new password hint related to the password.

  11. Click Save.

  12. A warning will appear that the password has changed, but not the Keychain Password. Click OK.

  13. Click Apple > Shut Down.


Not the answer you're looking for? Browse other questions tagged .