Mexico SMS API Guide: IFT Telecommunications Law, Long Code Delivery, and Telcel/AT&T Routing
Mexico looks like a single market and behaves like three. Telcel, AT&T Mexico and Movistar each treat sender identity, throughput and content filtering differently — and above them the IFT governs the network while PROFECO governs the consumer.
In November 2025 a Monterrey fintech shipped an OTP flow that passed every staging test in the United States. In production, on MCC 334, roughly one in five verification codes reached the handset from a short code nobody recognised instead of the brand the company had paid to provision. Support tickets spiked. The gateway reported 100% delivery. Nothing was broken.
So what actually governs an application-to-person message in Mexico? The IFT and the Ley Federal de Telecomunicaciones y Radiodifusión at the network layer, the Ley Federal de Protección al Consumidor and the REPEP do-not-call registry at the consumer layer, and the Ley Federal de Protección de Datos Personales en Posesión de los Particulares over the data itself. And why does a message that clears every technical check still arrive wearing the wrong identity?
The head-fake is that this is a deliverability problem, because deliverability is the only thing your dashboard measures. It is not. On MCC 334 the network will happily carry your traffic while quietly rewriting the originator, and no SMSC response code will tell you the brand was swapped. The real gate is sender-ID registration per operator, a live opt-out registry, and a consent record PROFECO can demand on a Tuesday afternoon.
What does Mexico require before you can send A2P SMS?
Three things, in order. Marketing messages need prior, express consent and a working opt-out — ALTO to stop, AYUDA for help — with the number checked against PROFECO's REPEP do-not-call registry before dispatch. Alphanumeric sender IDs must be pre-registered per operator, and on Telcel and Movistar an unregistered mask is silently replaced by a short code. Transactional service messages such as OTPs carry no marketing-consent duty but still inherit the sender-ID and content-filtering rules. There is no single national A2P gateway: provisioning is per network.
Notice what is missing. There is no pre-approval window that blocks your first message, and no single national registry to file a campaign against. Mexico regulates the outcome, not the paperwork. That is precisely why teams read "no approval required" and conclude "no rules apply" — and why the failure surfaces weeks later as a PROFECO complaint rather than a bounce.
Mexican mobile numbering sits under MCC 334 with country code +52 and ten-digit national significant numbers. A valid destination is +52 followed by ten digits. Landlines do not receive SMS; a send to a fixed-line number returns an API error rather than a silent drop, which is the one place Mexico is merciful.
Two regulators, one message: the IFT over the network, PROFECO over the consumer
The Instituto Federal de Telecomunicaciones is the technical authority. It licenses the carriers, allocates numbering, and enforces the Ley Federal de Telecomunicaciones y Radiodifusión of 2014, the sector law that created the modern asymmetric-rates regime and the framework carriers use to police traffic quality. Its instruments reach you indirectly: an operator that lets grey-route traffic onto its SMSCs risks its own standing, so operator-level filtering does the IFT's work for it.
The ProcuradurÃa Federal del Consumidor sits on the other side of the fence. Advertising SMS without authorisation is a consumer-protection matter, and the Registro Público para Evitar Publicidad — REPEP — is its enforcement lever. REPEP is a live registry of consumers who have refused commercial contact, and senders are expected to consult it before campaigns rather than treat it as a static export.
Why REPEP behaves like a moving target
REPEP is not a quarterly list you import once. Consumers can add or remove themselves continuously, so the only defensible architecture is a query-and-cache layer with a short time-to-live plus a permanent internal suppression list, both enforced at dispatch. A campaign sent from a three-month-old snapshot is a campaign that will generate complaints.
Sender IDs in Mexico, step by step
Mexico has no single national sender-ID registry. Masks are provisioned through each operator, so acceptance is independent per network and a name that displays on Telcel may arrive as a numeric originator on Movistar. That is the mechanism behind the Monterrey incident: the mask was live on two networks and absent on the third.
Step one: anchor the identity to a Mexican legal entity
Choose a mask that traces to a registered Mexican entity, a trademark, or a recognisable trading name. A mask with no paper trail is the first thing an operator rejects, and it is the first thing a PROFECO investigator questions.
Step two: pre-register on Telcel and Movistar
Alphanumeric sender IDs require pre-registration on Telcel and Movistar. Unregistered masks are frequently replaced with a short code, which preserves delivery but destroys brand recognition — the exact failure mode a dashboard cannot see. AT&T Mexico is comparatively permissive with dynamic masks, which is why a mask can look healthy on one network and broken on another.
Step three: match the mask to the traffic class
Keep a clean transactional mask — for OTPs and service alerts — separate from any promotional mask. Mixing them teaches carriers and consumers alike that your transactional channel is a marketing channel, which is how a verification mask earns a spam reputation.
Step four: verify on all three networks with real handsets
Provisioning is not verification. Send test messages to a Telcel, an AT&T Mexico and a Movistar handset and read the originator that actually renders. A short code where you expected a mask is a provisioning gap, not a delivery success.
Mexico SMS telemetry: base rate, MCC-MNC and measured latency
The table below reflects Jacky Hossein's monitoring programme for Mexico: base rate per message, the MCC-MNC used for routing, and the window between submit and handset-confirmed delivery receipt.
| Carrier / Network | MCC-MNC | Base rate & latency (p50 / p95) |
|---|---|---|
| Telcel (América Móvil) | 334-020 | $0.0125/msg — p50 2.9 s, p95 8.7 s |
| AT&T Mexico | 334-050 | $0.0125/msg — p50 3.6 s, p95 11.9 s |
| Movistar (Telefónica) | 334-030 | $0.0125/msg — p50 4.1 s, p95 13.4 s |
Base rate $0.0125 per message across MCC 334; windows are submit-to-handset-confirmed DLR at p50 and p95. Dialling code +52, MCC 334.
Read the tail, not the median. A p95 of thirteen seconds on 334-030 is harmless for a marketing message and fatal for an OTP behind a thirty-second client timeout. Per-country rates sit on the pricing page and route detail under Mexico SMS rates.
Consent, REPEP and the data-protection layer
Consent in Mexico rests on the Ley Federal de Protección de Datos Personales en Posesión de los Particulares. Processing a mobile number for marketing requires a lawful basis — normally express consent collected through an aviso de privacidad — plus a mechanism to revoke it at any time. The revocation must be genuinely easy: a STOP reply processed in a nightly batch is not "at any time".
Layer REPEP on top of consent and the picture sharpens. Consent answers "may I contact you?"; REPEP answers "have you refused?" Both must pass, and they are checked at different times — consent at collection, REPEP at dispatch.
| Message class | Consent basis and permitted window | REPEP and legal exposure |
|---|---|---|
| Transactional | Existing relationship; no marketing consent needed; send on the event | REPEP does not bar service messages |
| Promotional | Prior express consent; daytime window; opt-out on every message | REPEP consultation required; PROFECO complaint risk |
| Cold outreach | No lawful basis under the LFPDPPP | Prohibited |
Enforcing the send window and the suppression list in code
Mexico spans several time zones, so the clock must be resolved explicitly rather than inferred from the server. The snippet below gates a promotional campaign on a 09:00-21:00 America/Mexico_City window and drops any number present in the REPEP cache or the internal suppression list before the API call is made.
import { DateTime } from "luxon";
const API = "https://api.sendsmsnokyc.com/sms/send";
// 1. Mexico promotional window: 09:00-21:00 America/Mexico_City (UTC-6)
const now = DateTime.now().setZone("America/Mexico_City");
const inWindow = now.hour >= 9 && now.hour < 21;
// 2. Consult REPEP + internal suppression list before dispatch
const blocked = new Set([...await repepLookup(number), ...suppressed]);
if (!inWindow || blocked.has(number)) return { skipped: true };
// 3. Dispatch a transactional OTP from the clean transactional mask
await fetch(API, {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.SR_LIVE_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
to: number, // +52 + 10 digits
sender_id: "ACMEOTP", // pre-registered on Telcel & Movistar
message: "Tu codigo es 849201. Responde ALTO para cancelar.",
}),
});
Two details matter more than the code. The opt-out line uses ALTO, not STOP, because Mexican consumers are trained on the Spanish keyword. And the mask is the transactional one — mixing promotional copy onto it is what converts a reliable verification channel into a filtered one.
Mexico SMS FAQ
Do I need to register a sender ID to send A2P SMS in Mexico?
There is no single national registry, but alphanumeric sender IDs must be pre-registered on Telcel and Movistar. Unregistered masks are frequently replaced with a short code, so the message delivers but loses your brand. Provision and verify on each network separately.
What is REPEP and how often must I consult it?
REPEP is PROFECO's Registro Público para Evitar Publicidad, a live registry of consumers who have refused commercial contact. Because entries change continuously, consult it before each campaign through a short-TTL cache rather than importing a stale snapshot. Mirror it with your own permanent suppression list.
Can I send promotional SMS to Mexico at any hour?
No. Promotional contact is expected to respect a daytime window — 09:00 to 21:00 local as generally applied — and Mexico spans several time zones, so resolve the clock explicitly against America/Mexico_City rather than trusting the server's default. Transactional messages such as OTPs are less restricted but should still avoid the middle of the night.
What opt-out keyword should I use?
ALTO to stop and AYUDA for help. Mexican consumers are trained on the Spanish keywords, so honour them in real time and confirm the opt-out back to the user. Processing a revocation in a nightly batch fails the "at any time" standard of the data-protection law.
Why does my OTP arrive from a short code instead of my brand?
Almost always an unregistered mask on one of the three networks. Send to a Telcel, an AT&T Mexico and a Movistar handset and read the rendered originator. If one network shows a short code, the mask is not provisioned there — a delivery success with a branding failure.
The bottom line for Mexico
Mexico is a three-network market with a live opt-out registry in the middle. The IFT governs how A2P traffic reaches Telcel, AT&T Mexico and Movistar under the Ley Federal de Telecomunicaciones y Radiodifusión. PROFECO governs whether you had any right to contact the person, and REPEP decides whether you may contact them at all. The data-protection law decides what you may keep afterwards. Nothing there demands a pre-approval cycle, which is why it catches teams that read "no approval" as "no rules".
The routing side is equally plain. Send from $0.0125 per message across MCC 334, route by MCC-MNC to Telcel on 334-020, AT&T Mexico on 334-050 and Movistar on 334-030 after resolving the serving network, enforce the America/Mexico_City window plus the REPEP suppression check where you can audit it, and verify the mask on every network with a real handset. Keep the transactional mask clean and reconcile handset-confirmed receipts rather than submit-time acknowledgements.
Jacky Hossein
Verified AuthorPrincipal Telecommunications & Cryptographic Systems Architect at SMSRoute. Specializes in carrier-grade SS7/SMPP routing protocols, non-custodial cryptocurrency billing rails, and zero-knowledge telecommunications privacy.
Send Global SMS in Under 60 Seconds Without KYC
Sign up with email only. Top up with Bitcoin, USDT, Monero, or Ethereum. Instant carrier interconnects to 149 countries from $0.004/msg.