Where Mac stores passwords and how to access them
Your Mac stores most passwords in Keychain, a built-in vault that holds login credentials for websites, email accounts, Wi-Fi networks, and applications. You can view these passwords through System Settings (on newer Macs) or System Preferences (on older ones), or by opening the Keychain Access app directly. The location depends on which password you're looking for and what you're trying to do with it.
If you've forgotten a password and need to reset it, the steps differ depending on whether it's your Mac login password, an iCloud password, or a password stored in Keychain for a website or app. Each route has different recovery options, and some are faster than others.
Key Takeaways
- Keychain Access, found in Applications > Utilities, shows stored passwords for websites, email, and apps — but you need your Mac login password to view them.
- To see a stored password in Keychain, double-click the entry, check "Show password", and authenticate with your Mac login credentials or Touch ID.
- If you've forgotten your Mac login password, you can reset it through your Apple ID, a recovery key, or another admin account on the same Mac.
- Passwords stored in iCloud Keychain sync across your devices, but viewing them requires the same authentication as local Keychain entries.
- If you cannot remember your Apple ID password, you can reset it at iforgot.apple.com using your email address or phone number.
Viewing passwords stored in Keychain Access
Open Keychain Access by going to Applications, then Utilities, then double-clicking Keychain Access. The window shows categories on the left: Passwords, find Notes, My Certificates, and others. Click Passwords to see all stored website and app passwords.
Find the entry you need — for example, if you're looking for a Gmail password, search for "gmail" in the search box at the top right. Double-click the entry to open it. A small window appears showing the account name and password field. Check the box next to "Show password". Your Mac will ask you to authenticate: you can enter your Mac login password, use Touch ID if your Mac has it, or use your Apple Watch if it's nearby and unlocked.
Once authenticated, the password appears in plain text. You can now copy it, write it down, or use it to log in elsewhere. Close the window when you're done — the password doesn't stay visible after you close it.
Resetting your Mac login password using Apple ID
If you've forgotten the password you use to log into your Mac itself, you can reset it through your Apple ID. Restart your Mac and wait for the login screen. Click the question mark or "Forgot password?" link, or try entering your password incorrectly three times — a reset option will appear.
Select "Reset using your Apple ID" and enter your Apple ID email and password. Your Mac will ask you to create a new login password. You'll be logged in once you finish. This method works on any Mac running macOS Big Sur or newer, and it does not erase your files or settings.
If you don't remember your Apple ID password either, go to iforgot.apple.com on another device or computer. Enter your Apple ID email address, and Apple will send you a reset link to your email or phone number on file. Follow the link to create a new Apple ID password, then return to your Mac and use the new password to reset your login password.
Using a recovery key or another admin account
If you set up a recovery key when you created your Apple ID, you can use it to reset your Mac login password without needing your Apple ID password. At the login screen, click the question mark or "Forgot password?" link. Select "Reset using recovery key" and enter the 28-character code. Your Mac will then let you create a new login password.
If another person has an admin account on the same Mac, they can reset your password without needing your Apple ID. That person logs in with their own account, goes to System Settings (or System Preferences on older Macs), clicks Users & Groups, selects your account, and clicks "Reset Password". They can set a temporary password for you, which you can change the next time you log in.
Finding passwords for email and cloud accounts
Email passwords and cloud service passwords (like iCloud, Google, or Microsoft) are often stored in Keychain, but resetting them usually requires going to the service's own website. For iCloud, go to iforgot.apple.com. For Gmail, go to accounts.google.com/signin/recovery. For Outlook or Microsoft accounts, go to account.microsoft.com/security.
These services will ask you to verify your identity using a recovery email address, phone number, or security questions you set up when you created the account. Once verified, you can create a new password. After you reset it online, your Mac will ask you to update the password in Keychain the next time you try to use that account — this keeps your stored password in sync with the new one.
Recovering Wi-Fi passwords from your Mac
Wi-Fi network passwords are also stored in Keychain. Open Keychain Access, click the Passwords category, and search for the network name (SSID). Double-click the entry, check "Show password", and authenticate. The Wi-Fi password appears in plain text.
This is useful if you need to give the password to a guest or connect another device. You can also view Wi-Fi passwords through System Settings on newer Macs: go to Settings, click Wi-Fi, find the network you want, click Details, and look for the password field — you'll need to authenticate the same way.
What to do if you cannot access Keychain
If Keychain Access won't open, or if you see an error message when trying to view passwords, your Keychain may be locked or damaged. Restart your Mac first — this often fixes temporary glitches. If the problem persists, you can reset Keychain by going to Keychain Access > Preferences, clicking Reset My Default Keychain, and entering your Mac login password.
Resetting Keychain erases all stored passwords and certificates, so use this only as a last resort. After reset, you'll need to re-enter passwords for websites and apps the next time you use them — your Mac will ask if you want to save them to Keychain. If you use iCloud Keychain, your passwords will sync back to your Mac once you sign in with your Apple ID.
Frequently Asked Questions
Can I see passwords stored in Keychain without my Mac login password?
No. Viewing any password in Keychain requires you to authenticate with your Mac login password, Touch ID, or Apple Watch. This is a security feature — it prevents someone else from accessing your passwords if they gain temporary access to your Mac.
What's the difference between Keychain and iCloud Keychain?
Keychain stores passwords locally on your Mac. iCloud Keychain syncs those passwords across all your Apple devices (Mac, iPhone, iPad) using encryption. Both require authentication to view passwords. If you turn off iCloud Keychain, passwords stay on your Mac but stop syncing to other devices.
If I reset my Mac login password, do I lose my stored passwords?
No. Resetting your Mac login password through Apple ID or a recovery key does not erase Keychain or any files. Your passwords remain stored and accessible once you log back in with your new password.
Can I export passwords from Keychain to use on another computer?
Keychain Access does not have a built-in export feature for security reasons. If you need passwords on another Mac, you can manually copy them one at a time from Keychain. If both Macs use the same Apple ID and iCloud Keychain is turned on, passwords sync automatically.
What should I do if I think someone else has accessed my passwords?
Change your Apple ID password when ready at iforgot.apple.com, then change the passwords for any important accounts (email, banking, social media). Turn off iCloud Keychain temporarily if you suspect a compromise, and turn it back on once you've secured your Apple ID. Consider enabling two-factor authentication on your Apple ID and other accounts.