Where Mac passwords are stored and how to access them

Your Mac stores passwords in Keychain, a built-in password manager that holds login credentials for websites, email accounts, Wi-Fi networks, and applications. You can view saved passwords through System Settings or by opening the Keychain Access app directly. The exact steps depend on whether you remember your login password — if you do, you can see stored passwords in seconds; if you don't, you'll need to reset your Mac login password first.

Keychain is encrypted and protected by your Mac login password, so anyone with access to your computer can potentially view these passwords. This is why keeping your Mac login password find matters.

Key Takeaways

  • Passwords for websites and apps are stored in Keychain, which you can open through System Settings or by searching for Keychain Access.
  • You can view most saved passwords by double-clicking the entry and checking the "Show password" box, then entering your Mac login password.
  • If you forgot your Mac login password, you'll need to reset it using your Apple ID, a recovery key, or another admin account before you can access Keychain.
  • Wi-Fi passwords can be viewed in System Settings under Networks, and email passwords are often stored separately by the email app itself.
  • If you're locked out of your Apple ID password, you can reset it at iforgot.apple.com using your recovery key or a trusted device.

Finding passwords through System Settings

The fastest way to find a saved password is through System Settings. Click the Apple menu in the top-left corner, select System Settings, then go to General > Passwords. You'll see a list of all websites and apps with saved passwords. Click any entry to view the username and password — you'll be asked to enter your Mac login password to confirm.

This method works for most website and app passwords. It does not show Wi-Fi passwords or passwords stored inside individual apps like Mail or Slack, which keep their own password records.

Using Keychain Access for more control

Keychain Access is the full password manager on your Mac and shows more detail than System Settings. Press Command + Space to open Spotlight, type "Keychain Access," and press Enter. The window that opens shows every password your Mac has saved, organized by category.

To view a password, double-click the entry you want. A small window opens showing the account name. Check the box labeled "Show password" at the bottom, and your Mac will ask for your login password. Type it in, and the password appears in plain text. You can then copy it or write it down.

Keychain Access also lets you search by website name or account, which is useful if you have many saved passwords. Use the search box in the top-right corner of the window.

Finding Wi-Fi passwords on your Mac

Wi-Fi passwords are stored separately from website passwords. Go to System Settings, click Wi-Fi on the left sidebar, then click Details next to the network you want. A window opens showing the network name and security type. Click "Wi-Fi Password" at the bottom, and your Mac will ask for your login password. Once you enter it, the Wi-Fi password appears.

This is useful if you need to give your Wi-Fi password to a guest or connect another device. The password shown here is the same one you entered when you first connected to that network.

What to do if you forgot your Mac login password

If you don't remember your Mac login password, you cannot view passwords in Keychain until you reset it. The reset process depends on what recovery method you set up when you created your account.

Restart your Mac and hold Command + Q when ready after the Apple logo appears. This opens the login screen. Click "Forgot password?" below the password field. Your Mac will ask you to enter your Apple ID and password. If you have a recovery key, you can use that instead. Once you verify your identity, you can create a new Mac login password and then access Keychain as described above.

If you don't have access to your Apple ID password either, you'll need to use another admin account on the Mac to reset the password, or take your Mac to an Apple Store.

Finding email and app-specific passwords

Email apps like Mail, Gmail, and Outlook store passwords inside the app itself, not always in Keychain. To find an email password, open the email app, go to its settings or preferences (usually under the app name in the menu bar), and look for Accounts or Email Accounts. Click the account you want, and you may see an option to view or change the password. Some apps show the password directly; others require you to reset it through the email provider's website instead.

Apps like Slack, Discord, or banking apps often don't store passwords at all — they use login tokens or sessions that expire. If you need to log in again, use the "Forgot password?" link in the app rather than trying to find the old password.

Resetting your Apple ID password

If you forgot your Apple ID password (the one you use for the App Store, iCloud, and Apple services), go to iforgot.apple.com on any device. Enter your Apple ID email address, and Apple will ask you to verify your identity using a trusted device, a recovery key, or security questions. Once verified, you can create a new password.

A recovery key is a 28-character code Apple gives you when you set up two-factor authentication. If you saved it, you can use it to reset your Apple ID password without needing access to another device. If you don't have the recovery key and can't access a trusted device, Apple can verify your identity through security questions you answered when you created your account.

Frequently Asked Questions

Can I see passwords for websites I'm not currently logged into?

Yes. Open Keychain Access or System Settings > Passwords, find the website in the list, and view the password even if you're not on that website. You don't need to be logged in anywhere — Keychain stores the password independently.

What if a website password isn't showing up in Keychain?

Your Mac only saves passwords you told it to save when logging in. If you clicked "Don't Save" or used a private browsing window, the password won't be in Keychain. Some websites also block password saving for security reasons. You'll need to reset the password through the website's "Forgot password?" link.

Is it safe to view passwords on my Mac?

Keychain is encrypted and requires your Mac login password to view any stored password. If someone else has access to your Mac and knows your login password, they can see all your passwords. Keep your Mac login password strong and don't leave your Mac unattended while logged in.

Can I export all my passwords from my Mac?

You can copy individual passwords from Keychain, but macOS doesn't have a built-in way to export all passwords at once as a file. If you want to move passwords to another device or password manager, you'll need to copy them one at a time or use a third-party tool designed for password migration.

What happens to my passwords if I sell my Mac?

Erase your Mac completely before selling it. Go to System Settings > General > Transfer or Reset, click Erase All Content and Settings, and follow the prompts. This removes all passwords, files, and personal data. If you just erase the drive without doing this, some data can potentially be recovered.