Law / Morocco

Morocco

3 of 6 named instruments researched to a stage, across three of the six areas of law we track: 3 in force. As of 7 September 2026.

  1. AI law none researched
  2. Privacy law 1
  3. Scraping law 1
  4. Cybersecurity law none researched
  5. Age gating law none researched
  6. News aggregation law 1

in forceenacted but not yet in forceproposedrepealed, withdrawn or blocked

Drafted with AI from the cited sources under the direction of UnGovr staff. UnGovr holds editorial responsibility for this page.

Privacy law1 instrument, 1 in force

Research summary (219 words)

Morocco's comprehensive data-protection statute is Law No. 09-08 on the Protection of Individuals with Regard to the Processing of Personal Data, promulgated by Dahir No. 1-09-15 of 22 safar 1430 (18 February 2009) and enforced by the Commission Nationale de contrôle de la protection des Données à caractère Personnel (CNDP).

The law binds any physical or legal person, public or private, whose data controller is established in Morocco or who uses processing means located there, and it conditions processing on the data subject's consent or another enumerated ground, requires a prior declaration or CNDP authorization before most processing begins, arms the data subject with access, rectification and objection rights, limits automated decision-making based solely on profiling, restricts cross-border transfer to states the CNDP finds adequate, and backs these duties with a graduated schedule of fines and, for several offences, imprisonment.

Its sensitive-data category (Article 1(3)) reaches racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, and health data including genetic data; it does not name biometric identifiers such as a voiceprint or faceprint as a sensitive or heightened category, so a service processing a biometric identifier that is not otherwise tied to one of those named categories falls under the law's ordinary consent and declaration duties rather than its heightened prior-authorization regime for sensitive data.

Comprehensive regime

Law No. 09-08 on the Protection of Individuals with Regard to the Processing of Personal Data

Loi n° 09-08 relative à la protection des personnes physiques à l'égard du traitement des données à caractère personnel promulguée par le Dahir n° 1-09-15 du 22 safar 1430 (18 février 2009)Text of Law No. 09-08 (French, consolidated)

archived copyRead from a public archive copy, not the publisher directly. The publisher does not serve this page to automated readers, so a direct fetch was not an option here; how we access sources. Archived December 25, 2023. Publisher's page: https://www.cndp.ma/wp-content/uploads/2023/11/Loi-09-08-Fr.pdf

In force. Binds public and private bodies.

What this law does

Article 2 applies the law to automated and manual processing of personal data by a physical or legal person, public or private, whose controller is established in Morocco or who uses processing means located there. Article 4 requires the data subject's unambiguous consent before processing, unless the processing falls under Article 4's enumerated exceptions (a legal obligation, contract performance, vital interest, a public-interest mission, or the controller's legitimate interest).

Article 12 requires most processing to be the subject of a prior declaration to the CNDP, and requires CNDP prior authorization for sensitive data (Article 1(3): racial or ethnic origin, political opinions, religious or philosophical beliefs, trade union membership, or health data including genetic data), which is otherwise prohibited absent the data subject's express consent or another Article 21 ground.

Articles 7 to 9 give the data subject the right to access, rectify, and object to the processing of their data, and a provision preceding Article 7 bars a decision producing legal effects on a person from being based solely on automated processing intended to profile or evaluate an aspect of their personality. Article 10 bars direct marketing by automated call, fax, or electronic mail to a person who has not given prior consent.

Article 43 bars transferring personal data to a foreign state unless that state ensures a sufficient level of protection, as assessed by the CNDP, which maintains a list of adequate states. The CNDP, established by Article 27, supervises compliance, receives declarations and complaints, and issues authorizations.

Breach of these duties is backed by a graduated schedule of fines and, for several offences, imprisonment: an unauthorized or undeclared processing draws a fine of 10,000 to 100,000 dirhams (Article 52); refusing an access, rectification, or objection request draws a fine of 20,000 to 200,000 dirhams per infraction (Article 53); fraudulent or unlawful collection, or processing beyond the declared purpose, draws imprisonment of three months to one year and a fine of 20,000 to 200,000 dirhams (Article 54); an unlawful cross-border transfer draws the same imprisonment and fine range (Article 60); and processing sensitive data without the data subject's express consent draws imprisonment of three months to one year and a fine of 50,000 to 300,000 dirhams, the highest tier in the statute (Article 57).

What it requires

Scraping law1 instrument, 1 in force

Research summary (114 words)

Morocco's copyright statute, Law No. 2-00 on Copyright and Related Rights, promulgated in 2000 and amended by Law No. 34-05 (2006) and Law No. 79-12 (2014), is the source reaching a scraper's collection and reproduction of a database or other protected work; it protects a database as a compilation rather than through a separate sui generis right, and its enumerated exceptions expressly withhold the private-use exception from digital-form database reproduction, with no text-and-data-mining exception or machine-readable opt-out of any kind.

Morocco's legacy corpus separately records a criminal computer-misuse amendment to the Penal Code, Law No. 07-03, supplementing the Penal Code and promulgated in November 2003. Not read, so its provisions are not described here.

News aggregation law1 instrument, 1 in force

Research summary (100 words)

Morocco's Law No. 2-00 on Copyright and Related Rights carries two free-use exceptions bearing on the reproduction of published material: a general quotation exception (Article 14) and a press-specific exception for economic, political, or religious articles (Article 19(a)), each conditioned on citing the source and the author's name. Neither exception is a dedicated news-aggregation privilege, and the text does not address a systematic aggregator's reproduction of headlines and snippets.

Other aggregation-law dimensions, including a press-publisher neighbouring right, a compelled platform-to-publisher bargaining regime, a hot-news doctrine, and case law on hyperlinking or framing: not read, so they are not described here.

This page covers the instruments LexLint has researched to a stage. Instruments named in the corpus but not yet researched are counted in the head and are not listed here. Every entry carries its own primary source on its note page. This is a research index, not legal advice.