Morocco SMS Gateway

Send SMS to Morocco with Direct Carrier Delivery

EnvoiSMS.ma is the native Moroccan SMS gateway for international platforms, SaaS applications, and global enterprises. Deliver transactional alerts, OTP codes, and notifications to +212 mobile numbers with direct routing across Maroc Telecom (IAM), Orange Morocco, and Inwi.

Moroccan Mobile Number Formatting Guide (+212)

Morocco uses the international calling code +212. To send an SMS to a Moroccan mobile subscriber, format the phone number in E.164 international format by prepending +212 and dropping the leading national zero. Valid mobile phone numbers in Morocco always begin with digit 6 or 7: • Maroc Telecom (IAM): +212 6XX XX XX XX or +212 7XX XX XX XX • Orange Morocco: +212 6XX XX XX XX or +212 7XX XX XX XX • Inwi: +212 6XX XX XX XX or +212 7XX XX XX XX Fixed landlines in Morocco begin with +212 5 and do not receive SMS. The EnvoiSMS platform automatically validates, cleans, and normalizes phone numbers in your API payloads, whether passed in local format (0612345678), international format (+212612345678), or without punctuation (212612345678).

  • Country calling code: +212
  • Valid mobile prefixes: +212 6... and +212 7...
  • Automatic normalization of national and international formats
  • Automatic filtering of unroutable landlines (+212 5)

Direct Local Carrier Routing & Handset Delivery Reports (DLR)

Many international aggregators route Moroccan traffic through roaming hops, leading to delayed OTP deliveries, dropped messages, or altered sender IDs. EnvoiSMS.ma routes directly into local carrier interconnects with Maroc Telecom, Orange, and Inwi. The platform includes automatic failover between routes and returns verified handset delivery reports (DLR) pushed to your systems in real time via HMAC-SHA256 signed webhooks.

  • Direct local routes to Maroc Telecom (IAM), Orange, and Inwi
  • Automatic failover between routes for continuous availability
  • Instant delivery receipts (DLR) via HMAC-SHA256 signed webhooks
  • Fast OTP and transactional delivery across all three networks

Alphanumeric Sender ID & Regulatory Compliance (ANRT & CNDP)

Sender identity helps ensure high open rates and recipient trust. EnvoiSMS supports custom alphanumeric Sender IDs (up to 11 characters, e.g. YOURBRAND) so recipients recognize your business immediately rather than receiving texts from anonymous numbers. Messaging adheres to Moroccan National Telecommunications Regulatory Agency (ANRT) guidelines and Law 09-08 regarding personal data protection overseen by the CNDP.

  • Custom alphanumeric Sender ID up to 11 characters
  • ANRT-compliant routing and sender validation support
  • Compliance with Moroccan Law 09-08 on personal data protection (CNDP)
  • Automatic STOP keyword opt-out handling for marketing broadcasts

Transparent Pay-As-You-Go Pricing in MAD, EUR, and USD

Pay only for what you send. With EnvoiSMS.ma, SMS credits never expire, and there are no recurring platform subscription fees or setup costs. Pricing starts at 0.48 MAD (~€0.045 / $0.049 USD) per standard 160-character SMS, with volume tiers down to 0.35 MAD (~€0.033 / $0.036 USD) for higher volume usage. Account balances can be funded with international credit cards (Visa, Mastercard, AMEX via Stripe) or bank wire transfer upon request.

  • Pricing from 0.48 MAD (~€0.045) down to 0.35 MAD (~€0.033) per SMS
  • No monthly subscription, no setup fees, no credit expiration
  • Card payment via Stripe (Visa, Mastercard, AMEX) or bank transfer
  • Downloadable VAT invoices for corporate accounting

Developer REST API Integration

Integrating SMS into your software takes only a few lines of code. Send an authenticated JSON POST request with your API token, sender name, recipient, and message text. Receive an immediate message ID and receive delivery callbacks via webhooks.

  • Standard JSON/HTTP REST API with OpenAPI 3.0 specification
  • Supports single SMS and batch sending up to 10,000 numbers per request
  • Native Unicode support for Arabic, French, and English characters
  • Live sandbox testing environment with starter credits

Everything you need to know about Morocco SMS Gateway.

How do I format a Moroccan phone number to send an SMS?
Add the international country code +212 and drop the leading zero. For example, if the local Moroccan mobile number is 06 12 34 56 78, format it as +212612345678. Mobile numbers start with 6 or 7. Fixed landlines start with 5 and cannot receive SMS.
Which mobile networks in Morocco are supported?
EnvoiSMS.ma provides full coverage across all three licensed mobile operators in Morocco: Maroc Telecom (IAM), Orange Morocco, and Inwi.
How much does it cost to send an SMS to Morocco?
Pricing starts at 0.48 MAD per SMS (approximately €0.045 or $0.049 USD) on pay-as-you-go, decreasing to 0.35 MAD per SMS for higher volumes. There are no monthly platform fees, setup charges, or hidden maintenance costs.
Can I use my own company name as the Sender ID in Morocco?
Yes. You can use an alphanumeric Sender ID of up to 11 characters (letters, numbers, and spaces) so your recipients see your brand name. In accordance with Moroccan ANRT regulations, sender IDs are verified to prevent spoofing and brand impersonation.
What payment methods are supported for international clients?
We accept international credit and debit cards (Visa, Mastercard, American Express) processed securely via Stripe, as well as bank wire transfers upon request. Top-ups made via card are credited to your account balance immediately.
How fast are OTP and verification SMS delivered in Morocco?
Because we route directly to local carrier networks, verification SMS and OTP messages are dispatched without international transit delays, providing timely authentication for user signups and login verification.
How do I integrate the API into my application?
Create an account on EnvoiSMS.ma, obtain your API token in the dashboard, and send an HTTP POST request to https://api.envoisms.ma/v1/messages. Code examples for cURL, Node.js, Python, PHP, and Go are available in our documentation.