You can reset a MacBook Pro without the password, but the method depends on whether you set up recovery options beforehand

If you are locked out of your MacBook Pro, you have a path forward — but it requires either a recovery key you saved earlier, another Apple ID account on the machine, or access to your Apple ID credentials. Apple built these options into macOS specifically so you would not be permanently locked out. The fastest route depends on what you set up when you first configured the computer.

The single most important thing to know: if you did not save a recovery key when you turned on two-factor authentication, and you do not have another admin account on the machine, you will need to contact Apple Support or visit an Apple Store. There is no backdoor into your own computer that does not involve proving you own it.

Key Takeaways

  • A recovery key saved during two-factor authentication setup is the fastest way to reset your password without needing your Apple ID password.
  • If you have another admin account on the same MacBook Pro, you can reset the forgotten password from that account without any additional credentials.
  • If you have neither a recovery key nor a second admin account, you will need to sign in with your Apple ID and password to regain access.
  • Recovery mode (Command-R at startup) is where you access the password reset tools, but it still requires one of the above methods to proceed.
  • If you cannot remember your Apple ID password either, you will need to reset it through Apple's account recovery process before you can unlock the Mac.

Resetting your password using a recovery key

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, a safe deposit box — you can use it to reset your password without needing your Apple ID password.

Restart your MacBook Pro and hold Command-R as it boots to enter Recovery mode. Click "Utilities" in the menu bar, then "Terminal." Type resetpassword and press Enter. A window will open asking for your Apple ID. Instead of typing your password, click "Reset Password" and then select "I don't have my Apple ID password." Choose "Use my recovery key" and enter the 28-character code. Follow the prompts to create a new password.

This method works even if you have not set up any other accounts on the machine. The recovery key is the quickest path because it proves you own the Apple ID without requiring you to remember or reset the password itself.

Resetting your password from another admin account

If someone else set up an admin account on your MacBook Pro, or if you created a second account for yourself, you can use that account to reset the forgotten password. You do not need any Apple ID credentials for this method.

Log in to the other admin account. Open System Settings (or System Preferences on older macOS versions), then go to "General" and click "Users & Groups" (or just "Users & Groups" depending on your macOS version). Click the lock icon in the bottom left and enter the password for the account you are currently logged into. Find the account with the forgotten password in the list on the left, select it, and click "Reset Password." You can set a new password when ready without needing the old one or any Apple ID information.

After you reset the password, you can log out and sign back into the account with the new password. This method requires no recovery key and no Apple ID access.

Resetting your password using your Apple ID

If you do not have a recovery key and there is no other admin account on the machine, you will need to sign in with your Apple ID and password. This is Apple's standard security measure to prevent someone else from resetting your password without your permission.

Restart your MacBook Pro and hold Command-R to enter Recovery mode. Click "Utilities" in the menu bar, then "Terminal." Type resetpassword and press Enter. When the window opens, enter your Apple ID email address and your Apple ID password. You will then be able to create a new password for your Mac account.

If you cannot remember your Apple ID password, you will need to reset it before you can proceed. Go to iforgot.apple.com on another device and follow Apple's account recovery process. This usually involves answering security questions, receiving a code on a trusted device, or confirming your identity through email. Once you have reset your Apple ID password, return to the Mac and use the new password in the resetpassword tool.

What to do if you cannot access Recovery mode

Recovery mode is normally entered by holding Command-R during startup. On newer MacBook Pro models with Apple Silicon chips (M1, M2, M3, and later), the process is slightly different: shut down the Mac completely, then press and hold the power button until "Loading startup options" appears on the screen. Click "Options," then "Continue," and you will be asked to sign in with an account that has admin privileges.

If you cannot reach Recovery mode or if the password reset tool does not appear, your Mac may have a firmware lock or other security setting that prevents remote access. In this case, you will need to contact Apple Support or visit an Apple Store with proof of purchase or proof of identity. Apple can verify that you own the device and help you regain access.

Protecting yourself from future lockouts

The best time to prepare for a forgotten password is when you first set up your MacBook Pro. When you turn on two-factor authentication in your Apple ID settings, Apple generates a recovery key — write it down or save it in a password manager when ready. Do not skip this step.

You should also consider creating a second admin account on your Mac, even if you are the only person who uses it. This account can be a backup way to reset your main account's password if you ever forget it. You do not need to use this account regularly; it just needs to exist and have a password you remember.

If you use a password manager like 1Password, Bitwarden, or the built-in iCloud Keychain, store your recovery key there along with your Apple ID password. Password managers are designed to keep sensitive information safe and retrievable, which is far better than writing it on a sticky note or forgetting where you put it.

When you need to contact Apple Support

You should reach out to Apple if you have lost access to all of the following: your password, your recovery key, any other admin account on the Mac, and your Apple ID password. You will also need support if you are seeing error messages in Recovery mode or if your Mac has a firmware lock that prevents you from entering Recovery mode at all.

Contact Apple Support through support.apple.com or call 1-800-MY-APPLE. Have your proof of purchase or your device serial number ready. Apple can verify your identity and help you regain access to your MacBook Pro, though the process may take longer than the self-service methods above.

Frequently Asked Questions

Can I reset my password if I do not have internet access?

You will need internet to verify your Apple ID if you are using that method. However, if you have a recovery key or another admin account, you do not need internet. Recovery mode itself does not require internet, but the verification step does.

Will resetting my password delete my files?

No. Resetting your password only changes the password you use to log in. All of your files, applications, and settings remain on the Mac. You will still be able to access everything once you log in with the new password.

What if I forgot my Apple ID password too?

Go to iforgot.apple.com on another device and follow the recovery process. You can reset your Apple ID password using a trusted phone number, a recovery email address, or security questions. Once you have a new Apple ID password, use it to reset your Mac password.

Is there a way to bypass the password without Apple ID?

Only if you have a recovery key or another admin account on the machine. These are the only two methods that do not require Apple ID credentials. If you have neither, Apple's security system requires you to prove you own the Apple ID before you can reset the password.

How long does it take to reset my password at an Apple Store?

It depends on how busy the store is and whether you have proof of purchase. Bring your device, a government ID, and your proof of purchase if you have it. The process usually takes less than an hour, but you may need to make an appointment first through apple.com/retail.