Our reading · Not legal advice

Moroccan telecom and data rules, read for you

Phone lines, numbers, equipment, call recordings and customer data are governed by several Moroccan texts. We read them while building our phone and messaging products. Here is what we found most useful for a business.

Last reviewed:

Phone lines and numbers

Matters if you choose a phone provider, or change operator.

Who may sell you telephone service?

What the source says

Selling telephony over the internet to the public, and carrying other people's calls, is reserved to licensed operators. Inside its own network, a company may use internet telephony freely.

Our reading

Your SIP trunk and your phone numbers are contracted with a licensed operator, such as Maroc Telecom, Orange or inwi. Your phone system's software can come from any vendor.

Source: Law 24-96 on post and telecommunications, ANRT texts page (French)Read on

With 360 IPPBX, your trunk and your numbers stay with your licensed operator →

Can you keep your numbers when you change operator?

What the source says
  • Porting is free for the customer; the receiving operator bears the costs.
  • You deal only with your new operator: you file a signed porting request with it, and it counts as your termination request to your current operator.
  • Your current operator may not refuse because of a dispute, unpaid bills, other services still subscribed, or a contract not yet expired.
  • For lines with direct-dial (SDA) numbers, the request must give the head number and the associated numbers. Numbers not listed are treated as terminated, unless you ask to keep them with your current operator.
  • Your current operator must give the full list of your grouped and direct-dial numbers within one working day of your request.
  • Fixed numbers can be ported to another fixed operator within the same area code. Mobile and non-geographic (08, 09) numbers can also be ported.
  • You have one working day to withdraw your request. Your current operator then has two working days: one to accept or reject (silence counts as acceptance) and one to carry out the transfer. Incoming calls may be interrupted for at most two hours.

Where do Moroccan numbers come from?

What the source says
  • Moroccan numbers have 9 digits after the 0: 05 is fixed, 06 and 07 are mobile, 08 is non-geographic.
  • The numbering plan labels several 08 blocks « VoIP ». All are held by licensed operators (Maroc Telecom, Orange, inwi).
  • Only licensed operators receive number blocks from the ANRT, and numbers can't be owned or transferred without the ANRT's agreement.
Our reading

A Moroccan number offered by a provider that isn't a licensed Moroccan operator should still come from one. Ask which operator it comes from.

Source: Law 24-96, article 9 bis, ANRT texts page (French)Read on

Phones, cordless phones and gateways

Matters if you buy desk phones, cordless phones or gateways.

Does equipment need approval?

What the source says
  • Every model of terminal or radio equipment must be approved by the ANRT before it is imported, stocked, sold, distributed or advertised in Morocco. That includes desk phones, DECT cordless phones, and analog, E1 and GSM gateways.
  • Approval costs 500 MAD (excluding VAT) per model, is answered within 15 working days, and is valid for 10 years.
  • The ANRT publishes the list of approved models.
  • Whoever applies for approval undertakes to keep a register of every unit sold (serial number, buyer's identity, sale date) and to have its distributors keep one too. The ANRT's import form for mobile modems and terminals (GSM, LTE…) carries the same undertaking.
  • Selling unapproved equipment is fined per unit.
Our reading

Before you buy phones or gateways, check the model on the ANRT's list, or ask your supplier for its approval.

Source: Law 24-96, article 81, ANRT texts page (French)Read on

Can a company use SIM-card gateways?

What the source says

A company may use an approved GSM gateway for its own calls. Carrying other people's calls through one is reserved to licensed operators.

Our reading

Use SIM gateways only for your company's own calls, on SIM cards registered to your company, and check your operator's terms.

Source: ANRT decision 04-04 of 6 April 2004, telephony over IP (French)Read on

Calls and customer data

Matters if you record calls, run campaigns, or use services that hold your customers' data.

What do you need before recording calls?

What the source says
  • A voice is personal data under law 09-08.
  • Callers must be informed before their call is recorded.
  • The processing must be declared to the CNDP before it starts.
  • Recordings may be kept only as long as needed for the purpose declared.
  • Recording someone's private words without their consent is an offence under the Penal Code.
Our reading

A short message at the start of the call is the usual way to inform callers.

When does sending data abroad need authorisation?

What the source says
  • Storing or processing personal data outside Morocco is a transfer under law 09-08.
  • The CNDP has listed the countries it considers adequately protective: the EU and EEA countries, the United Kingdom, Switzerland and Canada.
  • Other transfers need the CNDP's authorisation. The CNDP publishes a transfer form (F-118).
Our reading

When a service sends recordings or transcripts abroad, choose a region in a listed country where you can, and check whether you need to file with the CNDP.

Source: CNDP form F-118, transfer abroad (French)Read on

What do campaigns and automated calls need?

What the source says
  • Prospecting by automated calls or recorded messages needs the person's prior consent.
  • A seller calling by phone must state who they are and the commercial purpose of the call.
Our reading

Keep a do-not-call list, and record each person's consent before you run a campaign.

Source: Law 31-08 on consumer protection, DGSSI texts page (French)Read on

Who is responsible for your customers' data?

What the source says

When a processor handles data for a controller, a contract must govern it. The processor acts only on the controller's instructions, carries the same security duties, and these are recorded in writing.

Our reading

Your company, which decides why and how its customers' data is processed, is the controller; a provider that hosts or processes the data for you is the processor. Ask your provider for its processor contract before you go live.

Source: Law 09-08, article 23, CNDP (French)Read on

Public bodies and critical sectors

Matters if you are a state administration or run vital infrastructure.

Where must sensitive data be hosted?

What the source says
  • State administrations and operators designated as vital infrastructure must host data they classify as sensitive only in Morocco, under a contract governed by Moroccan law. The vital sectors are listed by decree 2-21-406 (among them banking, insurance, telecommunications, health and energy); the list of designated operators is not public.
  • Decree 2-24-921 (Official Bulletin 7380 of 20 February 2025) requires vital-infrastructure entities to use a DGSSI-qualified cloud provider for sensitive systems and data, with a transition period.
Our reading

If you are such a body, classify your phone and conversation data first. Installing the system on your own servers, or hosting it with a DGSSI-qualified provider, are the usual paths.

Source: Decree 2-24-921 on the use of cloud services, DGSSI notice (French)Read on

See also: Moroccan personal-data rules, read for you: filing with the CNDP, providers, transfers, staff, health and websites

Seen an error, or a text that has changed? Write to [email protected].