Use caseEcosystemMay 18, 2026

Ethical AI in Morocco: Why Digital Trust is the Most Important Priority

The AI Ethics & Digital Trust group of AI4Morocco is working on fair, transparent algorithms that respect the rights of Moroccan citizens. A fundamental undertaking for the digital future of the country.
AH

AI HUB Editorial

Research Desk

May 18, 20269 minAll levels
Ethical AI in Morocco: Why Digital Trust is the Most Important Priority

Introduction

We can build the most powerful AI system in the world—if it is unfair, opaque, or discriminatory, it will do more harm than good. This is the founding belief of AI Ethics & Digital Trust group at AI4Morocco, one of the most cross-disciplinary groups in the community, whose work fundamentally determines the success of all the others.
For without the trust of citizens, without guarantees of fairness, and without clear accountability frameworks, no AI application—whether related to health, agriculture, education, or public services—can be sustainably deployed in Morocco.

Why AI Ethics Is Not a Luxury

There is a temptation in developing countries to regard AI ethics as a topic for the wealthy — a philosophical concern to be addressed once innovation has reached a certain level. This view is dangerous and incorrect.
Algorithmic biases primarily affect the most vulnerable populations. A credit scoring algorithm trained on biased data can systematically disadvantage borrowers from rural areas or women who have little formal banking history. A facial recognition system that performs poorly on darker skin tones can lead to misidentifications with serious consequences. These risks are real, documented, and exist regardless of a country's level of economic development.
In Morocco, the AI Ethics group is therefore in a race against time: to help establish safeguards before large-scale deployments make corrections difficult or costly.

AI Ethics Frameworks and Guidelines

The first area of focus for the group is to develop AI ethics frameworks adapted to the Moroccan context. It is not simply a matter of translating the OECD or UNESCO principles into French and Arabic — although these texts provide a valuable foundation. The objective is to root them in Moroccan values, law, and social reality.
This notably involves reflecting on the cultural specificities that must inform ethical choices: the relationship to privacy in a society where the notion of community often takes precedence over the individual, the role of religious institutions in defining the common good, the tensions between modernization and the preservation of traditions. AI ethics in Morocco cannot be a Western copy-paste.

Algorithmic fairness: detecting and correcting biases

The second focus is on algorithmic fairness — that is, the ability to detect, measure, and correct biases in AI systems. The group is working on algorithm audit methodologies tailored to Moroccan institutions: public administrations, banks, insurance companies, judicial systems.
Algorithmic bias can slip in at any stage of the AI system lifecycle: in the training data (if it does not fairly represent all populations), in the definition of objectives (if the optimization goal encodes existing inequalities), or in the interpretation of results (if human decision-makers selectively interpret the model outputs).
The group develops auditing tools accessible to non-specialists—checklists, simple statistical tests, evaluation protocols—so that ethical vigilance is not limited to machine learning experts alone.

Transparency and Explainability: The Right to Understand

Moroccan citizens have the right to understand why an algorithm denied them credit, why their medical record triggered an alert, or why their application for a public service position was ranked at the bottom of the list. This right to explanation is at the heart of the work of the AI Ethics group.
In practice, this entails promoting the use of so-called "explainable" models (Explainable AI or XAI), making the documentation of algorithmic choices mandatory in public procurement related to AI, and training public officials to understand and challenge the recommendations of automated systems.

Ethical AI and Islam: a possible convergence

An often overlooked aspect in debates on AI ethics in Morocco is the richness of Islamic ethical reflection on issues such as justice, responsibility, protection of the vulnerable, and the relationship to knowledge. Researchers in the group explore the points of convergence between Islamic ethical principles and contemporary responsible AI frameworks—not to Islamize AI, but to enrich the local ethical debate with philosophical resources rooted in Moroccan culture.
This approach is shared by a growing number of academic institutions in the Arab world and enables the engagement of populations who might feel excluded from a debate perceived as purely technocratic or Western.

How to contribute

The AI Ethics & Digital Trust group is particularly seeking jurists, philosophers, sociologists, human rights advocates, psychologists, and economists — alongside data scientists and AI engineers. AI ethics is an intrinsically multidisciplinary field, and the AI4Morocco community reflects this richness.
AH

Author

AI HUB Editorial

Research Desk

Related articles

Keep reading

AI in the Service of Moroccan Healthcare: What the IA4Santé Group is Building
Use case
May 18, 20268 min

The IA4Health working group of AI4Morocco is exploring how medical imaging, predictive diagnostics, and telemedicine can transform the Moroccan healthcare system. Current status and outlook.

AH

AI HUB Editorial

Research Desk

Read article
Smart Agriculture: How AI Can Feed the Morocco of Tomorrow
Use case
May 18, 20269 min

The Smart Agriculture group of AI4Morocco is exploring AI in the service of precision agriculture, water management, and food security in Morocco. Discover the ongoing projects.

AH

AI HUB Editorial

Research Desk

Read article
AI and Moroccan Culture: Preserving Darija and Amazigh in the Digital Age
Use case
May 18, 20269 min

The AI4Society & Culture group of AI4Morocco is working on the digital preservation of Darija, Amazigh, and Moroccan cultural heritage through artificial intelligence. A project that is as much about identity as it is about technology.

AH

AI HUB Editorial

Research Desk

Read article

Artificial Intelligence in Morocco.

Receive our technology watch, startup news and upcoming events directly in your inbox.

By subscribing, you accept our privacy policy. Unsubscribe in one click.