How to Protect Yourself From SIM-Swapping Attacks

In short
How to protect yourself from SIM-swapping attacks: the free carrier locks, the accounts to unhook from your number, and what to do if it happens.
Protecting yourself from SIM-swapping attacks rests on one idea: your phone number should not be able to unlock anything that matters. An attacker who talks your carrier into moving that number gets your texts, and with them the reset codes for your email and your exchange account. So there are two jobs — lock the number where it lives, and cut its power everywhere else.
Lock the number at your carrier
Every large US carrier gives this away free, and almost nobody switches it on. It is the deadbolt on the front door; everything further down this page is what you do once the door is already locked.
- AT&T — Wireless Account Lock, one switch in the AT&T app, blocks SIM swaps, number transfers and device upgrades across the whole account.
- T-Mobile — SIM Protection stops the number being moved to another device, and Account Takeover Protection blocks a transfer to another carrier. Add both, on every line.
- Verizon — SIM Protection and Number Lock are separate switches in the My Verizon app, and Verizon says plainly that Number Lock on its own does not prevent a SIM change. Turn on both.
- Anyone else — ask for a port-out PIN or a number lock by name. Most carriers have one, even when it is buried three menus deep.
Cut the number's power
Open your main email account and take the phone number off password recovery, then do the same on every exchange you use. Replace SMS codes with an authenticator app wherever it is offered, and with a hardware security key such as a YubiKey on the accounts that hold money. Keep long-term coins in a hardware wallet like a Ledger or Trezor, which nobody reaches by holding your number. And stop advertising what you own: people who post about their holdings are targeted far more often than people who do not.
What if it happens anyway?
A phone that drops to no service for no reason, somewhere it normally works, is the only warning you get. Call the carrier from another phone straight away, then change your email password and sign out of all active sessions on every exchange before doing anything else.
Set aside fifteen minutes this evening and go in order: carrier lock, email recovery, exchange 2FA. For the attacker's side of it see SIM swap attacks in crypto, and for the codes themselves, why an authenticator app beats SMS.