1. Why OTP Delivery Fails More Visibly Than Other SMS
When a marketing SMS is late, nobody notices. When an OTP is late, the user is stuck on your login screen. Users typically wait 10โ30 seconds before tapping "resend" or leaving, so an OTP problem shows up immediately as lower sign-up conversion, more support tickets and more resend requests โ each of which costs you another SMS.
Almost every "OTP not received" problem falls into one of five groups: registration, routing, content filtering, the handset, or your own application. The delivery receipt (DLR) for the message is the fastest way to tell which one.
2. Start With the Delivery Receipt
| DLR status | What it means | Where to look |
|---|---|---|
| No submit response / API error | The message never left your system or was rejected by the gateway. | Your application logs, API key, balance, sender ID and number format. |
| REJECTD | Refused by the gateway or operator โ usually registration or content. | Sender ID or template registration; country rules; blocked content. |
| UNDELIV | The operator could not deliver it. | Invalid or inactive number, wrong network after porting, operator filtering. |
| EXPIRED | The network retried until the validity period ran out. | Handset off or out of coverage; congested route. |
| DELIVRD, but the user says nothing arrived | The receipt may be fake, or the message was hidden on the phone. | Route quality (grey routes fake receipts); handset spam folders and blocked senders. |
| No receipt at all | Receipt not requested, or not returned by the route. | Check registered_delivery=1 (SMPP) or your dlr_url (API). |
3. Registration Problems
A growing number of countries block OTPs from unregistered senders, even though OTPs are transactional:
- India: the message must use a registered DLT header and match an approved content template exactly โ an extra space or changed word causes rejection. The template ID must be sent with every message. See the India DLT guide.
- United States: alphanumeric sender IDs are not supported. OTPs must come from a 10DLC number registered with a 2FA campaign, a verified toll-free number or a short code. See the 10DLC guide.
- UAE, Saudi Arabia and other pre-registration markets: the sender ID must be registered with the operators before traffic is accepted.
If OTPs fail in only one country, registration is the first thing to check.
4. Routing Problems
- Grey routes: cheap routes that push business traffic through consumer SIM cards are blocked by operator firewalls, replace your sender ID with a random number, and often return fake DELIVRD receipts. They are the most common cause of "delivered but not received".
- Ported numbers: if your provider routes by number prefix rather than a live number-portability lookup, messages to users who changed operator go to the wrong network.
- Congestion and throttling: a burst of traffic that exceeds a route's throughput gets queued. For OTPs, a queue of a minute is as bad as a failure.
- Single-route dependency: if there is no backup route for an operator, any outage on that route stops your OTPs completely.
5. Content Filtering
Operators and phones filter messages that look like spam or phishing. OTP messages are filtered more often when they:
- Contain links, especially shortened URLs.
- Don't name the brand, or use a sender ID that doesn't match the brand.
- Contain promotional wording alongside the code ("Use code 123456 and get 20% off").
- Change their wording frequently, which also breaks template matching in registered markets.
A clean OTP is short and predictable: "849201 is your MyApp verification code. It expires in 5 minutes. Never share this code."
6. Handset and User Problems
- The phone is off, in airplane mode or out of coverage โ the message is delivered when it reconnects, if the validity period hasn't expired.
- The inbox is full on older phones.
- The user has blocked the sender, or the phone moved the message to a spam or "unknown senders" folder.
- The user is roaming abroad, where delivery can be slower or blocked by their operator.
- The number was typed wrong โ validate format on input and show the number back to the user before sending.
7. Application Problems
- Wrong number format: always send in international E.164 format (country code, no leading zero). A missing country code is one of the most common silent failures.
- Rate limits hitting real users: anti-fraud limits that are too strict can block genuine resend requests.
- Expired codes: if your code expires sooner than the SMS validity period, a slightly delayed message arrives with a code that no longer works.
- Resend creates a new code while the first is still in transit, so the user types the first code and it is rejected. Either keep the same code for resends within the expiry window, or accept the last two codes.
8. A Resilient OTP Setup
- Use direct operator routes for OTP traffic, with live number-portability lookups.
- Register sender IDs and templates in every country that requires them before launch.
- Request delivery receipts and record the time from request to receipt per country.
- If no DLR arrives within 10โ15 seconds, offer the user a resend, and on the second attempt switch channel (WhatsApp authentication template, RCS or voice).
- Track OTP conversion rate per country โ the share of codes users actually enter. It catches fake receipts and fraud that DLR reports miss.
- Protect the form from SMS pumping with country allow-lists, rate limits and bot checks. See defeating SMS pumping.
9. Quick Troubleshooting Checklist
- Is the number in E.164 format and valid for that country?
- Is the sender ID (and template, where required) registered for the destination country?
- What does the DLR say โ REJECTD, UNDELIV, EXPIRED, or nothing?
- Does the problem affect one country, one operator, or everyone?
- Does a test message to a real phone on that operator arrive, with your sender ID intact?
- Has message wording or the route changed recently?
For a full list of SMPP status codes, see the SMPP error code and DLR reference. For OTP routing and fallback setup, see our OTP SMS service.