If you forgot your Mac login password
If you forgot the password to log in to your Mac user account, or the password isn't accepted, try these solutions to log in or reset your password.
Before you begin
Enter your login password, not the password for your Apple Account. Your login password is the password for your Mac user account. It's the password you use to log in to your Mac.
If you're already logged in or can log in using Touch ID, you might be able to change your login password instead of resetting it.
Use the correct uppercase or lowercase characters. If your keyboard has Caps Lock turned on, the password field shows a
.Check the
in the menu bar to make sure that you're using the correct input source for your language.If you're using macOS Mojave or earlier, follow the steps for macOS Mojave or earlier. Otherwise, follow the steps below for macOS Sequoia, Sonoma, Ventura, Monterey, Big Sur, and Catalina.
Restart your Mac
Restart your Mac. If you can't restart normally, press and hold the power button for up to 10 seconds, until your Mac turns off. (Every Mac has a power button. On laptop computers that have Touch ID, press and hold Touch ID.) Then turn on your Mac to start up and show the login window:
Connect to the internet
Some of these steps require your Mac to be connected to the internet. You can use the
in the menu bar choose a Wi-Fi network.Show password reset options
If a
appears next to the password field in the login window, click the question mark to see a password hint (if you created one when setting up your user account) and one or more of the password-reset options below.If you don’t see any of these password-reset options, enter your password up to three times.
"Restart and show password reset options"
"Reset it using your Apple Account (or Apple ID)"
"Reset it using your recovery key"
"Your account is locked. Try again in [duration]."
"Restart and show password reset options"
After showing password reset options, if you see the option to restart and show password reset options, click it to restart your Mac.
What happens next depends on how your Mac is set up.
If you're asked to select a volume to recover, select your Mac startup disk, which by default is Macintosh HD.
If you're asked to sign in with your Apple Account, enter your Apple Account information. You might then be asked to enter the verification code sent to your other devices.
If you're asked for your FileVault recovery key, enter the string of letters and numbers you received when you turned on FileVault and chose to create a recovery key instead of allowing your Apple Account to reset your password. If you lost it, follow the steps here: If you can't reset your login password.
If you see a message that you do not have iCloud recovery or a recovery key set up for this volume, follow the steps here: If you can't reset your login password.
Select a user to reset the password for, then click Next.
Enter your new password information, then click Next.
When the password reset is completed, click Restart.
"Reset it using your Apple Account (or Apple ID)"
After showing password reset options, if you see the option to reset using your Apple Account, click it.
If your Mac immediately asks for your Apple Account, enter that information and click Reset Password.
If your Mac restarts, follow the steps in the previous section, "Restart and show password reset options."
What happens next depends on how your Mac is set up.
If you're asked to create a new keychain to store the user's passwords, click OK to restart your Mac.
If you're asked to select an admin user you know the password for, click "Forgot all passwords?"
If you see a Reset Password window with the option to Deactivate Mac, click Deactivate Mac. Then click Deactivate to confirm the temporary deactivation.
Enter your new password information, then click Next. (If you see multiple user accounts, click the Set Password button next to each account name, then enter the new password information for each account.)
When the password reset is completed, click Restart.
"Reset it using your recovery key"
After showing password reset options, if you see the option to reset using your recovery key, click it.
Enter your FileVault recovery key. It's the string of letters and numbers you received when you turned on FileVault and chose to create a recovery key instead of allowing your Apple Account to reset your password. If you lost it, follow the steps here: If you can't reset your login password.
Enter your new password information, then click Reset Password.
"Your account is locked. Try again in [duration]."
If your account becomes locked after entering an incorrect password too many times, wait until the stated time has elapsed, then restart your Mac and try once more. If that doesn't help, follow the steps here: If you can't reset your login password.
No message
If you don't see a password-reset option after entering your password up to three times, restart your Mac and try once more. If that doesn't help, follow the steps here: If you can't reset your login password.