Skip to content
Technology12 min read

Two-factor vs two-step verification: what's the difference?

Two-step verification counts the steps you take to sign in. Two-factor authentication counts the kinds of proof you give. Here is why that difference matters, which methods are strongest, and how to turn the right one on for Google, Apple, Microsoft and other accounts.

By

Editor

Published

Cover image for “Two-factor vs two-step”: Which one really protects your accounts, illustrated with a security code and a key.

The short answer

Two-step verification means signing in takes two steps, which may both be the same kind of proof, such as a password plus a security question. Two-factor authentication requires two different kinds of proof: something you know, something you have or something you are. All two-factor setups are two-step, but not every two-step setup is truly two-factor.

Your bank calls it two-step verification, your email provider calls it 2-Step Verification, Apple calls it two-factor authentication and your employer calls it MFA. Then someone tells you SMS codes do not count. So what is two-factor vs two-step verification, and does the difference change what you should switch on?

This guide explains the difference, the three authentication factors behind the terms, why some two-step setups are not true two-factor, and how the common methods compare against SIM swapping and phishing. It ends with setup steps for Google, Apple, Microsoft and other major accounts, plus the backup codes that keep you from being locked out.

What is two-factor vs two-step verification? The short answer

Two-step verification describes the process: you prove who you are in two separate steps. Two-factor authentication (2FA) describes the evidence: the two proofs must come from two different categories, or factors. A password followed by a security question is two steps, but both are things you know, so it is one factor used twice. A password followed by a code from an app on your phone is two steps and two factors.

That is why the standard definition is about factors, not steps. NIST's digital identity guidelines, SP 800-63B (opens in a new tab), say that at its second assurance level "Proof of possession and control of two distinct authentication factors is required." The word that matters is distinct. An attacker who steals or guesses one kind of proof should still be missing the other.

The three authentication factors

Security standards sort proof of identity into three categories. CISA's consumer page on multifactor authentication (opens in a new tab) uses the same three, with everyday examples:

  • Something you know (knowledge): a password, PIN or passphrase. NIST puts it plainly: "A password is 'something you know.'"
  • Something you have (possession): your phone with an authenticator app, a hardware security key, or a device that holds a passkey. NIST calls this kind of physical authenticator "something you have."
  • Something you are (inherence): a fingerprint, face scan or other biometric. In NIST's rules a biometric only works alongside a physical authenticator, never on its own.

Multi-factor authentication (MFA) is the umbrella term for using two or more of these categories. Two-factor authentication is simply MFA with exactly two. In practice, MFA, 2FA and two-factor authentication describe the same protection for personal accounts, while two-step verification is the looser term that may or may not meet the bar.

Why some two-step setups are not true two-factor

A setup can add a step without adding a new factor. These are the common cases:

  • Password plus security question. Both are things you know, and answers such as your first school or your mother's maiden name can often be guessed or looked up. NIST's current guidelines tell services not to prompt people to use knowledge-based authentication or security questions when choosing passwords, and security questions are not among the authenticator types NIST permits for two-factor sign-in.
  • Password plus a code sent to your email. The inbox is often protected only by a password, and if you reuse passwords, an attacker who has one may have both. NIST is blunt: "Email SHALL NOT be used for out-of-band authentication."

The reverse also happens: a single step can be multi-factor. NIST notes that "A multi-factor authenticator requires two factors to execute a single authentication event," which is how passkeys work. You tap one prompt, but behind it your device proves possession of a secret key and checks your fingerprint, face or screen lock before using it. Google's help page says that "When you sign in with a passkey, it bypasses your second authentication step" for this reason (Google (opens in a new tab)).

The labels are not a reliable guide either. Google's feature is called 2-Step Verification (opens in a new tab), yet a password plus a prompt on your phone is genuine two-factor. Microsoft's help page describes "Two-step verification (sometimes called multi-factor authentication)" and explains that it combines your password with a contact method (Microsoft (opens in a new tab)). Apple uses the term two-factor authentication (opens in a new tab). Look at the method, not the name.

Which two-factor methods are strongest? A comparison

Not all second factors stop the same attacks. The biggest dividing line is phishing resistance. NIST defines phishing-resistant authentication as methods that "prevent the disclosure of authentication secrets and valid authenticator outputs to an impostor verifier," and it says any method where you type a code in by hand is not phishing-resistant, because the manual entry does not bind the code to the specific session being authenticated.

Second-factor methods ranked: passkeys and hardware security keys are phishing-resistant; authenticator apps and push prompts are good but phishable; SMS codes are weaker; email codes are a last resort.
Two-factor methods ranked by strength, with the main weakness of each.
Second-factor methods compared by strength and main weakness
MethodFactorPhishing-resistant?Main riskUse it when
SMS or voice codeHave (phone number)NoSIM swap, port-out fraud, codes typed into fake sitesNothing better is offered; better than no 2FA
Email codeDepends on your inboxNoInbox compromise; NIST bars email for this purposeOnly as a last resort or for recovery
Authenticator app (TOTP)Have (phone or computer)NoCodes can be phished in real timeA good default for most accounts
Push prompt (tap to approve)Have (signed-in phone)NoPush bombing until you tap approveFine if it uses number matching and you never approve prompts you did not start
Hardware security keyHave (plus a PIN or touch)YesLosing the key without a backupEmail, financial and high-value accounts
PasskeyHave plus device unlock (are or know)YesLosing every device and the account that syncs itAny account that offers it
Backup codesHave (printed or saved codes)NoTheft of the paper or fileRecovery only, stored offline

Text messages and voice calls

A code sent to your phone number is still two-factor, because it proves you control the number. The problem is that phone numbers can be stolen. NIST treats it as a restricted method: "Use of the PSTN for out-of-band verification is restricted," meaning services that offer it must give you a non-restricted alternative and warn you about the risks. Google's own setup page notes that text and voice codes can be vulnerable to phone number-based hacks. CISA's mobile security guidance for highly targeted people goes further: "Do not use SMS as a second factor for authentication" (CISA (opens in a new tab)).

Authenticator apps and TOTP codes

Apps such as Google Authenticator, Microsoft Authenticator and many password managers generate time-based one-time passwords (TOTP). The phone and the service share a secret when you scan the setup QR code, and both compute a fresh six-digit code from it and the current time. The algorithm is defined in RFC 6238 (opens in a new tab), which recommends a 30-second time step. Because nothing travels over the phone network, SIM swapping does not help an attacker, and Google notes its Authenticator app (opens in a new tab) can still generate codes without an internet connection or mobile service. The weakness: you can still type a valid code into a convincing fake login page.

Push prompts and push bombing

Push prompts ask you to tap approve on your phone. They are convenient, but CISA's number matching fact sheet (opens in a new tab) describes MFA fatigue, or push bombing, where an attacker who already has your password floods you with prompts until you approve one by accident or out of annoyance. Number matching, where you type a number shown on the login screen into the app, defeats that trick. CISA recommends (opens in a new tab) it while noting it "is not as strong as phishing-resistant MFA."

Security keys and passkeys

Hardware security keys and passkeys both use FIDO standards. Instead of a code you can read out, your device signs a challenge with a private key that is tied to the real website's address, so a look-alike site gets nothing it can reuse. The FIDO Alliance (opens in a new tab) says "passkeys are always strong and phishing-resistant," and that they can be synced across your devices or bound to one device or security key. CISA's MFA page names FIDO/WebAuthn as the only widely available phishing-resistant option. Synced passkeys are protected by the cloud account that syncs them, so that account needs strong protection too.

SIM swapping and phishing: how attackers get past weak two-step

SIM swapping and port-out fraud target the phone number itself. The FCC's guide to cell phone fraud (opens in a new tab) explains that scammers may start a porting request to move your number to a device they control, or steal a physical SIM, after which "the scammer can gain control over the victim's private texts and calls" and try to reset your financial and social media accounts. Every SMS code then goes to them. CISA's advice for reducing this risk: "Add a PIN and MFA to your mobile carrier account."

Real-time phishing targets any code you can type. A fake login page asks for your password, passes it to the real site, then asks for your code and passes that on too, all before the code expires. Generative AI makes convincing fake pages and lure emails cheaper to produce; for how AI is changing both attacks and defenses, see AI and cybersecurity.

Social engineering skips the technology altogether. Someone calls posing as your bank or a tech company and asks you to read back the code you just received. The FTC's rule is simple: "Anyone who asks you for your account verification code is a scammer" (FTC (opens in a new tab)). The same pressure tactics show up in cloned-voice calls, which we break down in our guide to AI voice cloning scams.

How to turn on two-factor authentication for major accounts

Start with your main email account, because it can reset almost everything else, then your Apple or Google account, your bank, and your password manager. Menu names below are taken from each company's help pages as of November 2026 and may shift slightly between app versions.

Google Account and Gmail

  1. Go to myaccount.google.com and open Security & sign-in.
  2. Under "How you sign in to Google," select Turn on 2-Step Verification and follow the steps (Google (opens in a new tab)).
  3. In the 2-Step Verification settings, add stronger methods: Google prompts, an authenticator app, a passkey or a hardware security key. Keep text or voice codes as a backup at most.
  4. Under Backup codes, generate a set and store it offline (see below).

Apple Account on iPhone, iPad and Mac

  1. On iPhone or iPad, open Settings, tap your name, then Sign-In & Security. On a Mac, open System Settings, click your name, then Sign-In & Security.
  2. Turn on two-factor authentication if it is not already on and follow the prompts (Apple (opens in a new tab)). Apple says it is the default security method for most accounts. If your account was created with it, it can't be removed, and if you turned it on yourself you can only switch back within two weeks.
  3. Optional but strong: add security keys under Two-Factor Authentication then Security Keys. Apple requires you to "add and maintain at least two security keys," and warns that losing all trusted devices and keys could lock you out permanently (Apple (opens in a new tab)).

Microsoft account (Outlook, Xbox, Windows)

  1. Sign in at account.microsoft.com/security and select Manage how I sign in.
  2. Under Additional security and Two-step verification, choose Turn on and follow the steps (Microsoft (opens in a new tab)).
  3. Set up the Microsoft Authenticator app as your main method. Microsoft says it will start "phasing out SMS as a method of authentication and account recovery for personal Microsoft accounts."
  4. If an older app or device then rejects your password, create an app password in the App passwords section that appears once two-step verification is on.

Other accounts: banks, social media, shopping and developer tools

Most services put the setting under Security, Password and security, Sign-in and security or Login settings. Choose methods in this order where offered: passkey or security key, then an authenticator app, then push prompts, and SMS only if nothing else exists. GitHub is a typical example: under Settings then Password and authentication, it lets you enable a TOTP app or SMS, then add passkeys and security keys, and it recommends a TOTP app over SMS because SMS is more easily intercepted (GitHub Docs (opens in a new tab)). Do not forget your mobile carrier account itself: a PIN there is your main defense against SIM swapping.

Backup codes and account recovery: do this before you need it

Two-factor authentication works by locking out anyone without your second factor, including you if your phone is lost, stolen or reset. NIST's guidelines list binding multiple authenticators to an account as a way to support recovery, and the same logic applies to you: always have at least two ways in.

  • Google backup codes: in 2-Step Verification, under Backup codes, you get sets of 10 codes. "After you use a backup code to sign in, that code becomes inactive," and creating a new set deactivates the old one (Google (opens in a new tab)).
  • Microsoft recovery code: on the Manage how I sign in page, select Generate a new code to get a 25-digit recovery code. Generating a new one means "any previous codes will no longer work" (Microsoft (opens in a new tab)).
  • Apple: keep a second trusted device or trusted phone number, and if you use security keys, store the second key somewhere separate from the first.
  • Everywhere else: download recovery codes when the setup screen offers them, as GitHub's flow requires, and register a second security key or passkey where possible.
  • Storage: print codes and keep them with important papers, or save them in a password manager that is itself protected by strong 2FA. Do not keep them only on the phone they are meant to replace.
  • Authenticator apps: turn on the app's backup or sync, such as Google Authenticator syncing codes to your Google Account, so a new phone does not mean starting from scratch.

Which should you choose?

The real question is which second factor. Use passkeys or security keys for email, banking and your password manager, an authenticator app where those are not offered, and SMS only as a fallback. Any second factor beats a password alone: CISA says users who enable MFA are "significantly less likely to get hacked."

The bottom line

Two-step verification only promises two steps; two-factor authentication promises two different kinds of proof. Check what each account actually asks for, move from SMS to an authenticator app, security key or passkey, set up backup codes today, and never read a code to a caller. For more practical guides to the devices and settings you use every day, browse our technology hub.

Common questions

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

Not strictly. Two-step only promises two steps, while two-factor requires two different kinds of proof. Many companies use the names interchangeably, and Microsoft's own help page calls two-step verification "sometimes called multi-factor authentication," so check which methods an account actually offers rather than going by the label.

Is SMS a form of two-factor authentication?

Yes, a text message code counts as something you have, so a password plus an SMS code is two-factor. It is the weakest common form, though: NIST lists phone-network codes as a restricted authenticator, and SIM swapping or a fake login page can capture the code. Use an authenticator app, security key or passkey where you can.

What is the most secure form of two-factor authentication?

Phishing-resistant methods built on FIDO standards: hardware security keys and passkeys. CISA calls FIDO/WebAuthn the only widely available phishing-resistant option, and its guidance for high-risk people names hardware FIDO keys as the most effective choice, with passkeys an acceptable alternative.

Is a passkey two-factor authentication?

Effectively, yes, in a single step. A passkey proves you have the device that holds it, and your device asks for your fingerprint, face or screen lock before using it. Google says signing in with a passkey bypasses the separate second step because the passkey already confirms you have your device.

What happens if I lose my phone with two-factor authentication on?

You sign in with a backup method: a backup code, a second security key, another trusted device or a backup phone number. Set these up before you need them. Google gives you sets of 10 one-time backup codes, and Microsoft offers a 25-digit recovery code.

Sources

  1. NIST SP 800-63B-4: Digital Identity Guidelines, Authentication and Authenticator Management, National Institute of Standards and Technology
  2. More than a Password: Protect Yourself from Malicious Hackers with Multifactor Authentication, Cybersecurity and Infrastructure Security Agency
  3. CISA Releases Guidance on Phishing-Resistant and Numbers Matching Multifactor Authentication, Cybersecurity and Infrastructure Security Agency
  4. Implementing Number Matching in MFA Applications (fact sheet), Cybersecurity and Infrastructure Security Agency
  5. Mobile Communications Best Practice Guidance, Cybersecurity and Infrastructure Security Agency
  6. Passkeys, FIDO Alliance
  7. Cell Phone Fraud, Federal Communications Commission
  8. What's a verification code and why would someone ask me for it?, US Federal Trade Commission
  9. RFC 6238: TOTP: Time-Based One-Time Password Algorithm, Internet Engineering Task Force
  10. Turn on 2-Step Verification, Google Account Help
  11. Sign in with backup codes, Google Account Help
  12. Get verification codes with Google Authenticator, Google Account Help
  13. Two-factor authentication for Apple Account, Apple Support
  14. About Security Keys for Apple Account, Apple Support
  15. How to use two-step verification with your Microsoft account, Microsoft Support
  16. How to get a Microsoft account recovery code, Microsoft Support
  17. Configuring two-factor authentication, GitHub Docs

About Marcus E.

Qualified software engineer with 10+ years of experience building payments and machine learning infrastructure

Marcus is a qualified software engineer who spent 10+ years building payment and machine learning infrastructure before joining GeeklyPlug. He writes AI and technology guides, with a focus on models, machine learning and the tools developers use.

two-factor authenticationaccount securitypasskeysmfahow-to

Keep reading

More from Technology, then the rest of the archive.