Digital and data law in Morocco: laws, articles and answers

Law 09-08, CNDP, online reputation, e-signatures. Find the official texts, the essential articles explained simply and answers to the most frequent questions.

Moroccan digital law protects personal data (Law No. 09-08, supervised by the CNDP), governs cybersecurity (Law No. 05-20), trust services and electronic signatures (Law No. 43-20), as well as electronic communications.

It applies both to individuals, who have rights over their data, and to businesses, which must declare their processing activities and secure information.

What this area covers

  • Personal data and individuals' rights
  • Business obligations, CNDP declarations
  • Sensitive data (health, biometrics)
  • Cybersecurity
  • Electronic signature and trust services
  • Online reputation and e-commerce

Institutions and procedures

  • CNDP — supervises the protection of personal data
  • DGSSI — national cybersecurity authority
  • ANRT — regulates telecommunications

Digital and data law: the essential rules

  1. Any person may obtain free of charge communication of the data concerning them (Law No. 09-08, art. 7).
  2. Data must be collected for determined, explicit and legitimate purposes and must not be reused in an incompatible manner (art. 3).
  3. Anyone may object, free of charge, to the use of their data for prospecting purposes (art. 9).
  4. The processing of health data is subject to prior authorisation from the CNDP, except in certain cases (art. 12).
  5. The data controller must implement security measures appropriate to the risks (art. 23).

Each rule links to the official article. General legal information: only publication in the Official Bulletin is authoritative.

Reference texts

Key articles

Frequent questions

Document templates

Glossary

Personal data
information relating to an identified or identifiable person
Data controller
organisation that decides how data is used
Electronic signature
process that identifies the signatory of a digital document

Questions and answers

Which authority protects personal data in Morocco?

The CNDP, the National Commission for the Control of the Protection of Personal Data (Law No. 09-08).

Is access to my data subject to a fee?

No, it is free of charge (Law No. 09-08, art. 7).

Can I refuse commercial prospecting?

Yes, free of charge and without giving any reason (art. 9).

Other texts in force

  1. Laws and decreesLoi n° 09-08 relative à la protection des personnes physiques à l'égard du traitement des données à caractère personnel — CNDPFR
  2. Laws and decreesLoi n° 09-08 relative à la protection des personnes physiques à l'égard du traitement des données à caractère personnel — CNDPFR
  3. Laws and decreesDahir n° 1-00-19 portant promulgation de la loi n° 17-97 relative à la protection de la propriété industrielle — HACAFR
  4. Laws and decreesRapport de la HACA sur la couverture du projet de loi de finances 2016 par les médias audiovisuels — HACAFR
  5. Laws and decreesRapport de la HACA sur la couverture du projet de loi de finances 2016 par les médias audiovisuels — HACAFR
  6. Laws and decreesLoi n°24-96 consolidée relative à la poste et aux télécommunications — ANRTFR
  7. Laws and decreesLoi n°24-96 consolidée relative à la poste et aux télécommunications — ANRTFR
  8. Laws and decreesLoi n°24-96 relative à la poste et aux télécommunications, version consolidée — ANRTFR
  9. Laws and decreesDahir n° 1-97-162 portant promulgation de la loi n° 24-96 relative à la poste et aux télécommunications — HACAFR
  10. Laws and decreesServices de confiance pour les transactions électroniquesFR · 2025-11-12
  11. Laws and decreesDahir n° 1-00-20 portant promulgation de la loi n° 2-00 relative aux droits d’auteur et droits voisins — HACAFR

Latest official texts

  1. Otherكلمة رئيس الهيئة العليا للاتصال السمعي البصري بمناسبة التوقيع على دفاتر تحملات المتعهدين الجدد — HACA2026-11-18
  2. OtherProcès-verbal de signature des cahiers des charges des prestataires de services de communication audiovisuelle — HACA2026-11-18
  3. Otherوثيقة مجموعة العمل الخاصة بموضوع التقنين ووسائل الإعلام الرقمية: استخدام الإنترنيت في كامل الأمان — HACA2026-11-18
  4. Otherوثيقة مجموعة العمل: استخدام الإنترنيت في كامل الأمان وحسن استعمال الشباب والأطفال للفضاء الرقمي — HACA2026-11-18
  5. DecisionsAvis n° A/3/26 du 5 mai 2007 relatif à l'investissement dans l'enfance — HACA2026-11-18
  6. Otherتصنيف الفئات العمرية للبرامج التلفزية وتقييد أوقات بثها — HACA2026-11-18

Other areas of law