Quick answer
Two-factor authentication adds a second check, like a code or a tap on your phone, when you sign in, so a stolen password alone isn't enough. Turn it on in each account's security settings, starting with your email, Apple, Google or Microsoft account, banking and social media. An authenticator app or passkey is safer than text message codes, and always save your backup codes somewhere safe.

If someone steals or guesses your password, two-factor authentication (2FA), also called two-step verification, can stop them getting into your account. It's one of the most effective things you can do to protect yourself online, and it takes a few minutes per account.
How it works
When you sign in, you prove who you are in two ways:
- Something you know: your password
- Something you have: your phone, a security key or a passkey
So even if a criminal has your password, they can't get in without your phone or key.
Which accounts to protect first
- Your main email account. It's used to reset all your other passwords.
- Apple, Google or Microsoft account
- Banking and payment apps (many already require extra checks)
- Social media and messaging (Facebook, Instagram, WhatsApp, X, TikTok)
- Shopping accounts with saved cards (Amazon, eBay)
- Work accounts, following your employer's setup
The main types of 2FA
Text message (SMS) codes
A code is sent to your phone by text.
- Pros: easy, works on any phone.
- Cons: codes can be intercepted, and criminals can sometimes take over your number through "SIM swap" fraud.
- Verdict: much better than nothing, but use something stronger where you can.
Authenticator apps
An app on your phone generates a new code every 30 seconds, such as Google Authenticator, Microsoft Authenticator or the authenticator built into many password managers.
- Pros: more secure than text messages, works without phone signal.
- Cons: if you lose your phone without a backup, recovery can be harder. Choose an app that backs up your codes securely.
Push notifications
The service sends a "Is this you trying to sign in?" prompt to your phone.
- Pros: quick and easy.
- Cons: criminals may send repeated prompts hoping you tap "Yes" by mistake. Never approve a sign-in you didn't start.
Passkeys
Sign in with your fingerprint, face or device PIN. Passkeys resist phishing and are the most convenient strong option. See our guide to passkeys.
Physical security keys
A small USB or NFC key that you tap or plug in.
- Pros: very strong protection against phishing.
- Cons: costs money, and you need a backup key in case you lose one.
- Good for: people at higher risk, such as public figures, journalists and business owners.
How to turn on 2FA
The steps vary, but generally:
- Sign in to the account on a computer or in the app
- Go to Settings → Security (sometimes "Sign-in" or "Privacy and security")
- Find "Two-step verification" or "Two-factor authentication"
- Choose your method (authenticator app or passkey if available)
- Follow the steps, usually scanning a QR code with your authenticator app
- Save your backup codes (see below)
Don't get locked out: backup codes
Most services give you backup or recovery codes when you set up 2FA. Each code works once if you lose your phone.
- Print them and keep them somewhere safe at home, or
- Store them in your password manager
- Don't keep them only on the phone you use for 2FA
Also add a recovery email and phone number, and keep them up to date.
Getting a new phone
Before you wipe or trade in your old phone:
- Transfer your authenticator app codes to the new phone (many apps have a transfer or cloud backup option)
- Check you can sign in to important accounts on the new phone
- Then reset the old one
Common worries
"It's a hassle every time I sign in." Most services remember trusted devices, so you'll only be asked occasionally.
"What if I'm abroad without signal?" Authenticator apps and passkeys work without phone signal. Text codes may not.
"What if someone tells me to share a code?" Never share a 2FA code with anyone, even if they claim to be from your bank or the company. See our guide to spotting scams.
Where to start
- 2FA on your main email account first
- Authenticator app or passkey where available
- Backup codes saved somewhere safe
- Recovery email and phone up to date
- Never approve sign-ins you didn't start
- Plan your move before changing phones
Wrapping up
Two-factor authentication turns a stolen password from a disaster into a non-event. Spend half an hour turning it on for your most important accounts, choose an authenticator app or passkey where you can, and keep your backup codes safe.