Legislation · Morocco

Law No. 05-20 on cybersecurity

Law 05-20 establishes the national cybersecurity framework. It requires administrations and operators of critical infrastructure to protect their information systems, notify incidents and carry out periodic audits, under the supervision of the competent national authority.

Dahir No. 1-20-69 of 4 Hija 1441 (25 July 2020) promulgating Law No. 05-20 on cybersecurity
Official Bulletin (B.O.) No. 6912 of 27 August 2020

Entities covered and obligations

  • Administrations, local authorities, public institutions and operators of critical infrastructure.
  • Adoption of an information systems security policy and appointment of a dedicated officer.
  • Notification of security incidents to the national authority within the regulatory time limits.
  • Periodic security audits carried out by qualified service providers.

Governance

  • The national cybersecurity authority coordinates the framework, issues directives and may order emergency measures.
  • Cybersecurity service providers are subject to qualification.
  • Breaches expose the entity to administrative penalties, without prejudice to criminal prosecution.

Key articles

A lawyer's points to watch

  • The law operates alongside Law 09-08: an incident affecting personal data triggers two separate obligations.
  • Security and audit clauses must be included in outsourcing and hosting contracts.
  • Keep a record of incident notifications: it demonstrates the organisation's diligence.

The English text on this page, including the quoted articles, is an unofficial translation. Information sheet prepared by Maître Lahfaia Law Firm, Rabat. It does not constitute legal advice. Only the text published in the Official Bulletin of the Kingdom of Morocco is authoritative; the articles cited may have been amended since this sheet was written.

Book an appointment

Questions about Cybersecurity?

A first confidential discussion at the firm, by phone or by video call. Reply within 24 working hours.

Book a time online→+212 808-507367→cabinetlahfaia@gmail.com→Contact form and directions→

69 Rue Tansift, Apt 6, Agdal, Rabat 10090, Morocco · Mon to Fri 9:00 am to 6:00 pm