Two-factor authentication and passkeys: the defence that stops most attacks
What two-factor authentication is, which methods are really secure — SMS, apps, security keys, passkeys — how to turn it on and how not to get locked out of your own accounts.
A password can be stolen, guessed or bought in a leaked list. Two-factor authentication — often shortened to 2FA — adds a second proof: besides what you know (the password), you need something you have (your phone, a physical key) or something you are (fingerprint, face). Whoever has only the password stays out.
Passkeys go one step further: they get rid of the password altogether. In its place there is a pair of cryptographic keys, stored on the device and unlocked with fingerprint, face or PIN. A passkey cannot be typed into a fake page, cannot be reused and cannot be stolen from the site’s database.
Not all second factors are equal
| Method | Protection | Weak spot |
|---|---|---|
| SMS code | Good against theft of the password alone | SIM swap, interception, real-time phishing |
| Authenticator app code | Better: the code is generated on the phone | Can be typed into a phishing site |
| Approval notification | Convenient | Risk of approving repeated requests by mistake |
| Physical security key | Very high, phishing-resistant | Must be bought and kept safe; better to have two |
| Passkey | Very high, phishing-resistant | Recovery depends on the device or password manager that stores it |
A second factor completes good password management and also protects against the consequences of phishing, provided the right methods are chosen.
The pages of this topic
2FA and passkeys: how they work
How one-time codes, notifications, security keys and passkeys work, and why only some methods resist phishing.
2FA and passkeys: configuration
How to turn on two-factor authentication and passkeys on your accounts, with backup methods so you are never locked out.
2FA and passkeys: pitfalls to avoid
The most common mistakes with two-factor authentication, from reading codes out over the phone to approving notifications you did not request.
2FA and passkeys: the risks
SIM swap, real-time phishing, notification bombing and losing your device: the remaining risks and how to reduce them.
2FA and passkeys: the procedure to protect your accounts
A six-step plan to turn on second factors and passkeys on all important accounts without risking losing access.
2FA and passkeys: the tools
Authenticator apps, physical security keys and password managers supporting passkeys: what to use and how to choose.
2FA and passkeys: the checklist
The checks to make sure your accounts are protected by a second factor and that you can always get back in.
2FA and passkeys: frequently asked questions
Short answers to the most common doubts about two-step verification, codes, security keys and passkeys.