Country Summary

Country nameMorocco
ISO codeMA
RegionMiddle East & Africa
Mobile country code604
Dialing code+212

Guidelines

Two-way SMS supported No
Number portability availableYes
Twilio concatenated message supportYes
Message length-----
Twilio MMS supportConverted to SMS with embedded URL
Sending SMS to landline numbersYou cannot send SMS to a landline destination number: the Twilio REST API will throw a 400 response with error code 21614, the message will not appear in the logs, and the account will not be charged.
Compliance considerations

Twilio strongly encourages customers to review proposed use cases with qualified legal counsel to make sure that they comply with all applicable laws. The following are some general best practices:

  1. Get opt-in consent from each end-user before sending any communication to them, particularly for marketing or other non-essential communications.
  2. Only communicate during an end-user’s daytime hours unless it is urgent.
  3. SMS campaigns should support HELP/STOP messages, and similar messages, in the end-user’s local language.
  4. Do not contact end-users on do-not-call or do-not-disturb registries.

Phone Numbers & Sender ID

AlphanumericLong CodeShort Code
Pre-registrationDynamicDomesticInternational
Operator network capabilitySupportedSupportedNot SupportedNot SupportedNot Supported
Twilio supported Supported Supported
Learn more
--- Supported---
Sender ID preservedYesYes --- No---
Provisioning time24 working daysN/AN/AN/AN/A
UCS-2 supportSupportedSupportedN/ASupportedN/A
Use case restrictions

Only the Wana Telecom network requires international customers to pre-register Alphanumeric Sender IDs.

All networks require local customers to pre-register Alphanumeric Sender IDs.

The Wana Telecom network does not support dynamic Alphanumeric Sender IDs — they will be overwritten with a generic Alphanumeric Sender ID outside the Twilio platform.

Alphanumeric Sender IDs can be pre-registered with Wana Telecom.

N/A

Numeric Sender ID is not supported by the Maroc Telecom and Wana Telecom networks. Numeric Sender IDs will be overwritten with a generic Alphanumeric Sender ID outside the Twilio platform. Delivery is on a best-effort basis.

N/A

Best practices

N/A

Pre-register Alphanumeric Sender IDs with Wana Telecom to avoid these IDs beng replaced with a generic Alphanumeric Sender ID.

Pre-register Alphanumeric Sender IDs with other Moroccan networks to avoid blocking and filtering.

N/A

Use non-generic Alphanumeric Sender IDs to send messages to Morocco for better delivery.

N/A

Alphanumeric - Pre-registration
Operator network capabilitySupported
Twilio supported Supported
Sender ID preservedYes
Provisioning time24 working days
UCS-2 supportSupported
Use case restrictions

Only the Wana Telecom network requires international customers to pre-register Alphanumeric Sender IDs.

All networks require local customers to pre-register Alphanumeric Sender IDs.

Best practices

N/A

Alphanumeric - Dynamic
Operator network capabilitySupported
Twilio supported Supported
Learn more
Sender ID preservedYes
Provisioning timeN/A
UCS-2 supportSupported
Use case restrictions

The Wana Telecom network does not support dynamic Alphanumeric Sender IDs — they will be overwritten with a generic Alphanumeric Sender ID outside the Twilio platform.

Alphanumeric Sender IDs can be pre-registered with Wana Telecom.

Best practices

Pre-register Alphanumeric Sender IDs with Wana Telecom to avoid these IDs beng replaced with a generic Alphanumeric Sender ID.

Pre-register Alphanumeric Sender IDs with other Moroccan networks to avoid blocking and filtering.

Long Code - Domestic
Operator network capabilityNot Supported
Twilio supported ---
Sender ID preserved ---
Provisioning timeN/A
UCS-2 supportN/A
Use case restrictions

N/A

Best practices

N/A

Long Code - International
Operator network capabilityNot Supported
Twilio supportedSupported
Sender ID preservedNo
Provisioning timeN/A
UCS-2 supportSupported
Use case restrictions

Numeric Sender ID is not supported by the Maroc Telecom and Wana Telecom networks. Numeric Sender IDs will be overwritten with a generic Alphanumeric Sender ID outside the Twilio platform. Delivery is on a best-effort basis.

Best practices

Use non-generic Alphanumeric Sender IDs to send messages to Morocco for better delivery.

Short Code
Operator network capabilityNot Supported
Twilio supported---
Sender ID preserved---
Provisioning timeN/A
UCS-2 supportN/A
Use case restrictions

N/A

Best practices

N/A

For the benefit of all our customers, these guidelines are provided to help you comply with applicable requirements and to help ensure Twilio's platform remains compliant with global telecommunications ecosystem requirements. These guidelines represent our current understanding of common compliance requirements generally applicable to Twilio and its customers, and do not constitute legal advice. By posting these guidelines, Twilio makes no assurances regarding the legal compliance of your application built using our APIs. You are expected to understand and abide by all compliance obligations applicable to your specific application. You should check these pages regularly for updates as telecommunications ecosystem requirements continue to evolve and change, and the information below may be updated or changed without notice.