If you enter your iCloud Security Code incorrectly too many times
Learn what to do if you forgot your iCloud Security Code for iCloud Keychain.
If you recently turned on two-factor authentication, you might need to enter an iCloud Security Code to sign in to iCloud. After you sign in, your device is trusted and you don’t need to enter an iCloud Security Code to use iCloud Keychain.
If you enter the wrong iCloud Security Code too many times when using iCloud Keychain, your iCloud Keychain is disabled on that device, and your keychain in iCloud is deleted. You might see one of these messages:
“Security Code Incorrectly Entered Too Many Times. Approve this iPhone from one of your other devices using iCloud Keychain. If no devices are available, reset iCloud Keychain.”
“Your iCloud Security Code has been entered too many times. Approve this Mac from one of your other devices using iCloud Keychain. If no devices are available, reset iCloud Keychain.”
If you can access an approved device that uses your iCloud Keychain
You can create a new iCloud Security Code from another device that also uses your iCloud Keychain.
On an iPhone, iPad, or iPod touch with iOS 12 or earlier:
Tap Settings > [your name] > iCloud > Keychain > Advanced.
Tap Change Security Code.
Enter your Apple ID password when asked.
Enter a new iCloud Security Code.
On a Mac with Mojave or earlier:
Choose Apple menu > System Preferences, then click iCloud.
Click Options next to Keychain.
Click Change Security Code and enter a new iCloud Security Code.
On the device where iCloud Keychain was disabled, create a new iCloud Keychain that contains the username, passwords, and other keychain items from the device:
On your iPhone, iPad, or iPod touch with iOS 12 or earlier: Tap Settings > [your name] > iCloud > Keychain and turn on iCloud Keychain.
On your Mac: Choose Apple menu > System Preferences. Click iCloud, then select Keychain.
An approval notification appears on the device that you used to create the new iCloud Security Code. Approve to add the new iCloud Keychain to your device.
If you can't access a device that uses your iCloud Keychain
Follow these steps to reset your iCloud Keychain.
On an iPhone, iPad, or iPod touch with iOS 12 or earlier:
Tap Settings > [your name] > iCloud > Keychain and turn on iCloud Keychain. You might be asked to enter your Apple ID password.
If you protect your account with two-factor authentication, tap Restore with Security Code. If you don't use two-factor authentication, tap Approve with Security Code.
Tap Forgot Code.
Tap Reset iCloud Keychain to replace your keychain in iCloud with the iCloud Keychain from your device.
Tap Reset to confirm.
Follow the onscreen steps to create a new iCloud Security Code.
On a Mac with Mojave or earlier:
Choose Apple menu > System Preferences.
Click iCloud, then select Keychain. You might be asked to enter your Apple ID password.
Click Use Code, then choose Forgot Code when you're asked to enter your iCloud Security Code.
Click Reset Keychain to replace your keychain in iCloud with the iCloud Keychain from your device.
Click Reset iCloud Keychain to confirm.
Follow the onscreen steps to create a new iCloud Security Code.