How to Set Up 2FA

Step-by-step 2FA setup for Google, Microsoft and Apple accounts, plus where the backup codes live once you are done.

Last updated: Sep 25, 2026 13:41:47

Setting up two-factor authentication takes about fifteen minutes for your three most important accounts, and it is the single highest-value security change most people can make. This guide is the practical sequence: what to prepare, the exact places to click for Google, Microsoft and Apple, how to store the recovery material, and how to prove it works before you need it.

One thing to know before you start: the platforms differ more than the marketing suggests. Google and Microsoft issue a Base32 key that any authenticator app can use. Apple does not — Apple’s two-factor is tied to trusted devices, and you cannot add an Apple ID to Google Authenticator. That difference shapes the whole setup, so it is worth reading the section that applies to you rather than skimming all three.

Before you start

  1. Pick one authenticator app and install it. Bitwarden, 1Password, Aegis, 2FAS, Microsoft Authenticator, Google Authenticator — any standard TOTP app works for the Google and Microsoft sections.
  2. Have somewhere to put backup codes. A password manager entry, or a printed sheet. Not a chat with yourself, not a screenshot in a synced photo library.
  3. Keep the old method working until the new one is confirmed. Do not remove SMS or the old app until a full login has succeeded with the new factor.
  4. Work on the account you can least afford to lose first — usually email. It is the recovery route for everything else.

Which app to choose

Any standards-compliant TOTP app produces identical codes for the same secret. The differences are in backup, export and where the secrets live:

App Best for Export / backup Watch out for
Bitwarden, 1Password, KeePassXC People already using a password manager Encrypted vault, exportable The app holding the codes is also the thing you log into — protect it with the strongest factor
Aegis (Android) Local-only, no cloud Encrypted plaintext-capable export Manual backups; nothing syncs for you
2FAS (iOS, Android) Cross-platform with encrypted backup Encrypted backup file Backup file is only as safe as where you put it
Google / Microsoft Authenticator Simplicity, platform integration Limited — no plaintext export Moving phones is harder; migration depends on the vendor’s flow
Passkey / security key Accounts that matter most Not applicable — key stays in hardware Register two keys, keep one off-site

If you already use a password manager, its built-in TOTP is usually the least friction and the most survivable choice. If you deliberately want secrets to live away from your password vault, Aegis or 2FAS with an encrypted backup is the sensible split.

If you want the strongest option

A FIDO2 security key (or a passkey) is the only factor that survives a well-built phishing page, because the credential is bound to the site’s domain. Setup is mechanically similar to an authenticator app but with one rule:

  1. Buy two keys. One that stays on your person, one stored somewhere safe. A single hardware key is a single point of failure.
  2. Register both on the same accounts, at the same time, while you still have access.
  3. Label them and test both before relying on either.
  4. Check platform support. Google, Microsoft, GitHub and Apple ID all support security keys; many banks still do not.

Google account

Google calls it 2-Step Verification, and it supports several second factors at once. You can enable more than one, which is the recommended setup: an authenticator app as the default, backup codes as the fallback, and a passkey or security key where available.

  1. Open your Google Account → Security → 2-Step Verification.
  2. Choose Authenticator (or “Set up authenticator”). A QR code appears.
  3. Scan it with your app. If scanning fails, choose “Can’t scan it?” and copy the Base32 setup key shown — this is the only time Google will display it.
  4. Enter the six-digit code the app shows to confirm.
  5. Still on the same screen, generate and save backup codes. They are single-use; ten of them cover ten emergencies.
  6. Optionally add a passkey or a security key. If offered, take it — it is the only factor that resists a phishing page.

Google also offers “Google prompts”, which send a tap-to-approve notification. They are convenient, but they are also the classic target of approval fatigue: if a prompt arrives when you are not logging in, someone already has your password. Deny it and change the password immediately.

Microsoft account

Personal Microsoft accounts and work accounts use the same idea but different menus, and work tenants may enforce number matching on push prompts.

  1. Go to account.microsoft.com → Security → Advanced security options.
  2. Under “Two-step verification”, choose Turn on, then Add a new way to sign in.
  3. Pick Authenticator app, then “I can’t scan the QR code” if you need the setup key as text.
  4. Confirm with the six-digit code from the app.
  5. Add a recovery method you can actually reach — a second email, or a phone number for account recovery only.

If you are on a work account, the organisation may require the Microsoft Authenticator app specifically and may disable SMS. Follow the prompt the tenant shows; it overrides the personal-account flow.

Apple ID

Apple’s two-factor authentication works differently, and this trips people up constantly. There is no Base32 key and no QR code, so you cannot enrol an Apple ID in Google Authenticator or any third-party app. Instead:

To check the setting: Settings → [your name] → Sign-In & Security → Two-Factor Authentication. If it says “On”, you are protected; the useful follow-up is confirming that your trusted phone number is current and that at least two devices are trusted.

The accounts worth doing next

After email and the platform accounts, these carry the most downstream risk:

Store the backup codes properly

This is the step that decides whether a lost phone is an inconvenience or a catastrophe:

Full details per platform: 2FA backup codes.

Prove it works before you need it

  1. Sign out completely — not just close the tab — and sign back in using the new factor.
  2. Test one backup code on a throwaway session, then generate a fresh set if the service consumed it.
  3. Check a second device: can you log in from a laptop if the phone is unavailable? If not, fix that before you rely on it.
  4. Confirm recovery details — the recovery email and phone number must be reachable and current.

When something goes wrong

Moving from SMS to an app

If you already have SMS codes, you are better off than with a password alone, but the upgrade is worth it:

  1. Add the authenticator app as an additional method — do not remove SMS yet.
  2. Sign in once using the app to confirm it works.
  3. Remove the SMS method only after a successful app login.
  4. Keep a recovery phone number on file for account recovery, even if it is not used for codes.

SMS remains vulnerable to SIM swapping, where an attacker ports your number and receives your codes. App-based TOTP has no such dependency.

Five setup mistakes that cost people accounts

  1. Skipping the backup codes. The single most common cause of permanent lockout. The codes take ten seconds to save and are gone from the screen forever.
  2. Saving the codes only on the phone. The phone is the device you are planning for the loss of. If the codes live there too, you have two copies of a single point of failure.
  3. Enabling 2FA on one account and stopping. The email account is the recovery path for everything else; an unprotected email quietly undoes the protection on ten other services.
  4. Keeping SMS as the only method. Better than nothing, but vulnerable to SIM swapping. Add an app, verify it works, then remove SMS.
  5. Never testing the flow. People discover the recovery path is broken at the worst possible moment. Sign out and back in once, on a second device, while everything still works.

The checklist

If you need a code while the app is elsewhere, the 2FA code generator runs entirely in your browser. For the concepts behind the codes, see what 2FA is.

Frequently asked questions

Which authenticator app should I use?

Any standards-compliant app produces identical codes. If you already use a password manager, its built-in TOTP is the least friction; otherwise Aegis or 2FAS with an encrypted backup is a good split.

Does Apple ID work with Google Authenticator?

No. Apple's two-factor authentication is tied to trusted devices and does not use a Base32 key, so an Apple ID cannot be enrolled in a third-party TOTP app.

Where are my Google backup codes?

In the 2-Step Verification settings, under Backup codes. They are generated on demand and shown once, so save them when they appear.

Do I need 2FA on every account?

Start with email, then banking and anything that can reset other accounts. Email matters most because it is the recovery route for almost everything else.

What if I lose the phone after setup?

Use a backup code first. If none are saved, use a signed-in session or the provider's recovery process - re-enrolling requires access you may no longer have.

Does 2FA slow down every login?

Not usually. Most services offer "remember this device" for 30 days, so the second factor is checked once per device rather than once per session.