
Type in the details and click “OK” to confirm the changes.
Now, you’ll be asked to enter your current macOS user password.
Click on “Reset My Default Keychain” to proceed further.
This will open a new pop-up window on your screen. Once the window opens up, click on Keychain Access in the menu bar and choose “Preferences” from the dropdown menu. Next, type “Keychain” in the search field and open “Keychain Access” from the search results. Alternatively, you can open Spotlight by pressing Command + Space bar (or launch Keychain directly through the Utilities folder)
Click on the “magnifying glass” icon located at the top-right corner of your desktop to access Spotlight search. Remember, doing this will delete all stored passwords from the keychain. Just follow the steps below to get your Keychain password in sync with your user password. Resetting your Keychain is actually a pretty simple and straightforward procedure on macOS. If you’re interested in resetting the Keychain on a Mac so that you can have the login password and keychain password match again, read on to learn how you can reset the default Keychain on a macOS machine. Therefore, reseting the keychain is a last resort and should not be taken lightly, since the inconvenience of losing all stored passwords is considerable (of course if you can’t access the keychain anyway that may not matter as much). However, doing this will remove all the passwords that are currently stored in Keychain.
Since you’ve lost or reset the user password, they are no longer in sync, and you’ll need to reset your default Keychain to get them in sync again. This is because, by default, the Keychain password is the same as your Mac user password.