Reset your password using your Apple ID

If you know your Apple ID and password, you can reset your MacBook Pro login password from the login screen itself. This is the fastest route and works on any recent Mac.

At the login screen, click the question mark icon in the password field, or wait for it to appear after a few failed attempts. A window will open asking if you want to reset your password. Click Reset Password, then sign in with your Apple ID credentials. You will be asked to enter a new password for your Mac account, and you can log in when ready after.

This method requires that you set up your Mac with an Apple ID originally — most people do this during setup. If you never linked an Apple ID to your account, you will need a different approach.

Key Takeaways

  • The fastest reset uses your Apple ID at the login screen and takes about two minutes if you remember your Apple ID password.
  • If you do not have an Apple ID linked to your account, you can use Recovery Mode and your Apple ID to create a new password.
  • If you do not remember your Apple ID password, you can reset it through Apple's website before attempting the Mac reset.
  • A second admin account on the same Mac can reset your password without needing your Apple ID.
  • If none of these routes work, you will need to erase your Mac and reinstall macOS, which deletes all files on the drive.

Use Recovery Mode if the login screen option does not appear

Some older Macs or accounts set up before Apple ID integration do not show the reset option at the login screen. Recovery Mode gives you another way in using your Apple ID.

Shut down your Mac completely. Turn it back on and when ready hold Command + R until you see the Apple logo or a spinning globe. This boots into Recovery Mode. Once the utilities window appears, click Utilities in the menu bar, then select Terminal.

In Terminal, type resetpassword and press Enter. A password reset window will open. Select your user account from the dropdown, then enter your Apple ID and a new password. Click Reset Password, restart your Mac, and log in with the new password.

Recovery Mode works on Intel and Apple Silicon Macs, though the startup key combination is the same for both. If you see a login screen in Recovery Mode instead of utilities, sign in with your Apple ID there first.

Reset your password from another admin account on the same Mac

If someone else has an admin account on your Mac, they can reset your password without needing your Apple ID. This is useful if you share a Mac with a family member or colleague who has admin rights.

Have the admin user log in to their account. Open System Settings, then go to General and click Users & Groups (or Login Items depending on your macOS version). Find your account in the list, click the lock icon to unlock it with the admin password, then click Reset Password. Enter a new password and click Change Password.

You can then log in with the new password. This method does not require Apple ID and is often the quickest if another admin is available.

Reset your Apple ID password first if you forgot that too

If you cannot remember your Apple ID password, you cannot use it to reset your Mac password. You will need to recover your Apple ID access before you can proceed with the Mac reset.

Go to iforgot.apple.com on any device with internet access. Enter your Apple ID email address and follow the prompts to verify your identity. Apple will ask you to answer security questions, receive a code by email, or use a trusted device to confirm it is really you. Once you reset your Apple ID password, return to your Mac and use that new password in the reset process above.

This step can take a few minutes but is necessary if your Apple ID is locked or you cannot remember the password. Keep your new Apple ID password somewhere safe after you create it.

Erase and reinstall macOS if you cannot access any recovery method

If you do not have an Apple ID linked to your account, do not remember your Apple ID password, and have no other admin account on the Mac, your only option is to erase the drive and reinstall macOS. This deletes all files on your Mac.

Shut down your Mac and turn it back on while holding Command + R. Once in Recovery Mode, click Utilities in the menu bar and select Disk Utility. Select your main drive (usually called Macintosh HD) and click Erase. Choose a name for the drive, set the format to APFS, and click Erase again.

Close Disk Utility and return to the Recovery Mode utilities window. Click Reinstall macOS and follow the prompts. The installation takes 20 to 45 minutes depending on your internet speed and Mac model. When it finishes, you will be asked to set up your Mac as new, and you can create a new password at that time.

Before you erase, check whether you have backups of important files. If your Mac is backed up to iCloud or an external drive, you can restore those files after the reinstall is complete.

What to do if you see a message that your account is locked

If you see a message saying your account is locked after too many failed password attempts, wait 15 minutes and try again. macOS temporarily locks accounts after five wrong attempts to prevent someone from guessing your password.

If the account remains locked after waiting, restart your Mac and try the Apple ID reset method at the login screen. If that does not work, use Recovery Mode as described above. A locked account is not permanent — it just means you need to use one of the recovery methods rather than typing your password again.

Prevent this from happening again

Once you regain access to your Mac, take a few minutes to prevent lockouts in the future. Make sure your Apple ID is linked to your account by opening System Settings, clicking your name at the top, and checking that your Apple ID is shown. If it is not, click Sign In and add your Apple ID.

Write down your Apple ID email and password somewhere find, or store them in a password manager like iCloud Keychain. If you share your Mac with others, create separate user accounts for each person and make sure at least one other account has admin rights. These steps take five minutes and save you hours if you ever forget your password again.

Frequently Asked Questions

Can I reset my password without an Apple ID?

Not on recent Macs. If your account was created before 2016 or without an Apple ID, you might be able to use Recovery Mode without one, but Apple has required Apple ID linking for new accounts for several years. If you do not have an Apple ID, create one at apple.com before attempting a reset.

How long does it take to reset a password?

Using your Apple ID at the login screen takes about two minutes. Recovery Mode takes five to ten minutes. Erasing and reinstalling macOS takes 30 to 60 minutes depending on your internet speed. If you need to reset your Apple ID password first, add another 10 to 15 minutes.

Will resetting my password delete my files?

No, unless you erase your Mac. Using your Apple ID or another admin account to reset your password leaves all your files intact. Only the erase-and-reinstall method deletes everything on the drive.

What if I do not remember the answer to my security questions?

Call Apple Support at 1-800-MY-APPLE. They can verify your identity using other information like your billing address or the device serial number, then help you reset your Apple ID. This usually takes 15 to 30 minutes on the phone.

Can someone else reset my password without my permission?

Only if they have your Apple ID password or have an admin account on your Mac. If you are concerned about unauthorized access, change your Apple ID password when ready and remove any admin accounts you do not recognize.