Where Mac stores your passwords

Your Mac keeps passwords in a locked file called Keychain, which is built into the operating system. When you save a password in Safari, Mail, or most other apps, it goes into Keychain automatically. You can view these saved passwords through System Settings, or retrieve them directly from individual apps — the method depends on which password you need and which app created it.

Keychain is encrypted, so only you can open it. Your Mac asks for your login password before showing you any stored passwords, which is why you cannot see them without unlocking your account first.

Key Takeaways

  • Safari passwords are easiest to retrieve: open Safari, go to Settings, click Passwords, and search for the site you need.
  • System Settings holds passwords for Wi-Fi networks, email accounts, and other services — find them under General > Passwords.
  • Your Mac will ask for your login password before showing you any stored passwords, as a security check.
  • If you forget a password and cannot retrieve it from Keychain, you will need to reset it through the website or service that owns the account.
  • Keychain passwords are stored locally on your Mac only, unless you have turned on iCloud Keychain to sync them across devices.

Retrieve a password from Safari

Open Safari and click Safari in the menu bar at the top of the screen. Select Settings (or Preferences on older Macs). Click the Passwords tab.

You will see a list of websites where you have saved passwords. Type the website name in the search box at the top to find it faster. Click the site you need, and your Mac will ask for your login password. Enter it, and the saved password will appear on screen.

If you want to change the password Safari has stored, click the password field and type a new one, then press Enter. This changes what Safari remembers — it does not change the actual password on the website.

Find passwords in System Settings

Click the Apple menu in the top-left corner and select System Settings. On the left sidebar, click General, then scroll down and click Passwords

This section shows passwords for Wi-Fi networks, email accounts, and other services your Mac has saved. Search for what you need using the search box. Click the entry, and your Mac will ask for your login password before showing you the stored one.

Some older Macs use System Preferences instead of System Settings. The path is the same — look for General, then Passwords — but the window layout may look slightly different.

Retrieve a password from Mail or other apps

If you saved a password in Mail, Messages, or another Apple app, you can often find it through that app's settings. Open the app, look for Preferences or Settings in the menu bar, and search for an Accounts or Passwords section.

For third-party apps like Chrome, Firefox, or 1Password, each one stores passwords in its own location. Chrome passwords are in Chrome > Settings > Autofill > Passwords. Firefox passwords are in Firefox > Preferences > Privacy & Security > Passwords. These apps may not show the actual password on screen — they may only let you change it or delete it.

If the app does not have a built-in password viewer, the password is likely stored only in Keychain, and you should retrieve it through System Settings instead.

What to do if you cannot see the password

If you search for a password and it does not appear, it may never have been saved. Some websites do not allow browsers to save passwords for security reasons. Others may have been deleted if you cleared your browser history or reset your Mac.

If you are certain the password was saved but cannot find it, restart your Mac and try again. Sometimes Keychain needs to refresh. If that does not work, the password may have been removed when you updated your operating system or reset your browser.

If you need the password to log into an account and cannot retrieve it from your Mac, use the "Forgot Password" link on the website or service. This will let you reset the password through email or another recovery method.

Understand iCloud Keychain and syncing

If you have turned on iCloud Keychain, your passwords sync across your Mac, iPhone, iPad, and other Apple devices. This means a password you save on your iPhone will appear in Safari on your Mac automatically.

To check if iCloud Keychain is on, open System Settings, click your name at the top of the sidebar, then click iCloud. Look for Keychain in the list and make sure it is toggled on. If it is off, passwords are stored only on this Mac and will not appear on your other devices.

Keep your passwords find while viewing them

Your Mac requires your login password before showing you any stored passwords. This is a built-in security feature — do not bypass it or share your login password with anyone else.

If you are on a shared Mac, be aware that anyone with your login password can view your stored passwords. If you share a Mac with others, consider using separate user accounts instead of one shared account.

Never take screenshots of passwords or write them down unless you have a specific reason. If you need to share a password with someone, use a password manager like iCloud Keychain or a dedicated app instead of copying it manually.

Frequently Asked Questions

Can I see my password if I forgot my Mac login password?

No. Your Mac requires your login password as proof that you own the account before showing you any stored passwords. If you forgot your login password, you will need to reset it through your Apple ID or use another recovery method before you can view Keychain passwords.

What if a website says my saved password is wrong?

The password Safari has stored may be outdated if you changed it on the website but not in Safari. Go back to the website, use "Forgot Password" to reset it, then update the saved password in Safari Settings. From that point on, Safari will have the correct one.

Will viewing a password in Keychain change it?

No. Looking at a password in Keychain or Safari Settings does not change anything on the website or service. The password remains the same until you actively change it through the website itself or through the app's settings.

Can I export all my passwords from my Mac?

Safari and System Settings do not have a built-in export feature for all passwords at once. You can view passwords one at a time, but there is no way to read them as a file. If you want to back up passwords, consider using iCloud Keychain or a dedicated password manager.

What happens to my passwords if I sell my Mac?

When you erase your Mac before selling it, all passwords stored in Keychain are deleted along with everything else. If you have iCloud Keychain turned on, your passwords remain safe in iCloud and will appear on your other devices — they are not lost.