Two-factor authentication (2FA) means a login needs two separate proofs: your password plus something only you have, like your phone or a security key. With two factor authentication explained in one line: a stolen password alone no longer opens the account.
Not all second factors are equal, though. An SMS OTP beats nothing. An authenticator app is stronger. A passkey is the strongest option most people can use today.
Key takeaway
- SMS OTP: easy and works on any phone, but a SIM swap or an OTP-sharing scam can defeat it. Use it only where nothing better is offered.
- Authenticator app: codes are made on your phone, so a SIM swap cannot intercept them. A fake login page can still trick you into typing one.
- Passkey or security key: the only common options that resist phishing, because they work only on the real website or app.
- Do this today: turn on 2-Step Verification for Google, two-step verification for WhatsApp, and save your backup codes somewhere offline.
SMS OTP vs authenticator app vs passkey compared
| Method | How you prove it is you | Stops a SIM swap? | Stops phishing? | Best for |
|---|---|---|---|---|
| SMS OTP | A 6-digit code texted to your number | No | No | Accounts that offer nothing else |
| Authenticator app | A code that changes every 30 seconds, made on your phone | Yes | No | Email, social media, crypto and work tools |
| Push prompt (e.g. Google prompts) | Tap Yes on a trusted phone | Yes | Partly (you still have to spot a fake request) | Google and Microsoft accounts |
| Passkey | Fingerprint, face or screen lock on your device | Yes | Yes | Google, WhatsApp, Amazon and more |
| Hardware security key | Plug in or tap a USB/NFC key | Yes | Yes | Journalists, admins, high-value accounts |
The US standards body NIST put this in writing in its 2025 digital identity guidelines. NIST SP 800-63B lists codes sent over the phone network as a “restricted” authenticator, and says any method where you type a code by hand is not phishing-resistant.
How two-factor authentication works
Security people group proofs into three types: something you know (password, PIN), something you have (phone, security key) and something you are (fingerprint, face). 2FA uses two different types. A password plus a security question is still one type, so it does not count.
The “something you have” is where the methods differ. With SMS, the proof is your phone number, which lives with your telecom operator. With an authenticator app or passkey, the proof is a secret stored on your actual phone, which never travels over the mobile network.
Why SMS OTP is the weakest second factor
An SMS OTP proves you control a phone number, not a phone. If someone convinces a retailer or a dodgy point-of-sale agent to issue a duplicate SIM in your name, your OTPs go to them. That is a SIM swap.
India has a safeguard: a 2022 Department of Telecommunications instruction bars incoming and outgoing SMS for 24 hours on a newly swapped SIM. That slows fraudsters, but only if you notice. If your phone suddenly shows no network for hours, call your operator from another phone straight away.
⚠️ Watch out for: the bigger risk in India is OTP sharing, not SIM swaps. A caller posing as your bank, a delivery agent or a KYC desk asks you to “confirm” a code. No real bank, Google or WhatsApp employee will ever ask for an OTP. If someone does, hang up.
Scam messages are also getting more polished, since AI chatbots write fluent English and Hindi. Our explainer on how large language models work covers why these tools sound so convincing. A typo-free message proves nothing about the sender.
Authenticator apps: stronger, but not phishing-proof
An authenticator app like Google Authenticator or Microsoft Authenticator stores a secret key when you scan a QR code. It then makes a fresh 6-digit code every 30 seconds, even offline. No SMS is sent, so a SIM swap gets the attacker nothing.
The weak spot is you. If a fake login page asks for the code, you can still type it in, and the attacker relays it to the real site within those 30 seconds. Use an app that backs up its keys (Google Authenticator can sync to your Google Account), or you will lose every code with your phone.

Passkeys: the strongest option you can set up today
A passkey replaces the password with a key pair stored on your phone or laptop. You open it with your fingerprint, face or screen lock. It works only on the real website or app it was made for, so a lookalike page gets nothing. Our guide on how passkeys work covers the key pair in detail.
Passkeys sync through Google Password Manager or iCloud Keychain, so a new phone signed in to the same account gets them back. If your phone is cheap and stops getting security updates after two years, that sync is only as safe as the device. We cover that in the hidden costs of a cheap smartphone.
How to set up 2FA on Google, WhatsApp and UPI apps
Google account
- Open your Google Account, tap Security & sign-in, and under “How you sign in to Google” choose Turn on 2-Step Verification.
- Pick Google prompts as the main second step. Google’s own help page says prompts help protect against SIM swap and other phone number attacks.
- Add a passkey from the same page. When you sign in with a passkey, Google skips the second step because the passkey already proves you hold the device.
- Download your 8-digit backup codes and keep them offline, in a notebook or a locked drawer.
Your Gmail account is also the key to your Google Photos and Drive backups. If you store ID scans or bank statements there, read our guide on whether cloud storage is safe too.
- Go to Settings > Account > Two-step verification and turn it on. WhatsApp is replacing the old 6-digit PIN with a longer password, so you may see either.
- Add an email address. It is your way back in if you forget the PIN or password.
- Then open Settings > Account > Passkeys and create a passkey, so re-registering WhatsApp on a new phone needs your fingerprint or screen lock instead of only an SMS code.
- Never share the 6-digit WhatsApp registration code. Anyone who gets it can move your account to their phone.
UPI payment apps
Google Pay, PhonePe, Paytm and other UPI apps follow the same model. UPI already uses two factors: the app is bound to your SIM and phone during setup, and every payment needs your UPI PIN. Your job is to keep both safe.
- Keep a phone screen lock on, and turn on the app lock option in the UPI app’s settings if it has one.
- Never type your UPI PIN to receive money. You only need it to send money or check your balance.
- Biometric UPI is optional. Under an NPCI circular from October 2025, banks and apps can let you approve payments up to ₹5,000 with your phone’s fingerprint or face recognition instead of the PIN.
- If you lose your phone, call your bank and block UPI first, then get a duplicate SIM.
💡 Expert tip: for your most important email account, set up two strong methods (say, a passkey on your phone and a passkey on your laptop) plus backup codes. Losing your only phone then becomes an annoyance, not a lockout.
Common 2FA mistakes
- Leaving SMS as a backup after adding a passkey. Attackers pick the weakest door. Remove the phone number where the service lets you, or at least keep backup codes ready.
- Not saving backup codes. Losing the phone with your only authenticator app is the most common way people lock themselves out.
- Approving a login prompt you did not start. If a prompt appears when you are not signing in, tap No and change your password.
- Using an old phone with no security updates as the device that holds your authenticator and passkeys.
- Forgetting the accounts that run your home. The Google or Amazon login behind your smart home setup controls cameras and locks, so give it 2FA too.
- Securing Gmail but not the recovery email. Whoever controls the recovery address can reset the main account.
Which second factor should you use?
Best for most people: passkeys wherever offered (Google, WhatsApp, Amazon), with an authenticator app for services that do not support them yet.
Not ideal for: SMS-only 2FA on email. Email resets every other password you own, so give it your strongest method.
Watch out for: elderly parents on SMS OTP. For them, the bigger win is teaching one rule: never read an OTP out to anyone on a call.
How we researched this
This guide is research-based. We read NIST SP 800-63B (2025 revision), Google Account Help, WhatsApp Help Center pages, the 2022 DoT SIM-swap instruction and NPCI’s October 2025 UPI circular, and checked the setup menus they describe. Menu names can change between app versions. Last checked: November 2026.
Frequently asked questions
What is two-factor authentication in simple words?
Two-factor authentication means logging in with two different kinds of proof, usually your password plus a code, prompt or passkey on your phone. Even if someone steals or guesses your password, they still cannot get in without the second proof that only you hold.
Is SMS OTP safe enough?
SMS OTP is better than no second factor and is fine for low-risk accounts. It can be stolen through a SIM swap or tricked out of you on a phone call, so use an authenticator app or a passkey for email, social media and anything tied to money.
Is an authenticator app better than SMS OTP?
Yes. Authenticator app codes are generated on your phone and never travel over the mobile network, so a SIM swap cannot intercept them. They can still be phished if you type a code into a fake site, which is why passkeys rank higher.
Do passkeys replace two-factor authentication?
A passkey covers both jobs. It proves you have the device and needs your fingerprint, face or screen lock to use it, so services like Google skip the separate second step when you sign in with one. Keep 2FA turned on for password logins.
What happens if I lose the phone with my authenticator app?
Use your saved backup codes or another method you set up, like a passkey on your laptop, to sign in. Then remove the lost phone from your account. Without backup codes or a second method, you face slow account recovery, so set them up now.
How do I know if my SIM has been swapped?
Your phone suddenly shows no network or emergency calls only while others nearby have signal, and the problem lasts. In India SMS is also barred for 24 hours on a new SIM. Call your operator from another phone at once and alert your bank.
Should I turn on two-step verification on WhatsApp?
Yes. It adds a password or PIN that WhatsApp asks for when your number is registered on a new phone. Even if a scammer gets your 6-digit SMS code, they cannot take over the account without that second secret. Add a recovery email too.
Is UPI protected by two-factor authentication?
Yes. UPI binds the app to your SIM and phone, and each payment needs your UPI PIN or, if you opt in, fingerprint or face approval for payments up to ₹5,000. Never share the PIN, and remember you never need it to receive money.
Our verdict
With two factor authentication explained, the order is simple: passkey first, authenticator app second, SMS OTP only where nothing else exists. Start with your main email account, since it can reset everything else, then WhatsApp, then any app that holds money.
The one warning: 2FA fails when you hand over the second factor yourself. No OTP, UPI PIN or WhatsApp code should ever be read out to a caller. Spend 15 minutes today setting up Google and WhatsApp, and save those backup codes.
