# What is two-factor authentication?

> Two-factor authentication asks for a second proof of identity, such as a text code, authenticator app or security key, after a password.

*It adds a second proof of identity to a password, and the FTC compares the common second factors and calls security keys the strongest method.*

- Type: Explainer
- Section: Tech
- By: Tech Desk
- Published: 2026-11-19T12:27:00-05:00
- Updated: 2026-11-19T12:27:00-05:00
- Checked: 2026-11-19T12:27:00-05:00
- URL: https://factsdesk.com/tech/what-is-two-factor-authentication/

## Key facts

- Two-factor authentication requires a credential from two of three categories, something you know, something you have and something you are, the FTC says. Source: [Federal Trade Commission, Consumer Advice](https://consumer.ftc.gov/articles/use-two-factor-authentication-protect-your-accounts). Confirmed 2026-11-19T12:27:00-05:00. Cite: https://factsdesk.com/tech/what-is-two-factor-authentication/#two-factor-authentication-requires-a-credential-from-two-of
- NIST defines two-factor authentication as proof of the possession of a physical or software token in combination with some memorized secret knowledge. Source: [National Institute of Standards and Technology, Computer Security Resource Center](https://csrc.nist.gov/glossary/term/two_factor_authentication). Confirmed 2026-11-19T12:26:00-05:00. Cite: https://factsdesk.com/tech/what-is-two-factor-authentication/#nist-defines-two-factor-authentication-as-proof-of-the
- The FTC says a one-time passcode sent by text message or email is better than nothing, but an authenticator app or security key is safer when the account offers one. Source: [Federal Trade Commission, Consumer Advice](https://consumer.ftc.gov/articles/use-two-factor-authentication-protect-your-accounts). Confirmed 2026-11-19T12:27:00-05:00. Cite: https://factsdesk.com/tech/what-is-two-factor-authentication/#the-ftc-says-a-one-time-passcode-sent-by-text-message-or
- The FTC describes security keys as the strongest method of two-factor authentication because they do not use credentials that hackers can steal. Source: [Federal Trade Commission, Consumer Advice](https://consumer.ftc.gov/articles/use-two-factor-authentication-protect-your-accounts). Confirmed 2026-11-19T12:27:00-05:00. Cite: https://factsdesk.com/tech/what-is-two-factor-authentication/#the-ftc-describes-security-keys-as-the-strongest-method-of

Two-factor authentication is a way to sign in that needs two separate proofs of identity. The two come from different categories, and the second can be a code sent to your phone, a code from an app or a physical security key. The National Institute of Standards and Technology (NIST) defines it as "Proof of the possession of a physical or software token in combination with some memorized secret knowledge." The [FTC](https://consumer.ftc.gov/articles/use-two-factor-authentication-protect-your-accounts) says a password alone is vulnerable because hackers use phishing, reused passwords from data breaches and password guessing.

## The three categories of sign-in proof

The FTC sorts authentication factors into three categories: something you know, something you have and something you are. A password, PIN or security question is in the first. A one-time passcode, an authenticator app or a security key is in the second. A fingerprint, face or retina is in the third. An account with two-factor authentication asks for a credential from two of the three categories.

## Common second factors compared

The FTC lists the common methods in the order below and says which of them it considers safer. The table follows that ranking.

| Second factor | What the FTC says about it | Source |
| --- | --- | --- |
| One-time passcode by text message or email | Typically six digits, good for one sign-in and expires automatically. Hackers can take over a phone number through a SIM card swap attack. It is better than nothing, but an app or key is safer when offered. | [FTC](https://consumer.ftc.gov/articles/use-two-factor-authentication-protect-your-accounts) |
| Authenticator app | Generates a passcode that is not exposed to a SIM card swap or to someone hacking your email. Some apps can also send a push notification to approve or deny a sign-in. | [FTC](https://consumer.ftc.gov/articles/use-two-factor-authentication-protect-your-accounts) |
| Security key | A physical device, plugged into USB or held near a phone for NFC. The FTC calls it the strongest method. | [FTC](https://consumer.ftc.gov/articles/use-two-factor-authentication-protect-your-accounts) |

The FTC names Google Authenticator, Microsoft Authenticator and Duo as examples of authenticator apps.

## What a reader meets next

**Text and email codes depend on another account.** A passcode sent by email is only as protected as the email account it arrives in. The FTC advises using a strong password and two-factor authentication on that email account too.

**Some sign-ins can be remembered.** After setup, many services offer to remember the device you use. The FTC advises allowing this only for your own devices, and not on a public computer such as one at a library.

**Scammers ask for the code.** The FTC warns that scammers try to trick people into giving up a verification passcode, whatever story they tell. A code should not be shared with anyone you did not contact first.

## How two-factor differs from multi-factor authentication

The FTC says two-factor authentication is "sometimes called two-step verification or multi-factor authentication," so the names overlap in everyday use. The FTC's own definition is the one used on this page: a credential from two of the three categories. Multi-factor authentication is covered on its [own page](/tech/what-is-multi-factor-authentication/). Hackers often try to get the password and the code by tricking the user, which is explained on the [phishing page](/tech/what-is-phishing/).

The FTC advises turning it on first for the most sensitive accounts, such as bank, email, social media, tax filing and payment apps, and then adding it to other accounts. The setting is usually called two-factor authentication, two-step verification or multi-factor authentication in the account settings.

## Sources

1. [Two-Factor Authentication (glossary term)](https://csrc.nist.gov/glossary/term/two_factor_authentication), National Institute of Standards and Technology, Computer Security Resource Center, 2026-11-19 (primary source)
2. [Use Two-Factor Authentication To Protect Your Accounts](https://consumer.ftc.gov/articles/use-two-factor-authentication-protect-your-accounts), Federal Trade Commission, Consumer Advice, 2022-09 (primary source)

## Asked next

- [What is multi-factor authentication?](https://factsdesk.com/tech/what-is-multi-factor-authentication/): Multi-factor authentication requires more than one distinct type of factor: something you know, something you have or something you are, per NIST.
- [What is phishing?](https://factsdesk.com/tech/what-is-phishing/): Phishing is a fraudulent solicitation in email or on a website that poses as a legitimate business to get sensitive data such as bank account numbers.
- [What is a botnet?](https://factsdesk.com/tech/what-is-a-botnet/): NIST defines a botnet as infected machines a criminal can remotely manage. CISA and the FBI list the signs of infection and the steps to remove one.
- [CrowdStrike says a Windows content update caused its July 2024 outage](https://factsdesk.com/tech/what-caused-the-crowdstrike-outage/): CrowdStrike's root cause analysis says a content update for its Windows sensor, released July 19, 2024, caused the widespread outage.
- [AWS says a DNS race condition in DynamoDB caused the October 2025 outage](https://factsdesk.com/tech/what-caused-the-aws-outage-in-october-2025/): AWS says a latent race condition in its DynamoDB DNS system left the us-east-1 endpoint with an empty DNS record on Oct. 19, 2025.
- [Is AI being used in cyber attacks?](https://factsdesk.com/tech/is-ai-being-used-in-cyber-attacks/): Yes, according to threat reports from Anthropic, OpenAI and Google, which say they found attackers misusing their AI models, and the UK NCSC's assessment.
