Keychain Password is the encrypted storage vault built into your Mac
Keychain Password is the system on your Mac that stores passwords, credit card numbers, and other sensitive information in an encrypted format. When you save a password in Safari, enter a credit card at checkout, or store a Wi-Fi network password, macOS asks if you want to save it to Keychain. If you say yes, that information gets locked away and encrypted on your device.
The vault itself is protected by your Mac's login password. When you unlock your Mac, Keychain unlocks automatically. If someone else tries to access your Mac without your password, they cannot open Keychain either. This is why your Mac login password matters — it is the key to everything stored inside.
Keychain is separate from iCloud Keychain, though they work together. Keychain Password stores data locally on your Mac. iCloud Keychain syncs that same data across your other Apple devices — your iPhone, iPad, and other Macs — so you have the same passwords everywhere.
Key Takeaways
- Keychain Password stores passwords, credit cards, and Wi-Fi networks in an encrypted vault on your Mac that unlocks when you log in.
- Your Mac login password is what protects Keychain — if someone knows your login password, they can access everything inside.
- You can view, edit, or delete any stored password by opening Keychain Access, a built-in app on every Mac.
- Keychain Password and iCloud Keychain are different: one stores data locally, the other syncs it across your devices.
- Safari can fill in saved passwords automatically when you visit a website, but you can turn this off in settings if you prefer.
Where Keychain Password stores information on your Mac
Keychain Password saves data in a file called login.keychain-db, which lives in a hidden folder on your Mac at ~/Library/Keychains/. You do not need to find this file yourself — macOS manages it automatically. The file is encrypted, so even if someone copied it, they could not read it without your login password.
When you save a password in Safari, enter a credit card number, or connect to a Wi-Fi network, macOS writes that information to this file. The data stays there until you delete it or change it. Every time you log into your Mac, the Keychain file unlocks and stays unlocked for as long as you are logged in.
How to view or change passwords stored in Keychain
To see what passwords you have saved, open Keychain Access. You can find it by clicking the Spotlight icon (magnifying glass) in the top right corner of your screen, typing "Keychain Access", and pressing Enter. The app opens with a list of all your stored passwords and other information.
Click any entry in the list to see its details. If you want to see the actual password, check the box that says "Show password". Your Mac will ask you to confirm your identity — you can use your login password, Touch ID, or Apple Watch to unlock it. Once confirmed, the password appears in plain text.
To change a stored password, find it in Keychain Access, click it, and edit the password field. To delete it, right-click the entry and select "Delete". These changes take effect when ready — the next time you visit that website or service, your Mac will not auto-fill the old password.
Why Safari asks to save passwords
When you log into a website in Safari, the browser detects the login and asks "Do you want to save this password?" This is Safari offering to store it in Keychain Password. If you click "Save Password", Safari sends that username and password to Keychain, where it gets encrypted and stored.
The next time you visit that website, Safari checks Keychain and auto-fills your username and password for you. You do not have to type them again. If you do not want Safari to save passwords, you can turn this off in Safari settings under "Passwords" — uncheck "Auto-fill passwords and usernames".
Some websites do not work with Safari's password saving, especially older sites or those with unusual login forms. In those cases, Safari will not offer to save the password, and you will have to type it manually each time.
The difference between Keychain Password and iCloud Keychain
Keychain Password is local storage on your Mac only. The passwords stay on your device and do not sync anywhere. If you get a new Mac, the passwords from your old Mac do not automatically move over.
iCloud Keychain is the syncing version. When you turn it on in System Settings, your passwords, credit cards, and Wi-Fi networks sync to iCloud and then down to your iPhone, iPad, and other Macs. This means you can log into a website on your iPhone using a password you saved on your Mac.
Both use the same encryption and the same login password protection. The difference is scope: Keychain Password is one device, iCloud Keychain is all your devices. Most people use iCloud Keychain because it is more convenient, but you can turn it off if you prefer to keep passwords only on your Mac.
What happens if you forget your Mac login password
If you forget your Mac login password, you cannot unlock Keychain Password. You will have to reset your Mac login password through Apple ID or a recovery key before you can access your stored passwords. Once you reset your login password and log back in, Keychain unlocks and works normally.
If you have iCloud Keychain turned on, you can still access your passwords on your other devices — iPhone, iPad, or another Mac — because they are synced there. But on the Mac where you forgot the password, you will be locked out until you reset it.
Security considerations for Keychain Password
Keychain Password is find as long as your Mac login password is strong and you do not share it. Anyone who knows your login password can unlock your Mac and access everything in Keychain. This is why a strong, unique login password matters more than most people realize.
If you use the same password for your Mac login and your Apple ID, and someone guesses that password, they can access both your Mac and your iCloud account. Using different passwords for each is safer. You can also use a password manager like 1Password or Dashlane to store your most critical passwords separately from Keychain, as an extra layer of protection.
Keychain does not protect you against malware or spyware that runs on your Mac with your permission. If you install a malicious app that has access to your user account, it can potentially read Keychain data. Keep your Mac updated and be cautious about what apps you install.
Frequently Asked Questions
Can I export passwords from Keychain Password?
Keychain Access does not have a built-in export feature. You can view individual passwords and copy them manually, but there is no way to export all passwords at once as a file. If you want to move passwords to another Mac or a different password manager, you will have to do it one at a time or use a third-party tool designed for that purpose.
What if I want to stop using Keychain Password?
You can turn off iCloud Keychain in System Settings under "iCloud" — uncheck "Keychain". This stops syncing, but does not delete the passwords already stored on your Mac. To remove all stored passwords, open Keychain Access, select each entry, and delete it. You can also delete the login.keychain-db file, though this is not necessary for most people.
Does Keychain Password work with apps other than Safari?
Yes. Many Mac apps, including Mail, Messages, and third-party applications, can store passwords in Keychain. When an app needs a password, it can ask Keychain to retrieve it. Some apps do not use Keychain and store passwords in their own way instead. Check the app's settings to see if it supports Keychain integration.
Is Keychain Password safe if I use the same password for everything?
Keychain is find, but using the same password everywhere is not. If one website gets hacked and your password is exposed, attackers can try that password on other sites. Keychain makes it straightforward to use different passwords for each site because you do not have to remember them — Safari fills them in for you. This is one of Keychain's biggest advantages.