Skip to content
Free Tech Support
Menu

Accounts & Passwords

How to Set Up Two-Factor Authentication on Your Most Important Accounts

Written by Free Tech Support Editorial Team · Updated

A combination padlock lying on a computer keyboard
Photo: perspec_photo88, CC BY-SA 2.0, via Openverse

If you want to set up two-factor authentication (2FA), this guide walks you through it on the accounts that matter most: Microsoft, Google, Apple and Facebook. 2FA adds a second check after your password, such as a code from an app or a tap on your phone. Even if a criminal steals or guesses your password, they still cannot get in without that second step. Each account takes about five minutes.

This is an independent guide. For account problems you cannot solve yourself, use each company’s own support site.

Before you start: three things to have ready

  1. Your phone, charged and unlocked. It will receive codes or prompts.
  2. A safe place for backup codes. A printed sheet kept at home, or a note in a password manager, works well. Do not keep them only on the phone you are protecting.
  3. Up-to-date recovery details. Check that your recovery email and phone number are current first; our guide on updating your recovery email and phone shows where.

Start with your main email account. Whoever controls your email can reset the password of almost every other account you own.

Microsoft account (Outlook.com, Hotmail, Windows, Xbox)

  1. Go to account.microsoft.com in a browser and sign in.
  2. Select Security.
  3. Choose Manage how I sign in (some layouts still call it Advanced security options).
  4. Find Two-step verification and select Turn on.
  5. Follow the wizard. The Microsoft Authenticator app is the smoothest option; an email address or text message also works.
  6. When Microsoft shows a recovery code, write it down or print it and store it safely.

You can also add a passkey or Windows Hello on the same page, which lets you sign in with your face, fingerprint or PIN instead of a password.

Google account (Gmail, YouTube, Android)

  1. Go to myaccount.google.com and sign in.
  2. Select Security in the menu (shown as Security & sign-in on some accounts).
  3. Under How you sign in to Google, select 2-Step Verification, then Turn on 2-Step Verification.
  4. Add a second step. On an Android phone or a phone with the Gmail or Google app, Google prompts are the easiest: you simply tap Yes, it’s me.
  5. Back on the 2-Step Verification page, open Backup codes, generate them and save them.
  6. Consider adding Authenticator or a passkey as an extra method.

Apple Account (iPhone, iPad, Mac, iCloud)

Most Apple Accounts created in recent years already have two-factor authentication turned on. To check:

  1. On iPhone or iPad, open Settings, tap your name, then Sign-In & Security.
  2. Look at Two-Factor Authentication. If it says On, you are protected. If not, tap it and follow the prompts.
  3. On a Mac, open Apple menu > System Settings, click your name, then Sign-In & Security.

On the same screen, check Trusted Phone Numbers and add a second number (a family member’s, for example) in case you lose your phone. Apple also lets you add a Recovery Contact or a Recovery Key; only create a recovery key if you are sure you can keep it safe, because losing it can lock you out permanently.

Facebook and Instagram

  1. Open Settings & privacy > Settings, then Accounts Center.
  2. Choose Password and security > Two-factor authentication.
  3. Select the account, then pick a method: an authentication app, a security key or text message.
  4. Save the recovery codes Meta offers at the end.

The same path in Accounts Center covers Instagram if the accounts are linked.

Which 2FA method should you choose?

MethodSecurityEase of useGood for
Passkey or security keyHighest; resists phishingEasy once set upEmail, banking, Microsoft, Google
Authenticator app or app promptHighEasyMost accounts
Text message (SMS) codeMedium; vulnerable to SIM swapsVery easyAccounts that offer nothing else
Email codeDepends on how well your email is protectedEasySecondary accounts

Pick the strongest method you will actually keep using. Text-message codes are still far better than no 2FA at all.

Common problems and how to avoid them

  • “I’m getting codes I didn’t ask for.” Someone likely has your password. Change it, then check the account’s recent activity. Our guide on what to do if an account is hacked covers the rest.
  • Changing phones. Before you wipe or trade in an old phone, move your authenticator app to the new one (Microsoft Authenticator and Google Authenticator both offer a backup or transfer option) and confirm sign-ins work.
  • Codes don’t work. Authenticator codes depend on the phone’s clock. Make sure the date and time are set automatically.
  • Locked out. Use your backup codes or the account’s recovery page. Never pay a third party who promises to “unlock” an account.

Watch out for code scams

A sign-in code is like a key you only ever use yourself. Microsoft, Google, Apple, your bank and your phone company will never call, text or message you asking you to read out a code. If someone does, hang up or stop replying, and sign in to the account yourself by typing the address into your browser. If you think you may already have been tricked, see what to do after a tech-support scam.

Many sites now also offer passkeys, which replace the password and resist phishing; our guide on what a passkey is and how to use one explains how they fit alongside two-factor authentication.

For a shorter overview, see Turn On Two-Factor Authentication (2FA), or protect your inbox specifically with two-step verification for email. You can also browse every guide in the accounts section.

Frequently asked questions

If I lose my phone, will I be locked out of my accounts?

Not if you prepare. Save the backup codes each service offers, add a recovery email and a second phone number or device, and keep the codes somewhere safe that does not depend on the phone.

I keep getting 2FA codes I did not request. What does that mean?

Usually someone has your password and is trying to sign in. Do not share the code, change that account's password right away, and review its recent sign-in activity.

Is text-message 2FA safe enough?

It is much better than nothing, but text codes can be stolen through SIM-swap fraud or phishing. Use an authenticator app, passkey or security key for your email and banking where you can.

Is two-step verification the same as two-factor authentication?

For everyday purposes, yes. Google and Microsoft say two-step verification, Apple says two-factor authentication; all of them add a second check after your password.

Do passkeys replace two-factor authentication?

A passkey combines something you have (your device) with your fingerprint, face or PIN, so it already gives strong protection on its own. Keeping 2FA turned on as well is still sensible for accounts that also accept a password.

Sources

FT

Free Tech Support Editorial Team

Editorial team

The Free Tech Support editors write and update these guides from the official documentation of Microsoft, Apple, Google and device makers. We are an independent site with no phone line and no paid support service.

Related guides

233 mm
Accounts & Passwords How to Switch Between a Local Account and a Microsoft Account on Windows 11 Switch your Windows 11 sign-in from a Microsoft account to a local account or back. What changes for OneDrive, the Store, BitLocker keys and passwords. October 17, 2026
220 mm
Email How to Turn On Two-Step Verification for Your Email, Safely Set up two-step verification email protection for Gmail, Outlook.com, Yahoo and iCloud Mail, choose the right second step and save backup codes first. October 13, 2026
287 mm
Accounts & Passwords Google Account Recovery: How to Get Back Into a Locked Gmail or Google Account Locked out of Gmail or your Google Account? Use Google's free recovery page, answer the checks from a familiar device, and avoid paid recovery scams. October 13, 2026
326 mm
Accounts & Passwords How to Remove an Old Microsoft Account From a Shared Windows 11 PC Remove an old Microsoft account from a shared Windows 11 PC: delete other users, sign your own account out of apps, and when a full reset is the better choice. October 15, 2026
207 mm
Accounts & Passwords Apple ID (Apple Account) Locked or Forgotten: How to Get Back In Apple ID locked or password forgotten? Reset it on a trusted device, at iforgot.apple.com, with a recovery contact, or via Account Recovery. Independent guide. October 13, 2026
377 mm
Accounts & Passwords Microsoft Account Password Reset: How to Get Back Into Your Account Forgot your Microsoft account password? Reset it free on Microsoft's own pages using your recovery email or phone, or the recovery form if you lost access. October 13, 2026