A leaked password stops being a disaster when the account asks for a second proof of identity. Two-factor authentication (2FA, MFA or two-step verification, depending on the service) does exactly that: on top of the password, an attacker would also need your phone, your physical security key or your fingerprint. Below are the current paths in each service, checked against the official help pages, plus what to do when something goes wrong.
In this article
- What counts as a second factor
- Which method to choose
- Google Account (Gmail, YouTube, Drive, Android)
- Microsoft account (Outlook.com, Hotmail, Xbox, OneDrive)
- Instagram and Facebook (Accounts Center)
- iPhone and Apple Account
- At work: Microsoft 365
- Don’t lock yourself out
- If a step fails
- Frequently asked questions
What counts as a second factor
A sign-in is strong when it combines proofs of different kinds:
- Something you know: a password or PIN.
- Something you have: a phone with an authenticator app, or a USB/NFC security key.
- Something you are: a fingerprint or face, used to unlock a passkey.
Two passwords are not two factors: if both are written down in the same place, they’re lost together.
Which method to choose
| Method | Protection | When it makes sense |
|---|---|---|
| Passkey or FIDO2 security key | Very high | Main and admin accounts; it won’t work on a fake site |
| Authenticator app (code or approval on your phone) | High | The default for almost everyone |
| Text message or phone call | Medium | Only when it’s the only option; exposed to SIM swapping |
| Code by email | Low | Only as safe as the email account itself |
Rule of thumb: start with the strongest option the service offers and always register a second method as a backup. If you use text messages today you’re not doing it wrong (it beats having nothing), but move up when you can. Microsoft itself says on its two-step verification page that it will start phasing out SMS as a method for personal accounts.
Google Account (Gmail, YouTube, Drive, Android)
- Open
myaccount.google.comand go to Security & sign-in. - Under How you sign in to Google, select Turn on 2-Step Verification and follow the steps.
- Once it’s on, come back to the same area and add a passkey and Google Authenticator as extra methods.
On Android, the phone you’re already signed in on receives Google prompts: a notification asking whether it’s you trying to sign in, which you approve or deny. If the option doesn’t appear, the account is probably managed by a workplace or school, and the administrator controls it.
Microsoft account (Outlook.com, Hotmail, Xbox, OneDrive)
- Go to
account.microsoft.com/security. - Click Manage how I sign in.
- Under Additional security, next to Two-step verification, choose Turn on and follow the instructions.
Two details catch a lot of people out. First, older apps that only accept a username and password will start rejecting the correct password; for them there are App passwords, which only show up after you turn the feature on. Second, if you have no verification method available, Microsoft says regaining access can take 30 days, so make sure your alternate email and phone number are up to date before you start.
- On Android, tap the three-dot menu › Settings; on iPhone, tap Settings (the You tab on newer versions). Then go to Account › Two-step verification.
- Toggle on Turn on two-step verification.
- Create a strong password, confirm it and add an email address you actually check.
According to the WhatsApp Help Center, the old six-digit PIN is being upgraded to a password. If you already have a PIN you’re still protected and can update it from the same menu. This setting is what stops a scammer from registering your number on another phone using only the text-message code, the scenario described in WhatsApp cloned: how to tell and what to do.
Instagram and Facebook (Accounts Center)
- In Instagram, tap More (or the menu on your profile), then Settings.
- Open See more in Accounts Center, then Password and security.
- Tap Two-factor authentication, choose the account and pick a method.
Meta offers three methods: Authentication app (the recommended one), Text message and WhatsApp, which can only be added after text messages are on. The Instagram Help Center notes that the authentication app can only be set up from the Instagram app on Android or iPhone, not from a browser. Don’t tap Trust this device on a public or shared computer.
iPhone and Apple Account
- Open Settings and tap your name.
- Go to Sign-In & Security.
- If two-factor authentication is off, turn it on and follow the instructions.
Apple says most accounts already use the feature and that accounts created with it can’t turn it off (Apple Support). The six-digit code appears on your other Apple devices or is texted to your trusted phone number, so check that the number is still yours.
At work: Microsoft 365
- Without Entra ID P1/P2 licenses: use security defaults. In the Microsoft Entra admin center, go to Entra ID › Overview › Properties › Manage security defaults and set it to Enabled. This requires MFA for everyone and blocks legacy protocols (IMAP, POP3 and SMTP with basic authentication).
- With Business Premium or Entra ID P1: replace security defaults with Conditional Access policies, which allow controlled exceptions.
- Before switching it on, check printers and systems that send email over SMTP: they stop working once legacy authentication is blocked.
- Admins should have separate accounts for administration and for daily work, and Microsoft’s documentation also recommends two emergency access accounts.
Don’t lock yourself out
- Backup codes: generate them and keep them off your phone. In Google they’re on the 2-Step Verification page; if you lose the sheet, select Refresh to create a new set, and the old set stops working at once.
- Changing phones: in Google Authenticator, open the menu and use Transfer codes › Export codes on the old phone, then Transfer codes › Import codes › Scan QR code on the new one. Do this before you wipe the old phone. If your codes are synced to your Google Account, they come back when you sign in on the new phone.
- Always two methods: an app plus a passkey, or an app plus an up-to-date phone number.
- Store passwords and codes in a password manager, as explained in strong passwords and password managers.
If a step fails
- The app’s code is rejected: almost always, the phone’s clock is wrong. Turn on automatic date and time and try the next code.
- The text message doesn’t arrive: check the signal, whether messages from unknown senders are being filtered, and whether the registered number is your current one; use another method.
- The option doesn’t appear: work and school accounts follow the administrator’s policy.
- You’ve already lost access: use the service’s official recovery process and be wary of anyone who messages you offering to “recover your account”. If someone has already broken in, see email hacked: what to do.
Approval requests and codes are also targeted by fake sign-in pages; the warning signs are in how to spot phishing.
Frequently asked questions
Once it’s on, will I have to type a code every time I sign in?
No. Services ask for the second step on a new device or browser, after you sign out, or after a password change. On the device you use every day, the password or biometrics is usually enough.
I lost the phone with my authenticator app. What now?
Sign in with a backup code or your second registered method, remove the lost device in your security settings and change your password. With no method left, only the service’s account recovery process remains, and it can take days.
Does a passkey replace two-step verification?
In Google, signing in with a passkey skips the second step, because the passkey already combines your device with your biometrics or PIN. It can’t be typed into a fake site, which makes it the option most resistant to phishing.