Lock your phone number and stop relying on text-message codes
Text-message codes can be stolen by taking over your phone number, and your email can reset every other account.
What to do
Ask your phone carrier to lock your number against both SIM changes and transfers to another carrier. On email and money accounts, add a passkey or security key, set up a backup way in, then remove text-message codes.
-
In the US, on Verizon, turn on both SIM Protection and Number Lock in the My Verizon app.
Open the Me tab, then Edit profile and settings, then Security. SIM Protection blocks SIM changes; Number Lock blocks transfers to another carrier. You need both.
Verizon: SIM Protection and Number Lock verizon.com
-
On AT&T, turn on Wireless Account Lock in the AT&T app.
Open the app, tap the person icon, choose "Wireless account lock" and swipe to lock. It is free and switches off key account changes on all your lines.
AT&T: Wireless Account Lock att.com
-
On T-Mobile, turn on both SIM Protection and Port Out Protection in the T-Life app.
Look for the gear icon, then Security. Menus differ between app versions, so follow the help page below if yours looks different.
T-Mobile: protect your account t-mobile.com
-
On any other carrier, call the number on your bill and ask for both protections.
Say: "Please block SIM changes and transfers of my number unless I approve them." Never give a PIN or code to anyone who calls or messages you.
-
Add a passkey to your email account.
A passkey means you unlock your phone the way you normally do, and that proves it's you. For Gmail, follow the link; type the address yourself.
Google: sign in with a passkey support.google.com
-
If your email is Outlook or Hotmail, add the passkey in your Microsoft account instead.
Sign in, open the security options, choose "Add a new way to sign in or verify", then "Face, Fingerprint, PIN, or Security Key".
Microsoft: create a passkey support.microsoft.com
-
With another email provider, look in its security settings for a passkey or security key option.
-
Set up a second way in and test it before you remove anything.
Add a second passkey or security key, or print backup codes on paper. Google offers backup codes only once 2-Step Verification is on. Sign in once using the backup.
Google: backup codes support.google.com
-
Only then, remove text messages as a sign-in option on your email account.
Adding a passkey leaves text codes switched on. In the security settings, find the sign-in or 2-step methods and remove the text-message option.
-
Check your email account's recovery options and remove any old phone number or email address.
In a Google Account, open "Security & sign-in", then "Recovery phone" and "Recovery email". In a Microsoft account, open Security, then "Manage how I sign in". Keep one current way back in.
Google: recovery options support.google.com
-
Repeat on each bank and money account that offers a passkey or security key.
A security key is a small USB device, roughly $30 to $60. An authenticator app (a phone app showing login codes) beats text codes but can be fooled by fake login pages.
-
If text codes are the only extra step your bank offers, leave them on.
They are much better than nothing, and the carrier locks above protect them.
Why it works
A phone number can be taken over two ways: a SIM swap moves it to the attacker's SIM card, and a port-out transfers it to another carrier. Either way the attacker gets your text codes, so lock against both. Adding a passkey does not switch text codes off; remove them yourself after testing another way in. Only passkeys and security keys resist fake login pages; codes from an authenticator app can be tricked out of you, like text codes.
Protects against: Someone taking over your phone number or tricking you out of a login code
Sources
- My Verizon app, enable or disable SIM Protection and Number Lock, Verizon verizon.com
- Implementing Phishing-Resistant MFA, CISA cisa.gov
- Sign in with a passkey instead of a password, Google Account Help support.google.com
- The Hackening (Peter Wildeford's list), Zvi lesswrong.com
- Set up recovery options, Google Account Help support.google.com
- Microsoft account security info and verification codes, Microsoft Support support.microsoft.com
- A digital security checklist for the AI age, Girish Gupta (suggests checking an email account's recovery options) girishgupta.com
Where this came from
- Terence Coelho, in online discussion: Banks often don't allow authenticator apps but do accept YubiKeys.
Helps with: Your accounts. Last updated .