By Plainly Editorial

Updated

First published

What is two-factor authentication?

Filed under Privacy & digital hygiene

What is the difference between 2FA, 2SV and MFA?

They mean almost the same thing. Multi-factor authentication (MFA) is the general term for any login that needs two or more independent pieces of evidence. Two-factor authentication (2FA) is MFA with exactly two. The UK's National Cyber Security Centre (NCSC) prefers the name 2-step verification (2SV), and many websites use that label in their settings.

Security experts group the evidence into three factor types. Something you know is a password, PIN or answer to a security question. Something you have is a phone, an authenticator app on that phone, or a physical security key. Something you are (inherence) is a fingerprint, face scan or other biometric.

The point is that the factors fail in different ways. A password can be guessed or leaked in a data breach without the attacker ever touching your phone. Requiring two independent types means one failure is no longer enough to lose the account.

Why is a password alone not enough?

Passwords leak all the time. People reuse them across sites, so one breached shop can expose your email login. Attackers also try lists of common passwords against millions of accounts, and phishing pages simply ask you to type the password in.

The US Federal Trade Commission (FTC) puts it simply: with 2FA on, a criminal who knows your username and password still cannot sign in without the second credential. That one extra step blocks most automated and opportunistic account takeovers.

Which 2FA methods are strongest?

From weakest to strongest, the common options are: codes sent by email, codes sent by text message (SMS), time-based codes from an authenticator app (often called TOTP, for time-based one-time password), push notifications to an app, push notifications with number matching, and finally FIDO2 methods such as hardware security keys and passkeys.

Number matching is a safer form of push approval. Instead of a simple "Approve?" button, the login screen shows a number that you must type into your phone. This defeats "MFA fatigue" attacks, where a criminal with your password sends prompt after prompt hoping you tap Approve just to make them stop. The US Cybersecurity and Infrastructure Security Agency (CISA) recommends number matching as an interim step for organisations that cannot yet use phishing-resistant MFA.

Any of these is far better than a password alone. The NCSC says text-message codes are not the most secure option but still offer a huge advantage over no 2SV at all. So turn on whatever an account offers today, and upgrade when a stronger method becomes available.

Why is SMS two-factor authentication the weakest option?

Text-message codes depend on your phone number, and your phone number is controlled by your mobile carrier rather than by you. In a SIM-swap attack, a criminal persuades or tricks the carrier into moving your number to a SIM card they hold. From then on, your codes go to them.

The FBI's Internet Crime Complaint Center has warned that criminals use SIM swapping to take over bank and cryptocurrency accounts linked to the victim's number, gaining access through social engineering, insider help or phishing. NIST's digital identity guidelines treat codes sent over the phone network as a "restricted" authenticator for similar reasons.

SMS codes, like app codes, can also be phished: a fake login page can ask for the code and relay it to the real site within seconds. If you rely on SMS, ask your carrier about account PINs or port-out protection, and move important accounts to an app, a security key or a passkey when you can.

What is phishing-resistant MFA?

Phishing-resistant MFA is a login method that a fake website cannot trick you into handing over. CISA's guidance says the only widely available form is FIDO/WebAuthn authentication, the open standards behind hardware security keys and passkeys. (Smart-card systems used by some governments and large employers are the other type.)

It works because the credential is tied cryptographically to the real website's address. When you sign in, your device proves who you are by signing a challenge, and it will only do so for the exact domain the credential was created for. A look-alike site gets nothing useful, even if you are completely fooled by it.

Passkeys bring this protection to everyday accounts. A passkey replaces the password with a key pair stored on your phone, computer, password manager or security key, unlocked with your fingerprint, face or device PIN. The FIDO Alliance describes both synced passkeys (backed up across your devices) and device-bound passkeys (which never leave one device, such as a security key) as highly phishing-resistant. For the bigger picture on scam messages and fake login pages, see our guide to phishing.

What are backup codes and how do you recover a locked account?

Most services give you a set of one-time backup codes, or recovery codes, when you turn on 2FA. Each code works once and lets you in if you lose your phone or security key. Print them or store them in a password manager, and keep them somewhere separate from the device you use for 2FA.

Set up more than one way in. Register a second security key, add a passkey on a second device, or make sure your authenticator app can be moved or backed up to a new phone. Keep the recovery email address and phone number on each account up to date.

Be aware that weak recovery undoes strong 2FA. If an account lets anyone reset access with a text message or a few security questions, that path is now the easiest way in, so check recovery settings as carefully as the login itself.

How do you turn on two-factor authentication?

Start with your email account, because anyone who controls your inbox can reset most of your other passwords. The NCSC and FTC both stress this. Next, protect banking and payment apps, your phone's cloud account (Apple, Google or Microsoft), social media and any tax or government logins.

The steps are similar everywhere. Open the account's security or sign-in settings and look for an option named two-factor authentication, 2-step verification, multi-factor authentication, or passkeys. Choose the strongest method offered, follow the prompts to link your app, key or device, and save the backup codes before you finish.

If an important account offers no 2FA at all, give it a long, unique password from a password manager, and consider whether a service with better security would suit you. Exact menus change often, so the service's own help pages are the best guide to where the setting lives today.

Two-factor authentication methods compared, weakest to strongest

MethodHow it worksPhishing-resistant?Notes
Email codeA one-time code is sent to your inboxNoOnly as strong as your email account; avoid for your email itself
SMS or voice codeA one-time code is texted or read to your phone numberNoExposed to SIM swapping and real-time phishing; still much better than nothing
Authenticator app (TOTP)An app generates a new 6-digit code every 30 seconds from a shared secretNoNot tied to your phone number; a fake site can still relay the code
Push approvalA prompt on your phone asks you to approve the loginNoWatch for repeated unexpected prompts (MFA fatigue); never approve one you did not start
Push with number matchingYou type a number shown on the login screen into the appNoStops accidental approvals; CISA's recommended interim step
Hardware security key (FIDO2)You plug in or tap a small physical key that signs the loginYesStrongest option; register two keys in case you lose one
Passkey (FIDO2/WebAuthn)A key pair on your device or password manager, unlocked by biometric or PINYesReplaces the password; synced passkeys make recovery easier
  • Signing in to your bank with a password, then entering the 6-digit code your authenticator app shows
  • Logging in to a work account and typing the two-digit number on screen into a phone app before approval goes through
  • Tapping a USB or NFC security key against your laptop or phone after entering your password
  • Signing in to an online shop with a passkey and your fingerprint, with no password at all
  • Getting a new phone and using a printed backup code to get into your email while you re-register your authenticator
  • Noticing a burst of login prompts at 2am you did not request, denying them all and changing your password

Common questions

Is two-factor authentication really necessary?

For important accounts, yes. Stolen and reused passwords are one of the most common ways accounts are taken over, and a second factor stops most of those attempts. It adds a few seconds to sign-in, and many services only ask again on a new device or after a long gap.

Can two-factor authentication be hacked?

Some forms can be bypassed. SMS codes can be stolen through SIM swapping, and both SMS and app codes can be captured by a convincing fake login page. Push prompts can be abused if you approve one you did not start. Hardware security keys and passkeys resist all of these.

Is a passkey the same as two-factor authentication?

A passkey covers both factors in one step. The key pair lives on a device you have, and unlocking it needs your fingerprint, face or device PIN. Many services therefore treat a passkey sign-in as multi-factor on its own and do not ask for an extra code.

What happens if I lose my phone with my authenticator app?

Use a backup code or another registered method, such as a second security key, to sign in, then remove the lost phone and set up the app again. If you have no backup method, you will need the service's account recovery process, which can take days.

Should I use biometrics like my fingerprint for 2FA?

Fingerprint and face unlock are usually used to unlock a key on your own device, as with passkeys, rather than being sent to the website. That is a sensible, convenient design. The biometric never leaves your phone, and the cryptographic key does the real work.

Is it safe to share a 2FA code with someone who calls me?

No. Banks and legitimate services will not phone you and ask you to read out a code. A caller asking for one is almost certainly trying to sign in to your account as you. Hang up and contact the organisation using a number you look up yourself.

Sources and further reading

  1. Implementing Phishing-Resistant MFA (fact sheet) — Cybersecurity and Infrastructure Security Agency
  2. CISA Releases Guidance on Phishing-Resistant and Numbers Matching Multifactor Authentication — Cybersecurity and Infrastructure Security Agency
  3. Setting up 2-Step Verification (2SV) — UK National Cyber Security Centre
  4. Use Two-Factor Authentication to Protect Your Accounts — FTC Consumer Advice
  5. Criminals Increasing SIM Swap Schemes to Steal Millions of Dollars from US Public — FBI Internet Crime Complaint Center
  6. Passkeys — FIDO Alliance

Glossary terms

Keep reading