Where macOS stores your passwords

Your Mac stores passwords in Keychain, a built-in vault that holds login credentials, Wi-Fi passwords, credit card information, and notes. Every Mac has one Keychain per user account. When you save a password in Safari, Mail, or most other apps, it goes into Keychain automatically — you do not have to do anything extra to store it there.

Keychain is encrypted and locked behind your Mac login password. Even if someone gains access to your computer, they cannot read what is inside Keychain without knowing your account password. This is why Keychain is safer than writing passwords in a text file or a notebook.

You can view your stored passwords through Keychain Access, a built-in Mac process, or through Safari's settings. The method you choose depends on what you need to do — whether you want to see a single password quickly, manage all passwords at once, or change how passwords are stored.

Key Takeaways

  • Open Keychain Access by searching for it in Spotlight (Command + Space), then type "Keychain Access" and press Enter.
  • Search for the website or service name in the search box, double-click the entry, check "Show password", and enter your Mac login password to reveal it.
  • In Safari, go to Settings, click Passwords, search for the site, and click the eye icon to view the password without opening Keychain Access.
  • Keychain stores passwords encrypted on your Mac — they are not synced to iCloud unless you turn on iCloud Keychain in System Settings.

Finding passwords through Keychain Access

Open Keychain Access by pressing Command + Space to open Spotlight, typing "Keychain Access", and pressing Enter. The Keychain Access window will open showing a list of stored items. On the left side, you will see categories like "login" and "Local Items" — the "login" keychain is where most of your passwords live.

Click on "login" in the left sidebar. The main window will show all stored passwords and notes. Use the search box in the top right corner to find the password you need — type the website name, app name, or account name. For example, search for "gmail" to find your Gmail password, or "netflix" to find Netflix.

When you find the entry you want, double-click it. A small window will pop up showing the account name and password field. The password field will show dots instead of the actual password. Check the box next to "Show password" and your Mac will ask you to enter your login password. Type your Mac password and click "Allow" — the password will then appear in plain text.

Viewing passwords in Safari

If you use Safari as your browser, you can view stored passwords without opening Keychain Access. Click the Safari menu at the top of the screen and select "Settings". Click the "Passwords" tab at the top of the window.

A list of all websites where you have saved passwords will appear. Use the search box at the top to find the site you need. Click on the website name to select it, and an eye icon will appear on the right side of the password field. Click the eye icon and your Mac will ask for your login password. Enter it and the password will appear in plain text.

This method is faster if you only need to check one or two passwords, because you do not have to navigate through Keychain Access categories. However, Keychain Access shows you more information about each entry, including when it was created and last modified.

Understanding iCloud Keychain and password syncing

By default, passwords stored in Keychain live only on your Mac. If you get a new Mac or sign into your account on another device, those passwords will not be there. iCloud Keychain is an optional feature that syncs your passwords across all your Apple devices — your Mac, iPhone, iPad, and Apple Watch.

To turn on iCloud Keychain, open System Settings, click your name at the top of the sidebar, then click "iCloud". Scroll down and toggle "Keychain" on. Your Mac will ask you to enter your Apple ID password and may ask you to set up two-factor authentication if you have not already. Once iCloud Keychain is on, new passwords you save will sync to your other devices within a few minutes.

If you turn on iCloud Keychain after you already have passwords stored, your Mac will offer to merge them with iCloud. Click "Merge" to add your existing passwords to iCloud Keychain. This does not delete them from your Mac — it copies them to iCloud so they appear on your other devices too.

What to do if you cannot remember your Mac password

If you cannot enter your Mac login password when Keychain asks for it, you cannot view the stored passwords. Keychain will not let you see passwords without proving you own the account. This is intentional — it prevents someone who borrows your Mac from viewing your passwords even if they can turn it on.

If you have forgotten your Mac password, you will need to reset it through your Apple ID or a recovery key. This is a separate process from viewing Keychain passwords. Once you reset your Mac password and can log in again, you will be able to open Keychain Access and view your stored passwords using the new password.

Moving passwords to a password manager

Keychain works well for most people, but some prefer to use a dedicated password manager like 1Password, Bitwarden, or LastPass. These apps let you store passwords in one place, sync them across devices and operating systems, and share passwords securely with family members or team members. They also generate strong random passwords when you create new accounts.

If you decide to switch to a password manager, you can export your passwords from Keychain. Open Keychain Access, select the passwords you want to export (hold Command and click each one), then right-click and select "Copy Password" or "Export Items". Different password managers have different import processes, so check their documentation for the exact steps.

You do not have to choose between Keychain and a password manager — many people use both. Keychain is convenient for everyday passwords, while a password manager can be useful for high-security accounts or for sharing passwords with others.

Frequently Asked Questions

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

Yes. Open Keychain Access, click "login" in the left sidebar, and you will see a list of all stored passwords. However, the passwords themselves show as dots. You have to double-click each entry and enter your Mac password to see the actual password. There is no way to display all passwords in plain text at the same time — this is a security feature.

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

When you erase your Mac before selling it, Keychain is erased along with everything else. The new owner will not be able to access your passwords. If you use iCloud Keychain, your passwords remain in iCloud and will appear on your other Apple devices — they do not stay on the Mac you sold.

Why does Keychain ask for my password every time I view a stored password?

Keychain asks for your Mac login password each time you try to view a password as a security check. This prevents someone who gains temporary access to your Mac from viewing all your passwords without your knowledge. You can change this behavior in Keychain Access settings, but it is not recommended because it weakens security.

Can I access my Mac passwords from my iPhone?

Yes, if you turn on iCloud Keychain. Once it is enabled, passwords you save on your Mac will appear in Safari and other apps on your iPhone. You can also view them in Settings on your iPhone by going to Passwords, searching for the site, and tapping it to see the password.

Is it safe to store passwords in Keychain?

Yes. Keychain encrypts passwords and requires your Mac login password to view them. The main risk is if someone knows your Mac password — they can then access Keychain. Use a strong, unique Mac password and enable two-factor authentication on your Apple ID to reduce this risk.