Morocco: the CSPJ sets limits on judges’ use of AI

Morocco: the CSPJ sets limits on judges’ use of AI

In brief

  • Morocco's Conseil supérieur du pouvoir judiciaire (CSPJ) has issued a circular on the use of artificial intelligence by magistrates.
  • AI may only support preparatory tasks; judges must verify information and must not enter personal or protected data into platforms lacking safeguards.
  • The CSPJ is working with the Presidency of the public prosecution service and the Ministry of Justice on an AI system built on a secure national legal database.

Morocco’s Conseil supérieur du pouvoir judiciaire (CSPJ) has issued a circular setting out the conditions and limits for the use of artificial intelligence by magistrates, as reported by Hespress on 1 December 2026. It matters because the judiciary’s own governing body is setting the standard.

What the circular provides

The CSPJ stresses that AI has only a preparatory role: supporting documentary and technical research. It does not replace the judge or the judge’s conviction, particularly when giving judgment. Nor should available applications be relied on without reservation as decision-support tools, since the judiciary cannot necessarily control the nature or accuracy of the data behind them.

Magistrates are asked to be vigilant: to check the accuracy of information, legal texts, references and case law against recognised official and institutional sources. On data protection, they should not enter protected court documents or personal data identifying the parties into platforms that lack sufficient security and confidentiality safeguards.

A dedicated system in preparation

The circular states that the CSPJ, together with the Presidency of the public prosecution service and the Ministry of Justice, is working on an integrated IT system using AI. It would rely on a protected and secure national legal and judicial database containing case files, legislation and Cour de cassation case law, organised by theme. The CSPJ and its bodies would supervise it, with specialised teams managing and updating it. The risks it aims to avoid include errors in legal texts and references, leaks of personal data, and harm to judicial independence and responsibility.

Our view at CEA Digital Law

At the Euro-American Committee of Digital Law - CEA Digital Law, we welcome this approach for two reasons. First, it pairs a clear principle (the decision always remains human) with practical measures (verification and confidentiality). Second, it favours an institutional alternative to general-purpose tools: a reliable national corpus reduces the risk of invented or mistaken citations.

This is close to other jurisdictions that regulate AI in justice through guidance or resolutions of judicial bodies, and to the European approach that treats AI uses in the administration of justice as high-risk. For other African and Latin American and Caribbean countries, the lesson is that a circular can be an agile first step, provided it is completed soon.

Open questions remain that would be useful to clarify: training for magistrates, liability for errors, transparency towards parties on the use of AI, auditing of the future system, and its fit with the general AI framework that, according to Hespress, the Moroccan government is preparing. We suggest that its development involve the legal profession and academia.

Sources

CEA Digital Law

النشرة

فعاليات وأخبار وتحليلات في القانون الرقمي تصلك على بريدك، ولا نراسلك إلا حين يكون لدينا جديد.

العضوية

انضم إلى Euro-American Committee of Digital Law - CEA Digital Law

مجتمع دولي يتميّز بالكفاءة المهنية الرفيعة لأعضائه. العضوية بلا رسوم ولا تكاليف من أي نوع: يجمعنا البحث وأهداف منظمة دولية غير ربحية.

اطلب الانضمام

انشر معنا

اكتب في Tribuna Atlántica

Tribuna Atlántica. Pensamiento Contemporáneo، المنشور الدولي التابع لـ CEA Digital Law، يفتح صفحاته لكل من يقدّم معرفة أو خبرة مهنية أو بحثًا أو تأملًا يساعد على فهم عصرنا. ويبحث عن رؤية خاصة، قائمة على الدقة والمصادر الموثوقة، من تخصصات ومناطق مختلفة.

انشر في Tribuna