An SMS one-time code is a temporary number or string sent to a mobile phone by text message to confirm a login, transaction, or account change. It adds a verification step beyond a password, but relies on the mobile network to deliver the message securely and to the right subscriber.
Attackers may obtain codes through phishing, SIM swapping, or interception within compromised telecom infrastructure. Because SMS can be exposed or rerouted without malware on the recipient’s device, it is less secure than phishing-resistant methods such as passkeys or hardware security keys. Organizations should use SMS as a fallback rather than a high-assurance safeguard, and users should never share a code in response to an unexpected request.


