If you forgot the password to log in to your Mac user account, or the password isn't accepted, choose a reset option from the login window.
These steps are for macOS Catalina or later. The steps for macOS Mojave or earlier are different. If you're not sure which macOS you're using, try these steps first.
Make sure that you're at the login window
The login window appears after you turn on, restart, or log out of your Mac. It's not the same as the window you might see when waking your Mac from sleep or stopping the screen saver, though it uses the same password.
- If you see Shut Down, Restart, and Sleep buttons, you're at the login window.
- If you see a Switch User button, click it to switch to the login window.
- If you see different buttons or no buttons, restart your Mac or press and hold its power button for up to 10 seconds, until it turns off. When your Mac restarts or turns on, it starts up to the login window.
Every Mac has a power button. On notebook computers that have Touch ID, press and hold Touch ID.
Enter a password up to three times
After making sure that you're at the login window, enter any password up to three times until you see one of the password-reset options below.
Choose a password-reset option
After you enter a password up to three times, your Mac should show one of these password-reset options.
Option 1: Restart and show password options
- If you see the option to restart and show password reset options, click it to restart your Mac. Then take one of these steps:
- Sign in with your Apple ID, if asked. You might also be asked to enter the verification code sent to your other devices.
- Enter your FileVault recovery key, if asked. It's the long string of letters and numbers you received when you turned on FileVault and chose to create a recovery key instead of allowing your iCloud account (Apple ID) to unlock your disk.
Option 2: Reset using your Apple ID
- If you see the option to reset using your Apple ID, click it.
- If your Mac restarts, follow the steps for option 1, above.
- If your Mac doesn't restart, but immediately asks for your Apple ID, enter that information and click Reset Password.
If this window shows multiple user accounts, click the Set Password button next to each account name, then enter the new password information for each account.
Option 3: Reset using your recovery key
- Click the option to reset using your recovery key.
- Enter your FileVault recovery key. It's the long string of letters and numbers you received when you turned on FileVault and chose to create a recovery key instead of allowing your iCloud account (Apple ID) to unlock your disk.
- Enter your new password information, then click Reset Password