By Youness Lasfar
As Morocco accelerates its digital transformation, artificial intelligence (AI) is emerging as a strategic pillar for development across sectors. From improving public services to enhancing smart city infrastructure and expanding access to healthcare, AI is increasingly seen as a tool for growth and modernization. However, as the country moves forward with these technologies, the question of responsible AI governance becomes both urgent and necessary. Ensuring that AI is deployed in ways that respect human rights, promote transparency, and mitigate social risks is now a national priority—and one that remains largely under construction.
Morocco currently lacks a comprehensive legal framework specifically designed to regulate AI. While existing laws on data protection and cybersecurity offer a partial foundation, they do not address the unique challenges posed by automated decision-making, algorithmic bias, or transparency in AI systems. A draft AI law was announced in 2024, signaling political recognition of the issue, but it has not yet been enacted. In the meantime, oversight mechanisms remain fragmented, and regulatory authority is not clearly defined. Without specific legislation, there is no formal process to assess the risks of AI applications, and citizens affected by these systems often have no recourse to challenge decisions or demand accountability. The current legal landscape leaves Morocco exposed to potential misuse of AI technologies—either through lack of controls or through well-meaning deployments that unintentionally cause harm.
Despite this gap, Morocco has shown growing commitment at the policy level. The government’s “Digital Morocco 2030” strategy places AI at the center of national plans to reform public administration, digitize services, and stimulate innovation. New digital initiatives are being rolled out, such as the proposed establishment of a National Agency for AI Governance, which would coordinate the development of ethical standards, support the implementation of AI systems, and ensure adherence to human rights principles. In parallel, institutions like the CNDP (Morocco’s data protection authority) have begun issuing guidance on biometric data and emerging technologies. International collaborations—such as UNESCO-backed training programs and Morocco’s participation in global AI initiatives—show that the country is positioning itself as a regional player in shaping the future of AI. However, implementation remains at an early stage, and these policy ambitions must be matched with tangible legal and institutional reforms.
At the ethical level, several risks demand urgent attention. As AI systems are deployed in sectors like healthcare, education, security, and social protection, they risk reinforcing existing inequalities or excluding marginalized groups if not carefully designed. Gender bias, in particular, is a growing concern. Algorithms trained on biased data may disadvantage women and minority communities, especially in contexts such as recruitment or credit access. Moreover, many AI applications developed globally are not adapted to Morocco’s cultural and linguistic realities, raising concerns about digital exclusion for Arabic and Amazigh speakers. Public trust is also at stake. A lack of transparency in how algorithms function makes it difficult for citizens to understand or challenge decisions that affect their lives. With no legal requirement for explanation or human oversight, automated systems risk becoming opaque tools of governance, undermining the relationship between the state and its people. Surveillance is another concern, especially with plans to expand facial recognition and AI-powered monitoring systems in urban areas. Without clear rules or public debate, these technologies could infringe on privacy and fundamental rights.
Education and public awareness are equally important components of responsible AI. At present, most Moroccans have limited knowledge about the presence of AI in daily life or the rights they have in relation to these systems. This knowledge gap not only limits public participation in AI-related policymaking but also leaves citizens vulnerable to manipulation, misinformation, and discrimination. Building AI literacy through formal education, public campaigns, and community engagement is essential to empower people and build trust in new technologies.
To address these challenges, Morocco must move from intention to action. Passing and implementing the draft AI law would be a key step, providing a legal backbone to the country’s digital ambitions. Creating independent oversight mechanisms and ensuring meaningful participation from civil society, academia, and industry would bring much-needed transparency and inclusivity to the process. Investments in AI education, ethical research, and localized innovation would help ensure that AI systems are both culturally appropriate and socially equitable. Most importantly, the country must adopt a long-term, human-centered approach that treats AI not only as a technical tool, but as a powerful force that shapes society and must therefore be guided by shared values.
Morocco has a unique opportunity to lead on responsible AI in the Mediterranean and Africa. The foundations are being laid, and the political will is increasingly visible. What remains is to turn that momentum into a robust governance ecosystem—one that ensures AI is not only effective, but also fair, transparent, and accountable. Responsible AI is not just about managing technology; it is about shaping the future of society itself.
Leave a Reply