Morocco

AI behavior law: bot and agent disclosure, crawler and training-data rules, automated-agent transactions, and algorithmic decision-making.

0
Instruments
0
Enacted
0
Proposed / in discussion
medium
Confidence

Summary

Morocco presents moderate risk for web crawling. The primary data-protection framework is Law No. 09-08 (2009, modelled on the French 1978 law), overseen by the CNDP (Commission Nationale de Contrôle de la Protection des Données à Caractère Personnel). The CNDP has begun active enforcement — issuing warnings to major data controllers and opening investigations into large-scale processing operations as of early 2025 (Decision D-939-2025 on cookie notices). Computer- system access offences are covered by Act 07-03 supplementing the Penal Code, which criminalises unauthorised access to automated data processing systems; penalties range from 1 month to 5 years imprisonment and MAD 2,000 to MAD 2,000,000. Copyright protection for databases arises under Law No. 2-00 on Copyright and Related Rights (2000) on a compilation-originality basis only; there is no EU-style sui generis database right. No TDM copyright exception exists. Morocco has not ratified the AU Malabo Convention. No English-language case law specifically addressing web scraping under Act 07-03 is publicly available; however, the broad drafting of the authorisation test means untested exposure remains. No comprehensive revision to Law 09-08 was enacted as of May 2026, though CNDP enforcement intensity has increased.

Automated-access legality

Carried forward from the crawler-law index. Governs whether automated clients may access public websites in this jurisdiction.

DimensionValue
Authorization testunsettled
Public-page carve-outunsettled
Terms-of-service browsewrap enforceablenotice dependent
Terms-of-service clickwrap enforceableyes
Copyright exception modelclosed list
Text and data mining — commercial statusprohibited
Text and data mining — opt-out mechanismnone
robots.txt legal weightnon binding notice
AI training-specific lawnone
Privacy regimeLaw No. 09-08 on Protection of Personal Data (2009), CNDP
Trespass to chattelsnot recognized

Last reviewed: 2026-05-24. Confidence: medium. Not legal advice.