Two-factor authentication guide: which method to use, and where to start
Updated 2026-09-13 · 5 min read
Key takeaway
Two-factor authentication means a stolen password is not enough to get into your account. The attacker also needs a second thing, such as a code from your phone, a tap on a security key or your face or fingerprint on a passkey. Any second factor stops most mass attacks on reused passwords.
The methods are not equal. Text message codes and app codes can be phished in real time, while passkeys and hardware security keys cannot. This guide ranks the options, explains passkeys in plain terms and gives you a setup order that protects the accounts that matter first.
The options, from weakest to strongest
- Text message or voice codes: easy and widely offered, but vulnerable to SIM swaps and phishing sites that relay the code.
- Email codes: only as strong as your email account's own protection.
- Authenticator app codes, such as Google Authenticator, Microsoft Authenticator, 2FAS, Aegis or Ente Auth: not tied to your phone number, but a fake site can still ask you to type the code.
- Push approval with number matching: you type a number shown on the login screen into the app, which defeats blind approve-spam attacks.
- Passkeys: a sign-in credential stored on your device or password manager, approved with your face, fingerprint or PIN, and tied to the real website.
- Hardware security keys: a physical FIDO key you tap or plug in. CISA calls FIDO the only widely available phishing-resistant authentication.
Why text message codes are weak, but better than nothing
A criminal who convinces your carrier to move your number to their SIM receives your codes. A phishing page can also ask for the code and use it within seconds. That is why NIST's digital identity guidelines treat phone network codes as a restricted method.
Still, text codes stop the huge volume of attacks that simply try leaked passwords. If a site only offers text codes, turn them on, and add a port-out lock with your carrier.
Passkeys: why a fake site gets nothing
A passkey is a pair of cryptographic keys. The website keeps the public half. The private half stays on your phone, computer or password manager, and you approve each sign-in with the same face, fingerprint or PIN you use for the device. Nothing reusable is typed or sent.
Your device only uses a passkey on the website it was created for. A look-alike domain cannot ask for it, so there is nothing for a phishing page to capture. That is the property text and app codes lack. Passkeys that sync through Apple, Google or a password manager also survive losing one device.
Setup order: protect the accounts that matter first
Primary email account, because it resets everything else.
Your password manager, if you use one.
Your Apple Account, Google Account or Microsoft account, which control your devices, backups and saved passwords.
Bank, brokerage, super or pension, and payment apps such as PayPal.
Your mobile carrier account, where you also set a port-out PIN or number lock.
Social media and shopping accounts that store cards.
Everything else, as you next log in.
Set it up without locking yourself out
Add at least two methods on each important account, such as a passkey and an authenticator app, or two security keys.
Download or print the backup codes and store them offline, with your important papers, not in your email.
Before logging out, test the new method by signing in from a private browser window.
If you move your authenticator app to a new phone, transfer the codes before wiping the old phone.
Review the trusted devices list on each account once a year and remove old ones.
Watch out
Security keys and Advanced Protection for high-risk people
Journalists, activists, political staff, executives and anyone being targeted should consider hardware keys. Apple's Security Keys for Apple Account need at least two FIDO Certified keys and iOS 16.3, iPadOS 16.3 or macOS Ventura 13.2 or later. On an iPhone, add them in Settings, tap your name, then Sign-In and Security, then Two-Factor Authentication, then Security Keys.
Google's Advanced Protection Program can be enrolled with passkeys or security keys. It lets only Google apps and verified third-party apps access your data, and account recovery takes extra steps. That friction is the point.
Choosing an authenticator app
- Google Authenticator and Microsoft Authenticator: widely supported, with optional backup to your Google or Microsoft account.
- 2FAS: free and open source on iPhone and Android.
- Aegis: free, open source and Android only, with encrypted local backups.
- Ente Auth: free, open source, and syncs encrypted codes across platforms.
- Your password manager's built-in code generator: convenient, but it puts both factors in one place, so keep email and the manager itself on a separate method.
Frequently asked questions
Is text message two-factor authentication better than nothing?
Yes. It blocks most automated attacks using leaked passwords. It is the weakest option, so switch to an authenticator app, passkey or security key wherever the site offers one.
What happens if I lose the phone with my authenticator app?
Use a backup code or your second method to sign in, then set up the app again on the new phone. If the app backed up to your Google or Microsoft account, restore it there. Without any backup, you face each site's account recovery process.
Are passkeys the same as two-factor authentication?
A passkey combines something you have, your device, with something you are or know, your face, fingerprint or PIN. Many sites treat it as a replacement for both the password and the second factor, and it resists phishing better than codes.
Should I keep two-factor codes in my password manager?
For ordinary accounts, it is convenient and much better than no second factor. For your email and the password manager itself, keep the second factor separate, such as a security key or authenticator app.
Do I really need a hardware security key?
Most people do not. Passkeys give similar phishing resistance with the devices you already own. Hardware keys make sense if you are a likely target or want a backup that does not depend on your phone.
Free tools for this
- Passkey ReadinessFind out whether this device can use passkeys, where yours would be stored, and which accounts to switch first.
- Password CheckerTest a password's real strength and find out if it has already leaked, without it ever leaving your device.
Related guides
- Password Manager Guide: How It Works and How to SwitchHow a password manager protects you, what happens if you forget the master password, browser built-in vs dedicated managers, and a safe step-by-step migration.
- What to Do After a Breach: Your Hour, Day and Month PlanWhat to do after a data breach: secure your email account first, then passwords, cards and credit. A first hour, day, week and month plan for US, AU and UK.
- Is My Data Exposed? Check Breaches, Leaks and BrokersIs your data exposed? Check your email and phone against breach data, spot leaked and scraped records, find broker listings and fix them in the right order.
- Data Removal Guide: Remove Your Info From the InternetA DIY data removal guide: find your listings, opt out of the brokers that matter, delist from Google, use DROP or GDPR rights, and compare paid services.
Sources
- CISA: Implementing phishing-resistant MFA
- NIST SP 800-63B: Authentication and Authenticator Management
- Apple Support: About Security Keys for Apple Account
- Google Account Help: Advanced Protection Program
- NCSC: Setting up 2-Step Verification
This guide is general information, not legal or financial advice. Last reviewed 2026-09-13. Spotted something out of date? Tell us.