PAN-AFRICAN LEGAL SERVICES · LOCAL PERSPECTIVESLocal counsel & partner network ↗
Morocco · National law guide

Cybersecurity & cybercrime response in Morocco

Legal coordination for security incidents, cybercrime allegations and operational resilience.

Published 1 November 2026 · General legal information ·

AI-created illustrative legal professionals with Hassan II Mosque in Casablanca, Morocco
Illustrative African female legal professional working on technology and privacy matters

Illustrative legal-services imagery. The people and settings are fictional.

The Morocco perspective

Morocco’s Cybersecurity Law 05-20 has a defined scope covering specified public entities, vital infrastructure and categories of operators. It should not be described as imposing identical obligations on every small business. Classification, implementing measures and DGSSI requirements need to be matched to the actual system, while personal-data incidents require a separate CNDP-related assessment.

For a Moroccan incident, determine the organisation’s statutory category and relevant information-system status before selecting reporting and response procedures. Preserve logs, access records and the incident timeline while containing the compromise through an authorised response team. Distinguish technical remediation from privacy, sector reporting, contractual notification and criminal-investigation questions. Decisions about communications and recovery need a reliable factual basis. Evidence handling, supplier cooperation and privilege should be planned early so that restoration of operations does not destroy material needed for later proceedings.

Cybersecurity Law 05-20

Defines cybersecurity duties for specified public entities, vital infrastructure and covered operators, rather than identical duties for every business.

Read source material ↗

CNDP personal data legislation

Privacy authority publishes Law 09-08 and implementing instruments governing personal data processing and the CNDP's supervisory functions.

Read source material ↗
Local point to checkFor Morocco, confirm the applicable instrument, current amendments, competent authority and procedural requirements for the specific activity before taking action.

Preparing your matter

  • Determine coverage under Law 05-20.
  • Preserve logs, classification and incident evidence.
  • Coordinate DGSSI, privacy and contractual responses.

Documents that can help

  • Incident timeline and preserved technical evidence
  • Affected system, data and party assessments
  • Security policies, supplier terms and insurance documentation

A response plan should connect technical containment with legal assessment and clear decision ownership. Preserve a dated incident chronology, relevant logs and the basis for conclusions about affected systems or information. National privacy, cybercrime, telecommunications and sector rules may impose different duties. Establish notification obligations from the applicable rule and confirmed facts; do not assume that one global timetable applies. Maintain lawful evidence handling, proportionate communications and careful coordination with insurers, forensic advisers and local authorities.

Legal context in Morocco

Morocco combines a codified civil law framework with Islamic-law influences, particularly in personal status. Arabic authoritative texts and official translations need careful handling. Company, commercial, employment and regulatory laws are national, with separate rules for court procedure, arbitration and administrative decisions.

Questions clients ask

Should every incident be reported to the same regulator?

No. Reporting duties depend on the jurisdiction, sector, type of incident and information involved. Several authorities may have distinct roles. The legal and technical teams should establish what is known, which duties apply and how each required report is prepared.

How can Jurisiti assist with this matter in Morocco?

The initial enquiry identifies the facts, country connections and required work. Jurisiti can coordinate research, drafting and matter preparation with local counsel or partner representatives. Conflicts, scope, fees and any required local authorisation are confirmed before an engagement begins.

Using this guideThese guides provide general information and selected starting sources. They do not reproduce the complete law or replace advice on the facts. Amendments, commencement, court practice and local professional requirements must be checked for the matter.
Explore more Morocco legal sources
Start a conversation

Let’s put your legal questions in perspective.

Tell us the country, the issue and what you need to achieve. We’ll establish the appropriate scope and local professional arrangements.

Discuss your matter

Find your legal perspective.

Try “Kenya employment”, “Nigeria arbitration” or a legislation name.