When cheating in the Moroccan Bac becomes a criminal case
A candidate from the outskirts of Casablanca enters a Baccalaureate examination room with a smartphone hidden in his clothes. The device contains photographs of the paper and messages exchanged in a WhatsApp group. He assumes that, if caught, he will receive a warning or simply be asked to leave. A few days later, his parents learn that a report has been sent to the procureur du Roi. The family is stunned: the disciplinary incident has become a criminal file.
This scenario is no longer exceptional. In Morocco, Baccalaureate fraud is not merely a breach of school rules. Since the adoption of Law No. 02-13 on the repression of fraud in school examinations, conduct such as possessing an unauthorised electronic device, exchanging answers, obtaining papers before the scheduled time, impersonating another candidate or helping to leak a subject may trigger both disciplinary sanctions and criminal prosecution.
The Ministry of National Education reported approximately 1,890 detected fraud cases during the 2023 Baccalaureate session, followed by roughly 1,493 cases in 2024. These figures should be read cautiously because ministerial counts may distinguish between recorded incidents, disciplinary files and cases transmitted to judicial authorities. They nevertheless show the scale of the issue and the increased use of electronic detection, digital monitoring and coordinated police investigations.
Public discussion has intensified under Minister Mohamed Saad Berrada, particularly around electronic devices, social-media groups and technologies intended to protect the confidentiality of examination papers. The legal question is therefore very practical: what are the criminal and disciplinary penalties for cheating in Morocco’s Bac, and what can a candidate do when the accusation is unfounded?
The legal framework: two separate proceedings may arise
The essential distinction between disciplinary and criminal liability
A single incident can produce two independent procedures. The first is administrative or disciplinary. It is handled through the examination authorities, the regional academy for education and training, commonly known as the AREF, and the competent examination commission. It may result in expulsion from the room, cancellation of one or more papers, cancellation of the session or temporary exclusion from future official examinations.
The second procedure is criminal. A report may be transmitted to the public prosecutor at the territorially competent Court of First Instance. The judicial police can seize and examine the candidate’s telephone, identify correspondents and trace the source of a leaked paper. The procureur du Roi may close the file, order further investigation, initiate prosecution before the criminal chamber or, where the alleged facts are particularly serious, use another procedure permitted by the Code of Criminal Procedure.
In clear terms: cancellation of the Bac does not prevent criminal prosecution, and an acquittal by a criminal court does not automatically restore examination results. Each authority applies its own rules, although a final judicial finding can strongly influence the administrative dispute.
In practice, I have seen families convinced that the disciplinary commission marked the end of the matter. Quite often, it is the beginning of another one. A summons from the police or prosecution service may arrive after the examination authorities have already announced cancellation.
Law No. 02-13: the central legislation on examination fraud
The main text is Law No. 02-13 relating to the repression of fraud in school examinations, promulgated by Dahir No. 1-16-126 of 25 August 2016. It was adopted after recurrent controversies over electronic cheating and the leaking of national examination papers. It is more directly relevant than general references to fraud under the Penal Code.
The law treats several forms of conduct as examination fraud, including exchanging information connected with answers, possessing or using unauthorised documents or electronic communication tools, obtaining examination papers unlawfully, distributing them before the official time, impersonating a candidate and assisting another person in committing these acts.
Article 8 of Law No. 02-13 provides, depending on the legally established conduct, for penalties that may reach six months to five years of imprisonment and a fine from 5,000 to 100,000 Moroccan dirhams. The court must still identify the precise act, prove the accused person’s participation and individualise the sentence. The maximum is not automatically imposed on a student merely found with a switched-off telephone.
The law also establishes mechanisms for recording violations, seizing prohibited devices and referring files to the competent authorities. Criminal penalties operate without prejudice to disciplinary measures. Attempt, participation and organised assistance can substantially aggravate the practical position of the accused.
Other texts that may apply
The Moroccan Penal Code remains relevant where the facts go beyond ordinary examination fraud. Forgery, corruption, breach of professional secrecy, fraudulent access to an information system, theft, breach of trust or the use of a false identity may be considered. The correct classification depends on what was actually done; prosecutors should not mechanically attach every possible offence to the same file.
Law No. 06-00 on private school education regulates the obligations of private institutions. It does not replace Law No. 02-13 and does not create a separate, more lenient regime for private-school candidates. When a private institution hosts an official examination, national examination rules and instructions from the Ministry and AREF remain applicable.
Law-Framework No. 51-17 on the education, training and scientific research system also promotes equality, merit and credibility in education. It did not itself replace the criminal penalties contained in Law No. 02-13. Its role is structural: it supports policies designed to safeguard the integrity and equal value of national qualifications.
Which criminal offences can be committed during the Baccalaureate?
Possessing or using a mobile phone in the examination room
The most frequent case is the mobile phone. Candidates often believe that an offence exists only if the device was used to receive an answer. That is risky reasoning. Law No. 02-13 deliberately covers the possession or use of unauthorised electronic and communication tools in circumstances falling within examination fraud.
Evidence nevertheless matters. A switched-off phone forgotten in a bag is not factually identical to a device hidden under clothing, connected to the internet and loaded with the paper. Investigators and judges may examine where the phone was found, whether ministerial instructions were clearly communicated, the time stamps of messages, photographs in the memory, internet connections and whether the candidate attempted to conceal or destroy the device.
For a first-time candidate whose telephone contains no examination paper or answer, some prosecution services favour a cautious response or leave the matter primarily to disciplinary authorities. Others prosecute more systematically to deter similar conduct. This territorial variation exists in practice, but it is not a legal right to leniency.
Obtaining or distributing a leaked paper
A Baccalaureate subject leak creates criminal liability well beyond the candidate who finally receives the document. The investigation may concern the person who photographed the paper, the employee who had custody of it, an intermediary who sold it, administrators of WhatsApp or Telegram groups and candidates who knowingly requested or redistributed it.
Law No. 02-13 directly targets obtaining, transmitting and distributing examination papers unlawfully. Depending on the circumstances, Article 446 of the Penal Code, which protects professional secrecy, may also be discussed when a person legally bound to secrecy reveals confidential information. It is not enough simply to call every examination document a professional secret: the prosecution must show that the legal conditions of Article 446 apply to the accused person’s position and conduct.
Article 547 of the Penal Code, concerning breach of trust, may become relevant where a document, device or confidential material entrusted for a limited purpose is fraudulently misappropriated. Corruption provisions, including Article 248 of the Penal Code, may apply if a public official solicits or accepts a benefit in exchange for facilitating access to a paper or manipulating the examination process.
Impersonating another candidate
Sending another person to sit the examination is among the most serious forms of Bac fraud. The substitute may use a falsified national identity card, alter an admission notice or simply rely on inadequate identity checks. In such cases, Law No. 02-13 may be combined with the relevant Penal Code provisions governing false documents and their use.
Care is needed with article numbers. Contrary to a frequently repeated claim online, Article 539 of the Moroccan Penal Code is the provision on swindling, or escroquerie; it is not a general article on identity theft at an examination. The proper legal classification may involve Law No. 02-13, false documents, use of false documents and the provisions concerning the unlawful use of another person’s identity, depending on the evidence.
Likewise, Article 362 should not be described as the universal provision punishing forgery in public documents by five to twenty years. The Penal Code contains several distinct provisions on public, official, commercial, banking and private documents. Before advising on exposure to imprisonment, counsel must identify the document allegedly falsified, its legal nature, the author’s capacity and the manner in which it was used. For a detailed analysis, see forgery and use of forged documents under Moroccan criminal law.
Teachers, invigilators and public officials who assist fraud
An invigilator who deliberately permits a candidate to use a phone, transmits answers or photographs a paper is not treated in the same practical way as an inexperienced student. The conduct involves a breach of professional duties and may compromise an entire national examination.
Article 129 of the Penal Code defines forms of criminal complicity, including knowingly aiding or facilitating the preparation or commission of an offence. A person found to be an accomplice is generally exposed to the penalty attached to the offence under the conditions laid down by the Code. Law No. 02-13 also expressly addresses assistance by persons involved in examination organisation.
If money or another advantage was requested or received, Article 248 on corruption of public officials may be added. A civil servant also faces disciplinary proceedings under the General Statute of the Civil Service. Articles 73 to 75 of the Dahir of 24 February 1958 structure disciplinary penalties and procedure; removal from office may be imposed in a sufficiently serious case, but it is not an automatic consequence of every allegation.
Moroccan media reported prosecutions involving teachers, invigilators and intermediaries during several examination sessions, including investigations in 2016, 2019 and 2022. However, press reports are not substitutes for published judgments. Without a verifiable decision number and final procedural status, it would be unsafe to present a reported arrest as settled Court of Cassation case law.
What penalties are actually possible?
Imprisonment and fines
The broad statutory range under Law No. 02-13 reflects very different situations. A court will usually distinguish between isolated possession of a prohibited device and an organised operation that obtains and sells national papers. Prior convictions, age, confession, profit, number of beneficiaries, destruction of evidence and the accused person’s professional role all influence sentencing.
- Unauthorised telephone with no proven exchange: disciplinary cancellation is highly likely; criminal prosecution remains possible, but dismissal, a fine or a suspended custodial sentence may be considered depending on the evidence and local practice.
- Telephone containing the paper or answers: the prosecution case is stronger, particularly when messages prove active receipt, solicitation or transmission.
- Impersonation or forged identity documents: imprisonment becomes significantly more likely because several offences and deliberate preparation may be established.
- Organised leak, sale or mass distribution: immediate custody, pretrial detention in serious cases and a firm prison sentence are realistic risks.
- Corrupt public official or examination employee: the accused may face cumulative examination-fraud, corruption, secrecy and disciplinary consequences.
Firm sentences of several years have been reported in organised fraud cases, whereas suspended sentences are more common for young first offenders with limited involvement. There is no lawful tariff guaranteeing “300 to 1,000 DH and suspension” for a simple phone case. The specific statute allows much higher fines, and each court retains sentencing discretion.
A person prosecuted in Marrakech should obtain advice from an criminal lawyer in Marrakech, just as a defendant linked to an investigation in Fès may need an Fès criminal lawyer familiar with the local prosecution service and chamber correctionnelle.
Confiscation and digital evidence
The phone, earpiece, smartwatch, miniature camera or communication device may be seized and placed under seal. A technical examination can recover deleted material, identify cloud backups and compare messages with those of other suspects. A candidate should not attempt to remotely delete data or persuade group members to erase conversations. Such behaviour may be interpreted as concealment and can seriously damage credibility.
Digital evidence is not infallible. The defence may challenge the chain of custody, identity of the user, integrity of screenshots, extraction method, time settings and whether an account was controlled by another person. A screenshot forwarded by an unknown contact does not necessarily prove that the recipient requested, opened or used the content.
Criminal record and access to public employment
A conviction can appear on the criminal record, subject to the applicable rules on the different bulletins, rehabilitation and deletion. This consequence is sometimes heavier than a short suspended sentence. Candidates may later encounter difficulties when applying for regulated professions, security-sensitive positions or public competitions requiring proof of civil rights and good character.
Article 18 of the General Statute of the Civil Service requires candidates for civil-service appointment to meet conditions including enjoyment of civil rights and good character. Yet it is too broad to say that every Bac-fraud conviction creates a permanent and automatic ban from all Moroccan public employment. The result depends on the offence, sentence, status of the conviction, special rules governing the relevant profession and any judicial or legal rehabilitation.
Civil claims by the State
The Ministry of National Education may, in principle, seek civil compensation when an organised leak causes measurable loss, such as reprinting, transport, additional security or rescheduling costs. Such civil-party claims remain less common than criminal and disciplinary action, but they can considerably increase the financial stakes. The administration must still establish fault, actual damage and causation.
Cancellation of Bac results and exclusion from future examinations
How the disciplinary procedure begins
The invigilator normally records the incident in a written report. The prohibited item may be seized, and the candidate may be removed from the room according to examination instructions. The report, statements and seized material are then transmitted through the examination administration to the competent commission or AREF authority.
The candidate should receive a genuine opportunity to understand and answer the allegation. At minimum, the file should identify the examination, time, room, prohibited conduct and evidence relied upon. A vague statement that the candidate was “suspicious” should not be treated as equivalent to proof of possession, use or exchange.
The sanctions may include cancellation of the relevant paper, cancellation of the entire session and exclusion from one or more later sessions. The exact duration must be checked against the law, current ministerial decisions and the candidate’s status. Claims that every candidate is automatically banned for one, three or five years are unreliable unless tied to the applicable text and notified decision.
How to challenge an annulment decision
The candidate should first obtain a written copy of the decision and request access to the material forming the basis of the accusation. A reasoned administrative complaint may be sent to the issuing authority, the AREF or the minister, depending on the author of the act. It should contest the facts and legal basis precisely, attach supporting documents and be filed by a method proving the date of receipt.
There is no universal statutory rule requiring every candidate to lodge a gracious appeal within exactly 30 days. The central deadline for an annulment action is found in Article 23 of Law No. 41-90 establishing administrative courts: an action for excess of power is generally brought within 60 days from publication or notification of the contested administrative decision. An administrative appeal filed within the proper period may affect the calculation of the litigation deadline under the conditions set by Article 23.
Do not wait for an informal promise from a school official while the 60-day period expires. A conversation at the academy reception desk does not necessarily interrupt a legal deadline.
The territorially competent Administrative Court may be asked to annul the decision for lack of competence, procedural irregularity, error of law, inaccurate material facts, misuse of power or inadequate reasoning where reasoning is legally required. In urgent situations, counsel may explore provisional relief and suspension mechanisms available under Law No. 41-90 and general administrative litigation principles. A challenge before a Moroccan Administrative Court should be prepared with an administrative-law lawyer, particularly when university enrolment deadlines are imminent.
Leaked subjects on WhatsApp, Telegram and social media
Sharing a paper is not automatically a hacking offence, but it is still dangerous
Forwarding a leaked examination paper can fall directly under Law No. 02-13 even when the sender did not hack any computer system. This distinction matters. Morocco’s Law No. 07-03 supplemented the Penal Code with Articles 607-3 to 607-11 concerning offences against automated data-processing systems. It did not create a blanket rule stating that every WhatsApp forward is punishable by one to three years in prison.
Article 607-3 of the Penal Code targets fraudulent access to, or remaining in, all or part of an automated data-processing system. More severe consequences may apply where access causes deletion or modification, or where protected State systems are targeted. To use this provision, the prosecution must prove unauthorised system access, not merely possession of a photograph received from another person.
If an employee hacks a ministry server, extracts the paper and sends it to a messaging group, both cybercrime provisions and examination-fraud legislation may apply. If a candidate simply forwards a photograph received from a friend, the cyber-access offence may not fit, but unlawful distribution under Law No. 02-13 can still be prosecuted. For further analysis, see Law No. 07-03 and computer crime in Morocco.
How an organised leak is investigated
The judicial police may work under instructions from the prosecution service, with specialised cybercrime units and, for complex interregional cases, the National Brigade of the Judicial Police. Investigators compare the first known upload time with printing, storage, transportation and distribution schedules. They may identify telephone numbers, administrators, payment transfers and contacts within the examination chain.
Responsibility is individual. An employee is not criminally liable merely because he or she occupied a senior post when a leak occurred. The prosecution must prove personal participation, intentional assistance or another legally punishable act. Administrative responsibility for poor supervision may nevertheless exist without proof of criminal complicity.
What to do when accused of Bac fraud
The first hours: avoid making the situation worse
Do not resist seizure physically, insult invigilators or attempt to destroy the device. Ask that your observations be included in the report: for example, that the phone was switched off, that it was found in a bag outside the desk area or that the disputed paper was received after the examination. Identify witnesses and preserve lawful evidence.
If questioned by the police, read every statement before signing it. Ask for corrections if the wording does not reflect what was said. Never sign a blank or incomplete page. Article 66 of the Code of Criminal Procedure governs important safeguards during police custody, including notification of the reason for custody and rights linked to communication and legal assistance under the applicable conditions.
The practical rights available depend on whether the person is merely invited for information, formally suspected or placed in garde à vue. A minor requires particular procedural safeguards. The family should immediately record the police unit, time of arrest, place of custody and identity of the lawyer contacted.
The lawyer’s role
A criminal lawyer can determine whether the case concerns simple possession, use, distribution, complicity, forgery or an organised leak. Counsel can also seek access to procedural documents at the legally appropriate stage, challenge unlawful searches, examine digital evidence and prepare the candidate for questioning.
Families in the economic capital may consult an criminal lawyer in Casablanca; those facing proceedings before Rabat courts may contact an Rabat criminal lawyer. Local knowledge matters, but professional independence and experience with digital evidence matter more.
A first consultation generally costs between 500 and 1,500 DH. Representation in a relatively straightforward correctional case may range from 3,000 to 8,000 DH. A multi-defendant leak involving digital expertise, detention hearings and appeals can exceed 15,000 DH. Casablanca and Rabat fees are often higher than those in Béni Mellal or Khouribga, although complexity remains the decisive factor. Fees should be agreed in writing, with taxes and appeal work clarified.
Defence arguments that can genuinely matter
A useful defence is built on evidence, not slogans. Depending on the file, counsel may argue that possession was not established, the device belonged to another person, prohibited material arrived without solicitation, no communication occurred during the paper, screenshots are unauthenticated or the disciplinary authority relied on materially inaccurate facts.
Lack of fraudulent intent may matter, but it does not erase a prohibition where the statute punishes possession itself. Likewise, saying “everyone had a phone” is not a legal defence. Procedural defects can help only when they are relevant to legality, reliability or defence rights; not every clerical mistake nullifies the proceedings.
In a straightforward file, the prosecution may decide relatively quickly whether to close the case or prosecute. A contested correctional case can take several months, longer if there are multiple defendants, expert analysis or an appeal. A person brought before the prosecutor after custody may be released pending trial or prosecuted under a custodial procedure, depending on seriousness and guarantees of appearance.
Low-income defendants may apply for legal aid in Morocco. Eligibility is not governed by a universal automatic monthly threshold of 2,500 DH. Applicants generally need documentation showing insufficient resources and must follow the procedure before the competent legal-aid body or court registry.
Parents and schools: prevention and responsibility
Can parents be prosecuted?
Parents are not criminally liable merely because their child cheated. Moroccan criminal liability is personal. A parent who buys a hidden earpiece, recruits a substitute or manages an answer-sharing group can, however, be prosecuted for his or her own participation.
For civil liability, Article 85 of the Code of Obligations and Contracts contains rules concerning responsibility for persons for whom one is legally answerable, subject to its conditions and available defences. In most ordinary Bac cases, the immediate dispute remains disciplinary and criminal rather than a civil damages action against parents.
Responsibilities of private schools
Private establishments governed by Law No. 06-00 must cooperate with official examination requirements and protect examination integrity. Staff who conceal organised fraud, manipulate candidate identity checks or assist transmission may expose themselves personally and place the institution’s authorisation and administrative position at risk.
Yet “failure to report” should not automatically be called criminal complicity. Under Article 129 of the Penal Code, complicity normally requires intentional conduct falling within the legally defined modes of assistance. Administrative negligence and intentional criminal assistance are not the same thing.
Reporting organised fraud
A credible threat should be reported to the local AREF, examination centre management, Ministry of National Education or competent police and prosecution services. Screenshots should be preserved in their original form, including dates, numbers and links. Families should avoid publicly reposting the leaked paper in an attempt to denounce it, since republication may itself spread the confidential content.
The Institution of the Mediator of the Kingdom may assist with certain maladministration complaints, but it does not replace the Administrative Court and does not suspend litigation deadlines. For an imminent loss of university registration, judicial advice is usually more urgent than informal mediation.
Prescription of examination-fraud offences
Online summaries often state that every Bac-fraud misdemeanour has a five-year limitation period. That does not accurately reflect Article 5 of the Moroccan Code of Criminal Procedure, under which the ordinary limitation periods have traditionally been 15 years for crimes, four years for misdemeanours and one year for petty offences, subject to interruption, suspension, transitional rules and later legislative amendments.
The classification matters. Most prosecutions under Law No. 02-13 are misdemeanours, but additional facts could receive another classification. It is also unsafe to claim that the period always starts only upon discovery whenever conduct was concealed. Any departure from the normal starting point requires a sound statutory or jurisprudential basis. Investigative and prosecution acts can interrupt prescription and cause a new period to run.
A severe system, but one that must respect defence rights
The legal consequences of Bac fraud in Morocco are now clear: result cancellation, exclusion from future examinations, confiscation, fines, imprisonment and a criminal record can arise from the same event. Organised leaks, impersonation, corruption and assistance by examination staff receive the harshest response. A first-time candidate with an unused phone is in a different factual position, but should not assume that prosecution is impossible.
At the same time, the fight against fraud does not justify automatic guilt. Examination authorities must establish accurate facts, apply the correct text and respect the candidate’s right to answer the accusation. Police and prosecutors must prove the criminal offence individually, especially in large WhatsApp groups where receipt, forwarding and authorship can easily be confused.
Concretely, obtain the written decision, preserve evidence, do not miss the 60-day administrative litigation period and consult counsel from the first police summons. Law-Framework No. 51-17 may support stronger integrity policies, but Law No. 02-13 and the Penal Code remain the central punitive instruments. The goal is legitimate—protecting the value of the Moroccan Baccalaureate—but legality and due process must remain part of that protection.

