What is two-factor authentication?

DEFINITION

Two-factor authentication (2FA) requires a second proof of identity, like a code from an app or a security key, in addition to a password before allowing login.

Two-factor authentication adds a second step to signing in. Factors come from different categories: something you know (a password or PIN), something you have (a phone, authenticator app or hardware key) and something you are (a fingerprint or face scan). 2FA combines two of these, so a stolen password on its own is not enough to get in.

Common methods include text message codes, time-based codes from an authenticator app, push notifications, hardware security keys and passkeys. Multi-factor authentication (MFA) is the broader term for using two or more factors.

Why 2FA matters

Passwords leak all the time through data breaches, phishing and reuse across sites. Attackers feed leaked passwords into automated tools that try them on email, banking and business apps. With 2FA enabled, those attempts fail without the second factor, which is why it is one of the highest-impact, lowest-cost security steps a business can take.

Choosing the right method

Not all methods are equally strong. Text message codes are better than nothing but can be intercepted through SIM-swap fraud. Authenticator apps are a solid default for most accounts. Hardware security keys and passkeys are the strongest option because they are phishing-resistant: they only work on the genuine website. For example, a small agency might require authenticator apps for all staff and give hardware keys to the two people who manage the domain registrar, hosting and finance accounts, since those would cause the most damage if taken over. Store backup codes securely so a lost phone does not mean a lost account.

Best practices

  • Turn on 2FA first for email, since email is used to reset almost every other account.
  • Prefer authenticator apps, passkeys or security keys over SMS codes where available.
  • Save backup recovery codes in a password manager or secure physical location.
  • Enforce 2FA for all staff through your workspace admin settings rather than leaving it optional.

Common mistakes

  • Approving a push notification you did not trigger, which can let an attacker in.
  • Keeping recovery codes in the same email account that 2FA is protecting.
  • Enabling 2FA for staff accounts but forgetting shared or service accounts with admin rights.
Try it free: Password GeneratorGenerate strong, random passwords in your browser with length, symbols and numbers you choose. Nothing is sent or stored. Free and secure.

Frequently asked questions

Is 2FA the same as MFA?

2FA is a specific type of multi-factor authentication that uses exactly two factors. MFA covers two or more. In everyday use the terms are often interchangeable. What matters most is that the factors come from different categories, such as a password plus a physical key, rather than two passwords.

What happens if I lose my phone with 2FA?

Use the backup codes you saved when setting up 2FA, or a second registered method such as another security key. If you have neither, you will need the service's account recovery process, which can be slow. Many authenticator apps also support encrypted backups to help you move to a new phone.

Can two-factor authentication be hacked?

It can be bypassed in some cases, for example through real-time phishing that captures codes, SIM swapping for text messages, or tricking users into approving push prompts. Even so, it blocks the vast majority of password-based attacks. Phishing-resistant methods like passkeys and security keys close most of the remaining gaps.

Need help with this?

サイバーセキュリティ by VYZEON — ビジネス、データ、そしてお客様を守る。

Fixed packages from $199. Written scope, no surprises.

See サイバーセキュリティ

Related terms

More Security & cloud terms