Safari saves passwords automatically when you create a new account

When you sign up for a website or log into an account for the first time in Safari, the browser prompts you to save that password. A small popup appears asking "Save password for this website?" If you tap or click "Save Password," Safari stores the username and password in your device's keychain — the encrypted storage system built into macOS, iOS, and iPadOS.

You do not have to do anything after that. The next time you visit the same website, Safari fills in your login details automatically. This works across your devices if you have iCloud Keychain turned on, which syncs passwords between your Mac, iPhone, and iPad.

If you dismiss the save prompt by clicking "Not Now," Safari will ask again the next time you log in. You can change your mind at any point and save the password later through Safari settings.

Key Takeaways

  • Safari stores passwords in your device's keychain, which is encrypted and protected by your device passcode or password.
  • You can turn on iCloud Keychain in Settings to sync saved passwords across all your Apple devices automatically.
  • Passwords saved in Safari are visible only to you — you can view, edit, or delete them anytime in Safari settings or system preferences.
  • Two-factor authentication codes can be saved alongside passwords, so Safari fills both your login and the security code when available.
  • If you use a strong, unique password for each site, Safari's autofill feature means you do not have to remember or type them yourself.

Where Safari stores your passwords and how to access them

On a Mac, open Safari and go to Safari menu > Preferences > Passwords. You will see a list of every website where you have saved a password. Click any entry to see the username and password for that site. You can also search by website name if you have many saved passwords.

On iPhone or iPad, go to Settings > Passwords (or Passwords & Accounts on older iOS versions) > Website & App Passwords. You will need to authenticate with Face ID, Touch ID, or your device passcode before you can view any password. Tap a website to see the username and password stored for it.

If you have iCloud Keychain enabled, these passwords sync across all your devices. That means a password you save on your iPhone appears automatically in Safari on your Mac, and vice versa. To turn on iCloud Keychain, go to Settings > [Your Name] > iCloud on iPhone or iPad, or System Settings > [Your Name] > iCloud on Mac, then toggle Keychain on.

How to manually save a password you skipped before

If you dismissed the save prompt when you first logged in, you can still save the password later. Log into the website again in Safari. When the save prompt appears, click or tap "Save Password." The password is now stored in your keychain.

Alternatively, you can add a password manually without logging in. On Mac, open Safari Preferences > Passwords, click the plus sign (+) at the bottom, and enter the website, username, and password. On iPhone or iPad, go to Settings > Passwords > Website & App Passwords, tap the plus sign, and fill in the same information.

Manual entry is useful if you want to save a password for a site that does not trigger Safari's save prompt, or if you want to store a password before you actually need to use it.

Setting up iCloud Keychain to sync passwords across devices

iCloud Keychain is Apple's password synchronization service. When it is on, any password you save in Safari on one device appears on all your other Apple devices within minutes. This means you can save a password on your Mac and use it on your iPhone without typing it again.

To turn on iCloud Keychain on Mac, go to System Settings > [Your Name] > iCloud, then check the box next to Keychain. You will be asked to enter your Apple ID password and may need to verify your identity with a trusted device or phone number.

On iPhone or iPad, go to Settings > [Your Name] > iCloud and toggle Keychain on. The process is the same: you authenticate with your Apple ID and verify your identity if prompted.

Once iCloud Keychain is on, Safari automatically syncs passwords, Wi-Fi networks, credit cards, and other sensitive information across your devices. If you turn it off on one device, that device stops syncing but does not delete the passwords already saved on it.

Why Safari's password autofill is safer than remembering passwords yourself

When Safari autofills your password, it only does so on the actual website you are visiting — not on a fake or phishing site that looks similar. Safari checks the website's address against its records and will not fill in your password if the address does not match. This protects you from accidentally entering your login details on a fraudulent site.

Passwords stored in Safari's keychain are encrypted, meaning they are scrambled in a way that requires your device passcode or password to unlock. Even if someone gains physical access to your device, they cannot read your passwords without that authentication. This is different from writing passwords down or storing them in an unencrypted note.

Safari also generates strong passwords when you create new accounts. If a website asks you to set a password, Safari suggests a random combination of letters, numbers, and symbols that is much harder to crack than a password you might create yourself. You can accept the suggestion or type your own.

Editing or deleting saved passwords in Safari

You can change a saved password anytime. On Mac, open Safari Preferences > Passwords, find the website, and double-click the password field to edit it. Type the new password and press Enter. On iPhone or iPad, go to Settings > Passwords > Website & App Passwords, tap the website, tap Edit, and change the password field.

To delete a saved password on Mac, open Safari Preferences > Passwords, right-click the website, and select "Delete." On iPhone or iPad, go to Settings > Passwords > Website & App Passwords, swipe left on the website (or tap Edit), and tap Delete.

Deleting a password from Safari does not change your actual password on the website. It only removes it from your device's keychain. You will need to log in manually the next time you visit that site, or you can save a new password after logging in.

What to do if Safari stops saving passwords

If Safari is not prompting you to save passwords, check your settings. On Mac, go to Safari > Preferences > AutoFill and make sure "Usernames and passwords" is checked. On iPhone or iPad, go to Settings > Passwords and confirm that AutoFill Passwords is toggled on.

Some websites block password saving for security reasons. Banking sites and other high-security platforms sometimes disable the save prompt intentionally. In these cases, you can still manually add the password through your keychain settings, but the website itself prevents automatic saving.

If you recently signed out of iCloud or turned off Keychain sync, your passwords may not be saving to the cloud. Check that iCloud Keychain is on in your account settings and that you are signed into iCloud with the same Apple ID across all your devices.

Frequently Asked Questions

Can I see my Safari passwords on a Windows computer?

No. Safari passwords are stored in Apple's keychain system, which only works on macOS, iOS, and iPadOS. If you use Windows, you can export your Safari passwords to another browser or password manager, but Safari itself is not available on Windows. You would need to use a different browser or a third-party password manager that works across platforms.

What happens to my saved passwords if I sell my device?

When you erase a device before selling it, all saved passwords are deleted along with everything else. If you have iCloud Keychain on, your passwords remain in iCloud and sync to your other devices, but they are removed from the device you erased. Make sure you have access to your passwords on another device before you erase your old one.

Is it safe to let Safari save my passwords?

Yes, if your device is protected by a strong passcode or password. Safari's keychain encryption requires your device authentication to access any saved password. The main risk is if someone gains physical access to your unlocked device. Keep your device locked when you are not using it, and use a passcode that is not straightforward to guess.

Can I use Safari passwords on other apps?

Yes. On iPhone and iPad, apps can request passwords from your keychain. When an app needs your login, it may ask permission to use a saved password from Safari. You must approve this each time. On Mac, some apps can access keychain passwords, but it depends on how the app is built.

What if I forget a password Safari saved?

You can view any saved password in Safari settings by authenticating with your device passcode or biometric ID. Go to Settings > Passwords on iPhone or iPad, or Safari Preferences > Passwords on Mac, find the website, and tap or click to reveal the password. Write it down or use it to reset your account if needed.