Where Mac stores passwords and how to see them

Mac stores passwords in Keychain, a built-in password manager that holds login credentials for websites, apps, and services. You can view saved passwords through Keychain Access, a utility that comes with every Mac. The passwords are encrypted and protected by your Mac login password, so you need to unlock them one at a time to see what they actually say.

To open Keychain Access, go to Applications > Utilities > Keychain Access. You'll see a list of saved items. Search for the service or website you need the password for — for example, type "gmail" to find your Gmail password. Double-click the item, check the box next to "Show password", enter your Mac login password when prompted, and the password appears in plain text.

This method only works if you saved the password to Keychain when you first logged in. If you never saved it, or if you cleared it from Keychain, this route won't find it.

Key Takeaways

  • Keychain Access, built into every Mac, stores passwords for websites and apps — open it from Applications > Utilities to search for a saved password.
  • You must enter your Mac login password to view any saved password in plain text, even though you already unlocked your Mac.
  • If you don't remember your Mac login password itself, you'll need to reset it through your Apple ID or recovery key before you can access Keychain.
  • Passwords saved to iCloud Keychain sync across your Mac, iPhone, and iPad, so a password you saved on one device may appear on another.
  • If a password isn't in Keychain, the website or service may have a password reset option that sends a link to your email address.

Resetting a password when you don't have it saved

If the password isn't in Keychain, your best option is to use the website or app's password reset feature. Most services have a "Forgot password?" link on the login screen. Click it, enter your email address or username, and the service sends a reset link to your email. Click the link, create a new password, and you're back in.

This works for almost every online account — email, social media, banking, shopping sites. The reset link usually expires after a few hours or a day, so check your email right away. If you don't see the reset email, check your spam or junk folder, or look for a message from the service's support address.

For apps installed on your Mac that aren't websites, the process varies. Some apps have their own password reset built in. Others use your Apple ID to sign in, in which case you reset your Apple ID password instead. Check the app's settings or help section to see what account system it uses.

Resetting your Mac login password

If you've forgotten the password you use to log into your Mac itself, you can't access Keychain or anything else on the computer. You'll need to reset your Mac login password using your Apple ID or a recovery key.

Restart your Mac and hold Command + Q when you see the login screen. This opens the password reset window. Enter your Apple ID email and password, then create a new Mac login password. If you don't remember your Apple ID password, you can reset that through Apple's account website using your phone number or recovery email.

If you set up a recovery key when you created your Apple ID, you can use that instead of your Apple ID password. A recovery key is a 28-character code that Apple gave you during setup — if you saved it somewhere safe, you can enter it here to reset your Mac password without needing your Apple ID.

Using iCloud Keychain across devices

If you turned on iCloud Keychain in your Mac settings, passwords you save sync automatically to your iPhone and iPad. This means a password you saved on your Mac appears on your phone, and vice versa. You can see these synced passwords in Keychain Access on your Mac the same way you see any other saved password.

To check if iCloud Keychain is on, go to System Settings > [Your Name] > iCloud and look for Keychain. If it's enabled, your passwords are syncing. If you turn it off, the passwords stay on each device but stop syncing to new ones.

iCloud Keychain passwords are encrypted end-to-end, meaning Apple can't see them. Only you and your devices can read them. If you sign out of your Apple ID on a device, that device loses access to the synced passwords, though they stay on your other devices.

What to do if Keychain asks for a password you don't remember

Sometimes Keychain itself asks for a password when you try to view a saved item. This happens when your Keychain is locked or out of sync. The password it's asking for is your Mac login password — the same one you use to turn on your computer.

If you remember your Mac login password, enter it. If you don't, you'll need to reset your Mac login password first using the method described above. Once you've reset it, Keychain will accept the new password.

If Keychain keeps asking for a password even after you've entered the right one, your Keychain may be corrupted. You can delete it and let your Mac create a new one, though this erases all saved passwords. Go to Keychain Access, click Keychain > Delete Keychain "login", then restart your Mac. A new Keychain will be created automatically.

Keeping passwords secure on your Mac

Keychain is safer than writing passwords down or reusing the same password everywhere, but it only protects you if your Mac login password is strong. Anyone who can log into your Mac can eventually see your Keychain passwords by entering your login password.

Use a Mac login password that's at least 12 characters long and includes uppercase, lowercase, numbers, and symbols. Don't use your birthday, name, or common words. If you share your Mac with others, each person should have their own user account with their own password — this keeps their Keychain separate from yours.

Consider using a dedicated password manager like 1Password or Bitwarden instead of Keychain if you want extra features like password sharing with family members or alerts when a password appears in a data breach. These apps work alongside Keychain and give you more control over how passwords are stored and shared.

Frequently Asked Questions

Can I see all my saved passwords at once in Keychain?

Keychain Access shows a list of all saved items, but you have to open each one individually and enter your Mac password to see the actual password. There's no way to view all passwords in plain text at the same time. You can search by website or app name to find what you're looking for faster.

What happens to my Keychain passwords if I sell my Mac?

Before you sell or give away your Mac, erase it completely using Erase Mac in System Settings. This deletes everything, including Keychain. If you don't erase it, the new owner could potentially access your passwords if they can log into the Mac. Always erase the drive first.

Why does my Mac keep asking me to save passwords in Keychain?

Safari and some apps ask if you want to save passwords to Keychain after you log in. You can turn this off in System Settings > Passwords > Password Options, or just click "Not Now" each time. Turning it off doesn't affect passwords you've already saved.

Can I export my passwords from Keychain?

Keychain Access doesn't have a built-in export feature. You can copy individual passwords one at a time, but there's no way to export them all at once to a file. If you want to move passwords to a different password manager, you'll need to enter them manually or use that manager's import tool if it has one.

Do I need to change my passwords if someone got into my Mac?

If someone had access to your Mac and knew your login password, they could see your Keychain passwords. Change your most important passwords — email, banking, social media — right away using a different device. You can change them through each service's password reset feature.