Introduction: When an Online Post Becomes a Criminal Case in Morocco
A YouTube video, a Facebook post, a WhatsApp voice note, a TikTok clip — many internet users still treat these formats as casual, almost informal spaces. Moroccan courts do not. Once a statement publicly attributes a precise fact that harms someone’s honor or reputation, the matter can move very quickly from social media controversy to criminal prosecution, civil damages, police investigation and, in some cases, a prison sentence.
The recent public attention around the conviction of content creator Reda Taoujni following a complaint linked to Prince Moulay Hicham reminded many Moroccans of a simple reality: internet defamation is not a legal vacuum in Morocco. The fact that the statement appears on YouTube rather than in a newspaper does not place it outside the reach of the law. In practice, prosecutors, investigating judges, trial courts and courts of appeal increasingly deal with disputes born online but judged under classic criminal provisions.
On the ground, lawyers in Casablanca, Rabat, Marrakech and Fès have seen a clear rise in digital reputation disputes since roughly 2018. Some involve family conflicts that spill onto Facebook. Others concern business competitors attacking one another through sponsored posts or anonymous pages. Still others arise from activist speech, criticism of public figures, or personal vendettas amplified by WhatsApp groups. Concretely, the legal questions are always the same: Was there a public allegation of a specific fact? Can it be proved? Was it true? Who posted it? What damages did it cause?
This article explains, in practical English, what a creator, influencer, entrepreneur, employee or ordinary internet user actually risks when accused of internet defamation in Morocco. We will look at the legal definition under the Moroccan Penal Code, the difference between defamation and insult, the role of Law No. 88-13 on the press and publishing, the interaction with Law No. 09-08 on personal data protection, the penalties and damages courts may impose, how to file a complaint, what evidence is accepted, and how defendants can respond.
If you are a victim, the key message is speed: preserve evidence immediately and do not wait. If you are accused, the message is just as clear: do not improvise a defense on social media. Speak first to an internet defamation lawyer in Morocco or, depending on the city, an criminal lawyer in Casablanca or an criminal law specialist in Rabat.
1. What Moroccan Law Says: The Legal Definition of Defamation
1.1 Defamation under Article 442 of the Moroccan Penal Code
The core text remains Article 442 of the Moroccan Penal Code. That is the starting point for almost every discussion on article 442 code pénal marocain diffamation, including online publications.
Article 442 of the Moroccan Penal Code defines defamation as the allegation or imputation of a fact that harms the honor or consideration of a person or body to whom the fact is attributed, when the allegation is made publicly.
The legal mechanics are important. Defamation is not just “speaking badly” about someone. Moroccan law requires several elements. First, there must be an imputation of a specific fact. Saying “X stole money from clients” is different from saying “X is disgusting.” The first statement alleges a concrete act. The second is offensive, but usually falls into insult rather than defamation. Second, the alleged fact must be capable of harming the victim’s honor or consideration. Third, there must be a form of publicity. On the internet, that point is often easier to establish than people think.
That is why a great deal of online litigation in Morocco turns on a very practical distinction: are we dealing with a verifiable accusation, or merely abusive language? Courts examine the exact words used, the context of publication, the audience reached, and whether readers would understand the statement as a factual allegation rather than a value judgment or emotional outburst.
1.2 Defamation, insult, and false denunciation: a crucial distinction
Moroccan law separates defamation from injure — insult — and from false denunciation.
Article 447 of the Penal Code addresses insult. In simple terms, insult consists of abusive, contemptuous or invective expressions that do not attribute a precise fact. Calling someone a “crook” in a vague and emotional manner may be treated as insult; saying “he diverted company funds on 12 March” clearly moves toward defamation.
Article 445 of the Penal Code concerns false denunciation. This matters more than many complainants realize. If someone knowingly files a false complaint or falsely reports criminal conduct to authorities, the legal boomerang can be severe. In other words, using a criminal complaint as a personal weapon can itself become a criminal offense.
Article 447 of the Penal Code concerns insult, while Article 445 penalizes false denunciation. The practical consequence is major: a person who cannot prove a precise allegation may not only lose a defamation case, but may expose themselves if they knowingly fabricated accusations.
Attention toutefois: in court, the border between defamation and insult is not always neat. Judges look at wording line by line. A Facebook post can contain both. A YouTube video may include repeated insults plus one precise allegation of fraud, embezzlement, adultery, corruption or abuse. In that scenario, multiple qualifications may be discussed.
1.3 Aggravated defamation: when the victim is a public official or institution
The legal risk can increase depending on the status of the victim and the wording used. Moroccan criminal law contains provisions protecting public officials, magistrates and certain institutions. Article 263 of the Penal Code, for example, addresses contempt toward public officials in the exercise of their duties. While not identical to defamation under Article 442, these provisions can overlap in practice when online content targets magistrates, police officers, civil servants or institutions in a manner the prosecution considers criminal.
That is why the basic formula “the penalty for defamation in Morocco is only one month to one year” can be misleading. In some files, prosecutors do not stop at Article 442. They examine whether other charges may be added depending on the target, the wording, the context, and the dissemination method.
1.4 The role of Law No. 88-13 on the press and digital publishing
Since the adoption of Dahir No. 1-16-122 promulgating Law No. 88-13 relating to the press and publishing, Morocco has a specific legal framework for press offenses, including digital publication. But here is the nuance many readers miss: not every internet user benefits from the press law regime.
Journalists and recognized press actors may in some situations fall under Law 88-13, which contains specific rules on publication offenses. Ordinary individuals posting on personal Facebook accounts, YouTube channels or WhatsApp groups are more commonly prosecuted under the general Penal Code, especially Articles 442, 443, 444 and 447. The status of blogger, citizen journalist or monetized creator can generate debate, but Moroccan practice remains cautious. Courts do not automatically treat all digital speakers as press actors.
In clear terms, a professional media outlet and a private citizen with a smartphone do not necessarily stand on the same procedural footing, even if both publish online.
2. Internet Defamation in Morocco: Which Laws Apply in Practice?
2.1 Law No. 07-03 on cybercrime: useful but often misunderstood
When people search for cybercrime diffamation maroc loi, they often land on references to Law No. 07-03, which inserted Articles 607-3 to 607-11 into the Penal Code regarding offenses linked to automated data processing systems. This law is important, but it is frequently misunderstood.
Its main purpose is not to create a standalone offense of online defamation. It primarily addresses hacking, fraudulent access to computer systems, data interference and related digital offenses. So if someone breaks into your account, steals private files, or manipulates a server, Law 07-03 is directly relevant. But if the issue is that a person publicly accuses you on Facebook of embezzlement or adultery, the main legal basis generally remains defamation under Articles 442 and following of the Penal Code.
That said, cybercrime provisions may still matter indirectly. For example, if defamatory content was obtained through illegal access to a private account, or if someone hacked an email box before publishing personal information, prosecutors may combine classic defamation charges with offenses under Law 07-03.
2.2 Law No. 09-08 on personal data: a powerful complementary route
Law No. 09-08 on the protection of individuals with regard to the processing of personal data is increasingly relevant in internet reputation cases. If defamatory content includes a victim’s phone number, home address, identity documents, medical information, photographs or other personal data, the matter may go beyond defamation.
The CNDP — the Commission Nationale de contrôle de la Protection des Données à Caractère Personnel — can receive complaints where data has been unlawfully published or processed. This is especially useful in cases of online harassment, doxxing, revenge publication or business retaliation. A victim may therefore consider a dual strategy: criminal action for defamation and a separate or parallel complaint linked to unlawful data processing.
Law No. 09-08, particularly its provisions on unlawful processing and disclosure of personal data, can reinforce a victim’s position when defamatory content also exposes private information. In practice, loi 09-08 diffamation données personnelles maroc is an increasingly relevant combination.
Concretely, if someone posts “this doctor is a fraud” and then publishes the doctor’s personal phone number, home address or copies of identity papers, the legal risk broadens. The case is no longer only about reputation. It also touches privacy and personal data protection.
2.3 Penal Code plus digital laws: how the texts work together
In Moroccan practice, internet defamation cases are rarely analyzed through one text alone. Lawyers and prosecutors often work with a legal mosaic. The backbone remains the Penal Code. The digital context may bring in Law 07-03 where systems were unlawfully accessed, Law 09-08 where personal data was exposed, and occasionally Law 88-13 where the defendant can plausibly invoke a press-related framework.
This is one reason why a superficial reading of penalties can be dangerous. Someone may think, “the fine is tiny, so the risk is minor.” In reality, criminal exposure, civil damages, platform evidence requests, expert reports, and reputational consequences can make the file much heavier than the statutory fine suggests.
2.4 Facebook, WhatsApp, YouTube, TikTok: does the platform change the analysis?
Yes, but mainly on the issue of publicity. A public Facebook post, a YouTube video, or an open TikTok publication is usually easier to characterize as public. In many cases, once content is openly accessible online, Moroccan courts do not require sophisticated proof of how many people actually viewed it. The public nature of the medium is often enough.
Diffamation Facebook Maroc condamnation cases are common because Facebook posts are easily captured, shared and commented on. YouTube cases can be even more serious when a video develops a detailed narrative accusing a named person of criminal or immoral conduct. The Taoujni case showed exactly why content creators should not assume that “opinion format” protects them when they are in fact making factual allegations.
Diffamation WhatsApp Maroc is trickier. A message in a very small private group of close relatives may not satisfy the publicity requirement in the same way as a mass group with dozens or hundreds of participants, especially where colleagues, clients, suppliers or professional contacts are involved. Moroccan judges assess this concretely. The larger and more socially open the group, the more likely the statement will be treated as public.
As for TikTok, the legal reasoning is similar to Facebook or YouTube. If the content is publicly available and attributes a specific dishonorable fact to an identifiable person, the legal ingredients of defamation may be present.
3. Penalties for Internet Defamation in Morocco
3.1 Prison sentences under the Penal Code
The classic rule under Article 442 of the Penal Code provides for one month to one year of imprisonment and/or a fine. That is the baseline answer to the question peine pour diffamation Maroc. But any practitioner will tell you that the headline figure does not always reflect the real litigation risk.
First, prosecutors may add related charges depending on the facts. Second, defendants may face pre-trial pressure, repeated hearings and appeal proceedings even where the final sentence is suspended or reduced. Third, courts can combine criminal punishment with significant civil compensation.
The Reda Taoujni file is often cited because it illustrates how severe the outcome can become when online content targets a high-profile figure and the court finds the offense established. Public reports referred to a conviction of three years’ imprisonment, including 18 months to serve, showing that online speech can lead to penalties far beyond what casual users imagine when they press “publish.”
3.2 Fines: modest on paper, often secondary in real cases
The fine under the classic text is traditionally stated at 200 to 1,000 dirhams. Frankly, and every Moroccan practitioner knows this, these amounts feel almost frozen in another era. They stem from a penal architecture that has not kept pace with the economic reality of reputational harm in the age of viral content.
Clients are often surprised when they discover this. They expect massive criminal fines. Instead, the real financial battle is usually elsewhere: civil damages. In practice, that is where the stakes become serious.
3.3 Aggravating circumstances and cumulative legal exposure
If the alleged victim is a magistrate, public official, member of the security forces or another protected category, or if the content also includes contempt of institutions or unlawful data disclosure, the legal picture becomes heavier. The prosecution may rely on more than one provision. Again, Article 263 of the Penal Code frequently enters discussions where public officials are targeted.
There is no automatic formula. The exact combination depends on the words used, the identity of the victim, the dissemination channel, and whether the defendant can rely on truth, good faith or lack of publicity.
3.4 Civil damages: the real financial risk
For many defendants, the most painful part of a Moroccan internet defamation case is not the criminal fine. It is the claim for dommages et intérêts diffamation Maroc. The victim may join the criminal proceedings as a civil party and seek compensation for both moral harm and material harm.
Moral harm covers the attack on reputation, dignity, family life, social standing and psychological suffering. Material harm concerns actual economic loss: canceled contracts, loss of clients, professional exclusion, reputational damage to a business, or measurable decline in turnover. Courts assess these amounts sovereignly. Awards can range from a few thousand dirhams to much more where the victim proves serious reputational and economic consequences.
If you want a practical explanation of compensation mechanics, it also helps to read how to obtain damages in Morocco. In defamation files, proof matters enormously. A merchant who shows that customers stopped ordering after a viral post stands in a stronger position than one who only asserts generalized embarrassment.
4. How to File an Internet Defamation Complaint in Morocco: Step by Step
4.1 Secure the evidence first — before the post disappears
The first reflex should not be anger. It should be preservation. Screenshots are useful, but they are often incomplete, blurred, cropped or lacking URL and date information. In practice, victims often arrive at a law office with three screenshots taken on an old phone, convinced that this is enough. Sometimes it helps. Often it does not.
The gold standard remains a bailiff’s report — a constat d’huissier de justice. The bailiff records the online content, date, access path, visible account identifiers, and surrounding context in an official report. Depending on the city and the practitioner, the cost usually ranges from about 800 to 1,500 MAD. In Casablanca and Rabat, urgent constats in digital matters may cost more when speed and technical detail are required.
For preuve diffamation internet Maroc, this is often the difference between a solid file and a fragile one.
4.2 Complaint to the Public Prosecutor or direct complaint with civil party status?
There are two main routes. The first is to file a complaint with the Procureur du Roi before the competent Tribunal de première instance. This is the most common starting point. The prosecution may then order a police investigation, often through judicial police services or specialized cybercrime units.
The second route is a direct criminal complaint with constitution de partie civile before the investigating judge. This can be strategically useful because it pushes the matter into judicial investigation when the victim fears prosecutorial inertia. But there is a price: the complainant generally has to pay a consignation, a court-set deposit, often a few hundred dirhams or more depending on the file.
If you need a broader overview, see how to file a complaint in Morocco. In internet defamation matters, the strategic choice between the prosecutor and the direct complaint route should be made with counsel, because it affects timing, cost and pressure on the defendant.
4.3 Limitation period: one year, and sometimes a harsh surprise
The issue of prescription diffamation Maroc délai is critical. Under Article 5 of the Moroccan Code of Criminal Procedure, misdemeanors are generally subject to a limitation period of one year. Defamation, being a délIt, falls under that framework.
The debate concerns the starting point. Some courts count from the date of publication. Others are more receptive to arguments based on the date the victim actually became aware of the content, especially where the publication was not immediately visible. But no serious lawyer advises waiting to test that uncertainty.
I have seen the classic situation more than once: a client consults after fourteen months, convinced that because the post remained online or because they discovered it late, there is still plenty of time. Then comes the uncomfortable conversation. Maybe an argument remains. Maybe not. The safest rule is brutally simple: act immediately.
4.4 Jurisdiction, cost, and realistic timelines
Competence may be argued based on the defendant’s residence, the victim’s residence, or the place where the harmful publication was made accessible and caused damage. In practice, files are commonly brought before the Tribunal de première instance with a territorial connection to the parties or the publication’s effects.
The real cost of porter plainte diffamation internet Maroc usually includes several items: the bailiff report at 800 to 1,500 MAD, lawyer’s fees often ranging from 5,000 to 20,000 MAD for first instance depending on complexity, the court deposit if you file with civil party status, and possibly expert fees if the judge orders technical examination. A full first-instance file can therefore cost roughly 10,000 to 30,000 MAD for the civil party, sometimes more.
As for timelines, a straightforward case with an identified defendant and clear evidence may move in a few months. Anonymous accounts, requests to foreign platforms and expert issues can stretch the matter much longer.
5. What Evidence Moroccan Courts Accept in Internet Defamation Cases
5.1 The bailiff’s report: still the queen of digital evidence
The constat d’huissier remains the strongest starting point for digital proof. It does not magically win the case, but it gives the evidence an official, dated and procedural form that simple screenshots lack. Judges are generally more comfortable with a bailiff’s report because it reduces disputes about manipulation, cropping or authenticity.
Concrètement, if the defamatory post is still online, do not debate for three days with friends about whether to respond publicly. Call a lawyer or a bailiff and preserve the page properly.
5.2 Screenshots, web archives and metadata
Screenshots made by the victim are not worthless. They can support the file, especially when multiple captures show the URL, account name, date, comments and shares. But alone, they may be challenged. Defense counsel will often argue that the image was altered, selectively cropped, or taken out of context.
Tools such as web archives or timestamped capture services may have indicative value, but they rarely replace formal judicial evidence. Metadata, device records, witness testimony and correspondence surrounding the publication can also help establish authorship or dissemination.
This is where practical law differs from internet folklore. Many victims think “I have the screenshot, so I have the case.” Sometimes yes. Often, not yet.
5.3 Identifying anonymous authors: possible, but often slow
If the author hides behind a fake profile, all is not lost. Moroccan authorities may seek identification through judicial requisitions to local telecom operators such as Maroc Telecom, Orange and Inwi, especially where IP-related data can be linked to usage records. The DGSN and specialized cybercrime services can assist in the investigation.
For foreign platforms like Meta/Facebook, Google/YouTube or TikTok, matters become slower. In practice, in Casablanca or Rabat, official requests through international cooperation channels may take six to eighteen months. That is the honest field reality. It often disappoints complainants who expect instant identification. So lawyers usually try to build the case with indirect evidence too: witnesses, posting patterns, linked phone numbers, business rivalries, previous messages, or account recovery traces.
5.4 Truth as a defense: Article 443 and its limits
Article 443 of the Penal Code recognizes a version of the exceptio veritatis — the defense of truth. If the defendant proves the truth of the precise facts attributed, the defamation accusation may fail. This is a powerful defense, but not a casual one. The burden is serious, and the evidence must be robust.
Article 443 of the Penal Code allows the defendant, under strict conditions, to establish the truth of the alleged facts. But this defense is not unlimited. It may be restricted where allegations concern private life, very old facts, or matters erased by amnesty or otherwise legally protected.
That is why defendants should be careful before relying on “everyone knows it is true.” Courtroom truth is not rumor. It is documentary proof, admissible testimony, official records and coherent evidence.
6. Moroccan Case Law and Real Convictions for Online Defamation
6.1 The Reda Taoujni case: why it matters
The case involving Reda Taoujni became a public reference point because it showed that Moroccan courts are prepared to treat online audiovisual content with full legal seriousness. Public reporting described the case as arising from a complaint linked to Prince Moulay Hicham, with the court ultimately imposing a significant sentence. The legal lesson is not only about celebrity or politics. It is about the judiciary’s willingness to apply ordinary criminal rules to internet speech when the legal elements are met.
Even where public summaries do not always reproduce every count in technical detail, the case is routinely cited as an example of how online accusation-based content can trigger real prison exposure, not merely symbolic condemnation.
6.2 Facebook and WhatsApp convictions in ordinary disputes
Beyond high-profile files, Moroccan trial courts have handled more ordinary matters: disputes between merchants, former spouses, neighbors, employees and business competitors. In several first-instance cases discussed in practice circles, defamatory allegations in broadly shared WhatsApp groups or on Facebook pages have led to convictions or civil awards where the victim proved publication, identification and reputational harm.
For example, a trader falsely accused in a local commercial Facebook ecosystem may be able to show direct business loss through messages from clients, canceled orders or sudden drops in activity. In those situations, damages and interest for defamation in Morocco can become more substantial than the criminal fine itself.
With WhatsApp, the turning point is usually the audience. A message sent to three close family members is not viewed like a statement spread in a 120-member professional group. Judges look at the circle reached and the realistic social consequences of the statement.
6.3 When defendants are acquitted
Not every accusation ends in conviction. Defendants may be acquitted where they prove the truth of the facts, where publicity is not established, where the victim is not clearly identifiable, or where the words are judged to be insult rather than defamation. Sometimes the prosecution simply cannot prove authorship, especially with anonymous or shared devices.
There is, however, a practical problem in Morocco: unlike some jurisdictions, there is no fully consolidated, easily searchable public database of all judgments. Lawyers therefore work with official texts, published reports, professional networks, court experience and the limited body of publicly discussed decisions. That makes legal prediction more difficult than clients often expect.
7. How to Defend Yourself Against an Internet Defamation Accusation in Morocco
7.1 Classic defenses: truth, good faith, lack of publicity
If you are accused, the first question is whether the statement really attributes a specific fact. The second is whether it was public. The third is whether you can prove the truth of what you said under Article 443. The fourth is whether your conduct shows good faith: sincere belief, absence of personal malice, prudence in expression, and a legitimate aim.
Good faith is not a magic shield, but it matters. A person who carefully reported concerns based on documents and used measured language stands differently from someone who launched a personal vendetta with insults, mockery and sensational accusations.
One practical point: do not start deleting everything in panic. Sometimes removal is sensible to limit damage, but indiscriminate deletion can also complicate your defense and be interpreted as consciousness of wrongdoing. Speak to counsel first.
7.2 Freedom of expression under the 2011 Constitution
Article 25 of the 2011 Moroccan Constitution guarantees freedoms of thought, opinion and expression. That protection is real. But it is not absolute. It coexists with the protection of honor, private life and public order. Moroccan courts therefore balance expression against reputation more restrictively than some internet users assume.
Article 25 of the Constitution: freedoms of thought, opinion and expression are guaranteed in all their forms. But this constitutional guarantee does not erase criminal liability where speech crosses into punishable defamation.
Public figures, elected officials and institutional actors should normally accept a wider degree of criticism than private individuals. Comparative European case law often says so very clearly. Moroccan courts, however, remain generally more cautious and sometimes more restrictive in practice, especially where criticism turns into explicit factual accusation.
7.3 Defamation complaints as intimidation tools: the SLAPP problem
As a practitioner, one has to say this honestly: not every defamation complaint is filed to repair genuine reputational harm. Some are filed to intimidate journalists, citizen reporters, whistleblowers or activists. These are often described as SLAPPs — strategic lawsuits against public participation. The tension is real: on one side stands Article 25 of the Constitution; on the other, Article 442 of the Penal Code and the legitimate right of individuals to defend their honor.
The lawyer’s role is not ideological. It is to separate serious defamation from abusive litigation, and to defend either side rigorously. A genuine victim deserves protection. But a defendant also deserves a real defense where criminal process is being used as a pressure tactic.
8. Choosing the Right Lawyer for an Internet Defamation Case in Morocco
8.1 Why digital law experience matters
Internet defamation cases sit at the crossroads of criminal law, evidence law, digital investigation, personal data law and sometimes press law. Not every criminal lawyer handles these files regularly. Ask directly whether the lawyer has experience with online publication, platform evidence, digital constats, and the interaction between Articles 442 and 443, Law 07-03 and Law 09-08.
If you are searching city by city, you may start with an criminal lawyer in Marrakech, an criminal lawyer in Fès, or a specialist in digital law in Morocco.
8.2 Questions to ask before hiring counsel
Ask simple, concrete questions. Have you handled internet defamation Morocco files before? Have you worked with bailiffs for online evidence? Do you know CNDP procedures? Have you requested platform identification through judicial channels? What is the strategy if the author is anonymous? What are the realistic timelines, not the optimistic ones?
The quality of the answers usually tells you a lot.
8.3 Fees and billing models
Fees vary by city, complexity, urgency and reputation of counsel. For a standard first-instance matter, a range of 5,000 to 20,000 MAD is common, sometimes more for technically complex or high-profile files. Some lawyers combine a fixed fee with a success-related component where ethically and legally acceptable under Moroccan professional rules. In any event, insist on clarity from the start.
If distance or urgency is an issue, you may also consult a lawyer online in Morocco before deciding whether to file.
Conclusion: Online Defamation in Morocco Has Real Consequences
The bottom line is straightforward. Defamation on social media in Morocco can lead to criminal prosecution, prison exposure, civil damages, police investigation and long litigation. The legal basis is clear: Article 442 of the Moroccan Penal Code remains central, supported where needed by related provisions, by Law 09-08 on personal data, and sometimes by digital or press legislation.
For victims, the first move is evidence: secure the content, ideally through a bailiff, then act quickly before the one-year limitation period becomes a battlefield. For defendants, the essential reflex is restraint: no impulsive public response, no amateur legal theories, no destruction of evidence. Build a defense around truth, context, good faith and procedural rigor.
In short, Morocco does not treat internet speech as consequence-free. But neither should defamation law become a shortcut for silencing legitimate criticism. Between those two principles lies the real work of courts — and of competent counsel. If you need tailored advice, speak to an internet defamation lawyer in Morocco without delay.

