Security & Privacy

Two-Factor Authentication: How to Set It Up and Which Type to Choose

📅 ⏱️ 4 min read
Two-Factor Authentication: How to Set It Up and Which Type to Choose

Short answer: Turn on two-factor authentication for your email first, and use an authenticator app or a security key if the site offers one. Text message codes are better than nothing but weaker.

A password alone can be guessed, reused, or stolen in a data breach. Two-factor authentication (2FA) adds a second check, so a stolen password is not enough to get into your account. It is one of the most useful security steps you can take, and it takes a few minutes per account.

The four common types, from weakest to strongest

  1. SMS codes. A code is texted to your phone. Better than nothing, but a criminal can sometimes take over your number (SIM swapping) or trick you into sharing the code.
  2. Authenticator app codes. An app such as Google Authenticator, Microsoft Authenticator or Aegis shows a six-digit code that changes every 30 seconds. It works offline and is not tied to your phone number.
  3. Passkeys. Your device unlocks a cryptographic key with your fingerprint, face or PIN. There is no code to type and nothing to phish. Passkeys are supported by Google, Microsoft, Apple and many other services.
  4. Hardware security keys. A small USB or NFC key you tap to sign in. These give the strongest protection against phishing.

For most people: use passkeys where they are offered, an authenticator app everywhere else, and SMS only if nothing else is available.

Turn it on for the accounts that matter most

Start with your email, because anyone who controls your email can reset your other passwords. Then your bank, Apple or Google account, and social accounts.

Google: Go to your Google Account, then Security > 2-Step Verification. Add an authenticator app or passkey, then print or save the backup codes.

Microsoft: Go to account.microsoft.com > Security > Advanced security options and add a sign-in or verification method.

Apple: On iPhone, open Settings > your name > Sign-In & Security and turn on two-factor authentication.

Save your backup codes

Most services give you a set of one-time recovery codes. Store them somewhere safe and separate from your phone, such as a password manager or a printed copy in a drawer. If you lose your phone and have no codes, getting back in can take days or fail entirely.

Common mistakes

  • Sharing a code with anyone. Real companies never ask for your 2FA code by phone or message. If someone asks, it is a scam.
  • Approving a prompt you did not trigger. If you get a sign-in approval request you did not start, deny it and change your password.
  • Keeping only one device. Add a second method, such as backup codes, before you need them.

What to do if you lose your phone

Sign in with a backup code or a second device, remove the lost phone from your account's security settings, and set up 2FA on the new phone. Then change the password of any account you were signed in to.

Two-factor authentication does not make an account unbreakable, but it blocks the most common attacks. Turn it on for your email first.

Frequently asked questions

Is SMS two-factor authentication safe enough?

It is much better than no second step, but it is the weakest common type, because attackers can sometimes take over a phone number (SIM swapping) or trick you into sharing the code. Use an authenticator app or security key when you can.

What if I lose my phone?

Sign in with a backup code or a second device, remove the lost phone from your account security settings, and set up two-factor authentication on the new phone. Save your backup codes somewhere safe before you need them.

Sources and further reading

Was this article helpful?

Discussion

Loading comments...