
Turn on two-factor authentication for your Apple Account on a Mac, and add MFA to the Mac login with Platform SSO, smart cards or an identity provider.
Mac keeps asking for the keychain password? Why it stops matching your login password, how to update or reset the login keychain, and fix common errors.


Content writer, trio.so
The keychain password on a Mac is normally the same as the login password of the account. When a Mac keeps asking for it, the usual cause is that the account password changed and the login keychain still uses the old one. Enter the old password to update the keychain. If you do not remember it, resetting the default keychain fixes the prompts but deletes the saved passwords in that keychain.
The login keychain holds saved passwords, certificates and secure notes for your account. It is locked with a password that matches your Mac login password, so it opens when you log in. The Keychain Access app (in Utilities) is the tool for it, and recent macOS versions also keep passwords in the Passwords app. Apple's guidance is Keychain Access: change or reset your keychain password.
If you know the old login password, this keeps your saved passwords.
Use this when you do not know the old password. Apple recommends it only when advised, because resetting deletes all the passwords saved in the keychain. If you forgot the old login password, the old contents stay out of reach and a new blank keychain is created.
~/Library/Keychains to a safe place.After a reset, sign in again to apps and websites that relied on saved passwords. Mail, Wi-Fi and iCloud may need credentials. If iCloud Keychain is on, your passwords may sync back from iCloud.
Apps such as Mail and Safari show "A keychain cannot be found to store" followed by an item name when the Mac has no usable login keychain to save to. It often appears after an account was renamed or migrated, a home folder was restored, or the keychain file was deleted.
~/Library/Keychains and look for a login.keychain-db file. If it is missing, the Mac has no login keychain.If this follows a rename of the home folder, see how to change the user name and rename the home folder.
On a Mac that signs in through a directory or single sign on, the password can change away from the Mac, so the local keychain never hears about it. After a directory or SSO password change, the user is asked for the keychain password at the next login. Tell users to enter the old password once so it can sync. If a user has lost the old one, a reset is the only route, and the saved passwords are lost. See how to add a Mac to Active Directory and two factor authentication on Mac. If you also hold a FileVault recovery key for the Mac, keep it separate from this keychain: see how to find the FileVault recovery key on Mac.
Related reading: Mac administrator account.
trio.so manages your Macs from one console: policies, apps, remote commands and a live terminal. Start a 14-day free trial.
trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.
trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.





Have questions? We've got answers. This section covers some of the most commonly asked questions related to this topic.
Related
The related industry news, interviews, technologies, and resources.

Turn on two-factor authentication for your Apple Account on a Mac, and add MFA to the Mac login with Platform SSO, smart cards or an identity provider.

Learn how to change MacBook administrator name safely and easily. Follow our step-by-step guide and learn about an easy-to-use tool to simplify tasks.

How account-driven User Enrollment works on iPhone, iPad and Mac: setup with Managed Apple Accounts, what IT can and cannot see, Intune steps and fixes.

Where the FileVault recovery key is stored, how to find it, and how IT admins escrow keys with MDM.

Change the user name on a Mac and rename the home folder in Apple's order, what can break afterwards, and how to roll back. Works on current macOS.

What a standard user can and cannot install on a Mac, and three ways to let them install software without making everyone an admin.

How to open System Preferences on a Mac? These are step-by-step methods to quickly access and navigate macOS settings like a pro.

How to set up a Privacy Preferences (PPPC) profile on macOS: what it can approve or only deny, the payload keys, MDM delivery, and the Mac settings.
14-day free trial. No credit card required.
trio.so for MSPs: one console, separate clients