Articles / Two-factor authentication
Privacy basics
What is two-factor authentication (2FA)?
Two-factor authentication, or 2FA, asks for a second proof that it's you, such as a code from an app, a security key or a passkey, on top of your password. Even if someone steals your password, they can't get in without the second factor. The U.S. Federal Trade Commission calls it "the best way to protect your accounts."
- Also called
- two-step verification, MFA
- Strongest
- security keys and passkeys
- Weakest
- codes by text or email
- Terms that make you responsible for your account
- 23%
Passwords get stolen in data breaches, guessed and phished. Two-factor authentication means a stolen password isn't enough on its own.
How it works
The FTC explains that authentication factors fall into three groups (FTC):
- Something you know, like a password, a PIN or the answer to a security question.
- Something you have, like a one-time code sent to you or generated by an app, or a security key.
- Something you are, like your fingerprint or face.
Two-factor authentication requires two of the three. The same idea goes by several names: two-step verification, 2-step verification and multi-factor authentication (MFA) (CISA).
The kinds of 2FA, from strongest to weakest
| Kind | How it works | How safe |
|---|---|---|
| Security key or passkey | A physical key you plug in or tap, or a passkey on your device | Strongest. The FTC says security keys "don't use credentials that hackers can steal," and CISA calls FIDO the only widely available phishing-resistant option |
| Authenticator app | An app on your phone makes a new code every 30 seconds or so, or asks you to approve a sign-in | Strong. Not exposed to SIM swaps or email hacks |
| Code by text message or email | A one-time code is sent to your phone or inbox | Weakest, but much better than nothing |
Text-message codes have a known weakness: in a SIM swap, a criminal takes over your phone number and receives your codes. U.S. federal guidelines from NIST treat codes sent by text or phone call as "restricted," and tell services to watch for warning signs such as a recent SIM change or a number transferred to a new carrier (NIST).
Passkeys can replace both your password and the second step. See What is a passkey, and should I use one?
Where to turn it on first
It's usually off until you turn it on. The FTC suggests starting with your most sensitive accounts:
- Email, because it can be used to reset every other account.
- Bank, credit card and payment apps.
- Social media.
- Tax filing sites.
- Online shops, games and streaming services.
Look in each account's security settings for two-factor authentication, two-step verification or multi-factor authentication.
What the fine print says
- You're usually on the hook. 23% of the 1,019 terms of service Osbert tracks say you're responsible for keeping your password secure or for everything that happens under your account.
- Few mention 2FA at all. 140 of the 1,280 services Osbert watches mention two-factor or multi-factor authentication in their privacy policy or terms.
- Your phone number may be collected for it. Epic Games says that when you turn on 2FA it may collect "your phone number and email address to help secure your account."
- Security numbers have been used for ads. In 2019, the FTC alleged that Facebook collected phone numbers to enable a security feature without disclosing it also used them for advertising. Its settlement prohibits Facebook from using phone numbers obtained for security features such as two-factor authentication for advertising (FTC).
Tips
- Choose an authenticator app, security key or passkey over text messages when you can.
- Save your backup codes somewhere safe, in case you lose your phone.
- Never share a code. The FTC says not to share your verification code with someone if you didn't contact them first.
- Don't approve a sign-in you didn't start. A surprise prompt can mean someone has your password: deny it and change your password.
- Only let your own devices be remembered, not public computers.
Common questions
Is two-factor authentication the same as multi-factor authentication?
Nearly. Two-factor authentication uses exactly two factors; multi-factor authentication means two or more. CISA lists two-factor authentication, 2FA, two-step authentication and 2-step verification as different ways to say MFA.
Is text message 2FA safe?
It's much safer than a password alone, but it's the weakest kind. Criminals can take over your phone number through a SIM swap and receive your codes. Use an authenticator app, security key or passkey where you can.
What happens if I lose my phone with 2FA on it?
Use the backup codes you saved when you set it up, or another method you added, such as a security key or a second phone. Without one, you'll need the service's account recovery process, which can be slow.