---
title: "How two factor authentication works, and which method is safest"
url: https://protergates.com/guides/two-factor-authentication-methods-compared/
published: 2026-11-10
updated: 2026-11-10
---

# How two factor authentication works, and which method is safest

> Two factor authentication stops most account takeovers, but the methods are not equal. Here is how SMS codes, authenticator apps, passkeys and security keys compare, and which to use.

- URL: https://protergates.com/guides/two-factor-authentication-methods-compared/
- Section: Guides
- Author: Giorgi Beridze, Technology Solutions Architect (https://protergates.com/expertise/#giorgi-beridze)
- Published: 2026-11-10
- Last updated: 2026-11-10
- Topics: two factor authentication, passkeys, passwords, account security
- Reading time: 7 min
- Cite as: Giorgi Beridze, "How two factor authentication works, and which method is safest", Protergates, November 10, 2026, https://protergates.com/guides/two-factor-authentication-methods-compared/

## In short

**Two factor authentication** (also called two step verification or multifactor authentication, MFA) means your account asks for **two different kinds of proof** before letting you in: usually your password plus something only you have, such as your phone or a small security key. If a criminal steals or guesses your password, they still cannot log in.

The methods are not equally strong. The US Cybersecurity and Infrastructure Security Agency (CISA) ranks them, from most to least secure, as: **security key**, **authenticator app with number matching**, **authenticator app with a one time code**, and finally **text or email codes**, which it calls the weakest. **Passkeys** belong at the top with security keys, because both resist phishing.

The practical rule: **turn on any two factor method today, then upgrade to a passkey or security key** on the accounts that matter most.

## How two factor authentication works

Security people talk about three kinds of proof, called factors:

- **Something you know:** a password or PIN.
- **Something you have:** your phone, a security key, or a passkey stored on your device.
- **Something you are:** your fingerprint or face.

A password alone is one factor. If it leaks in a data breach or you type it into a fake website, it is gone. Two factor authentication adds a second, different kind of proof. Stealing one is no longer enough.

Here is what a typical login looks like:

1. You type your email and password.
2. The site asks for a second step, such as a six digit code from your phone or a tap on a security key.
3. Only when both are correct does it let you in.

Most services remember a trusted device, so you will not see the second step every time on your own phone or laptop. You will see it when someone, or something, tries to log in from a new device.

## The four main methods, explained

### SMS and email codes

The site texts or emails you a short code, and you type it in.

**Good:** easy, works on any phone, nothing to install.

**Weak spots:** a scammer can trick you into reading the code out, or forward you to a fake login page that passes your code straight to the real site. Criminals can also take over your phone number by talking your carrier into moving it to their SIM card, a trick called **SIM swapping**. Email codes are only as safe as your email account.

### Authenticator apps

An app on your phone, such as Google Authenticator, Microsoft Authenticator or the one built into many password managers, creates a new six digit code every 30 seconds. Some services instead send a **push prompt** to the app that you approve.

**Good:** no phone network involved, so SIM swapping does not help an attacker. Codes are created on your device.

**Weak spots:** you can still be tricked into typing a code into a fake site. Plain "Approve or deny" push prompts can be abused by sending many prompts until a tired person taps Approve, which CISA calls **push bombing**. Prompts with **number matching**, where you type a number shown on the login screen, block that.

### Passkeys

A passkey replaces your password with a pair of digital keys. One half stays on your phone, computer or password manager, and you unlock it with your fingerprint, face or screen lock. The website only holds the other, public half.

**Good:** there is nothing to type, so there is nothing to phish. A passkey only works on the real website it was made for, so a lookalike site gets nothing. It combines something you have (the device) with something you are or know (your face, fingerprint or PIN).

**Weak spots:** not every site supports passkeys yet, and you need a plan for a lost device. Passkeys saved to your Apple, Google or password manager account sync across your devices, which helps. Our guide on [how to switch to passkeys](https://protergates.com/guides/how-to-switch-to-passkeys/) covers setup.

### Physical security keys

A small USB or NFC device, such as a YubiKey or Google Titan key, that you plug in or tap against your phone. It uses the same phishing resistant standard as passkeys, called **FIDO**.

**Good:** CISA describes it as the best protection against phishing. The secret never leaves the key, and malware on your computer cannot copy it.

**Weak spots:** it costs money, you need to carry it, and you should buy two so you have a backup.

## Side by side

| Method | Resists phishing? | Resists SIM swapping? | Cost | Ease of use | Best for |
|---|---|---|---|---|---|
| Text or email code | No | No (text) | Free | Very easy | Accounts with no other option |
| Authenticator app code | No | Yes | Free | Easy | Most everyday accounts |
| App push with number matching | Partly | Yes | Free | Very easy | Work and Microsoft or Google accounts |
| Passkey | Yes | Yes | Free | Very easy | Email, Apple, Google, shopping, social media |
| Security key | Yes | Yes | One time purchase per key | Easy once set up | Email, banking, admin and high risk accounts |

Security key prices vary by model and retailer, so compare before buying, and plan to buy two.

## Which method should you choose?

Think in layers rather than perfection.

1. **Any method is better than none.** CISA is clear on this. If a bank only offers text codes, use text codes.
2. **For most accounts, use an authenticator app** instead of text messages when the site offers it.
3. **For your most important accounts, use passkeys or security keys.** Start with your **main email account**, because whoever controls your email can reset almost every other password. Then your Apple or Google account, your password manager, banking and social media.
4. **Keep a backup method** on every account: backup codes, a second passkey on another device, or a second security key.

## How to turn it on

The exact menus differ, but the pattern is the same almost everywhere:

1. Sign in on the website or app and open **Settings**, then **Security** (sometimes **Sign-in and security** or **Privacy and security**).
2. Look for **Two-step verification**, **Two-factor authentication**, **Multifactor authentication** or **Passkeys**.
3. Choose your method. If offered, pick a passkey or security key first, then an authenticator app.
4. **Save the backup codes** somewhere safe, such as your password manager or a printed copy at home.
5. Add a second method if the site allows it.

If you cannot find the setting, search the site's help pages for "two-step verification". Our hint on [letting a password manager remember your passwords](https://protergates.com/hints/let-a-password-manager-remember-your-passwords/) explains how a manager can also store passkeys and codes.

## A 20 minute plan for the accounts that matter most

You do not need to fix every account tonight. Work down this list, one account at a time:

| Order | Account | Aim for |
|---|---|---|
| 1 | Main email (Gmail, Outlook, iCloud Mail) | Passkey or security key, plus backup codes |
| 2 | Apple Account or Google Account | Passkey, with a trusted second device |
| 3 | Password manager | Passkey, security key or authenticator app |
| 4 | Bank and payment apps | The strongest option the bank offers |
| 5 | Social media and messaging | Passkey or authenticator app |
| 6 | Shopping and everything else | Any two factor method |

Email comes first because password resets for almost everything else go to your inbox. If a criminal controls your email, they can quietly take over the rest.

As you go, write down which method each account uses and where its backup codes are stored. A password manager is a good place for that list. When you replace your phone, check this list before you wipe the old one, so you can move authenticator apps and passkeys across first.

## Common mistakes

- **Reading a code to someone who calls you.** No real bank or tech company will ask for your login code. Anyone who does is trying to get into your account.
- **Tapping Approve on a prompt you did not expect.** If you were not logging in, tap Deny and change your password.
- **Not saving backup codes.** A lost or broken phone is the most common way people lock themselves out.
- **Protecting everything except email.** Your inbox is the master key. Protect it first and best.
- **Using the same phone number for everything without a carrier PIN.** Ask your mobile carrier about a port out or account PIN to make SIM swapping harder.
- **Assuming two factor makes a weak password fine.** Use a unique password too, so a breach on one site cannot spread.

## What two factor authentication does not do

It protects **logging in**. It does not stop malware already on your device, a scam where you send money willingly, or a website that leaks your data from its own servers, as happened when the [PHP2Shell flaws](https://protergates.com/case-studies/php2shell-php-vulnerabilities-explained/) put many web servers at risk. Keep your devices updated, be suspicious of urgency, and [learn the signs of phishing](https://protergates.com/hints/how-to-spot-a-phishing-email-or-text/).

## The short version

Two factor authentication adds a second lock that a stolen password cannot open. Text codes are the weakest but still worth having. Authenticator apps are a solid upgrade. Passkeys and security keys are the strongest because they cannot be phished. Turn something on today, start with your email, save your backup codes, and upgrade your most important accounts to passkeys or keys.

## Frequently asked questions

**Q: What is two factor authentication?**

A: It is a login that asks for two different kinds of proof, usually something you know, like a password, plus something you have, like your phone or a security key. A stolen password alone is then not enough to get in.

**Q: Which two factor method is the safest?**

A: Phishing resistant methods are the safest: passkeys and physical security keys. CISA ranks a security key as the most secure option and text or email codes as the weakest.

**Q: Is SMS two factor authentication still worth using?**

A: Yes, if it is the only option. CISA says any MFA is better than none. Text codes can be phished or stolen through SIM swapping, so switch to an app, passkey or key when the account offers one.

**Q: Are passkeys the same as two factor authentication?**

A: A passkey replaces the password and already combines two factors: the device that holds the passkey and your fingerprint, face or screen lock to unlock it. It also resists phishing because it only works on the real website.

**Q: What happens if I lose my phone with my authenticator app?**

A: You use the backup codes you saved when you turned on two factor authentication, or a second method you set up. Without either, you may face a slow account recovery process, so save backup codes before you need them.


## Sources

1. [CISA: Require Multifactor Authentication](https://www.cisa.gov/audiences/small-and-medium-businesses/secure-your-business/require-multifactor-authentication)
2. [CISA: Implementing Phishing-Resistant MFA](https://www.cisa.gov/sites/default/files/2023-01/fact-sheet-implementing-phishing-resistant-mfa-508c.pdf)
3. [CISA: More than a Password](https://www.cisa.gov/MFA)
4. [FTC Consumer Advice: Use Two-Factor Authentication to Protect Your Accounts](https://consumer.ftc.gov/articles/use-two-factor-authentication-protect-your-accounts)
