Why a second factor matters
Passwords leak. They are stolen in breaches, captured by phishing pages and guessed when they are reused. Two-factor authentication (2FA), also called multi-factor authentication (MFA), adds a second proof that you are you, usually something you have, such as your phone or a hardware key. With 2FA on, a stolen password alone is no longer enough.
Attackers have adapted, though. Some methods can be intercepted or tricked out of you. Here is how the common options compare.
The methods, from weakest to strongest
SMS and voice codes
The service texts or calls you with a six-digit code. It is easy and works on any phone, which is why it is so widespread.
Weaknesses: phone numbers can be hijacked through SIM swapping, where a criminal persuades or bribes a carrier employee to move your number to their SIM card. Codes can also be phished: a fake login page asks for the code and the attacker uses it immediately. Text messages are not encrypted end to end.
Verdict: much better than nothing; replace it for important accounts when you can. In the US, you can reduce SIM-swap risk by setting a carrier account PIN and turning on any number-lock or port-out protection your carrier offers.
Authenticator apps (TOTP)
An app such as Google Authenticator, Microsoft Authenticator or a password manager generates a new six-digit code every 30 seconds from a secret shared when you scanned a QR code. The codes are generated on your device, so SIM swapping does not affect them.
Weaknesses: a convincing phishing page can still ask for the current code and relay it in real time. Losing the phone without a backup can lock you out.
Verdict: a solid default for most accounts. Turn on the app's backup or transfer feature, and keep recovery codes somewhere safe.
Push notifications
The service sends a prompt to an app on your phone: was this you? Tap Approve. Convenient, and the better versions show the location and a number you must match on screen.
Weaknesses: MFA fatigue attacks send prompt after prompt, often late at night, hoping you will tap Approve to make them stop. Number matching largely defeats this, which is why major providers have adopted it.
Verdict: good when number matching is on. Never approve a prompt you did not trigger; if one appears, change your password, because someone has it.
Hardware security keys
A small USB or NFC device, using the FIDO2 and WebAuthn standards, that you plug in or tap. The key performs a cryptographic check tied to the website's real domain.
Strengths: phishing-resistant. A fake website on a different domain cannot get a valid response from your key, no matter how convincing it looks. Nothing to type, nothing to intercept.
Weaknesses: costs money, and you must register a spare key in case you lose one.
Verdict: the strongest option for email, password managers, financial accounts and anyone at higher risk, such as journalists, executives and administrators.
Passkeys
Passkeys use the same phishing-resistant cryptography as security keys, but the key is stored on your phone or computer and unlocked with your fingerprint, face or device PIN. Many services let a passkey replace both the password and the second factor.
Verdict: excellent security with less friction than passwords. See our full passkeys guide.
Comparison at a glance
| Method | Resists SIM swap | Resists phishing | Ease |
|---|---|---|---|
| SMS or voice code | No | No | Very easy |
| Authenticator app | Yes | No | Easy |
| Push with number matching | Yes | Partly | Very easy |
| Hardware security key | Yes | Yes | Easy once set up |
| Passkey | Yes | Yes | Very easy |
US government guidance from the Cybersecurity and Infrastructure Security Agency (CISA) encourages phishing-resistant MFA, meaning security keys and passkeys, wherever it is available.
A practical plan
- Turn on any 2FA everywhere it is offered. Even SMS stops most automated attacks.
- Upgrade your critical accounts: primary email, Apple or Google account, password manager, bank and brokerage, mobile carrier, and work accounts. Use passkeys or security keys where supported, an authenticator app otherwise.
- Register two of everything. Two security keys, or a passkey plus an authenticator, so a lost device is an inconvenience rather than a lockout.
- Remove SMS as a fallback on accounts where you have a stronger method, if the service allows it. An attacker will always choose the weakest option you leave enabled.
- Save recovery codes in two independent places.
The habit that matters most
Whatever method you use, one rule covers most attacks: never read out, type in or approve a code or prompt you did not request yourself. Banks, carriers and tech support will never need the code from your authenticator or text message. If someone asks for it, they are trying to sign in as you.