What happens when you reset your keychain password

Resetting your keychain password on a Mac means creating a new password to unlock the keychain — the encrypted storage where your Mac keeps passwords for websites, email accounts, Wi-Fi networks, and apps. When you reset it, you're not erasing the stored passwords themselves. Instead, you're changing the password that protects access to them.

The reset process differs depending on whether you remember your current keychain password or not. If you remember it, you can change it through System Settings in a few steps. If you've forgotten it, you'll need to delete the keychain and create a new one, which means you'll lose the stored passwords inside it but regain the ability to use keychain going forward.

Your keychain password is typically the same as your Mac login password, but they can be different. If they're out of sync — which sometimes happens after a macOS update or password change — resetting brings them back in line.

Key Takeaways

  • If you remember your keychain password, you can change it in System Settings under Passwords without losing any stored passwords.
  • If you've forgotten your keychain password, you must delete the keychain file and create a new one, which erases all stored passwords in the process.
  • The keychain password is usually the same as your Mac login password, but they can become mismatched after system updates.
  • After resetting your keychain, you'll need to re-enter passwords for websites and apps the first time you use them, and they'll be saved again automatically.

Reset your keychain password if you remember the current one

Open System Settings and click Passwords in the sidebar (on older macOS versions, this may be called Keychain in System Preferences). You'll see a list of all saved passwords. At the top of the window, click the lock icon, then enter your Mac login password when prompted. This unlocks the keychain temporarily so you can make changes.

Once unlocked, look for a menu option or settings button — the exact location varies by macOS version, but it's usually near the top of the Passwords window. Select the option to change your keychain password. You'll be asked to enter your current keychain password first, then type the new password twice to confirm it. Make sure the new password is something you can remember, since you'll need it to unlock your keychain in the future.

After you confirm the new password, your keychain is reset. All the passwords stored inside remain intact — you've only changed the key that unlocks them. Your Mac may ask you to enter the new keychain password the next time you access a saved password or try to use a stored credential.

Delete and recreate your keychain if you've forgotten the password

If you can't remember your keychain password and can't reset it through System Settings, you'll need to delete the keychain file and start fresh. This erases all stored passwords, but it lets you create a new keychain with a password you choose.

Open Finder and press Command+Shift+G to open the "Go to Folder" dialog. Type ~/Library/Keychains and press Enter. You'll see a folder containing your keychain files — usually named something like "login.keychain-db". Drag this file to the Trash. If your Mac asks for your login password to delete it, enter it.

Restart your Mac. When it boots back up, your system will automatically create a new, empty keychain. You'll be prompted to create a password for it — this is your chance to set a new keychain password. Use something memorable. From that point forward, your new keychain will store passwords as you use websites and apps, and you'll unlock it with the password you just created.

Sync your keychain password with your Mac login password

If your keychain password and Mac login password have drifted apart, you can bring them back in sync. This is useful if you changed your Mac login password but your keychain didn't update automatically, or vice versa.

The simplest way is to reset your keychain password to match your current Mac login password. Open System Settings, go to Passwords, unlock the keychain with your Mac login password, and change the keychain password to exactly what your Mac login password is right now. Going forward, they'll stay together — when you change your Mac login password, macOS will usually update your keychain password at the same time.

What to do after you reset your keychain

After resetting your keychain, websites and apps won't automatically fill in your saved passwords the first time you use them. You'll need to enter your password manually, and then choose to save it when prompted. Your Mac will store it in the new keychain.

If you deleted your keychain entirely, this process will take longer because you're rebuilding your password library from scratch. Start with the accounts you use most often — email, banking, shopping — and work your way through the rest. Each time you save a password, it goes into your new keychain and will be available for autofill next time.

If you had passwords stored in your old keychain that you no longer have access to (for example, old email accounts or services you no longer use), you won't be able to recover them. Write down any important passwords you remember before deleting your keychain, or check your email for password reset links if you need to regain access to an account.

Why your keychain password might need resetting

Your keychain password can become mismatched from your Mac login password after a major macOS update, especially if the update changes how your system handles authentication. Sometimes a failed login attempt or a corrupted keychain file will also trigger a reset.

If you see repeated prompts asking for your keychain password, or if Safari and other apps stop filling in your saved passwords, a reset often fixes the problem. A corrupted keychain is rare, but it can happen if your Mac shuts down unexpectedly while the keychain is being accessed.

Frequently Asked Questions

Will resetting my keychain password delete my saved passwords?

No, not if you use the reset option in System Settings. Your stored passwords stay in the keychain — you're only changing the password that unlocks it. However, if you delete the keychain file itself, all passwords inside are erased and cannot be recovered.

Can I use a different password for my keychain than my Mac login password?

Yes. When you reset your keychain password, you can set it to anything you want. However, keeping them the same is simpler because macOS will sync them automatically when you change your login password. If they're different, you'll need to update your keychain password manually whenever you change your login password.

What if I can't find the Passwords section in System Settings?

On older versions of macOS, keychain settings are in System Preferences under Passwords or Keychain, not System Settings. If you're running macOS Ventura or newer, look for Passwords in the sidebar. If it's not there, your Mac may not have that feature enabled — check Apple's support documentation for your specific macOS version.

Do I need to reset my iCloud Keychain password separately?

Your iCloud Keychain is separate from your local keychain. If you're having trouble with iCloud Keychain specifically, you'll need to reset your iCloud password through your Apple ID account settings, not through your Mac's local keychain settings. Resetting your local keychain won't affect iCloud Keychain.

How long does it take to reset a keychain?

Resetting your keychain password through System Settings takes less than a minute. Deleting and recreating your keychain takes a few minutes, plus the time it takes to restart your Mac and re-enter your passwords for frequently used accounts.