Skip to content
← All Board Briefs
Operational Frameworks 5 min read

AI law in Morocco: what companies need to know

AI law in Morocco: current framework, business risks, international comparison, and practical actions for companies.

Naïm Bentaleb

Naïm Bentaleb

AI Strategy & Governance Advisor

AI law in Morocco

AI law in Morocco is still taking shape. There is no single AI-specific law yet. Companies must work with data protection rules, cybersecurity, intellectual property, labour law, and sector-specific obligations. For a CEO, the issue is simple. Put controls in place before an incident, a dispute, or a bad decision does it for you.

Morocco does not have a legal vacuum. It has a layered system. A company deploying a conversational agent, an evaluation engine, or AI-assisted recruitment tools must already look at personal data protection, system security, evidence retention, and liability if something goes wrong.

The main reference remains Law 09-08 on the protection of personal data, with the CNDP as the supervisory authority. As soon as a system processes customer, candidate, or employee data, questions about legal basis, purpose limitation, and retention periods become very real.

Cybersecurity law, intellectual property, and evidence rules also matter. If a model generates false content, reuses protected text, or exposes sensitive data, the issue quickly becomes legal. That is exactly what I also cover in my analysis of companies using artificial intelligence and in the guide to AI training for HR teams.

What Moroccan companies must watch

The first risk is unmanaged AI. Teams are already using public tools to draft, summarise, classify, or decide. Without an internal policy, data leaves the company, responses are not traced, and nobody knows who approved what.

The second risk is accountability. If an evaluation tool rejects a candidate, if a conversational agent gives a client the wrong answer, or if an internal system produces a flawed recommendation, the CEO cannot say they did not know. The question will be simple. Who approved the use case, the guardrails, and the follow-up?

The third risk is contractual compliance. Many Moroccan companies work with foreign vendors. They must check where data is hosted, who can access it, and which clauses cover confidentiality, ownership of outputs, and service exit.

In practice, the most sensitive use cases are recruitment, customer service, finance, internal compliance, and content production. In these areas, AI speeds things up. It does not forgive mistakes.

What institutional signals are saying

Morocco is moving step by step. The CESE has already called for better preparation for technological change, with a focus on skills, governance, and inclusion. That matters. If a country wants investment and talent retention, it needs a readable framework.

Recent signals point in the same direction. Sovereign digital capacity, cybersecurity, and unmanaged AI are rising on the agenda. Moroccan companies are not only asking for tools. They are asking for clear rules. That is also what the current debate around unmanaged AI in Africa and cybersecurity partnerships in Morocco shows.

The market is already moving. Players such as Nexus Core Systems, Cynoia, and research-oriented initiatives show that the local ecosystem is taking shape. But building an ecosystem is not the same as securing enterprise use. That is where many leaders get it wrong.

I have built a diagnostic structure to help leadership teams map risks, responsibilities, and compliance priorities. Download the AI Board Pack 2026.

How this compares with international standards

The European Union has moved ahead with the AI Act. The message is clear. The higher the risk, the heavier the obligations. Morocco has not yet adopted an equivalent text, but international groups operating between Casablanca, Brussels, and Paris will import those requirements into their internal policies anyway.

For an export-oriented Moroccan company, this changes everything. If it works with European clients, it cannot rely on the local minimum. It must align with the strictest standards. Otherwise, it closes doors.

The right move is not to wait for a perfect law. The right move is to build an internal operating model with simple guardrails. Inventory of use cases, legal review, data controls, decision logging, and human review for sensitive uses.

What I recommend to leaders

Start with three questions. What data does the tool touch? Who decides? Who carries accountability if something goes wrong?

Then formalise an internal policy. Not a decorative document. A real rulebook. It should cover approved tools, forbidden data, mandatory approvals, and cases where a human takes back control.

Finally, train your teams. A company that deploys AI without AI literacy creates risk. A company that trains managers, HR, and legal teams generates measurable value. That is also the logic behind my governance services and my background.

What to remember

AI law in Morocco is not just about waiting for a future statute. The framework already exists, but it is fragmented. For companies, the real challenge is to secure usage before it becomes an incident. Those who wait for perfect regulation fall behind. Those who structure now move ahead.

If you are a CEO, HR director, or legal leader and want to frame AI use without slowing the business, request a diagnostic.

FAQ

Does Morocco have a specific AI law?

No. There is no single AI-specific law yet. Companies must rely on existing rules, especially data protection, cybersecurity, and sector-specific obligations.

Can a company use AI for recruitment in Morocco?

Yes, but carefully. As soon as a tool processes candidate data or supports evaluation, compliance, transparency, and human oversight must be checked.

The main risks are data leakage, use of unauthorised tools, decision errors, intellectual property issues, and poorly drafted vendor contracts.

Should companies wait for a new law before acting?

No. Waiting is a bad strategy. Companies can already put in place an internal policy, a use-case inventory, and appropriate guardrails.

Share this brief

Next Step

Ready to structure AI governance in your organization?

Start with an AI Governance Sprint – a 2-3 week diagnostic that gives you a clear action plan.