Create Account

iCloud Two-Factor Authentication: Setup and Codes

Posted on 09/11/26 03:13 pm

Apple two-factor authentication sends a six-digit code to your trusted devices or trusted number when you sign in to iCloud on something new.

How it works

When you sign in to your Apple Account on a new device or on iCloud.com, Apple shows a code on your other Apple devices. If none are available, it sends the code by text or call to a trusted phone number. You enter the code to finish signing in.

Turn it on

  1. On iPhone, open Settings › [your name] › Sign-In & Security.
  2. Tap Turn On Two-Factor Authentication.
  3. Add a trusted phone number and confirm with the code.

Most Apple Accounts created in recent years already have it on, and it cannot be turned off for them.

Manage trusted numbers

  • Add a second trusted number, such as a family member's phone, in Sign-In & Security.
  • Remove numbers you no longer use.
  • Update the number before you switch carriers or move abroad.

Code not arriving

ProblemFix
No prompt on other devicesMake sure they are signed in, online and unlocked
Text not arrivingChoose Didn't get a code and pick a call instead
No trusted device or numberUse account recovery from iforgot.apple.com

Get a code without a prompt

On a signed-in iPhone, open Settings › [your name] › Sign-In & Security › Get Verification Code. This works even offline.

Recovery key and recovery contact

Apple lets you add a recovery contact, someone you trust who can help you get back in, and an optional recovery key. With a recovery key set, Apple cannot reset your account without it, so store it safely.

Security keys

You can add physical security keys in Sign-In & Security. Once added, they replace six-digit codes on new devices, which protects against phishing.

See also recovering an iCloud account.

Signing in on Windows or Android

On iCloud for Windows or iCloud.com in a browser, you enter the code shown on your Apple devices just as you would on a new iPhone. You can choose to trust the browser so you are not asked each time on that computer.

Two-factor on older devices

Some older devices cannot show a prompt. On those, add the six-digit code to the end of your password when you sign in.

FAQ

Where does the iCloud verification code go?

To your trusted Apple devices, or by text or call to a trusted number.

Can I turn off iCloud two-factor authentication?

For most accounts, no.

What if I have no trusted device?

Use account recovery at iforgot.apple.com.

Related: recover an iCloud account · move iCloud to a new iPhone · iCloud without a phone number.

Back to Blog

Recent Posts