Law

Morocco – Law 07-03 on computer offences (2003)

Official title: Law No. 07-03 supplementing the Criminal Code with offences against automated data processing systems (Morocco)

In force since 11 November 2003Record checked against the official source on 16 November 2026 · How we work

Official number
Loi n° 07-03 (Dahir n° 1-03-197)
Date adopted

Summary

The Law adds to the Moroccan Criminal Code Chapter X of Title I of Book III, on attacks on automated data processing systems (Arts. 607-3 to 607-11). It punishes fraudulent access to a system and remaining in a system entered by mistake, with the penalty doubled if data are deleted or modified or the system's operation is altered (Art. 607-3), and with higher penalties where the system holds information on the internal or external security of the State or secrets of the national economy (Art. 607-4). Also offences are hindering or distorting the operation of a system (Art. 607-5), fraudulently entering, damaging, deleting or modifying data (Art. 607-6), forging computerised documents and using them (Art. 607-7) and making, holding or supplying equipment, programs or data designed to commit these offences (Art. 607-10). Attempts and participation in an association formed to commit them are also punished, and the court may order confiscation of the means used and disqualifications.

Who it applies to

Anyone committing the offences in Morocco; heavier penalties where the act is committed by an official or employee in the course of their duties or concerns systems holding information on State security or secrets of the national economy.

Offences and investigative powers

Offences

Compare with the other cybercrime laws →

Information

Jurisdiction
Morocco
Issuing body
Parlement du Royaume du Maroc
Type
Law
Available languages
Arabic, French
Topics
Notes
  • Promulgated by Dahir No. 1-03-197 of 11 November 2003; the Arabic text is published in the general edition of Bulletin officiel No. 5171 of 22 December 2003 and the French translation in No. 5184 of 5 February 2004, reproduced by the DGSSI.
  • The Law does not set an entry-into-force date separate from publication.
  • This record covers only the computer offences of the Criminal Code; investigative powers are in the Code of Criminal Procedure.

Record details

Original title
Loi n° 07-03 complétant le code pénal en ce qui concerne les infractions relatives aux systèmes de traitement automatisé des données (Arabic)
Title in other languages
  • Italian Legge n. 07-03 che integra il codice penale con i reati contro i sistemi di trattamento automatizzato dei dati (Marocco)
  • Spanish Ley n.º 07-03 que completa el Código Penal con los delitos contra los sistemas de tratamiento automatizado de datos (Marruecos)
  • German Gesetz Nr. 07-03 zur Ergänzung des Strafgesetzbuchs um Straftaten gegen automatisierte Datenverarbeitungssysteme (Marokko)
Licence of the official text
Public domain / official act – Act published in the official gazette: legislative texts and official acts are excluded from copyright protection under national law.
Licence of this record
summary and metadata CC BY 4.0 (opens in a new tab)
Record history
  • added on 16 November 2026
  • checked against the official source on 16 November 2026
Record data
JSON · Open data & API · ma-loi-07-03-systemes-traitement-automatise-2003

How to cite

Reference to the official act, ready to copy. Choose a style:

APA

Parlement du Royaume du Maroc. (2003). Loi n° 07-03 complétant le code pénal en ce qui concerne les infractions relatives aux systèmes de traitement automatisé des données (Loi n° 07-03 (Dahir n° 1-03-197)). https://www.dgssi.gov.ma/fr/textes-legislatifs-et-reglementaires/loi-ndeg-07-03-completant-le-code-penal-en-ce-qui-concerne-les/

Chicago

Parlement du Royaume du Maroc. “Loi n° 07-03 complétant le code pénal en ce qui concerne les infractions relatives aux systèmes de traitement automatisé des données.” Loi n° 07-03 (Dahir n° 1-03-197). November 11, 2003. https://www.dgssi.gov.ma/fr/textes-legislatifs-et-reglementaires/loi-ndeg-07-03-completant-le-code-penal-en-ce-qui-concerne-les/.

MLA

Parlement du Royaume du Maroc. Loi n° 07-03 complétant le code pénal en ce qui concerne les infractions relatives aux systèmes de traitement automatisé des données. Loi n° 07-03 (Dahir n° 1-03-197), 11 Nov. 2003, www.dgssi.gov.ma/fr/textes-legislatifs-et-reglementaires/loi-ndeg-07-03-completant-le-code-penal-en-ce-qui-concerne-les. Accessed 16 Nov. 2026.

Harvard

Parlement du Royaume du Maroc (2003) Loi n° 07-03 complétant le code pénal en ce qui concerne les infractions relatives aux systèmes de traitement automatisé des données. Loi n° 07-03 (Dahir n° 1-03-197). Available from: https://www.dgssi.gov.ma/fr/textes-legislatifs-et-reglementaires/loi-ndeg-07-03-completant-le-code-penal-en-ce-qui-concerne-les/ (Accessed: 16 November 2026).

ISO 690

PARLEMENT DU ROYAUME DU MAROC. Loi n° 07-03 complétant le code pénal en ce qui concerne les infractions relatives aux systèmes de traitement automatisé des données [online]. Loi n° 07-03 (Dahir n° 1-03-197). 11 November 2003. [accessed 16 November 2026]. Available from: https://www.dgssi.gov.ma/fr/textes-legislatifs-et-reglementaires/loi-ndeg-07-03-completant-le-code-penal-en-ce-qui-concerne-les/

BibTeX

@misc{ma_loi_07_03_systemes_traitement_automatise_2003,
  author       = {{Parlement du Royaume du Maroc}},
  title        = {{Loi n° 07-03 complétant le code pénal en ce qui concerne les infractions relatives aux systèmes de traitement automatisé des données}},
  year         = {2003},
  date         = {2003-11-11},
  number       = {Loi n° 07-03 (Dahir n° 1-03-197)},
  language     = {ar},
  url          = {https://www.dgssi.gov.ma/fr/textes-legislatifs-et-reglementaires/loi-ndeg-07-03-completant-le-code-penal-en-ce-qui-concerne-les/},
  urldate      = {2026-11-16}
}

Download the file (bib)

RIS

TY  - STAT
AU  - Parlement du Royaume du Maroc,
TI  - Loi n° 07-03 complétant le code pénal en ce qui concerne les infractions relatives aux systèmes de traitement automatisé des données
PY  - 2003
DA  - 2003/11/11/
M1  - Loi n° 07-03 (Dahir n° 1-03-197)
LA  - ar
UR  - https://www.dgssi.gov.ma/fr/textes-legislatifs-et-reglementaires/loi-ndeg-07-03-completant-le-code-penal-en-ce-qui-concerne-les/
Y2  - 2026/11/16/
ER  - 

Download the file (ris)

CSL-JSON

[
  {
    "id": "ma-loi-07-03-systemes-traitement-automatise-2003",
    "type": "legislation",
    "title": "Loi n° 07-03 complétant le code pénal en ce qui concerne les infractions relatives aux systèmes de traitement automatisé des données",
    "author": [
      {
        "literal": "Parlement du Royaume du Maroc"
      }
    ],
    "issued": {
      "date-parts": [[2003, 11, 11]]
    },
    "number": "Loi n° 07-03 (Dahir n° 1-03-197)",
    "language": "ar",
    "URL": "https://www.dgssi.gov.ma/fr/textes-legislatifs-et-reglementaires/loi-ndeg-07-03-completant-le-code-penal-en-ce-qui-concerne-les/",
    "accessed": {
      "date-parts": [[2026, 11, 16]]
    }
  }
]

Download the file (json)

If you use the summary or data from this record, also cite the database:

Cybersecurity Database, “Morocco – Law 07-03 on computer offences (2003)”, record verified on 16 November 2026, https://www.cybersecuritydatabase.org/en/documents/ma-loi-07-03-systemes-traitement-automatise-2003/. CC BY 4.0.