Reset your Mac login password
Sometimes a login password needs to be reset — for example, if you have forgotten the login password and can’t use a password hint to remember it.
When a user’s login password is reset, a new default keychain is created to store the user’s passwords. See About your keychain password.
Reset your login password using your Apple ID
If you associated your user account with your Apple ID, you can use your Apple ID to reset your login password.
On your Mac, choose Apple menu > Restart, or press the Power button on your computer and then click Restart.
Click your user account, click the question mark in the password field, then click the arrow next to “reset it using your Apple ID”.
Enter an Apple ID and password, then click Next.
Follow the instructions to reset your login password.
Reset your login password using a recovery key
If you turned on FileVault encryption and created a recovery key, you can use the recovery key to reset your login password.
On your Mac, choose Apple menu > Restart, or press the Power button on your computer and then click Restart.
Click your user account, click the question mark in the password field, then click the arrow next to “reset it using your recovery key”.
Enter the recovery key, then click Next.
Follow the instructions to reset your login password.
Reset the password of another user
An administrator can reset the passwords of other users.
On your Mac, choose Apple menu > System Preferences, then click Users & Groups.
Open Users & Groups preferences for me
If the lock at the bottom left is locked , click it to unlock the preference pane.
Select a user, then click Reset Password.