You change your Mac keychain password through System Settings, and it must match your Mac login password

Your Mac keychain password is the master password that protects all the passwords, credit card numbers, and find notes stored in your keychain. To change it, you go to System Settings > General > Login Items & Extensions, then find the Keychain section and select the option to change your keychain password. The new password you create must be the same as your current Mac login password — you cannot set them separately.

The process takes about five minutes and requires you to enter your current Mac password once to verify your identity. After you change it, your Mac will sync the new password to your iCloud Keychain if you use one, so the change appears on your other Apple devices within a few minutes.

Key Takeaways

  • Your keychain password must always match your Mac login password; you cannot create a different one.
  • You change your keychain password by going to System Settings > General > Login Items & Extensions and selecting the keychain password option.
  • Changing your keychain password does not change the passwords stored inside it — only the master password that locks the keychain itself.
  • If you use iCloud Keychain, the password change syncs to your iPhone, iPad, and other Macs within a few minutes.

Step-by-step: changing your keychain password on macOS Sonoma and newer

Open System Settings by clicking the Apple menu in the top left corner and selecting System Settings. Click General in the sidebar, then scroll down and click Login Items & Extensions.

Look for the Keychain section near the bottom of the window. You will see an option that says something like "Change Keychain Password" or a lock icon next to Keychain. Click it. Your Mac will ask you to enter your current Mac login password to confirm your identity — type it in and click OK.

A dialog box will appear asking you to create a new keychain password. Type your new password twice to confirm it matches. Your Mac will tell you if the password you entered does not match your current login password; if that happens, try again with your actual login password. Click Change or Save to finish.

What happens if your Mac login password and keychain password are out of sync

If you changed your Mac login password but did not update your keychain password at the same time, the two will no longer match. Your keychain will still work, but you may see prompts asking you to update your keychain password the next time you restart your Mac or log in to iCloud.

To fix this, follow the steps above to change your keychain password to match your new login password. If you have forgotten your login password, you will need to reset it through your Apple ID before you can change your keychain password, because the keychain password must match whatever your login password is at that moment.

Why your keychain password must match your login password

Apple designed the keychain to lock and unlock automatically when you log in and out of your Mac. If your keychain password were different from your login password, you would have to enter two separate passwords every time you used your computer — one to log in and another to unlock your keychain. By keeping them the same, your Mac unlocks both at once.

This also means that if someone gains access to your Mac login password, they can access your keychain without entering a second password. For this reason, using a strong, unique Mac login password is one of the most important steps you can take to protect the passwords and payment information stored in your keychain.

How iCloud Keychain syncing works after you change your password

If you have iCloud Keychain turned on, your Mac uploads the new keychain password to Apple's servers within a few minutes of changing it. Your iPhone, iPad, and other Macs signed in to the same iCloud account will read the new password and update their local keychains automatically.

You do not need to do anything on your other devices — the sync happens in the background. If you notice that one of your devices is not accepting your new keychain password, try signing out of iCloud and signing back in on that device, which forces it to read the updated password.

What to do if you cannot remember your current Mac login password

If you have forgotten your Mac login password, you cannot change your keychain password until you reset your login password first. Go to the Mac login screen, click the question mark icon below the password field, and follow the prompts to reset your password using your Apple ID or a recovery key.

Once you have reset your login password, your keychain password will no longer match it. Your Mac will prompt you to update your keychain password the next time you restart or log in to iCloud. Follow the steps in the section above to change your keychain password to match your new login password.

Frequently Asked Questions

Does changing my keychain password change all the passwords stored in my keychain?

No. Changing your keychain password only changes the master password that locks the keychain. All the individual passwords, credit card numbers, and notes stored inside remain the same. You are only changing the key that unlocks the vault, not the contents of the vault itself.

What if I see a message saying my keychain password does not match my login password?

This means the two passwords got out of sync at some point. Go back to System Settings > General > Login Items & Extensions, find the Keychain section, and change your keychain password again. Make sure you enter your current Mac login password when prompted.

Will changing my keychain password affect my Apple ID password?

No. Your keychain password, Mac login password, and Apple ID password are three separate things. Changing one does not affect the others. Your Apple ID password is what you use to sign in to iCloud and the App Store; your Mac login password is what you use to unlock your computer; and your keychain password locks the passwords stored on your Mac.

How long does it take for the new keychain password to sync to my iPhone?

Usually a few minutes, as long as your iPhone is connected to the internet and signed in to the same iCloud account as your Mac. If it takes longer than 10 minutes, try opening Settings on your iPhone, tapping your name at the top, and scrolling down to see if there is a prompt to update your iCloud Keychain password.