Two-Factor Authentication

Published

Definition

A second check on top of your password — usually a one-time code — so that knowing your password alone is not enough to get into your account.

Also called: Two-step verification, Multi-factor authentication, Two-step authentication, Second factor

Abbreviation: 2FA, MFA

How it works

When you log in, the site checks that you are who you say you are. That check is called authentication, and your password is one type of authentication factor. The FTC sorts factors into three categories:

  • Something you know, like a password, a PIN or the answer to a security question.
  • Something you have, like a one-time passcode you get by text, email or an authenticator app, or a security key.
  • Something you are, like your fingerprint or your face.

An account with two-factor authentication asks for a credential from two of the three categories. The FTC compares a password alone to having one lock on your front door. Two factors is like two locks: even if a hacker knows your username and password, they can’t log in without the second one. You may also see it called two-step verification or multi-factor authentication.

Why a password alone isn’t enough

Hackers have several ways to get a password. They use phishing to trick you into giving it up. They buy usernames and passwords stolen in data breaches and try them on the account that was breached, and on your other accounts if you reused the same login. If they only have your username, they can use software to guess the password. With a second factor, a stolen or guessed password is not enough on its own.

The common methods, from weakest to strongest

  1. A code by text or email. It is typically six digits long and is good for only one login. It is simple, but hackers can take over your phone number through a SIM card swap attack and get your texts. If your codes come by email, protect that email account with a strong password and two-factor authentication too.
  2. An authenticator app. An app on your phone or tablet makes the code instead. That is safer, because the code isn’t exposed to a SIM card swap or to someone hacking your email. Some apps can also send you a notification at each login attempt, which you approve or deny with a tap.
  3. A security key. A physical device that plugs into a USB port or connects when you hold it close. The FTC calls security keys the strongest method, because they don’t use credentials that hackers can steal.

If a code by text or email is the only option an account offers, it is still better than nothing.

How to turn it on

It is usually not on by default. Go to your account settings, look for two-factor authentication, two-step verification or multi-factor authentication, and follow the steps. Start with your most sensitive accounts: your bank, credit cards, email, social media, tax filing website and payment apps. Then add it to other accounts, like the sites you shop on. For a walk-through of a new bank login, see How to Set Up Online Banking.

Common mistakes

  • Sharing the code. Scammers try to trick you into handing it over. No matter what the story is, don’t share your verification code with someone if you didn’t contact them first.
  • Reusing passwords. A second factor helps, but the FTC still says never to reuse the same username and password.
  • Letting a public computer remember you. Only have an account remember your own devices, never a computer at a library.

Two-factor authentication vs. one-time passcode

A one-time passcode is one kind of second factor. Two-factor authentication is the whole setup: your password plus a second check. That second check might be a code, a tap in an authenticator app, a security key or your fingerprint.

Frequently asked questions

Is a code by text message good enough?

It is better than nothing. If an account offers an authenticator app or a security key, the FTC says those are safer.

Will I have to enter a code every time I log in?

Not always. After you set it up, you may have the option to have the account remember the device you use. Then you may need the second credential only in certain situations, like when you log in from another device.

Someone called and asked for my code. What should I do?

Don’t give it. Hang up and contact your bank or the company yourself, using a number you know is real. If you already shared it, act right away: see What to Do If You’ve Been Scammed.

Put it to work

Next step: Bank Fraud and Scams: How to Protect Your Accounts

Go deeper on Money Instructor

Sources

  1. Use Two-Factor Authentication To Protect Your Accounts, Federal Trade Commission. Accessed .
  2. Got a call about fraud activity on your bank account? It could be a scammer, Federal Trade Commission. Accessed .

This entry is general financial education, not financial, legal or tax advice. Rules and figures can change, so check the official sources before you act. Spotted an error? Let us know.