The fastest way depends on whether you remember your Apple ID

If you are locked out of your MacBook Pro, the path forward depends on what you remember. If you know your Apple ID and password, you can reset your login password from the lock screen in about five minutes. If you do not remember your Apple ID, the process takes longer and may require proof of ownership. If you own the Mac but never set up an Apple ID on it, you have a third option that works without one.

Do not try to bypass the password by restarting into Recovery Mode and erasing the drive unless you have no other choice — that destroys all your files. The methods below preserve your data.

Key Takeaways

  • If you remember your Apple ID and password, click the question mark on the lock screen to reset your login password without erasing anything.
  • If you do not remember your Apple ID, you can verify your identity through your phone number or recovery key, but the process takes 24 hours or longer.
  • If the Mac was never set up with an Apple ID, you can create one on the lock screen and use it to reset the login password.
  • If none of these work, you will need to prove ownership to Apple or use Recovery Mode, which erases the drive.

Resetting your password with your Apple ID from the lock screen

On the login screen, look for a question mark icon in the bottom right corner or a "Reset Password" option. Click it. You will be asked for your Apple ID email address and password. Enter both.

macOS will send a verification code to a phone number or email address associated with your Apple ID. Enter that code when prompted. You can then create a new login password for the Mac. This password does not have to match your Apple ID password — they are separate.

Once you set the new password, click the arrow or press Enter. You will return to the login screen and can log in with your new password. Your files remain on the Mac untouched.

If you do not remember your Apple ID password

Click the question mark on the lock screen and enter your Apple ID email. When prompted for your password, click "Forgot Apple ID password?" A browser window will open to Apple's account recovery page.

Follow Apple's verification steps. You can verify your identity using a trusted phone number, a recovery key you saved earlier, or answers to security questions you set up. If you use a phone number, Apple sends a code by text or call. If you use a recovery key, you enter it directly. Verification usually completes in minutes, but if you choose the security questions route and answer incorrectly, Apple may require you to wait 24 hours before trying again.

Once verified, reset your Apple ID password. Return to the Mac login screen, click the question mark, and use your Apple ID email and new password to reset your login password.

Creating an Apple ID on the lock screen if you never set one up

If the Mac was purchased used or set up without an Apple ID, you may see an option to create one directly on the lock screen. Look for "Create Apple ID" or a similar prompt. Click it and follow the steps to create a new Apple ID using an email address and phone number you control.

Once the Apple ID is created, use it to reset your login password as described in the first section. You will then be able to log in to the Mac.

Verifying your identity if you cannot use the lock screen method

If the lock screen options do not work — for example, if you do not have access to any phone number or email associated with your Apple ID — you will need to contact Apple Support. Have your Mac's serial number ready. You can find it by holding Option and clicking the Apple menu, then selecting System Information. Look for "Serial Number" in the Hardware section.

Apple will ask you to prove you own the Mac. This may involve providing the original receipt, the serial number, or other identifying information. The process can take several days. Once Apple verifies ownership, they can help you regain access.

Using Recovery Mode if other methods are not available

If you cannot use any of the methods above, you can restart the Mac into Recovery Mode and create a new administrator account. This does not erase your files, but it does require you to migrate your data afterward.

Shut down the Mac completely. Turn it back on and when ready hold Command + R until you see the Apple logo or a spinning globe. Release the keys. The Mac will boot into Recovery Mode. Click Utilities in the menu bar, then Terminal. Type resetpassword and press Enter. A password reset window will open. Select your Mac's hard drive, then create a new administrator account with a password you choose. Restart the Mac and log in with the new account.

Your old user account and files will still be on the Mac, but you will need to migrate them into the new account. This is more involved than the other methods and should be your last resort.

What to do if you see "Account Locked" or cannot try again

If you enter your password incorrectly too many times, macOS may lock the account temporarily or show a message that you cannot try again for a set period. Wait the time shown, then try again. If the lock screen offers a password reset option, use that instead of guessing.

If you are locked out and see no reset option, and you do not remember your Apple ID, your only path forward is to contact Apple Support with proof of ownership or to use Recovery Mode.

Frequently Asked Questions

Can I unlock my MacBook Pro without an Apple ID?

If the Mac was set up with an Apple ID, you will need it or proof of ownership to regain access. If the Mac was never set up with an Apple ID, you can create one on the lock screen and use it to reset your password. If you have no way to verify your identity, Recovery Mode is your option, but it requires creating a new account.

How long does it take to reset my password?

If you remember your Apple ID and password, the reset takes five to ten minutes. If you need to verify your identity through Apple, it can take 24 hours or longer, depending on which verification method you use. If you contact Apple Support, expect several days.

Will resetting my password erase my files?

No. Using the lock screen reset or Recovery Mode's password reset tool preserves your files. Only if you erase the drive in Recovery Mode will you lose data. That should only be done as a last resort.

What if I do not see a question mark or reset option on the lock screen?

Some older versions of macOS do not show this option. Update to the latest macOS version if possible, or use Recovery Mode. You can also contact Apple Support with proof of ownership.

Can I unlock my MacBook Pro if I do not have the original receipt?

Apple can verify ownership using the serial number and other information about the Mac. The receipt makes it faster, but it is not the only way. Contact Apple Support and be ready to answer questions about when and where you purchased the Mac.