Why text-message codes are a weak link in two-factor login
Two-factor authentication helps, but codes sent by text can be intercepted. NZ guidance favours security keys and authenticator apps where you can use them.

Two-factor authentication, or 2FA, asks for a second proof of identity when you sign in, usually a one-time code. It stops many attacks that would work against a password alone. But not every second factor is equally strong.
Still better than nothing
NCSC NZ's guidance says weaker methods are still better than no second factor at all. If text codes are all you have, keep using them until you can switch.
The problem with text codes
According to NCSC NZ, SMS notifications can be intercepted and sent to an unauthorised person. Attackers can also try a SIM swap, which moves your phone number to a device they control, and then receive your codes.
Apps are stronger, not perfect
Authenticator apps create one-time codes on your phone, so they don't rely on a text reaching you. Setting one up usually takes a few minutes: scan the code the service shows, then enter the code the app generates to confirm. NCSC NZ notes that app codes can still be phished, because someone can trick you into typing a code into a fake page.
Why text codes linger
Many services still default to text codes, because they reach almost everyone without an app. That convenience is why the method is still common, even though it is the weakest of the usual options.
Security keys rank highest
Physical keys such as YubiKeys use standards like U2F. The login only works with the genuine website, which makes them resistant to phishing. NCSC NZ recommends them where they're available.
What to do
Start with the accounts that matter most: email, banking and cloud storage. Switch to an authenticator app or a security key wherever the service offers one. Save any recovery codes somewhere safe, so you can get back in if you lose your device. If a service only offers text codes, use a strong, unique password and watch for unexpected sign-in alerts.


