iCloud Keychain stores your passwords, payment cards, and Wi-Fi networks in encrypted form on Apple's servers, then syncs them to your other Apple devices

When you turn on iCloud Keychain in System Settings, your Mac begins sending copies of passwords you save in Safari, credit card information, and Wi-Fi network credentials to Apple's iCloud servers. Those copies are encrypted before they leave your computer — Apple cannot read them without your iCloud password and a second authentication factor. When you sign into Safari on your iPhone or iPad with the same Apple ID, iCloud Keychain automatically syncs those passwords to those devices too.

The purpose is convenience: you type a password once on your Mac, and it appears on your iPhone without you having to remember it or type it again. The trade-off is that your passwords now exist in two places instead of one — on your Mac's local storage and on Apple's servers. If you lose your Mac or your Apple ID is compromised, the passwords stored only on that Mac are still safe, but the ones synced to iCloud are accessible to whoever controls your account.

Key Takeaways

  • iCloud Keychain encrypts your passwords before they leave your Mac, but Apple stores encrypted copies on its servers that sync across your devices.
  • Turning off iCloud Keychain stops new passwords from syncing but does not delete the ones already stored on Apple's servers.
  • Your iCloud Keychain is protected by your iCloud password and a second factor (usually a code from your phone), so a weak Apple ID password puts your stored passwords at risk.
  • Passwords stored only in Safari on your Mac, without iCloud Keychain enabled, never leave your computer.
  • iCloud Keychain does not protect passwords for apps outside Safari, only for websites and some app logins that use Safari's password system.

How encryption works in iCloud Keychain

Apple uses a system called end-to-end encryption for iCloud Keychain, which means the data is scrambled on your Mac before it travels to Apple's servers. Apple holds the encrypted data but not the key needed to unscramble it — that key is derived from your iCloud password and stored only on your devices. In theory, this means Apple employees cannot read your passwords even if they wanted to.

The practical security depends on two things: the strength of your iCloud password and whether you have two-factor authentication turned on. If your Apple ID password is weak or reused from another service that was breached, an attacker who gains access to your iCloud account can request Apple to send your encrypted Keychain data to a new device they control. Apple will ask for a second authentication factor — usually a code from a trusted phone — before allowing this. If you do not have two-factor authentication enabled, this step is skipped, and your Keychain becomes accessible to anyone with your Apple ID password.

What iCloud Keychain actually stores

iCloud Keychain saves passwords for websites you visit in Safari, usernames and passwords for some third-party apps that integrate with Safari's password system, credit card numbers and expiration dates (but not the three-digit security code on the back), and the names and passwords of Wi-Fi networks you have connected to. It does not store passwords for apps that have their own login systems — for example, the password to your Gmail app or your banking app is not synced through iCloud Keychain unless that app specifically uses Safari's credential system.

Payment card information stored in iCloud Keychain is encrypted the same way as passwords, but Apple does not store the CVV (the three-digit code on the back of your card). This is a deliberate choice: even if someone gains access to your iCloud Keychain, they cannot complete a purchase without the CVV, which they would have to obtain separately.

Turning iCloud Keychain on or off

To enable iCloud Keychain on your Mac, open System Settings, click your name at the top of the sidebar, select iCloud, and toggle on iCloud Keychain. You will be asked to confirm your iCloud password and may be asked to enter a code sent to a trusted device. Once enabled, Safari will begin offering to save passwords you enter on websites, and those passwords will sync to your other Apple devices.

To turn it off, return to the same menu and toggle iCloud Keychain off. Apple will ask whether you want to keep a local copy of your passwords on this Mac. If you choose to keep them, they remain in Safari but stop syncing to other devices and stop being backed up to iCloud. If you choose to delete them, they are removed from your Mac entirely — but they remain on your other devices and on Apple's servers. Turning off iCloud Keychain does not erase what is already stored in iCloud; it only stops new passwords from being added.

When iCloud Keychain creates a security risk

The main risk is account takeover. If someone gains control of your Apple ID — either by guessing your password, by tricking you into revealing it, or by exploiting a security flaw in Apple's systems — they can request that your iCloud Keychain be synced to a device they control. Apple's two-factor authentication is meant to prevent this, but it only works if you have it enabled and if the attacker cannot intercept or bypass the second factor.

A secondary risk is that iCloud Keychain concentrates all your passwords in one place. If you use the same Apple ID password everywhere, or if you reuse passwords across services, a breach of one service could give an attacker the key to your entire iCloud account. This is why security experts recommend using a unique, strong Apple ID password and enabling two-factor authentication.

There is also a human risk: if someone with physical access to your Mac knows your login password, they can open System Settings and view the passwords stored in iCloud Keychain without needing your iCloud password. This is because macOS assumes that if someone can unlock your Mac, they have permission to access everything on it. If you share your Mac with other people, this is a meaningful vulnerability.

Alternatives to iCloud Keychain

If you want to store passwords across devices but do not want to use iCloud Keychain, you can use a third-party password manager like 1Password, Bitwarden, or Dashlane. These services encrypt your passwords on your device before sending them to their servers, similar to iCloud Keychain, but they are not tied to your Apple ID. If your Apple account is compromised, your passwords in a third-party manager remain protected by a separate master password.

If you want to avoid cloud storage entirely, you can turn off iCloud Keychain and use Safari's local password storage only. Your passwords will be saved on your Mac and encrypted with your Mac login password, but they will not sync to your iPhone or iPad. You can also use a password manager that stores passwords only on your devices and syncs them through a service like Dropbox or iCloud Drive, though this requires more manual setup.

Frequently Asked Questions

Can someone see my iCloud Keychain passwords if they have my Apple ID password?

Not without your second authentication factor. If you have two-factor authentication enabled, Apple will send a code to a trusted device before allowing anyone to access your Keychain from a new device. If you do not have two-factor authentication enabled, yes — your Apple ID password alone is enough to access your Keychain.

Does iCloud Keychain protect passwords I save in apps like Gmail or Slack?

No. iCloud Keychain only syncs passwords for websites in Safari and for apps that use Safari's built-in credential system. Passwords you enter directly into an app's login screen are stored by that app, not by iCloud Keychain. You would need to use a separate password manager to sync those passwords across devices.

What happens to my iCloud Keychain if I delete my Apple ID?

Your iCloud Keychain is deleted from Apple's servers when you delete your Apple ID. Passwords stored only on your Mac remain there, but the encrypted copies on iCloud are removed. If you have other Apple devices, their local copies of the passwords remain, but they stop syncing.

Is iCloud Keychain safer than writing passwords in a notebook?

Yes. A notebook can be lost, stolen, or read by anyone with physical access. iCloud Keychain is encrypted and requires your iCloud password and a second factor to access. The trade-off is that iCloud Keychain requires you to trust Apple's security practices and infrastructure, whereas a notebook requires you to trust only your own ability to keep it safe.

Can I use iCloud Keychain on a Mac I share with other people?

Technically yes, but it is not find. Anyone who can unlock your Mac can view your iCloud Keychain passwords without entering your iCloud password. If you share a Mac, consider using a separate user account for each person, or use a password manager that requires a separate master password to unlock.