Where MacBook passwords are stored and how to recover them
Your MacBook stores passwords in a program called Keychain, which is built into every Mac. Keychain holds passwords for websites, email accounts, Wi-Fi networks, and apps you use. If you remember your account password but forgot what you typed into a specific website or service, Keychain can show it to you. If you forgot your MacBook login password entirely, you have separate recovery options depending on whether you set up a recovery key or linked the Mac to your Apple ID.
The path forward depends on what you actually need: finding a saved password for a website or app, resetting your MacBook login password, or recovering access to an Apple ID connected to the Mac. Each has a different process and different requirements.
Key Takeaways
- Keychain stores passwords for websites, email, and apps on your Mac, and you can view them through System Settings if you know your MacBook login password.
- If you forgot your MacBook login password, you can reset it using your Apple ID, a recovery key, or another admin account on the same Mac.
- Safari also stores website passwords separately and can show them to you through the browser settings without opening Keychain.
- If you set up two-factor authentication on your Apple ID, you will need a trusted device to reset your MacBook password.
- Resetting your MacBook password does not automatically change passwords stored in Keychain — those remain the same until you update them individually.
Finding a saved website or app password in Keychain
Open System Settings (the gear icon in your dock or Applications folder). Click General in the left sidebar, then scroll down and click Password. Your Mac will ask you to authenticate — enter your MacBook login password and click Unlock. You will now see a list of all passwords Keychain has saved.
Search for the website or app name in the search box at the top. When you find the entry, click it to select it. A small eye icon will appear — click it to reveal the password. Your Mac may ask you to authenticate again before showing it. Write down the password or copy it to paste elsewhere. If you do not see the password you are looking for, it may have been saved in Safari instead of Keychain, or it may never have been saved at all.
Finding a password saved in Safari
Open Safari and click Safari in the menu bar at the top. Select Settings (or Preferences on older Macs). Click the Passwords tab. Your Mac will ask you to authenticate — enter your MacBook login password. You will see a list of all websites where Safari has saved your login information.
Search for the website name in the search box. Click the website to select it, and a small eye icon will appear next to the password field. Click the eye icon to reveal the password. This method only shows passwords for websites you visited in Safari. If you used a different browser like Chrome or Firefox, those passwords are stored separately in those browsers' own settings.
Resetting your MacBook login password using your Apple ID
If you forgot the password you use to log into your Mac itself, restart your Mac and wait for the login screen to appear. Look for a question mark icon or a link that says Forgot password? Click it. Your Mac will ask you to enter your Apple ID email address and password. If you have two-factor authentication turned on for your Apple ID, you will need to complete that verification on a trusted device — usually your iPhone or another Mac.
After you authenticate with your Apple ID, your Mac will let you create a new login password. Type a new password twice to confirm it, then click Next. You can now log in with this new password. This method only works if your Mac is connected to the internet and if you remember your Apple ID password. If you forgot your Apple ID password, you will need to reset that first through Apple's account recovery process on iforgot.apple.com.
Resetting your MacBook login password with a recovery key
If you set up a recovery key when you first configured your Mac, you can use it to reset your login password without needing your Apple ID. At the login screen, click Forgot password? and look for an option to enter a recovery key. Type the recovery key (a long string of letters and numbers) and press Enter. Your Mac will then let you create a new login password.
If you do not remember where you saved your recovery key, check your email for a message from Apple sent when you first set up the Mac, or look in any password manager or notes app where you might have stored it. If you cannot find the recovery key and do not have access to your Apple ID, you will need to use another admin account on the same Mac, or contact Apple Support for additional options.
Resetting your MacBook login password from another admin account
If another person on your Mac has an admin account and you know their password, they can reset your password for you. Have that person log in with their account. Open System Settings, click General, then click Users & Groups (or Users & Accounts on newer Macs). Click the lock icon at the bottom left and enter the admin password to unlock the settings.
Find your account in the list on the left and click it. Click Reset Password and enter a new password twice. The admin user can now close System Settings, and you can log in with the new password on your next restart. This method requires that another person with admin access is present and willing to help.
What to do if you cannot reset your password any of these ways
If you do not have access to your Apple ID, do not have a recovery key, do not have another admin account on the Mac, and cannot reach the login screen, your options narrow significantly. You can contact Apple Support and provide proof of ownership — usually your receipt or serial number. Apple can walk you through additional recovery steps or advise whether a factory reset is necessary.
A factory reset erases everything on your Mac and returns it to the state it was in when it left the factory. This is a last resort and should only be done after confirming with Apple that no other option remains. Before you reach this point, try restarting your Mac in Safe Mode or Recovery Mode to see if those environments offer additional password reset options.
Frequently Asked Questions
Can I see all my passwords at once in Keychain?
Yes. Open System Settings, click General, then click Password. Authenticate with your MacBook login password. You will see a complete list of every password Keychain has saved. You can search by website or app name, or scroll through the entire list. Exporting all passwords at once is not possible through the standard interface.
If I reset my MacBook password, do my saved website passwords change too?
No. Resetting your MacBook login password does not affect the passwords stored in Keychain or Safari. Those passwords remain exactly as they were. You only need to update individual saved passwords if you actually changed the password on that website or app account itself.
What if I do not have two-factor authentication set up on my Apple ID?
You can still reset your MacBook password using your Apple ID, but the process is slightly faster since you will not need to verify on another device. straightforward enter your Apple ID email and password at the login screen, and your Mac will let you create a new login password when ready.
Can I see passwords saved in Chrome or Firefox on my Mac?
Yes, but you must go through each browser's own settings, not through Keychain or System Settings. In Chrome, click the menu icon, go to Settings, then Passwords. In Firefox, click the menu icon, select Settings, then Passwords. Each browser stores passwords separately and does not share them with Keychain.
Is it safe to write down my passwords after I find them?
Writing down passwords and storing them in a physical location only you can access is safer than reusing the same password across multiple sites. However, storing them digitally in a password manager app is generally more find than paper, since paper can be lost or found by others. Choose whichever method you will actually use consistently.