Frequently Asked Questions
Use a pre-registered alphanumeric sender ID and an SMS API like Twilio, Sinch, MessageBird, or Plivo. Ensure your messages comply with local regulations and best practices, such as obtaining opt-in consent and supporting Arabic script.
Alphanumeric sender IDs are preferred and fully supported. They require pre-registration, which takes about 3 weeks. Numeric sender IDs and short codes are not supported by major carriers like Maroc Telecom.
Two-way SMS is not fully supported through most providers, meaning businesses cannot typically receive replies to A2P messages via standard channels.
The recommended sending window is between 9:00 AM and 8:00 PM local time (WET/GMT+1). Avoid sending during prayer times, religious holidays like Ramadan, and Friday prayers out of respect for local customs.
No, sending SMS messages to landline numbers in Morocco is not possible and will result in delivery failure. Attempts to send to landlines typically return a 400 error with code 21614.
Standard SMS messages are limited to 160 characters for GSM-7 encoding or 70 characters for Unicode (UCS-2) encoding, which is required for Arabic text.
Obtain explicit opt-in consent, support opt-out keywords (STOP, ARRET, UNSUBSCRIBE, ????????), respect local time zones and customs, and avoid prohibited content such as gambling, adult material, and political messaging without authorization.
Pre-registration is required and takes approximately three weeks. Alphanumeric sender IDs are preserved across most networks, though not by Inwi.
Keep messages concise (under 160 characters), include a clear call to action, personalize content thoughtfully, maintain a consistent brand voice, and incorporate your company name.
MMS is not directly supported. When an MMS is sent, it's automatically converted to an SMS containing a URL where recipients can view the multimedia content.
Process opt-out requests within 24 hours, maintain a centralized opt-out database, and include clear opt-out instructions in every message.
Twilio, Sinch, MessageBird, and Plivo all offer APIs with features tailored for sending SMS in Morocco, including support for alphanumeric sender IDs and Unicode encoding.
Gambling, adult content, political messaging without authorization, religious content, illegal substances/services, and hate speech are all prohibited. Financial services and healthcare messages require additional documentation.
Use pre-registered sender IDs, avoid URL shorteners, use clear and professional language, and adhere to approved templates for sensitive industries like finance and healthcare. Maintain consistent sending patterns.
Limit messages to 4-5 per recipient per month. Space out bulk campaigns to avoid network congestion and monitor delivery rates closely.
Loading...
Morocco SMS Best Practices, Compliance, and Features
Morocco SMS Market Overview
Market Conditions: Morocco has a vibrant mobile communications market with three major operators: Maroc Telecom, Orange Morocco, and Inwi (formerly Wana). SMS remains a crucial communication channel for businesses and consumers, though messaging apps like WhatsApp and Facebook Messenger are increasingly popular. Android devices dominate the market, accounting for approximately 85% of mobile devices, while iOS devices make up the remaining share.
Key SMS Features and Capabilities in Morocco
Morocco offers robust SMS capabilities with support for concatenated messages and alphanumeric sender IDs, though two-way SMS functionality is limited.
Two-way SMS Support
Two-way SMS is not supported in Morocco through most providers. This means businesses cannot receive replies to their SMS messages through standard A2P channels.
Concatenated Messages (Segmented SMS)
Support: Yes, concatenation is supported across most networks, though support may vary by sender ID type.
Message length rules: Standard SMS length of 160 characters for GSM-7 encoding, or 70 characters for Unicode (UCS-2) encoding.
Encoding considerations: Both GSM-7 and UCS-2 encodings are supported. Arabic text requires UCS-2 encoding, reducing the character limit to 70 per segment.
MMS Support
MMS messages are not directly supported in Morocco. When attempting to send MMS, the message will be automatically converted to SMS with an embedded URL link where recipients can view the multimedia content. This ensures message delivery while maintaining compatibility across all networks.
Recipient Phone Number Compatibility
Number Portability
Number portability is available in Morocco, allowing users to keep their phone numbers when switching between mobile operators. This feature does not significantly impact SMS delivery or routing as messages are properly routed to the current carrier.
Sending SMS to Landlines
Sending SMS to landline numbers is not possible in Morocco. Attempts to send messages to landline numbers will result in delivery failure, typically generating a 400 response with error code 21614. These messages will not appear in logs and accounts will not be charged for failed attempts.
Compliance and Regulatory Guidelines for SMS in Morocco
SMS communications in Morocco are regulated by the National Telecommunications Regulatory Agency (ANRT). Companies must comply with local telecommunications laws and data protection regulations, including Law 09-08 concerning the protection of individuals with regard to personal data processing.
Consent and Opt-In
Explicit Consent Requirements:
Best Practices for Consent Collection:
HELP/STOP and Other Commands
Do Not Call / Do Not Disturb Registries
Morocco does not maintain a centralized Do Not Call registry. However, businesses should:
Time Zone Sensitivity
Morocco observes Western European Time (WET/GMT+1). While there are no strict legal time restrictions for SMS:
Phone Numbers Options and SMS Sender Types for Morocco
Alphanumeric Sender ID
Operator network capability: Fully supported across major networks
Registration requirements: Pre-registration required, takes approximately 3 weeks
Sender ID preservation: Yes, preserved across all networks except Inwi
Character limits: Up to 11 characters, alphanumeric only
Long Codes
Domestic vs. International:
Sender ID preservation: No, international numbers may be overwritten with generic alphanumeric IDs
Use cases: Not recommended for marketing campaigns; better suited for transactional messages
Short Codes
Support: Not currently supported in Morocco
Alternative: Use pre-registered alphanumeric sender IDs instead
Restricted SMS Content, Industries, and Use Cases
Prohibited Content:
Regulated Industries:
Content Filtering
Known Carrier Filters:
Best Practices to Avoid Filtering:
Best Practices for Sending SMS in Morocco
Messaging Strategy
Sending Frequency and Timing
Localization
Opt-Out Management
Testing and Monitoring
SMS API integrations for Morocco
Twilio
Twilio provides a robust REST API for sending SMS to Morocco. Authentication uses account SID and auth token.
Sinch
Sinch offers a straightforward REST API with JWT authentication for Morocco SMS.
MessageBird
MessageBird provides a feature-rich API with support for Morocco's specific requirements.
Plivo
Plivo offers a reliable API with specific features for Morocco messaging.
API Rate Limits and Throughput
Strategies for Large-Scale Sending:
Error Handling and Reporting
Recap and Additional Resources
Key Takeaways
Compliance First
Technical Considerations
Best Practices
Next Steps
Additional Resources
Official Resources:
Industry Resources:
Technical Documentation: