What Is Two-Factor Authentication (2FA)?

Logging in with two-factor authentication (2FA) is a lot more secure and greatly reduces the chance of criminals gaining access to your accounts or data. You use two different means (factors) to log in: something you know (your password) and something you own or something you are, such as:
- an app that displays a time-limited code or a confirmation button, such as Google Authenticator or Microsoft Authenticator;
- an SMS code sent to a phone number you have registered (the least safe option, because of the risk of SIM swapping);
- a security key that identifies you via USB or wirelessly (NFC), such as a YubiKey from Yubico;
- biometric features such as a fingerprint, face or iris scan, usually on your own phone or laptop.
Alternative names for two-factor authentication that mean roughly the same thing are two-step verification, two-step authentication and multi-factor authentication (MFA). Strictly speaking, MFA means two or more factors, but in everyday use the terms are interchangeable.
Table of Content
Why a password alone is no longer enough
Passwords leak all the time. Large data breaches expose millions of email addresses and passwords at once, and those lists are traded and reused by criminals. Because many people use the same password on several websites, one leak can open the door to many accounts. Criminals use automated tools to try leaked combinations on popular services, a technique known as credential stuffing.
Phishing is another major threat. A convincing email or text message leads you to a fake login page, and the password you type goes straight to the attacker. Malware on a computer can also record what you type.
Two-factor authentication adds a second lock. Even if someone has your password, they also need your phone, your security key or your fingerprint. For most criminals, that is enough of an obstacle to move on to an easier target.
Am I 100% safe with two-factor authentication?
If you use two-factor authentication, a criminal cannot simply abuse your leaked or hacked password. But two-factor authentication alone is not foolproof. It is the combination of strong, unique passwords with two-factor authentication that makes your security strong.
With some forms of cybercrime, such as counterfeit banking sites, criminals watch live and can capture both your password and the extra code, then enter them on the official website within seconds. Caution is therefore always advised. Other tricks to watch out for:
- Push fatigue: an attacker who knows your password triggers login request after login request, hoping you tap “approve” just to make the notifications stop. Never approve a login you didn’t start.
- Fake support calls: someone calls pretending to be your bank or a tech company and asks you to read out a code. A real organization will never ask for your verification code.
- SIM swapping: a criminal convinces your mobile provider to move your number to a new SIM card, so that SMS codes go to them. Ask your provider whether you can add a PIN or extra protection to your account.
Security keys and passkeys are the most resistant to phishing, because they only work on the genuine website they were registered with. A fake site simply can’t use them.
Important with email and password managers
Two-factor authentication is now available for most online services, including Google, Microsoft, Apple, Facebook, Instagram, X (formerly Twitter), Amazon and all good password managers. Many services have made it compulsory, or at least strongly encourage it.
In any case, use two-factor authentication for your email and your password manager. They are the key to your other data: whoever controls your email can reset the passwords of almost every other account. Two-factor authentication is usually required by banks. You then have to confirm logins and payments with an app, an SMS code or a special device.
Only on a new device
Logging in with two-factor authentication doesn’t have to take much effort. After using two-factor authentication once, you can often choose to trust the device. The second factor is then not requested again until you (or a malicious person) log in:
- from another device
- from another location
- after a set period (often several weeks).
Only trust your own devices this way, never a shared or public computer.
Want to remove an authenticator app such as Google Authenticator from your phone? Then first transfer your accounts to the new app or device, or turn off 2FA in each account, before deleting it. Otherwise you may lock yourself out.
The different types of second factor compared
Not every second factor offers the same protection. From the most to the least secure, roughly:
- Security keys and passkeys. A physical key or a passkey stored on your device uses cryptography tied to the real website. This makes phishing almost impossible.
- Authenticator apps. An app generates a new six-digit code every 30 seconds, or asks you to approve a login. The codes are created on your phone, so they can’t be intercepted over the mobile network.
- Push notifications with number matching. You type or select a number shown on the login screen in your app. This protects against accidental approvals.
- SMS and voice codes. Better than nothing, but vulnerable to SIM swapping and interception. Use SMS only if a service offers nothing else.
- Email codes. Only as safe as your email account itself, which is why that account needs strong protection first.
Passkeys: the next step after passwords
In recent years, Apple, Google and Microsoft have introduced passkeys. A passkey replaces your password with a cryptographic key stored on your phone, computer or password manager. You log in by unlocking your device with your fingerprint, face or PIN. Because a passkey combines something you own (the device) with something you are or know (your biometric or PIN), it works like built-in two-factor authentication.
Passkeys cannot be guessed, reused or leaked in a data breach, and they don’t work on fake websites. More and more services support them, including Google, Microsoft, Apple, Amazon, PayPal and WhatsApp. Where a service offers passkeys, it is worth setting one up. You can still keep 2FA as a backup.
Two-factor authentication for businesses
For companies, two-factor authentication is one of the most effective security measures available. Many successful attacks on businesses start with a single stolen password, for example to an email account, a cloud service or a remote access tool. Once inside, attackers can send convincing fraudulent invoices, steal data or install ransomware.
A few practical guidelines for organizations:
- Turn on MFA for every employee account, starting with email, cloud storage, finance systems and admin accounts.
- Use authenticator apps or security keys rather than SMS where possible.
- Pay extra attention to accounts with administrator rights, and to accounts of external suppliers.
- Make sure there is a secure process for when an employee loses their phone or key.
- Explain to staff why it matters, and warn them never to approve a login they didn’t initiate.
Cyber insurers increasingly require MFA before they will offer a policy, so it is often a business requirement as well as a good idea.
A simple plan to secure your accounts
Setting up two-factor authentication everywhere at once can feel like a big job. It’s easier if you work through your accounts in order of importance, a few at a time:
- Install an authenticator app on your phone, or use the one built into your password manager.
- Secure your main email account first. Turn on 2FA, save the backup codes and check that your recovery phone number and email address are up to date.
- Protect your password manager with a strong master password and 2FA.
- Move on to money: online banking, PayPal, payment apps and online shops where your card is saved.
- Then social media and messaging, such as Facebook, Instagram, X, WhatsApp and LinkedIn. Hijacked social accounts are often used to scam your friends and followers.
- Finally, cloud storage and work tools, such as Google Drive, Dropbox and Microsoft 365.
While you’re at it, replace any reused passwords with unique ones generated by your password manager. Once a year, check the list of trusted devices in your most important accounts and remove any you no longer use.
Frequently asked questions about two-factor authentication
How do I turn on two-factor authentication?
That differs per service. You usually turn it on in the account settings under a heading such as security, sign-in or two-factor authentication (2FA), once you are logged in. Often you link an authenticator app by scanning a QR code with your phone.
Sometimes it is more convenient to enable 2FA via the website than in the app, if a service has both.
Further down this page, you will find links and short instructions for some important services.
How do two-factor authentication apps work?
An authenticator or 2FA app is convenient and very secure. You install such an app on your smartphone once. Then you add the account(s) for which you want to use it, usually by scanning a QR code.
With some accounts you can choose whether the app shows a code that you enter, or whether you only have to approve the login in the app. The codes are calculated on your phone from a secret shared when you set up the account and the current time, so the app doesn’t even need an internet connection. On websites, a 2FA app is sometimes called a “software token.”
What is the best two-factor authentication app?
For most people it doesn’t really matter much which two-factor authentication app you use. They work in a similar way and are compatible with any service that supports authenticator apps.
The most commonly used apps are Google Authenticator, Microsoft Authenticator and Authy, all available for Android and iPhone. Many password managers, such as 1Password and Bitwarden, can also generate 2FA codes. Choose an app that lets you back up or sync your accounts securely, so you don’t lose everything if your phone breaks.
What if I lose my “second factor”?
A broken or stolen smartphone is annoying if it holds the two-factor authentication app you need to log in somewhere.
Some accounts allow recovery via a backup email address or phone number. With other accounts, you need the backup codes that you were shown when you turned on two-factor authentication, for example with your Google account. So keep backup codes somewhere safe, such as in your password manager or printed out in a secure place.
As an extra backup, you can register a second security key, or use an authenticator app that syncs to a second device.
Is SMS two-factor authentication still worth using?
Yes, if it is the only option. SMS codes are much better than a password alone. But if a service offers an authenticator app, a security key or passkeys, choose one of those instead.
Is two-factor authentication the same as a passkey?
Not exactly. Two-factor authentication adds a second step to a password login. A passkey replaces the password altogether, but because it requires your device plus your fingerprint, face or PIN, it gives similar or better protection in a single step.
Enable Two-Factor Authentication
Check out how to turn on two-factor authentication for some well-known services:
- Google: go to your Google Account, then Security, then 2-Step Verification. You can add an authenticator app, a security key or a passkey.
- Microsoft / Outlook: sign in to your Microsoft account, open Security, then Advanced security options, and turn on two-step verification.
- Facebook: open Settings, then Accounts Center, then Password and security, and choose Two-factor authentication.
- X (formerly Twitter): go to Settings and privacy, then Security and account access, then Security and Two-factor authentication. SMS verification is now limited to paid subscribers, but anyone can use an authenticator app or security key.
- Apple: most Apple Accounts already use two-factor authentication. On an iPhone, check under Settings, your name, then Sign-In & Security.
Activate Two-Factor Authentication
We recommend that you enable two-factor authentication, at least for your email address and password manager, and then for your bank, social media and online shops. It takes a few minutes per account. If your password ever falls into the wrong hands, criminals still won’t be able to log in.
Also Read: 7 Tips for Securing an App



