Two-Factor Authentication and Account Recovery
Learn how two-factor authentication stops stolen passwords, compare SMS, app codes and security keys, and keep your recovery email, phone and codes safe.
Welcome back!
Step 1 of 12Learn
A second lock on the door
Imagine an attacker gets your password through a leak or a phishing page. With only a password protecting your account, they're in. Now imagine your account also asks for a code from your phone. The attacker has the password, but not your phone. They're stuck.
That's two-factor authentication (2FA), also called multi-factor authentication (MFA). It requires two different kinds of proof:
- Something you know: your password or PIN.
- Something you have: your phone, an authenticator app, or a physical security key.
- Something you are: your fingerprint or face.
A password plus a code from your phone is two factors. Two passwords is not; they're both things you know.
2FA is one of the most effective security steps you can take. Microsoft has reported that it blocks well over 99% of automated attacks on accounts. Most major services offer it: email, Discord, Instagram, TikTok, Snapchat, Google, Apple, Microsoft, Steam, Epic Games, Xbox and PlayStation accounts. Some games even reward you for turning it on.
It usually takes two minutes to set up. Look in your account's Security or Privacy settings for options called two-factor, two-step verification or login verification.
Step 2 of 12Practice · Sort into groups
Sort each login proof into its type of factor.
Tap an item, then tap its group (or drag it there).
Step 3 of 12Learn
Not all 2FA is equal
Different kinds of second factors offer different levels of protection:
- SMS text codes: a code is texted to your phone. Much better than no 2FA, but texts can be intercepted, and in a SIM swap attack a criminal tricks a phone company into moving your number to their SIM card, so your codes go to them.
- Authenticator apps (such as Google Authenticator, Microsoft Authenticator, Authy or the one built into a password manager): the app generates a new 6-digit code every 30 seconds, even without signal. Safer than SMS because nothing travels over the phone network.
- Push notifications: the app asks Is this you signing in? and you tap Approve. Convenient, but never approve a login you didn't start. Attackers who have your password sometimes spam approval requests, hoping you'll tap yes just to make them stop.
- Security keys and passkeys: a physical key or a passkey on your phone. These are the strongest because they check the real website's address automatically. A phishing site simply can't use them.
The best choice is the strongest one you'll actually use. For most teens, an authenticator app or passkey on your main accounts, especially email, is a great level of protection.
Step 4 of 12Practice · Put in order
Rank these second factors from weakest to strongest protection.
Drag the items, or use the arrow buttons, to put them in order.
- No second factor at all
- Security key or passkey
- Authenticator app code
- SMS text code
Step 5 of 12Compare
Second factors side by side
| Aspect | SMS code | Authenticator app | Security key or passkey |
|---|---|---|---|
| How it works | Code texted to your number | App makes a new code every 30 seconds | Device proves who you are to the real site |
| Main weakness | SIM swaps and interception | You can still type the code into a fake site | Losing the key without a backup |
| Stops phishing sites? | No | No | Yes, it checks the site address |
| Protection | Good | Better | Best |
Step 6 of 12Learn
Never share a code
Here's one of the most common scams on the internet, and it's aimed straight at 2FA:
A message arrives, often from a friend's hacked account: Hey, I accidentally sent my verification code to your number, can you send it back to me? Or a caller says they're from the game's support team and need to verify your identity with the code you just got.
What's really happening: the attacker is logging in to your account right now. They already have your password or are trying to reset it, and the site just sent you the code. If you share it, you hand them your account.
The rule is absolute: a code sent to you is for you only. No real company, support agent, teacher or friend ever needs it. Companies even write this in the text messages: Never share this code.
The same goes for recovery codes, the backup codes a site gives you when you set up 2FA. They're like spare keys to your account. Store them somewhere safe and private, such as in your password manager or printed and kept at home, and never type them anywhere except the real site's recovery page.
Step 7 of 12Practice · What would you do?
What would you do?
A friend messages you on Instagram: 'omg sorry, I put your number by mistake when logging in, a code just went to your phone, can you send it to me??' A second later, you get a text with a 6-digit code from Instagram. What do you do?
Step 8 of 12Learn
Account recovery: the side door
Every account has a recovery process for when you forget your password: a reset email, a text to your phone, security questions or backup codes. Attackers know that this side door is often weaker than the front door.
Keep your recovery options safe:
- Recovery email and phone: make sure they're current and that you control them. An old email you no longer check, or a phone number you gave up, can let someone else reset your account. Your recovery email should itself be protected with a strong password and 2FA.
- Security questions: questions like What's your pet's name? or What city were you born in? are easy to look up from social media. Treat them like extra passwords: give a random answer that isn't true and save it in your password manager.
- Recovery codes: download them when you set up 2FA and store them safely. If you lose your phone, they're how you get back in.
- Signed-in devices: most services let you see every device logged in to your account. Check now and then, and sign out of any you don't recognize, like a friend's phone you used once.
Take five minutes today to check the recovery settings on your email, your main social account and your main gaming account. It's one of the highest-value five minutes you can spend on security.
Step 9 of 12Tap to reveal
Lock the side doors one by one
Recovery email
Make sure it is an address you still use and that it has its own strong password and 2FA. An old, abandoned email is an easy way in.
Recovery phone
Your current number, not a parent's old phone or a number you no longer have. Whoever controls this number can reset the account.
Security questions
Real answers like your pet's name are often on your social media. Use random answers and store them in your password manager.
Backup codes
Print them or save them in your password manager. They are your way back in if you lose your phone, and they should never be in a screenshot in your camera roll.
Step 10 of 12Note
Step 11 of 12Practice · True or false
Answering a security question like 'What was your first pet's name?' with a random, made-up answer stored in your password manager is a good idea.
Step 12 of 12Practice · Choose one
You turn on 2FA for your email and the site shows you ten recovery codes. What should you do with them?
Lesson complete!