You cannot retrieve a keychain password you have forgotten, but you can reset your keychain and regain access to your accounts
iCloud Keychain stores passwords, credit card numbers, and Wi-Fi details across your Apple devices. If you forget the password that protects your keychain, Apple does not have a way to show it to you — the password is encrypted and Apple does not keep a copy. What you can do instead is reset your keychain entirely, which clears the stored passwords and lets you start fresh. This process works on Mac, iPhone, and iPad.
The trade-off is that resetting your keychain means losing all the passwords, card numbers, and Wi-Fi networks stored in it. You will need to re-enter passwords manually or use your browser's saved passwords as a backup. If you remember your Apple ID password, resetting is straightforward and takes a few minutes.
Key Takeaways
- Apple cannot show you a forgotten keychain password because it is encrypted and stored only on your device.
- Resetting your keychain clears all stored passwords and card information, so you lose access to everything saved in it.
- On Mac, go to Keychain Access in Applications > Utilities, select your keychain, and choose Edit > Change Password for Keychain.
- On iPhone or iPad, go to Settings > [Your Name] > iCloud > Keychain and turn it off, then turn it back on to reset it.
- After resetting, you will need to re-enter passwords manually or copy them from your browser's password manager.
How to reset your keychain on Mac
On a Mac, the Keychain Access app lets you reset your keychain password. Open Finder, go to Applications, then Utilities, and double-click Keychain Access. In the window that opens, look at the left sidebar under "Keychains" and select the keychain you want to reset — usually "login".
Once you have selected it, go to the Edit menu at the top and click "Change Password for Keychain". A dialog box will appear asking for your current keychain password. If you do not remember it, click "Reset My Keychain" instead. This will clear the keychain and let you set a new password. You will be asked to enter your Mac login password to confirm. After that, your keychain is empty and ready to use again.
If you use iCloud Keychain across multiple devices, resetting it on your Mac will affect the keychain on your iPhone and iPad as well. You may see a prompt asking whether you want to keep using iCloud Keychain — choose "Keep Using" if you want to continue syncing passwords across devices.
How to reset your keychain on iPhone or iPad
On iPhone or iPad, you reset your keychain through the iCloud settings. Open Settings, tap your name at the top, then tap iCloud. Scroll down and find Keychain, then tap it. You will see a toggle switch next to "iCloud Keychain" — turn it off.
A popup will appear asking what you want to do with your keychain data. Choose "Delete" to clear everything stored in your keychain. After a few seconds, the toggle will turn gray. Now turn the toggle back on. You will be asked to enter your Apple ID password and then set a new keychain password. This new password is what you will use to unlock your keychain on this device going forward.
If you have multiple Apple devices, you will need to reset the keychain on each one separately. Turning off iCloud Keychain on one device does not automatically reset it on the others.
What to do if you do not remember your Apple ID password
Resetting your keychain requires your Apple ID password on iPhone and iPad, or your Mac login password on a Mac. If you do not remember your Apple ID password, you will need to reset it before you can reset your keychain.
Go to iforgot.apple.com and enter your Apple ID email address. Apple will send you a link to reset your password, or you can answer security questions if you set them up. Once you have a new Apple ID password, return to your device and try the keychain reset again.
If you do not remember your Mac login password, the process is more complicated. You will need to use another administrator account on the Mac, or restart in Recovery Mode and reset your password there. Contact Apple Support if you are locked out of your Mac entirely.
Recovering passwords after you reset your keychain
After resetting your keychain, you will need to re-enter passwords for your accounts. The fastest way is to check whether your web browser — Safari, Chrome, or Firefox — has saved copies of your passwords. Most browsers have a password manager built in.
In Safari on Mac, go to Safari > Preferences > Passwords and look for the accounts you need. In Chrome, go to Settings > Autofill > Password Manager. In Firefox, go to Settings > Privacy & Security > Passwords. You can view saved passwords there and copy them to use elsewhere. Note that browser password managers are separate from iCloud Keychain, so passwords saved in your browser may not have been lost.
For accounts where you do not have a saved password, use the "Forgot Password" link on the website to reset it. This is actually safer than trying to remember an old password — you get a fresh one and you know it works.
Preventing keychain password loss in the future
Your keychain password should be something you can remember, because there is no recovery method if you forget it. Do not use a password you have never typed before, and do not rely on your device to remember it for you.
A good approach is to use a password you have used for years on other accounts — something familiar enough that you will not forget it, but not so common that it is straightforward to guess. Write it down and store it somewhere safe, like a locked drawer or a password manager outside of iCloud Keychain (such as 1Password or Bitwarden).
You can also turn off iCloud Keychain entirely if you prefer to manage passwords a different way. Go to Settings > [Your Name] > iCloud on iPhone, or System Settings > [Your Name] > iCloud on Mac, and toggle off Keychain. This means your passwords will not sync across devices, but you will not have to worry about a forgotten keychain password.
Frequently Asked Questions
Can Apple unlock my keychain if I forget the password?
No. Apple does not store keychain passwords and cannot access them. The password is encrypted on your device only. Your only option is to reset the keychain, which erases all stored passwords.
Will resetting my keychain delete passwords on my other devices?
If you use iCloud Keychain, resetting it on one device will eventually sync to your other devices. You will see a prompt on each device asking whether to keep using iCloud Keychain. If you choose "Keep Using," the reset will explore to all of them.
What if I reset my keychain by accident?
Once a keychain is reset, the passwords are gone and cannot be recovered. Check your browser's password manager to see if it has copies. For accounts where you have no saved password, use the website's password reset feature to create a new one.
Is my keychain password the same as my Apple ID password?
No. Your Apple ID password is what you use to sign into Apple services. Your keychain password is separate and protects the passwords stored in your keychain. You set them independently.
Can I use Face ID or Touch ID instead of typing my keychain password?
On iPhone and iPad, you can use Face ID or Touch ID to unlock your keychain after you have set a keychain password. On Mac, you can use Touch ID if your Mac has it. The keychain password still exists — biometric unlock is just a convenience layer on top of it.