What is 2FA (two-factor authentication)?
2FA, or two-factor authentication, means you need two different things to sign in: something you know, like a password, and something you have, like your phone. A stolen password alone is no longer enough.
Updated 2026-11-19
2FA meaning in one sentence
Two-factor authentication adds a second check after your password, usually a short code that changes every few seconds, so only the person holding your second factor can get in.
How 2FA works
- You type your username and password as usual.
- The site asks for a second proof: a 6-digit code, a tap on your phone or a security key.
- Only when both are correct are you signed in.
If someone steals or guesses your password, they still can't sign in without the second factor.
Types of 2FA
- Authenticator app (TOTP): apps like Google Authenticator, Microsoft Authenticator or 2FAS make a new 6-digit code every 30 seconds from a secret key. It works offline and is the most common choice.
- SMS or email codes: easy, but weaker. Text messages can be intercepted or redirected with a SIM swap.
- Push notifications: you approve the sign-in on your phone.
- Security keys and passkeys: a physical key or your device's built-in passkey. The strongest option against phishing.
2FA vs MFA vs 2-step verification
MFA (multi-factor authentication) means two or more factors, so 2FA is the most common kind of MFA. “2-step verification” is the name Google and others use for the same idea.
Where does the 2FA code come from?
With an authenticator app, the site gives you a secret key (shown as a QR code). Your app combines that key with the current time to calculate the code. Any app with the same key shows the same code, which is why you can also get a 2FA code online with Get2FA if you saved the key. Learn where to find your secret key.
Should you turn on 2FA?
Yes, especially for email, banking, crypto, social media and gaming accounts. Turn it on, save the backup codes the site gives you, and keep a copy of the secret key in a password manager so a lost phone doesn't lock you out.
Guides
- Where to find your 2FA secret key
- How to turn on Instagram 2FA with an authentication app
- How to set up Facebook 2FA with an authenticator app
- How to transfer Google Authenticator to a new phone
- 2FA code not working? Here's how to fix it
- Lost your phone with the authenticator app? What to do
- “Enter a 6-digit login code generated by an authentication app”: what to do
- Fortnite 2FA: how to enable it at fortnite.com/2fa
- What is TOTP? (and TOTP vs HOTP)
- Microsoft Authenticator not showing a code? Here's the fix
- How to set up Amazon Two-Step Verification with an authenticator app
- How to turn on PayPal 2-step verification with an authenticator app
- How to set up Coinbase 2FA with an authenticator app
- How to enable Discord 2FA with an authenticator app
- How to set up X (Twitter) 2FA with an authentication app
- How to set up TikTok 2-step verification with an authenticator app
- How to use any authenticator app with your Microsoft account
- How to set up GitHub 2FA with a TOTP app
- How to enable Binance 2FA with an authenticator app