Download Article
Get access to your locked Apple laptop, even without your Apple ID
Download Article
Have you forgotten the password for your MacBook Pro? If so, don’t panic. Your Mac has some built-in features that will allow you to easily reset your password so you can log back in—even if you’ve forgotten your Apple ID. While you can usually reset your password from the login screen or by restarting your Mac in Recovery Mode, you can also erase your Mac and reinstall macOS to unlock it if nothing else works.
Quick Steps
- Attempt to enter your password up to 3 times on your MacBook Pro’s login screen.
- Click on the password reset option that appears below the login field.
- Follow the directions on the screen to reset your password.
- Restart your Mac and log in with the new password to unlock it.
Steps
-
Make sure you’re on the login screen. In most cases, you can easily reset your MacBook password from the login screen after you start up your computer. If you’re unsure whether you’re on the login screen, look for a screen showing your profile picture, username, and a text field that says “Enter Password.” You’ll also see Shut Down , Restart , and Sleep buttons at the bottom of the screen. [1] X Research source
- If you don’t see the three buttons at the bottom, you’re not on the login screen. You’ll need to do one of the following:
- If you see a button that says Switch User , click it to go to the login screen.
- If you don’t see any buttons at the bottom of the screen, press and hold your Mac’s power button for about 10 seconds to force a shutdown . Press it again to restart your Mac, which will take you to the login screen.
- This method will only work if you know your Apple ID and password and you don’t have FileVault enabled.
- If you are prompted to reset with a recovery code while following these steps, use the FileVault method instead.
- If you don’t have FileVault enabled and can’t remember or recover your Apple ID password, you’ll need to use one of the other methods below.
- If you don’t see the three buttons at the bottom, you’re not on the login screen. You’ll need to do one of the following:
-
Enter a password repeatedly until a reset option appears. Entering your password incorrectly a few times will eventually cause your MacBook to offer you a reset option. The option you see will depend on how your Mac is set up.
- Typically, this will happen after you’ve entered your password incorrectly up to three times.
Advertisement -
Restart your Mac, then reset with your Apple ID (option 1). Depending on how your computer is set up, you might see a message that says Restart and show password reset options . If so, click this message to reboot your Mac, then follow the on-screen prompts. Otherwise, skip to the next step.
- Once your Mac reboots, you might be prompted to select a volume to recover. Choose your startup disk (usually Macintosh HD ).
- Sign in with your Apple ID and password. Enter a verification code from another device if prompted.
- Select the user whose password you want to reset, then click Next .
- Enter your new password information. You’ll need to enter the new password twice to verify it. You might also get the option to set a password hint. Click Next .
- Click Restart to complete the process. You should now be able to log in with your new password!
-
Reset with your Apple ID (option 2). Sometimes, rather than being prompted to restart your computer, you’ll see an option that says Reset it using your Apple ID . If so, click this option and follow the onscreen instructions. Again, what happens next may vary depending on your MacBook’s settings.
- You may be prompted to restart your Mac before you can proceed. If this happens, restart your Mac, then follow the instructions in the previous step.
- You might also be prompted to enter your Apple ID and password without restarting. If this happens:
- Type in your Apple ID and password, then click Reset Password .
- Click OK to restart your Mac if you’re prompted to create a new keychain to store your passwords.
- If you’re given the option to select another admin user whose password you know, select them and then click Forgot all passwords?
- If a window comes up with a Deactivate Mac option, click Deactivate Mac and then click Deactivate to confirm the action. Don’t worry, this won’t harm your computer or data!
- Enter your new password and click Next . You may need to do this for all the users associated with your computer if you selected the Forgot all passwords option.
- Click Restart to reboot your computer, then log in with your new password to unlock it.
Advertisement
-
Make sure you’re on the login screen. If you don’t know your Apple ID, you may still be able to reset your password with a recovery code. This will only work if you have FileVault enabled. You can do this from the login screen, which should show your profile picture, username, and a text field that says “Enter Password.” You’ll also see Shut Down , Restart , and Sleep buttons at the bottom of the screen. [2] X Research source
- If you don’t see the three buttons at the bottom, you’re not on the login screen. You’ll need to do one of the following:
- If you see a button that says Switch User , click it to go to the login screen.
- If you don’t see any buttons at the bottom of the screen, press and hold your Mac’s power button for about 10 seconds to force a shutdown . Press it again to restart your Mac, which will take you to the login screen.
- If you don’t see the three buttons at the bottom, you’re not on the login screen. You’ll need to do one of the following:
-
Enter a password repeatedly until a reset option appears. Entering your password incorrectly a few times will eventually cause your MacBook to offer you a reset option.
- Typically, this will happen after you’ve entered your password incorrectly up to three times.
- What happens next will depend on how your computer is set up.
-
Restart if prompted, then enter your recovery key (option 1). If you see a message that says Restart and show password options , click on it to restart your Mac, then follow the onscreen instructions.
- If you’re asked which volume to recover, select the disk from which you’re trying to start up (usually Macintosh HD ).
- When prompted, enter your recovery key (a string of letters and numbers you received when you originally activated FileVault). If you can’t find your recovery key, you may need to erase your Mac and set it up again.
- Once you’ve provided the requested information, select the user whose password you want to reset, then click Next .
- Enter your new password and click Next again.
- After you’re done setting up the new password, click Restart . Log in with your new password to unlock your MacBook Pro.
-
Reset with your recovery key from the login screen (option 2). Instead of being prompted to restart, you might see an option that says Reset using your recovery key on the login screen. If this happens:
- Click the message and enter the recovery key you received when you first activated FileVault. This is a long string of letters and numbers.
- Enter your new password and click Reset Password .
- If you’ve misplaced your FileVault recovery key, you will unfortunately have to erase your Mac . You won’t be able to recover your settings or any files that aren’t backed up elsewhere. [3] X Research source
Advertisement
-
Log in with a different admin account if you know the password. If there’s more than one admin account on your MacBook, you can use it to reset the passwords on your other user accounts. To get started, log in with the user ID and password of the other admin account.
-
Select Users & Groups . You’ll see this option in the left sidebar.
-
Click the i by the name of the user you want to reset. Locate the user whose password you need to reset, then click the button that looks like an i in a circle.
- If you’re using an older version of macOS, you may need to click the user’s name in a list on the left side of the Users & Groups window instead.
- For some macOS versions, you’ll need to click the padlock button and enter the username and password of the admin account you’re currently using.
-
Select Change… next to the Password header. Or, if you’re using an older version of macOS, click Reset Password .
-
Enter your new password. You’ll be prompted to verify the password by typing it again. You can also enter a password hint if you like. When you’re done, click Change Password .
-
Restart and enter your new password. Once you’re at the login screen, enter the user ID and new password for the account you’ve been trying to unlock.
- You might be prompted to update your login keychain with the new login information. If not, you can do it manually .
Advertisement
-
Press and hold the power button if you have a silicon chip. If you have a newer MacBook Pro with a silicon chip (Apple M1, M2, or M3), press and hold the power button to restart your computer. Keep holding the button down until you see a screen with startup options. [4] X Research source
- Click Options > Continue on the startup screen.
-
Start up with ⌘ Command + R if you have an Intel processor. If your MacBook Pro has an Intel processor, press and release the power button to boot up, then immediately press and hold Command + R . Hold the keys until you see either the Apple logo or a spinning globe.
- You may be asked to connect to a Wi-Fi network.
-
Choose Forgot all passwords? if you’re prompted to select an admin user. As you start up in Recovery Mode, you may be asked to select an admin user whose password you know. If this happens, click Forgot all passwords? What happens next depends on your settings:
- If you’re prompted to reset with your Apple ID:
- Enter your Apple ID and password, then enter the verification code sent to your trusted device if prompted to do so.
- Select the user whose password you want to reset.
- Enter the new password and click Next .
- Click Exit once the verification process is complete.
- Select Apple menu > Restart .
- Log in with your new password.
- If you see an Activation Lock window at any point during this process, click Exit to Recovery Utilities and skip ahead to the instructions on using the Reset Password Assistant.
- If you’re prompted to enter a FileVault recovery key:
- Type in your recovery key. It’s the long string of numbers and letters you received when you first set up FileVault.
- Click Reset Password .
- Select the user whose password you want to reset.
- Follow the instructions to change the password, then click Exit .
- Go to Apple menu > Restart and log in with your new password.
- If you’re prompted to reset with your Apple ID:
-
Use the Reset Password Assistant if you don’t see other options. If you start up in Recovery Mode and aren’t offered the option to reset with your Apple ID or a recovery key, you can try the Reset Password Assistant. In this situation, you’ll see a utilities window listing several options. To reset your password from here:
- Click the Utilities menu in the menu bar and select Terminal .
- Type resetpassword into the Terminal window and press Return .
- Select an admin user whose password you know if prompted, then select Forgot all passwords?
- In the Reset Password menu, select Deactivate Mac , then click Deactivate .
- If an Activation Lock window comes up, enter your Apple ID and password and click Next .
- In the Reset Password screen, enter your new password, then click Next . You may be prompted to do this for multiple accounts. Click Exit when you’re done.
- Go to Apple menu > Restart and log in with your new password once your computer restarts.
Advertisement
-
Erase your Mac if all else fails. If you can’t reset your password with any of the other methods, you can erase your Mac from Recovery Mode and set it up again with a new password. If you’ve been keeping backups in iCloud or on an external device, you’ll be able to use your most recent backup to restore your files and settings after you’re done.
-
Shut down your MacBook, then start up in Recovery Mode. The right way to do this depends on what kind of processor your MacBook has. [5] X Research source
- Apple silicon (M1, M2, or M3): Press and hold the power button as you boot up your MacBook Pro. Let go when you see the Startup Options screen (which has a disk drive icon and a gear icon).
- Intel processor: Press and hold Command + R immediately after releasing the power button when booting up. Release the keys when you see an Apple logo or a spinning globe.
-
Select Options > Continue if you have a silicon chip. If you’re using a MacBook Pro with an M1, M2, or M3 chip, you’ll see an Options button with a gear icon after you start up in recovery mode. Click it, then click the Continue button that appears underneath it.
- If you have an Intel processor, you may either be asked to log in or taken directly to the Recovery Utilities window after booting up in Recovery Mode.
-
Click Recovery Assistant when you’re prompted to log in. If you’re asked to log in with an administrator password, select Recovery Assistant from the menu bar. Or, if you see an Activation Lock screen, select Exit to Recovery Utilities .
-
Select Erase Mac . You’ll see this option in the Recovery Assistant menu.
-
Click Erase Mac . In the next window, click the Erase Mac button. Click it again to confirm your choice.
- Your MacBook Pro should restart once the process is complete. If it restarts to a screen with a flashing question mark, press and hold the power button until it shuts down.
-
Reboot in Recovery Mode and reinstall macOS . Once you’re done, you can restore your Mac from a backup if you have one.
Advertisement
Expert Q&A
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
Tips
- If you’re still having trouble resetting your password and unlocking your MacBook Pro, Apple Support may be able to help.Thanks
-
Thanks
- Some of the steps for unlocking your computer and resetting your password are a little different if you’re using macOS Mojave or earlier. For more details, check out this archived article from Apple Support.Thanks
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement
References
About This Article
Thanks to all authors for creating a page that has been read 7,765 times.
Advertisement