How to Set Up Two-Factor Authentication on Every Account

Two-factor authentication stops most account takeovers, even when a password leaks. Here's which 2FA method to choose and how to turn it on for Google, Apple, Microsoft, Meta and WhatsApp.

White smartphone lying next to the corner of a silver laptop keyboard on a white desk, in black and white
White smartphone lying next to the corner of a silver laptop keyboard on a white desk, in black and white
In this article
  1. Which two-factor authentication method should you use?
  2. Before you start
  3. How to set up two-factor authentication on major accounts
  4. Google account (Gmail, YouTube, Android)
  5. Apple Account (iPhone, iPad, Mac)
  6. Microsoft account (Outlook, Xbox, Windows, Microsoft 365)
  7. Facebook and Instagram
  8. WhatsApp
  9. Banks, shopping and everything else
  10. Don't lock yourself out: backup and recovery
  11. Frequently asked questions
  12. Is two-factor authentication the same as two-step verification?
  13. Is SMS two-factor authentication safe?
  14. What happens if I lose my phone?
  15. Do passkeys replace two-factor authentication?
  16. Will I have to enter a code every time I sign in?
  17. The bottom line

Two-factor authentication (2FA) adds a second check, such as a code from an app, a tap on your phone or a security key, on top of your password. Even if your password leaks, an attacker still can't sign in without that second factor. You turn it on in each account's security settings, usually under a heading like "Security", "Sign-in & security" or "2-Step Verification". Below we explain which 2FA method to pick and give step-by-step instructions for Google, Apple, Microsoft, Facebook, Instagram and WhatsApp.

Which two-factor authentication method should you use?

Not all second factors are equal. From strongest to weakest:

MethodHow it worksSecurity
Passkey or hardware security keyYour device or a USB/NFC key proves who you are cryptographicallyStrongest, resists phishing
Authenticator appAn app such as Google Authenticator, Microsoft Authenticator or your password manager generates a 6-digit code that changes every 30 secondsStrong
Push promptYou tap "Yes, it's me" on a signed-in phoneStrong, but don't approve prompts you didn't trigger
Text message (SMS) or voice callA code is sent to your phone numberBetter than nothing, but vulnerable to SIM-swap scams
Email codeA code is sent to your inboxOnly as safe as your email account

Our advice: use passkeys or a security key where offered, an authenticator app everywhere else, and SMS only when it's the sole option. If you're new to passkeys, read what passkeys are and how they work.

Before you start

  1. Install an authenticator app. Many password managers can also store 2FA codes. See our guide to the best password managers.
  2. Update your recovery info. Make sure each account has a current recovery email and phone number.
  3. Have somewhere safe for backup codes. A password manager or a printed sheet kept at home both work.
  4. Start with your email account. Your inbox can reset almost every other password, so protect it first.

How to set up two-factor authentication on major accounts

Google account (Gmail, YouTube, Android)

  1. Open your Google Account at myaccount.google.com, or on Android go to Settings > 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 prompts on your phone are the default. You can add an authenticator app, a passkey or security key, and backup codes from the same page.

Google's help page on turning on 2-Step Verification lists every option. Note that it can take up to a week for a newly added phone number to be fully trusted.

Apple Account (iPhone, iPad, Mac)

If you created your Apple Account in recent years, two-factor authentication is very likely already on. To check or turn it on:

  1. On iPhone or iPad, open Settings. On a Mac, open System Settings.
  2. Tap or click [your name] > Sign-In & Security.
  3. Turn on Two-Factor Authentication and follow the onscreen steps.

Apple sends verification codes to your other trusted Apple devices or to a trusted phone number. Apple also lets you add physical security keys from the same Sign-In & Security screen. See Apple's two-factor authentication guide for details.

Microsoft account (Outlook, Xbox, Windows, Microsoft 365)

  1. Sign in at account.microsoft.com and open the Security tab.
  2. Select Manage how I sign in.
  3. Under Additional security, find Two-step verification and choose Turn on.
  4. Follow the instructions. You can start with an email address, a phone number or an authenticator app. If you choose an authenticator app, you'll scan a QR code with it.

Facebook and Instagram

Meta manages security for both apps through Accounts Center:

  1. Open Settings (on Facebook: your profile picture > Settings & privacy > Settings).
  2. Go to Accounts Center > Password and security > Two-factor authentication.
  3. Choose the account you want to protect.
  4. Pick a method: a security key, an authentication app or text message codes. Follow the prompts.

Afterwards, save the recovery codes Meta offers, which you'll find under the two-factor settings. Menu labels can vary slightly between app versions and regions, for example "Accounts Centre" in some countries.

WhatsApp

WhatsApp calls its version two-step verification. Go to Settings > Account > Two-step verification, turn it on and create the PIN or password the app asks for. Add an email address when prompted so you can reset it if you forget it. Your account will then require that PIN or password whenever your number is registered on a new phone.

Banks, shopping and everything else

Look in each service's account settings for "Security", "Login & security" or "Two-step verification". Prioritise accounts in this order: email, password manager, Apple/Google/Microsoft account, banking and payments, mobile carrier, social media, then shopping sites with saved cards.

Don't lock yourself out: backup and recovery

The main risk with 2FA is losing your phone. A few precautions make that a minor inconvenience instead of a disaster:

  • Save backup codes for every account that offers them, and store them outside your phone.
  • Add more than one method, such as an authenticator app plus a security key, or a second trusted device.
  • Use an authenticator that syncs or backs up, or one built into your password manager, so a new phone doesn't mean starting over.
  • Back up your phone regularly. Our guide to backing up an iPhone or Android phone walks through it.

Frequently asked questions

Is two-factor authentication the same as two-step verification?

For everyday purposes, yes. Companies use different names (2FA, 2-Step Verification, two-step verification, multi-factor authentication), but they all mean adding a second check on top of your password.

Is SMS two-factor authentication safe?

It is much safer than a password alone, but codes sent by text can be intercepted through SIM-swap scams. Use an authenticator app, passkey or security key when the service supports one.

What happens if I lose my phone?

Sign in with a backup code, a second trusted device or a security key, then remove the lost phone from your accounts. If you have none of these, you'll need to go through each service's account recovery process, which can take days.

Do passkeys replace two-factor authentication?

A passkey combines something you have (your device) with something you are or know (your fingerprint, face or device PIN), so it already counts as strong, phishing-resistant authentication. Many services skip the extra 2FA step when you sign in with a passkey.

Will I have to enter a code every time I sign in?

Usually not. Most services let you mark a device as trusted, so you only see the second step on new devices or after signing out.

The bottom line

Turning on two-factor authentication is one of the most effective things you can do for your online security, and it takes a few minutes per account. Start with your email, use an authenticator app or passkey instead of SMS where you can, and save your backup codes. If you're worried a password has already been exposed, read how to check if your password was leaked next, and browse more guides in our Cybersecurity section.

Add The Tech Wonder as a preferred source on Google

The Tech Wonder Team

Editorial team

The Tech Wonder covers technology news and writes practical, plain-English guides to the gadgets, apps and ideas shaping everyday life.

0 Comments

Join the discussion. Comments are moderated and your email is never published.