For an explanation of how to read this resource, please refer to the guide at the bottom.
AI Regulation
There is no regulation specifically governing AI in the country. Although a private sector initiative proposed recommendations for the development of an AI strategy in October 2023, this effort did not result in significant progress.1 Since then, there have been at least two proposals for legislation to regulate AI.2 It has been reported that as of May 2024 the Ministry of Justice was drafting an AI law for the country.3
Definitions of AI
As the country is yet to establish AI regulations, there is no formal definition of AI.
Core Principles
As the country is yet to establish AI regulations, there is no formal statement of core AI principles.
Public Consultations
Based on publicly available information, we have not found evidence of invitations for public input on AI governance in the country.
Existing Legal Framework
A non-exhaustive list of regulations that might affect AI in the country includes:
- Constitution of Morocco4
- Digital Morocco 2030 Strategy (Stratégie Maroc Digital 2030)5
- The National Cybersecurity Strategy 2030 (La Stratégie Nationale de Cybersécurité 2030)6
- Post and Telecommunications Law (Law 24-96), as subsequently amended7
- Electronic Transactions Law (Law 43-20 of 31 December 2020)8
- Law on Electronic Exchange of Legal Data (Law No. 53-05 of 30 November 2007)9
- Personal Data Protection Law (Law No. 09-08 of 18 February 2009) and its implementing Decree No. 2-09-165 of 21 May 200910
- Right to Access Information Law (Law 31-13 of 22 February 2018)11
- Cybersecurity Law (Law No. 05-20 of 25 July 2020)12
- Consumer Protection Law (Law 31-08 of 18 February 2011)13
Human Rights
The UDHR was adopted by the UN General Assembly on 10 December 1948. Its principles are considered universal and applicable to all UN member states. As a member of the UN, Morocco has committed to upholding the principles of the UDHR. The Constitution of Morocco includes provisions that protect fundamental human rights.14 Article 24 guarantees the right to privacy (protection of private life, inviolability of domicile, and secrecy of private communications). Other protections include the rights to equality (Article 19), life (Article 20), dignity (Article 22), freedom of expression (Article 25), and healthcare, education and work (Article 31). With respect to key international human rights instruments, Morocco has not ratified the ACHPR but has ratified the ICCPR and ICESCR. Additionally, the country has not signed or ratified the Malabo Convention.
Regulators
A non-exhaustive list of regulators that might impact AI in the country includes:
- Digital Development Agency (Agence de Développement du Digital) (ADD)15
- National Telecommunications Regulatory Agency (Agence Nationale de Réglementation des Télécommunications) (ANRT)16
- National Center for Scientific and Technical Research (Centre National pour la Recherche Scientifique et Technique) (CNRST)17
- Ministry of Justice18
- National Commission for the Control of Personal Data Protection (Commission Nationale de Contrôle de la Protection des Données à Caractère Personnel) (CNDP)19
- General Directorate of Information Systems Security (Direction Générale de la Sécurité des Systèmes d'Information) (DGSSI)20
- Moroccan Computer Emergency Response Team (maCERT)21
- Moroccan Institute for Standardisation (Institut Marocain de Normalisation) (IMANOR)22
- Moroccan Federation of Consumer Rights (Fédération Marocaine des Droits du Consommateur) (FNDC)23
- National Human Rights Council (Conseil National des Droits de l'Homme) (CNDH)24
- Mediator Institution (Institution du Médiateur)25
R&D and Multi-Stakeholder Initiatives
In 2019, the Moroccan Ministry of Education, ADD, and CNRST launched a MAD 50 million ($5.43 million) initiative, the Al Khawarizmi program, to fund 45 projects focused on AI and big data.26
In 2023, Morocco’s International University of Rabat signed a memorandum of understanding with Israel Aerospace Industries to establish a Center of Excellence in Aeronautics and Artificial Intelligence.27
In 2024, the government of Morocco agreed with Iozera, a Texas-based entity, to establish a 386 MW data centre and AI hub in Morocco.28
In February 2024, Huawei Morocco and the Moroccan Ministry of National Education, Preschool and Sports partnered to launch the DigiSchool 2024 project.29 This programme, aligned with the government's 2022-2026 education reform roadmap, was part of Huawei's global TECH4ALL digital inclusion program.30 Concluding in December 2024, the project focused on the training of teachers and students in the fields of AI, virtual reality, and other technologies.31
In February 2025, the General Confederation of Moroccan Enterprises announced a program to equip 1,000 small and medium-sized enterprises with AI skills.32 This initiative involves a collaboration with the European Bank for Reconstruction and Development (EBRD) and LinkedIn, with support from the Association des Femmes Entrepreneurs du Maroc (AFEM) and Technopark.33
Professional/Industry Associations
A non-exhaustive list of professional or industry associations with a focus on AI in the country includes:
- MoroccoAI34
- IA Maroc35
- Moroccan Association of Innovation and Scientific Research in Artificial Intelligence and Extended Reality (XR the Moroccan Association)36
Additionally, the Association of Information Systems Users in Morocco (AUSIM) is an association with a broad scope that could include AI.37
Advisory Bodies and Expert Groups
Based on publicly available information, we have not found evidence of advisory bodies or expert groups dedicated to AI in the country.
Guide
- AI Regulation: The term "regulation", as used in this resource, encompasses measures ranging from binding laws to national AI policies and strategies, government proposals, advisory guidelines, and industry standards that address AI systems and their implications.
- Existing Legal Framework: This section outlines the relevant legal framework, excluding any AI-specific regulations presented in the initial section.
- Human Rights: The following terms have the stated meanings: "ACHPR" means the African Charter on Human and Peoples’ Rights, "ICCPR" means the International Covenant on Civil and Political Rights, "ICESCR" means the International Covenant on Economic, Social and Cultural Rights, "Malabo Convention" means the African Union Convention on Cyber Security and Personal Data Protection, "UDHR" means the Universal Declaration of Human Rights, and "UN" means the United Nations. Any reference to an “Article” or “Section” of the Constitution is to the version of the Constitution referenced herein.
- Advisory Bodies and Expert Groups: This section excludes legislative and parliamentary committees.