Stop UK Online Harassment (2026 Legal Guide) — Rules & Requirements

Last verified:

Source: Protection from Harassment Act 1997 (course-of-conduct harassment, civil + criminal); Malicious Communications Act 1988 s. 1 (sending grossly offensive, indecent, obscene or menacing messages); Communications Act 2003 s. 127 (electronic harassing communications); Online Safety Act 2023 (Ofcom-enforced platform duties).

About this article

Sourced from UK Acts of Parliament, statutory instruments, and official guidance. Written in plain language for general understanding — this is educational content, not legal advice. Our editorial standards

UK National Law

What is this right?

If you are in immediate danger, call 999. The UK has multiple criminal and civil routes against online harassment, plus platform-side Ofcom-regulated duties. The Protection from Harassment Act 1997 criminalises a course of conduct (two or more incidents) that amounts to harassment, with both criminal and civil claims available — civil claims can yield damages and a Harassment Injunction. The Malicious Communications Act 1988 s. 1 and the Communications Act 2003 s. 127 criminalise individual grossly offensive, indecent, obscene, or menacing electronic communications.

Under the Online Safety Act 2023, platforms (large social media, search, messaging) have duties to take action against illegal content and content that is harmful to children. Ofcom enforces. For the most serious threats (death, rape, fear of violence), Section 4 PHA 1997 creates an aggravated offence with a 10-year maximum sentence.

When does it apply?

  • Repeated unwanted communications (two or more incidents needed under PHA 1997) that have caused you alarm or distress.
  • An individual grossly offensive, indecent, obscene, or menacing message — even a single one — covered by Malicious Communications Act 1988 s. 1.
  • Threats of violence that put you in fear of violence — Protection from Harassment Act 1997 s. 4, up to 10 years.
  • Doxxing — publication of your private contact details or address with intent to facilitate harassment.
  • Stalking — Protection from Harassment Act 1997 ss. 2A (stalking) or 4A (stalking involving fear of violence).
  • A platform has refused to remove threatening or harassing content that violates its own policies and the OSA 2023's illegal-content duties.

Stopping Online Harassment, Stalking, and Threatening Communications in the UK

  1. Document everything before reacting. Screenshots with timestamps and URLs, full email headers, message IDs, platform handles. Save originals. Don't delete the messages.
  2. Block and report on the platform. Large platforms have OSA 2023 illegal-content duties that require fast removal of harassing content; reporting puts the platform on notice and is itself evidence in any later case.
  3. Call 999 if you are in immediate danger; 101 for non-emergency reports. The police can investigate under the Protection from Harassment Act 1997, the Malicious Communications Act 1988, or s. 127 of the Communications Act 2003. Stalking-specific support is at the National Stalking Helpline (0808 802 0300, run by Suzy Lamplugh Trust).
  4. Consider a civil claim under Protection from Harassment Act 1997 s. 3. Damages plus a Harassment Injunction restraining further contact. Available even without a criminal conviction. Citizens Advice (0808 223 1133) can route you to free legal advice.
  5. For platform-level failure, complain to Ofcom. Under the OSA 2023, in-scope services must remove illegal content (which includes harassment offences) and prevent it where possible. Ofcom can issue enforcement notices and fines up to 10% of global turnover.
  6. For domestic-abuse-related harassment, the National Domestic Abuse Helpline is 0808 2000 247 (Refuge, 24/7). Specialist DA charities can also help apply for non-molestation orders and occupation orders under the Family Law Act 1996.

What should you NOT do?

  • Don't engage with the harasser. Even single replies can be used to argue you consented to contact. Block, document, report.
  • Don't delete the messages. Even abusive content is evidence; the courts and police need it.
  • Don't retaliate. Counter-harassment can itself become an offence and undermines your civil claim.
  • Don't assume online-only threats won't be taken seriously. UK police forces now have dedicated digital crime units, and the OSA 2023 has materially increased platform cooperation. Document and report.

Common Questions

How many incidents make harassment under PHA 1997?

Two or more — the Act defines harassment as a 'course of conduct.' A single incident, however severe, generally falls under the Malicious Communications Act 1988 s. 1 or Communications Act 2003 s. 127 instead. Threats of violence (single or multiple) are covered by PHA 1997 s. 4 (10-year maximum).

Can I get a harassment injunction without going through the police?

Yes — Protection from Harassment Act 1997 s. 3 creates a civil cause of action separate from the criminal route. You can apply directly to the county court. The injunction prohibits further harassment on pain of arrest. Citizens Advice and law centres can refer to free or low-cost legal help.

What can Ofcom do under the Online Safety Act?

Ofcom can issue enforcement notices requiring platforms to take down illegal content and improve their systems; fine up to 10% of global turnover or £18 million (whichever is higher); seek court orders disrupting access to non-compliant services; and in extreme cases criminally prosecute senior managers. The OSA's illegal-content list includes the SOA 2003 s. 66B offences, the Malicious Communications Act, and threats offences.

Does the law apply if the harasser is overseas?

UK criminal courts can prosecute most online harassment offences if the victim is in the UK. Civil harassment injunctions can also be obtained against foreign perpetrators in some circumstances, though enforcement against an overseas defendant is harder. Platform-side action via OSA 2023 duties applies regardless of where the harasser is.

What is the online harassment, stalking, and threatening communications in the uk right in United Kingdom?

If you are in immediate danger, call 999. The UK has multiple criminal and civil routes against online harassment, plus platform-side Ofcom-regulated duties. The Protection from Harassment Act 1997 criminalises a course of conduct (two or more incidents) that amounts to harassment, with both criminal and civil claims available — civil claims can yield damages and a Harassment Injunction. The Malicious Communications Act 1988 s. 1 and the Communications Act 2003 s. 127 criminalise individual grossly offensive, indecent, obscene, or menacing electronic communications.Under the Online Safety Act...

When does online harassment, stalking, and threatening communications in the uk apply?

Repeated unwanted communications (two or more incidents needed under PHA 1997) that have caused you alarm or distress.An individual grossly offensive, indecent, obscene, or menacing message — even a single one — covered by Malicious Communications Act 1988 s. 1.Threats of violence that put you in fear of violence — Protection from Harassment Act 1997 s. 4, up to 10 years.Doxxing — publication of your private contact details or address with intent to facilitate harassment.Stalking — Protection from Harassment Act 1997 ss. 2A (stalking) or 4A (stalking involving fear of violence).A platform has...

How do I stop someone harassing me online in the UK?

Document everything before reacting. Screenshots with timestamps and URLs, full email headers, message IDs, platform handles. Save originals. Don't delete the messages.Block and report on the platform. Large platforms have OSA 2023 illegal-content duties that require fast removal of harassing content; reporting puts the platform on notice and is itself evidence in any later case.Call 999 if you are in immediate danger; 101 for non-emergency reports. The police can investigate under the Protection from Harassment Act 1997, the Malicious Communications Act 1988, or s. 127 of the Communications A...

What mistakes should I avoid with online harassment, stalking, and threatening communications in the uk?

Don't engage with the harasser. Even single replies can be used to argue you consented to contact. Block, document, report.Don't delete the messages. Even abusive content is evidence; the courts and police need it.Don't retaliate. Counter-harassment can itself become an offence and undermines your civil claim.Don't assume online-only threats won't be taken seriously. UK police forces now have dedicated digital crime units, and the OSA 2023 has materially increased platform cooperation. Document and report.

You came here to know your rights — help someone else know theirs.

Support This Mission