What it does

Two-factor authentication (Google and Microsoft call it 2-Step or two-step verification) means a stolen password isn't enough. When someone signs in on a new device, the account also asks for something only you have: a code on your phone, a tap on a prompt, or a passkey. These three accounts guard your email, photos, backups and app purchases, so they're the ones to protect first.

Apple Account

Many Apple Accounts already have it, because accounts created with two-factor authentication can't turn it off. To check or turn it on:

  1. On iPhone or iPad, open Settings, tap your name, then Sign-In & Security.
  2. If it isn't already on, tap to turn on two-factor authentication and follow the prompts.
  3. Confirm your trusted phone number, the number Apple texts or calls with codes. If you can, add a second trusted number you can reach, such as a family member's phone.

On a Mac: Apple menu > System Settings, click your name, then Sign-In & Security. On the web: sign in at account.apple.com and choose Upgrade Account Security.

How it works afterward: when you sign in on a new device or on the web, you enter your password and a six-digit code that pops up on your other Apple devices or arrives at your trusted number. You won't be asked again on that device unless you sign out completely, erase it, or change your password. Apple Pay also requires two-factor authentication, so turning it on unlocks that too.

Google Account

  1. Open your Google Account at myaccount.google.com. On Android: Settings > tap your name or Google > Manage your Google Account.
  2. Select Security & sign-in.
  3. Under How you sign in to Google, select Turn on 2-Step Verification.
  4. Follow the steps. Google will suggest a second step; pick at least two methods from the list below.

Your choices for the second step:

  • Google prompts: tap Yes on your phone to allow a sign-in. They go to Android phones signed in to the account and to iPhones signed in to Gmail, Google Photos, YouTube or the Google app. Google recommends this if you don't use a passkey.
  • Passkeys or a security key: sign in with your fingerprint, face or screen lock. Signing in with a passkey skips the second step entirely.
  • Authenticator app (Google Authenticator or similar): works even without signal.
  • Text or voice codes: a 6-digit code to your phone. Google warns these can be intercepted through phone-number hijacking, so use them as a backup, not your only method.
  • Backup codes: print or download a set of 8-digit codes and keep them somewhere safe for when you lose your phone.

Microsoft account (Outlook, Hotmail, Xbox, Windows)

  1. Go to account.microsoft.com/security and sign in.
  2. Select Manage how I sign in.
  3. Under Additional security, find Two-step verification and choose Turn on.
  4. Follow the prompts. To use the Microsoft Authenticator app or another authenticator, scan the QR code it shows with your phone.

Right after, create a recovery code: on the same Manage how I sign in page, find Recovery code and choose Generate a new code. It's 25 characters; print it and keep it off your devices. Making a new one cancels the old one.

Some older apps and devices that don't work with two-step verification may need an app password, which appears under Additional security once two-step verification is on.

If it doesn't work

  • No code arrives by text: check signal and that the number is right. Use another method: the prompt on another Apple device, Google prompts, an authenticator app, or a backup code.
  • Google won't trust a new phone number yet: Google says it can take up to 7 days to trust a newly added number. Add it before you need it.
  • Work or school Google or Microsoft account: the steps may differ or be blocked. Your IT administrator controls these settings.
  • You want to turn Apple's off: only possible within two weeks of turning it on, and not at all for accounts created with it.
  • An old app keeps asking for your Microsoft password: create an app password for it.

Good to know

  • Traveling with a US number: text codes may not reach you abroad if your plan doesn't roam. Before you visit family, set up an authenticator app or Google prompts, and keep backup codes in your bag.
  • Never share a code. No one from Apple, Google or Microsoft will ask you for one by phone or WhatsApp. Anyone who does is trying to take over the account.
  • Change your number? Update the trusted phone number in each account first, while you can still receive codes on the old one.

People also ask

Is two-factor authentication the same as 2-Step Verification?

Yes, in practice. Apple calls it two-factor authentication; Google calls it 2-Step Verification and Microsoft calls it two-step verification. All require a second proof beyond your password.

Can I turn off two-factor authentication on my Apple Account?

Only within two weeks of turning it on. Accounts that were created with two-factor authentication can't turn it off.

What if I lose my phone and can't get codes?

Use a backup: Google backup codes, a Microsoft recovery code, another trusted Apple device or a second trusted number. That's why you should set one up on day one.

Are text message codes safe?

Better than nothing, but Google warns they can be stolen through phone-number attacks. Prompts, authenticator apps and passkeys are stronger.

Will I have to enter a code every time?

No. Usually only on a new device or browser, or after you sign out completely or change your password.

Why does Apple Pay need two-factor authentication?

Apple lists it as a requirement for adding cards. If it's off, you may not be able to add a card to Wallet.

All quick answers