Our reading · Not legal advice

Moroccan personal-data rules, read for you

Customer files, patient records, call recordings, cameras and website cookies fall under law 09-08 and the CNDP. We read the law, its decree and the CNDP's published deliberations while building our software. Here is what we found most useful for a business.

Last reviewed:

Filing with the CNDP

Matters if you keep files on customers, patients or employees.

Do you need to file with the CNDP?

What the source says
  • Processing personal data must be declared to the CNDP beforehand or, in some cases, authorised beforehand.
  • The company that decides why and how the data is processed (the « responsable du traitement ») files, through its legal representative.
  • A declaration (form F211; simplified form F214) is acknowledged within 24 hours.
  • An authorisation request (form F112; simplified form F113) is answered within two months, extendable once. If the CNDP has not answered by the deadline, the authorisation is deemed granted.
Our reading

If you use software that holds your customers', patients' or employees' data, the filing is yours, not your software provider's. Ask your provider for a technical description (which data, where it is stored, how long it is kept, how it is protected) to make the form quicker.

Source: CNDP, formalities (French)
Source: CNDP form F112, prior authorisation (French)Read on

When is an authorisation needed instead of a declaration?

What the source says

Prior authorisation is required, among other cases, for:

  • sensitive data and health data;
  • processing that includes the national ID card (CIN) number;
  • data on offences and convictions;
  • using data for a purpose other than the one it was collected for;
  • interconnecting files.
Our reading

Businesses that record CIN numbers, such as car-rental agencies, real-estate agencies and hotels, and medical practices usually need an authorisation, not just a declaration.

Source: CNDP, formalities (French)Read on

What must you tell people, and what can they ask?

What the source says
  • People must be informed when their data is collected: who is collecting it, for what purpose, who receives it, and their rights.
  • They have the right to access their data, to have it corrected, to object to its processing on legitimate grounds, and to object free of charge to prospecting.
  • The CNDP publishes model notices for forms, signs and contracts.
Our reading

Put a short notice on every form, contract and sign. The CNDP's models are a good starting point.

Source: CNDP, model notices (French)Read on

Providers and transfers abroad

Matters if a provider hosts or processes your data, in Morocco or abroad.

What does the law ask of a provider that handles your data?

What the source says
  • When a provider (the « sous-traitant ») processes data for you, a contract or legal act must govern it.
  • The provider acts only on your instructions and carries the same security duties.
  • The contract and the security requirements are recorded in writing.
  • The law punishes a provider's security failures, even through negligence.
Our reading

Ask every provider that hosts or processes your data for its processor contract before you go live.

Source: Law 09-08, articles 23 and 61, CNDP text (French)Read on

When can data be sent abroad?

What the source says
  • Data may be transferred to a foreign country only if that country ensures an adequate level of protection, unless an exception applies (for example the person's express consent) or the CNDP authorises it.
  • The CNDP lists the countries it considers adequate: the European Union countries; Iceland, Liechtenstein and Norway; Switzerland, the United Kingdom and Canada.
  • A transfer is requested with form F118. It is granted only for processing that has already been declared or authorised.
Our reading

Prefer hosting in Morocco or in a listed country. If a service such as a cloud, remote support or an AI tool sends your data elsewhere, check whether you must file a transfer request.

Source: CNDP form F118, transfer abroad (French)Read on

Your sector

Matters if you employ staff, run a health practice, sell online, or receive visitors.

Employees: what about time clocks, cameras and vehicles?

What the source says
  • The CNDP does not allow biometrics (fingerprint, face) to be used to manage employees' working time.
  • Workplace cameras must not be used to watch one or more employees, nor places of worship, union premises, toilets, meeting rooms or break areas. Images are kept at most three months.
  • Geolocation data from company vehicles is kept at most one year, and employees must be informed.
Our reading

Use badges, tickets or codes to record working time, not fingerprints or faces.

Source: CNDP deliberation 17-2014 on vehicle geolocation (French)Read on

Health practices: what applies to patient data?

What the source says
  • Health data needs prior authorisation.
  • The CNDP has published a model authorisation request for patient follow-up, including telemedicine (deliberation D-941-2025).
  • Video surveillance in health establishments follows a model authorisation (deliberation D-942-2025). Images are kept at most six months after the patient leaves.
Our reading

Use the D-941-2025 model for your patient software. It lists the data, purposes and security measures the CNDP expects.

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

Websites: what about cookies, newsletters and online payment?

What the source says
  • Cookies follow a simplified declaration model (deliberation D-939-2025): data from cookies is kept at most six months, and consent is required for advertising and social-media cookies.
  • Newsletters follow a simplified declaration model (deliberation D-940-2025): addresses are kept until the person unsubscribes.
  • For online sales, the card's expiry date and security code (CVV) must not be kept after the transaction.
Our reading

Ask for consent before any non-essential cookie, and prefer analytics without cookies.

Source: CNDP deliberation 508-AU-2014, online sales (French)Read on

Penalties

Matters if you process personal data in Morocco.

What are the penalties?

What the source says
  • The penalties are criminal: fines from 10,000 to 300,000 dirhams and, for most offences, three months to one year in prison.
  • Fines are doubled for companies, and doubled again for a repeat offence.
Source: Law 09-08, articles 52 to 65, CNDP text (French)Read on

See also: Moroccan telecom and data rules, read for you: phone lines, numbers, equipment and call recording

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