To reset the login keychain on a Mac, open Keychain Access, choose Settings (or Preferences on older macOS versions), and select the option to reset the default keychains. This can fix repeated keychain-password prompts, but it removes saved passwords and other secret data stored in that keychain, so first check whether you can instead unlock it with its old password.
What the Mac keychain stores
A keychain is an encrypted store for items such as website and app passwords, Wi-Fi credentials, certificates, and private keys. macOS and apps use keychain items when they need to authenticate you or access a protected service. The login keychain is commonly tied to your Mac user account; it is separate from your Apple Account and from the passwords saved in a browser’s own password manager.
On current macOS releases, passwords and passkeys may also be available through the Passwords app and iCloud Keychain. Those features do not make every keychain item interchangeable: certificates, app secrets, and other local credentials may exist only in a particular keychain. Resetting the login keychain is therefore not the same as resetting your Mac password, signing out of your Apple Account, or erasing your Mac.
Before you reset it
First determine whether the problem is simply that the login keychain has not been unlocked. Its password is often the same as the account password, but it can differ if you changed your Mac login password without updating the keychain, restored an account, or migrated data. If you know the keychain’s previous password, unlocking it or updating its password may preserve its contents.
- Try your current Mac login password when a keychain prompt appears. If it fails, consider whether the keychain may still use an earlier account password.
- Make sure you understand which passwords are synced with iCloud Keychain and which are stored only on this Mac. Do not assume every saved item will return after a reset.
- Check that you can sign in to important websites and services another way, such as with a password manager or password reset process.
- If the Mac belongs to an employer or school, ask its IT administrator before changing keychain settings; managed certificates or credentials may be needed for work or school access.
A keychain reset is a destructive troubleshooting step for the affected keychain. It does not normally erase documents or remove your Mac user account, but apps may ask you to enter passwords again, and certificates or private keys that exist only in the old keychain may not be recoverable.
Reset the default keychains
- Open Keychain Access. You can find it with Spotlight, or in Applications > Utilities.
- In the menu bar, choose Keychain Access > Settings. On some macOS versions, this menu item is called Preferences.
- Select Reset Default Keychains. If prompted, enter the password for your Mac user account and confirm.
- Close Keychain Access, then restart your Mac if prompted or if the problem continues.
- When apps request credentials again, enter the relevant passwords. If you use iCloud Keychain, confirm its settings and allow syncing to complete before concluding that saved passwords are missing.
The exact wording and available controls can vary with macOS. If you do not see the reset option, use Keychain Access Help or Apple’s current support guidance for your installed version rather than deleting files from the Library folder.
What happens after a reset
Resetting creates a fresh default keychain for the account. Items from the old default keychain are not automatically copied into it, so saved credentials may need to be entered again. A website password stored in iCloud Keychain could still be available through syncing, while a local app password or a certificate stored only in the old login keychain may be gone from everyday use.
You may see prompts asking whether an app can access a keychain item. Approve access only when you recognize the app and expected action. Re-entering a password into the app that needs it is often the simplest way to create a new keychain entry. For work networks, VPNs, mail accounts, or certificates, obtain replacement settings or credentials from the relevant administrator or service provider.
Try these fixes before resetting
If a prompt says the login keychain cannot be unlocked, try to unlock it in Keychain Access using the old password. If you know that password and want the keychain password to match the account password, select the login keychain and look for the change-password command in the Edit menu; the labels can vary by macOS release. This changes the keychain password without intentionally discarding its contents.
If the prompt appears only for one app, quit and reopen that app, then check whether it is asking for access to a specific item rather than asking to reset the whole keychain. Repeated prompts can also follow a login-password change, a migration to a new Mac, or a stale saved credential. Updating the credential in the app or service may address the cause without resetting other items.
A reset is not a reliable remedy for every password problem. It will not reveal a forgotten website password, change your Apple Account password, or repair a password saved only in a browser. Use the relevant app’s password-recovery process for those cases.
Common mistakes and precautions
- Confusing reset with password change: Changing a known keychain password can preserve items; resetting the default keychain replaces it and can make old items unavailable.
- Expecting the Mac login password to recover everything: If the keychain uses a different, forgotten password, macOS cannot simply derive the old secrets from your current login password.
- Deleting keychain files manually: Removing files from system or Library folders can cause additional problems. Use the built-in Keychain Access controls.
- Assuming iCloud contains every item: Syncing depends on the item and your settings. Verify important credentials before relying on a reset.
If you are unsure whether a certificate or private key is important, pause before resetting and seek help from the organization or service that supplied it. A private key may be impossible to recreate from the public certificate alone.
Frequently Asked Questions
Will resetting my Mac keychain delete my files?
No. Resetting the default keychain is not a Mac erase and does not normally remove documents. It can remove access to passwords, certificates, and other secrets held in the affected keychain.
Is my keychain password the same as my Mac password?
Often, but not always. If your account password changed and the keychain was not updated, the keychain may still require the previous password.
Will iCloud Keychain restore my passwords after a reset?
Some synced passwords may remain available through iCloud Keychain, depending on your setup and the item. Do not assume it restores local certificates, private keys, or every app credential.
Can I reset the keychain without knowing its old password?
You can create a new default keychain using the reset option, but that does not recover items protected by the old password. Those items may no longer be accessible.
Should I reset the keychain if an app keeps asking for a password?
Not as the first step. Check whether the app needs one particular saved credential, update that credential, or try unlocking the login keychain. Reset only if narrower fixes fail and you accept that stored items may need to be recreated.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Immortals Fenyx Rising Co-op, Crossplay and Friends
- AI Inference Near the Device: When It Makes Sense
- Restore Default Settings on a Sons of the Forest Server
- Best Music Streaming Service in India: How to Choose
- How to Clean Gaming Headset Ear Pads Safely
- First Light Trophy List and How to Earn Them