What Is 2FA? Why Two-Step Verification Matters and How to Set It Up

A leaked password doesn't have to mean a hijacked account. Learn how 2FA works, how SMS codes, authenticator apps and security keys compare, and how to turn it on.
Key Takeaways
- 2FA (two-factor authentication) adds a second check on top of your password, so a leaked password alone is not enough to sign in.
- Taiwan's Administration for Cyber Security advised in January 2026 that people turn on two-step verification first for online banking, Google, LINE and social media.
- The US Cybersecurity and Infrastructure Security Agency (CISA) says on its website that using MFA on your accounts makes you 99% less likely to be hacked.
- In a 2022 fact sheet, CISA ranked phishing-resistant methods such as hardware security keys as the strongest and said SMS or voice codes should be a last resort.
- When you turn on 2FA, also save backup codes or set up a second method, so that losing your phone does not lock you out.
Password leaks make the news regularly, and many people still reuse one password across several sites. 2FA, or two-step verification, puts a second lock on your account, and it is one of the easiest security upgrades anyone can make.
This guide explains what 2FA is, compares SMS codes, authenticator apps, security keys and other methods, walks through setting it up on a Google Account, and lists the things people most often overlook after turning it on.
What Is 2FA (Two-Step Verification)?
2FA means that when you sign in, you must pass a second check besides your password, such as typing a code sent to your phone or tapping "approve" on your phone. Only when both checks pass can you get into the account.
2FA stands for two-factor authentication. According to the US Cybersecurity and Infrastructure Security Agency (CISA), multifactor authentication (MFA) requires a user to present two or more different authenticators, which fall into three types: something you know (a password or PIN), something you have (a phone or a hardware key) and something you are (a fingerprint or your face). 2FA is the form that uses two of these factors.
Services use different names for it. Google calls it "2-Step Verification," while other services may say "two-factor authentication," "multifactor authentication" or "login verification." The names vary, but the core idea is the same: one more checkpoint after the password.
Why Should You Turn On 2FA?
Because passwords are easy to leak or guess. With 2FA on, someone who gets your password will still find it hard to sign in without your second factor, which stops most account takeovers.
Passwords leak in many ways: a website's database is breached, someone types their login into a phishing site, or the password is simply easy to guess. At a press conference on January 12, 2026, Taiwan's Administration for Cyber Security (ACS) under the Ministry of Digital Affairs warned that weak passwords such as "123456" and "admin" can be cracked quickly by automated tools. It added that social media, email and online banking should not share the same password, because a breach on one platform can spill over to the others.
The ACS set out three principles: use passwords of at least 15 characters that mix upper- and lowercase letters, numbers and symbols; turn on two-step verification on top of the password; and regularly check the time, location and device of each sign-in. CISA also states on its website that using MFA on your accounts makes you 99% less likely to be hacked.

What Types of 2FA Are There, and Which Is Safest?
The common types are SMS codes, authenticator apps, push notifications, security keys and passkeys. Security keys and passkeys are generally the strongest, authenticator apps come next, and SMS is the weakest.
| Method | How it works | What to watch for |
|---|---|---|
| SMS or voice codes | A one-time code is sent to your registered phone number when you sign in | CISA says it is vulnerable to phishing and SIM swap attacks and should be a last resort |
| Authenticator app | An app on your phone calculates codes from a secret key and the current time, and works offline | Codes can still be phished by fake websites; remember to move them when you change phones |
| Push notification | Your phone shows a prompt when you sign in; you approve it or enter the number on screen | Prompts without number matching can be abused by flooding you until you tap by mistake |
| Hardware security key, passkey | You sign in with cryptographic keys based on the FIDO/WebAuthn standards, confirmed by plugging in, tapping or unlocking your phone | CISA calls phishing-resistant MFA the "gold standard"; have a backup method in case it is lost |
The codes in an authenticator app are usually TOTP (time-based one-time passwords). They are specified in RFC 6238, which the Internet Engineering Task Force (IETF) published in 2011 and which recommends a new code every 30 seconds. To see how a code is calculated from a secret key, try our 2FA code generator.
CISA's fact sheet from October 2022 says any form of MFA is better than no MFA, but not all forms are equally secure. In a SIM swap, a scammer convinces a mobile carrier to move your phone number to a SIM card the scammer controls, so your text-message codes go to them; codes can also be stolen through a fake sign-in page. CISA calls phishing-resistant MFA based on the FIDO/WebAuthn standards the "gold standard."
So if a service only offers SMS, turning it on is still better than nothing; when a stronger option is available, switch away from SMS.

How to Set Up 2FA: Google Account Example
Menus differ between services, but the process is similar. On a Google Account:
- Open your Google Account page (myaccount.google.com) and select "Security & sign-in."
- Under "How you sign in to Google," select "Turn on 2-Step Verification" and follow the on-screen steps.
- Add second-step methods such as Google prompts, an authenticator app or a security key; it is best to set up at least two.
- Under "Backup codes," generate a set of 8-digit backup codes, then print or download them and keep them somewhere safe.
- Sign out and sign back in once to make sure the second step works.
Other services usually put 2FA under "Settings," in a section named something like "Security," "Account security" or "Password and security." For the order, follow the ACS advice and start with your most important accounts: online banking, Google, LINE and social media.
What Should You Watch Out for After Turning On 2FA?
- Never share your codes: A verification code exists to prove that the person signing in is you. If anyone claiming to be customer service, a friend or a prize organizer asks for your code, refuse; impersonation scams are getting more convincing, as explained in how to spot AI scams.
- Do not approve prompts you did not trigger: If a sign-in prompt pops up when you are not signing in, your password may have leaked. Tap deny and change your password soon. CISA calls the trick of sending prompt after prompt until the user taps "accept" push bombing.
- Keep backup codes safe: Backup codes are your lifeline if you lose your phone. Do not store them in the photo gallery of that same phone; printing them and keeping them with important documents is safer.
- Move your codes before changing phones: Data in an authenticator app does not always move to a new phone on its own. See how to move 2FA to a new phone for the steps.
- Check your sign-in history: The ACS recommends regularly checking the time, location and device of sign-ins. If you see one you do not recognize, sign out of all devices right away and change your password.

Do You Still Need 2FA If You Have Passkeys?
It depends on the service. Google says that signing in with a passkey can skip the second step of 2-Step Verification, but services that do not yet support passkeys still need 2FA to protect your account.
A passkey is a newer way to sign in based on the FIDO standards. It already combines "your device" with "the fingerprint, face or PIN that unlocks it," so there is no password to remember and no code that can be talked out of you. Not every website supports passkeys yet, so a practical approach is to use passkeys where they are offered and keep 2FA everywhere else. For the differences, see what a passkey is.
Turning on 2FA usually costs nothing (only hardware security keys have to be bought) and takes a few minutes per account. Start today with your email and online banking, then work through your other important accounts.
Frequently Asked Questions
Are SMS verification codes still worth using?
Yes, they are better than nothing. CISA says any form of MFA is better than none, but SMS is vulnerable to phishing and SIM swap attacks and should be a last resort. When an authenticator app or security key is available, switch to it.
If I lose my phone, will 2FA lock me out?
Not if you prepare a backup method in advance. You can sign in with backup codes, another device you have set up or a security key, then remove the lost phone in your account settings. With no backup method at all, you will have to go through the service's account recovery process.
Do authenticator apps work without an internet connection?
Yes. Google says you can still generate codes with an authenticator app without an internet connection or mobile service. These codes are calculated from a key stored on your phone and the current time, which is why your phone's clock needs to be accurate.
Should I turn on 2FA for every account?
Turn it on wherever you can, starting with the most important accounts. The ACS recommends online banking, Google, LINE and social media first. Your email account matters too, because many websites send password reset links to your inbox.
Sources: Administration for Cyber Security, Ministry of Digital Affairs (Taiwan): Strengthening account and password security (2026, in Chinese), US Cybersecurity and Infrastructure Security Agency (CISA): Multifactor Authentication, CISA: Implementing Phishing-Resistant MFA (2022), Google Account Help: Turn on 2-Step Verification