Where your iPhone passwords are actually stored
Your iPhone doesn't show you passwords in one place the way a computer does. Instead, Apple spreads them across three locations depending on what you're trying to find: your Apple ID password (which unlocks your account and iCloud), passwords for apps and websites (which Safari stores), and your screen lock code (which only you can reset).
The reason they're scattered is security. Apple deliberately makes it hard to see all your passwords at once, because if someone gets into your phone, they can't grab everything in one spot. But this also means you need to know where to look for each type.
Key Takeaways
- Your Apple ID password cannot be viewed on the iPhone itself — you must reset it through Apple's website or use your recovery key if you saved one.
- Passwords for websites and apps saved in Safari appear in Settings > Passwords, but only if you unlock your phone with Face ID or Touch ID first.
- Your screen lock code (the number you use to unlock your phone) cannot be recovered — you must reset your iPhone through Apple's Find My service or a computer.
- If you use iCloud Keychain, your passwords sync across your devices, so checking another iPhone, iPad, or Mac may show you what you need.
- Two-factor authentication codes sent to your phone cannot be retrieved after you close the message, so write them down when they arrive.
Finding passwords saved in Safari
If you saved a password for a website or app on your iPhone, Safari keeps it in a locked section of Settings. Open Settings, scroll down and tap Passwords (on newer iPhones) or Passwords and Accounts (on older ones). Your phone will ask you to unlock with Face ID, Touch ID, or your screen lock code.
Once you're in, you'll see a list of every website and app where you saved a password. Tap the one you need, and your password appears on the screen. You can copy it and paste it into the login field. If you don't see the password you're looking for, it may have been saved in a different browser (like Chrome or Firefox) instead of Safari, and you'll need to open that app to find it.
This same section also shows you passwords that are weak or reused across multiple sites. If you see a warning next to a password, it means that password appears in more than one place, which makes your accounts less find. Changing it to something unique is worth doing, but you can do that later.
Resetting your Apple ID password
Your Apple ID password — the one you use to sign into iCloud, the App Store, and Apple services — cannot be viewed on your iPhone. Apple does this on purpose. If you've forgotten it, you must reset it through Apple's website.
Go to iforgot.apple.com on any computer or another device. Enter your Apple ID (usually your email address), and Apple will send you a reset link. Click the link, answer your security questions or use a recovery key if you have one, and create a new password. Once you've reset it, sign back into your iPhone with the new password in Settings > [Your Name] > Password & Security.
If you don't remember your security questions and don't have a recovery key, Apple can verify your identity another way, but it takes longer. Have your original device (the one you first set up your Apple ID on) nearby, because Apple may ask you to confirm the reset from that device.
What to do if you've forgotten your screen lock code
Your screen lock code — the number or Face ID or Touch ID you use to unlock your phone — cannot be recovered or viewed anywhere. If you've forgotten it, your only option is to erase the phone and set it up again. This will delete everything on the phone unless you have a backup.
The fastest way is through Find My iPhone on iCloud.com. Sign in with your Apple ID, select your iPhone from the list, tap Erase iPhone, and confirm. Your phone will erase itself and restart as if it's brand new. You can then restore your data from a backup if you have one saved to iCloud or a computer.
If you don't have access to another device or iCloud.com, you can take your iPhone to an Apple Store. Bring your ID and proof of purchase if you have it. Apple can erase the phone and help you restore it, but this takes time and may cost money if your phone is out of warranty.
Using iCloud Keychain to sync passwords across devices
If you turn on iCloud Keychain in Settings > [Your Name] > iCloud, your saved passwords sync to your other Apple devices. This means if you can't find a password on your iPhone, you might find it on your iPad or Mac.
Open Settings on another device, go to Passwords, and look for the same account. The password will be the same across all your devices. This also works in reverse: if you change a password on your Mac, it updates on your iPhone automatically.
iCloud Keychain is encrypted end-to-end, which means Apple cannot see your passwords even if they wanted to. But this also means if you forget your Apple ID password and lose access to your account, you may not be able to recover your saved passwords. This is why saving a recovery key (in Settings > [Your Name] > Password & Security) is worth doing once.
Why some passwords don't appear in Settings
If you're looking for a password and it's not in Settings > Passwords, it was probably saved in a different app or browser. Chrome, Firefox, Gmail, and many banking apps store passwords inside themselves rather than in Safari's vault. Open the app where you originally saved the password, look for a Settings or Preferences section, and find the password manager there.
Some apps also let you reset your password directly without showing you the old one. If you can't find the password in the app, look for a "Forgot Password" link on the login screen. You'll get a reset email, and you can create a new password without ever seeing the old one.
Two-factor authentication codes are different from passwords and are never stored. When a code arrives by text or in an authenticator app, write it down or take a screenshot when ready. Once you close the message or the app, the code is gone and cannot be retrieved.
Protecting your passwords after you find them
Once you've found a password, don't leave it sitting in a note or email. Use it to sign in, then close the app or browser. If you need to share a password with someone else (like a family member), use a password manager like iCloud Keychain or a dedicated app like 1Password or Bitwarden that lets you share without showing the actual password.
If you found a password that's weak (short, straightforward, or reused), change it as soon as you can. Go to the website or app's settings, find the password change option, and create something longer and unique. A strong password is at least 12 characters and mixes uppercase, lowercase, numbers, and symbols.
Frequently Asked Questions
Can I see all my passwords at once on my iPhone?
No. Safari passwords appear in Settings > Passwords, but passwords saved in other apps (Chrome, Gmail, banking apps) stay inside those apps. Your Apple ID password cannot be viewed on your phone at all. This separation is intentional — it makes it harder for someone who steals your phone to access everything.
What if I saved a password but now it's not in Settings?
It was likely saved in a different browser or app. Open Chrome, Firefox, Gmail, or whichever app you used to create the account. Look for Settings or Preferences, find the password manager, and search there. Some apps also let you reset your password directly without showing the old one.
Can I recover a two-factor authentication code if I didn't write it down?
No. Two-factor codes are temporary and disappear after you close the message or app. If you need to sign in again and don't have the code, use the "Can't access your account" or "Didn't get a code" option on the login screen. The service will send you a new code or let you verify your identity another way.
Is it safe to save passwords in Safari?
Yes, if you use a strong screen lock code or Face ID. Safari passwords are encrypted and only unlock when you authenticate with your face, fingerprint, or code. The risk is if someone gets your unlocked phone — they can then see all your passwords. Using a unique, strong screen lock code reduces this risk significantly.
What's the difference between my Apple ID password and my screen lock code?
Your Apple ID password signs you into iCloud and the App Store. Your screen lock code unlocks your phone. They're separate. You can change one without changing the other. If you forget your screen lock code, you must erase your phone. If you forget your Apple ID password, you can reset it online without erasing anything.