Everything worth knowing, nothing that isn't.
How it fits into 2FA
2FA combines something you know (password) with something you have (the phone receiving the code). SMS delivers that second factor with universal reach and no app. See /answers/what-is-2fa and /answers/what-is-otp.
Deliver it reliably
A 2FA code has value only if it arrives quickly. Send over direct, high-priority routes, monitor DLRs, and configure a fallback channel so a delayed SMS does not block the login. See /answers/best-channel-for-otp and /answers/sms-fallback-strategy.
Defend against abuse
Rate-limit code requests per number and per IP to resist SMS pumping, expire codes in minutes, and allow one use only. See /answers/sms-otp-best-practices and /answers/what-is-sms-pumping.
Know its limits
SMS 2FA is far better than a password alone, but it is not phishing-resistant on its own; for the highest-assurance accounts, layer it with or move primary login to passkeys, keeping SMS for recovery and reach. See /answers/what-is-silent-network-auth.