Two-factor login adds a second proof after your password. There are several ways to do it, and they are not equally strong. This comparison is part of our two-factor login and passkeys guide. If this is all new, start with what 2FA is.

Two-factor methods, weakest to strongest
Text message (SMS) codeBetter than nothing
Authenticator app codeGood
PasskeyVery strong
Hardware security keyVery strong
Any second factor is far better than none. Choose the strongest one each account supports, and keep your backup codes safe.

The main methods at a glance

MethodHow it worksStops password theftStops fake login pages
SMS codeCode sent by textMostlyNo
Email codeCode sent to your inboxMostlyNo
Authenticator appYour phone makes a timed codeYesNo
Push approvalTap "approve" on your phoneYesPartly
Security keyTap a physical deviceYesYes
PasskeyYour device proves who you areReplaces the passwordYes

SMS codes

These are easy and work on any phone. Their weaknesses are SIM swap attacks, in which a criminal moves your number to their own phone, and fake sites that ask for the code in real time.

Authenticator apps

An authenticator app creates a new six-digit code every 30 seconds, with no phone signal needed. It is a strong everyday option, and it is free. A very convincing fake site can still trick you into typing the current code.

Push approvals

Your phone asks "Is this you?", and you tap yes. It is convenient, but attackers can flood you with prompts until you give in, an attack called MFA fatigue. Prompts that make you match a number are safer.

Security keys

A hardware security key plugs in or taps your phone. It checks the real website address, so a fake site gets nothing. It is the strongest option for your most important accounts.

Passkeys

Passkeys use the same anti-phishing technology, with the key held on your phone or computer. They can replace passwords altogether. See passkeys vs passwords vs 2FA.

Which to use where

  • Email, Apple or Google account: a passkey or security key, or at least an app.
  • Banking: whatever your bank offers, using the strongest option available.
  • Social media: an app or passkey.
  • Crypto exchanges: a security key if possible, and never SMS alone. See securing exchange logins.
  • Everything else: whatever is available.

Our guide on which accounts need 2FA first gives you the order. Whichever you pick, keep your backup codes safe.