#Cyberbullying and Online Harassment in Morocco: What Does the Law Say and How Should You Respond?
Cyberbullying and online harassment in Morocco can take various forms: threats, repeated insults, blackmail, identity theft, smear campaigns or the non-consensual sharing of private content.
When faced with such behaviour, victims often have to address two concerns simultaneously: stopping the harmful conduct and preserving the information needed to document what has happened.
One of the main difficulties lies in the fragmented nature of digital information. Messages, posts and different accounts may appear connected without it being established that they originate from the same source.
How can victims respond effectively, what does Moroccan law provide for, and under what circumstances can a private investigation be useful?
What Is Cyberbullying and Online Harassment?
Cyberbullying and online harassment generally refer to hostile conduct, often repeated, carried out through digital technologies and potentially causing harm to an individual.
They may include:
- Insulting, threatening or humiliating messages.
- Repeated unwanted contact despite the recipient's refusal.
- Smear campaigns on social media.
- The creation of fake profiles and identity theft.
- The non-consensual sharing of private content.
- Online blackmail.
- The malicious publication of personal information.
- The use of manipulated content, including fabricated images or deepfakes.
Although repetition characterises many harassment situations, certain isolated acts may also constitute a criminal offence.
It is therefore essential to distinguish the general concept of cyberbullying and online harassment from the legal classification of specific acts.
What Does Moroccan Law Say About Cyberbullying and Online Harassment?
Cyberbullying and online harassment do not necessarily fall under a single criminal offence. Depending on the nature of the conduct, several provisions of Moroccan law may apply.
Violations of Privacy
Articles 447-1, 447-2 and 447-3 of the Moroccan Penal Code, introduced by Law No. 103-13 on combating violence against women, are particularly relevant.
Article 447-1 criminalises certain acts involving the unauthorised capture, recording or dissemination of private conversations, confidential information or images taken in a private setting.
Article 447-2 notably concerns the non-consensual dissemination of manipulated content, as well as certain false allegations intended to harm an individual's privacy or reputation.
Article 447-3 provides for increased penalties in specific circumstances defined by law.
Sexual Harassment Through Electronic Communications
Article 503-1-1 of the Moroccan Penal Code notably addresses persistent conduct involving harassment of a sexual nature or purpose through written, telephone or electronic messages, images or recordings.
This provision may therefore apply to certain forms of online sexual harassment.
Personal Data Protection
Law No. 09-08 regulates the processing of personal data in Morocco.
Where a situation involves the collection, use or disclosure of personal data in breach of this law, a complaint may be submitted to the National Commission for the Control of Personal Data Protection (CNDP).
Other criminal provisions may also apply, particularly those concerning threats, blackmail or unauthorised access to computer systems.
The applicable legal classification depends on the specific circumstances of each case.
Why Is Collecting Screenshots Not Always Enough?
One of the distinguishing characteristics of online harassment is the fragmentation of digital evidence.
Imagine someone receiving threatening messages on Instagram, discovering a fake profile using their identity and finding that personal information has been published on Facebook.
These events may appear to form part of the same harassment campaign. However, their proximity in time is not sufficient to establish that they originate from the same perpetrator.
A screenshot may document the appearance of a message without necessarily establishing the identity of its author, its complete context or its connection to other incidents.
Three dimensions must therefore be distinguished:
- The existence of the incident: What content was received or published?
- The context: When did it appear, and under what circumstances?
- Attribution: What evidence links it to a particular person or to other acts?
This distinction prevents a series of incidents from being mistaken for a coordinated campaign whose existence has yet to be demonstrated.
The value of an evidence file depends not only on the quantity of information collected, but also on its origin, context and the strength of the connections established between the different elements.
What Should You Do If You Experience Cyberbullying or Online Harassment in Morocco?
1. Preserve and Organise Digital Evidence
Keep original messages, screenshots, URLs, account identifiers and any available dates and times.
Where possible and safe, preserve complete conversations rather than isolated extracts.
Then establish a timeline that distinguishes the different incidents, their frequency and how they have developed over time.
Avoid modifying original documents. In certain circumstances, a lawyer may also advise you to obtain an official record prepared by an authorised professional.
2. Secure Your Accounts and Limit Interactions
Change the passwords of accounts that may have been compromised, enable two-factor authentication and review active sessions and connected devices.
After preserving relevant evidence, you may block the accounts involved and report the content to the platforms concerned.
Do not attempt to gain unauthorised access to the suspected perpetrator's accounts.
3. Adapt Your Response to the Seriousness of the Situation
In cases of blackmail, avoid paying money or sending additional intimate content under pressure from the perpetrator.
If private photographs or videos have been shared without consent, request their removal from the relevant platforms without republishing them to demonstrate their circulation.
Where serious threats or immediate physical danger are involved, the safety of the victim and those around them must take priority over evidence gathering. Contact the competent authorities promptly.
Where Can You Report Cyberbullying or Online Harassment in Morocco?
Several options are available depending on the nature of the incidents.
Authority or reporting service
Purpose
E-Blagh | Reporting unlawful digital content to Morocco's General Directorate of National Security (DGSN).
Police or Royal Gendarmerie | Filing a complaint with the territorially competent law enforcement service.
Public Prosecutor | Submitting a complaint to the Public Prosecutor's Office at the competent court.
CNDP | Filing a complaint concerning a breach of Law No. 09-08 on personal data protection.
Reporting content to a digital platform, filing a criminal complaint and submitting a complaint to the CNDP serve different purposes. These procedures may complement one another.
Legal assistance may be particularly useful when the circumstances are complex or have serious consequences for the victim.
Can You Identify Someone Using a Fake Profile to Commit Online Harassment?
The identity displayed on a digital account does not necessarily correspond to that of its actual user.
A profile photograph, username or similarities between several accounts are not, on their own, sufficient to attribute particular conduct to a specific individual.
Technical identification of a user may require information held by digital platforms or telecommunications operators. Such information must be disclosed through the applicable legal procedures.
It is therefore important to be particularly cautious of individuals who promise to identify the operator of any anonymous account or secretly obtain their connection data.
What Role Can a Private Detective Play in an Online Harassment Case?
A private investigation may help clarify certain circumstances when a victim possesses information that is scattered, contradictory or insufficiently contextualised.
The role of a private detective in Morocco may include organising the available evidence, verifying lawfully accessible information and documenting possible connections between different incidents.
Such an investigation does not replace specialist digital forensic expertise or a judicial investigation. Nor does it authorise hacking an account, intercepting communications or accessing private information without permission.
For Maroc Investigation, the objective is to transform fragmented information into a structured factual case file, while distinguishing established facts from hypotheses that still require verification.
Are you experiencing cyberbullying or online harassment in Morocco? Our agency can review your situation confidentially to assess whether a private investigation would be appropriate within the applicable legal framework.



