Setting Up Two-Factor Authentication on Your Main Accounts

A password alone can’t stop someone who has stolen it. Here’s how the different kinds of two-factor authentication compare, which accounts to protect first, and how to avoid locking yourself out.
Checking a sign-in code on a phone while working at a laptop
Checking a sign-in code on a phone while working at a laptop / picture alliance/GettyImages

A password on its own is a single lock. If it leaks in a data breach, gets typed into a convincing fake login page, or is reused from an old account, anyone holding it can walk straight in. Two-factor authentication (often shortened to 2FA, and also called two-step verification or multi-factor authentication) adds a second check that a stolen password can’t pass by itself: a code from your phone, a tap on a prompt, a fingerprint or a small hardware key. The Federal Trade Commission notes that it usually isn’t switched on by default, so on most accounts you have to go and turn it on yourself.

The second step comes in several forms

Text message codes are the most familiar version. You sign in, the service sends a six-digit number to your phone, and you type it in. They are far better than nothing, but they are also the weakest option. The Cybersecurity and Infrastructure Security Agency (CISA) ranks SMS and voice codes at the bottom of its list because they can be phished, intercepted, or redirected through a SIM swap, where a criminal persuades a mobile carrier to move your number onto a SIM card they control.

Authenticator apps generate a fresh code every 30 seconds on your phone itself, with nothing sent over the phone network. That removes the SIM swap risk. Push prompts work in a similar spirit: instead of a code, you get a notification asking whether it’s you signing in. Their weak spot is fatigue. An attacker who already has your password can fire off prompt after prompt, hoping you tap Approve just to make them stop, which is why many services now ask you to match a number shown on the login screen before the approval goes through.

Passkeys and hardware security keys sit at the top. Both are built on standards from the FIDO Alliance, and CISA describes FIDO-based sign-in as the only widely available form of phishing-resistant authentication. A passkey lets you sign in with the same face scan, fingerprint or PIN that already guards your phone or computer. The credential is tied to the real website, so a lookalike site has nothing to ask for and nothing to capture. A hardware key does the same job on a small physical device that you plug in or tap against your phone. Many people end up with a mix: passkeys where a site supports them, an authenticator app elsewhere, and text codes only on the few services that offer nothing better.

Which accounts to start with

Setting this up everywhere at once is a chore that tends to stall halfway. It works better to secure the accounts that would cause the most damage if someone got in, and to begin with the one that controls the others. CISA’s guidance for the public singles out email, financial and social media accounts as the places to turn it on first. A sensible order looks like this:

  • Your main email account, since almost every other service sends its password reset links there.
  • Your password manager, if you use one, because it holds the keys to everything else.
  • Banking, investment and payment accounts, along with anything that stores a card.
  • Your phone’s cloud account (the one tied to backups, photos and device location).
  • Social media and messaging accounts, which are often hijacked to scam your friends and family.

Once those are covered, work outward to shopping sites, utilities, health portals and work tools as you next sign in to each one. Look in the account or security settings for wording such as two-step verification, two-factor authentication, sign-in security or passkeys. The names vary, but the setting usually sits in one of those places.

Setting it up without locking yourself out

The real risk with 2FA is losing the second factor rather than anyone breaking it. Phones get dropped in lakes, stolen on trains and traded in without much thought. Before you finish setting up any account, look for the backup or recovery codes the service offers. These are a short list of one-time codes, each of which will get you in once if your phone isn’t available. Login.gov, which runs sign-in for several US government services, warns that losing them can mean losing access altogether, and suggests treating them with the same care as a password. Saving them in an encrypted password manager works, and so does printing them and keeping the paper somewhere safe at home. A note on the phone that the codes are meant to replace is no use at all.

It also helps to register more than one method where a service allows it. Adding a second phone, a spare hardware key or a passkey on your laptop as well as your phone means one lost device doesn’t shut you out. If you rely on an authenticator app, check whether it can back up or sync your accounts, and turn that on before you need it. Moving to a new phone is the moment people most often get caught out. Keep the old phone working until you have signed in to your important accounts on the new one.

For text message codes, a few small steps make SIM swaps harder. Many mobile carriers let you add an account PIN or a lock on transferring your number to another provider, and it’s worth asking yours what it offers. Be wary of any call or message that asks you to read out a code you’ve just received. Real services don’t ask for them, and a request like that almost always means someone is in the middle of trying to get into your account.

If you get locked out

Start with your saved recovery codes or any second method you registered. If you have neither, every major service has an account recovery process, usually reached from a link such as “Try another way” or “Can’t access your phone?” on the sign-in page. Expect it to be slow on purpose. Some services will ask you to confirm details from your account history, use a recovery email or phone number you added earlier, or wait several days before restoring access, because the same process is what an attacker would try to exploit. Go through the service’s own help pages and never through someone who contacts you offering to recover the account for a fee, which is a common scam.

If you believe someone has already taken over an account and changed the recovery details, contact the provider’s official support channel directly. When financial accounts or personal information are involved, the FTC’s IdentityTheft.gov site lays out the steps for reporting the theft and making a recovery plan, and your bank or card issuer can freeze or reissue cards while you sort out the rest.