Strategic Advice
Client-Focussed
Proven Record
Strategic Advice
Client-Focussed
Proven Record
Strategic Advice
Client-Focussed
Proven Record

Cyberstalking and Online Harassment: When Does It Become a Criminal Offence?

Officer handing a man papers about cyberstalking and online harassment
Strategic Advice
Client-Focussed
Proven Record
Strategic Advice
Client-Focussed
Proven Record
Strategic Advice
Client-Focussed
Proven Record

When Can Online Behaviour Become a Criminal Offence?

Online conduct becomes a criminal offence when it meets the specific requirements of a relevant statutory offence. 

An upsetting message, or an account appearing to bear someone’s name, does not by itself prove an offence or identify who sent it. The nature, frequency and effect of the conduct are all relevant to how prosecutors and courts assess cyberstalking and online harassment cases.

The Protection from Harassment Act 1997 is the primary statute for cases involving a pattern of unwanted online conduct. It applies where there is a course of conduct amounting to harassment or, where additional conditions are met, stalking. 

The Online Safety Act 2023 created further offences that can apply to individual communications, including sending false information with intent to cause harm and sharing intimate images without consent.

These laws can apply to different situations. For example, repeated messages over several weeks may be investigated as harassment, while a single threatening communication may fall under a separate offence.

The prosecution must establish the legal requirements of whichever offence is alleged.


Cyberstalking and Online Harassment: What Is the Difference?


Online harassment and cyberstalking are closely related, but they are not identical offences.

Both involve a course of conduct under the Protection from Harassment Act (PHA) 1997. The difference lies in the behaviour and the additional requirements that apply to stalking.

Online harassment occurs where a person repeatedly behaves in a way that amounts to harassment and knows, or ought to know, that their conduct has that effect.

Cyberstalking involves behaviour associated with stalking, such as repeated unwanted contact, monitoring someone’s online activity or publishing material about them.

Cyberstalking is not a separate offence simply because the conduct happens online. It is stalking carried out through digital means.

The distinction matters because more serious forms of stalking and harassment can carry substantially higher penalties.

What counts as a course of conduct?

A course of conduct generally requires behaviour on at least two occasions.

The incidents do not have to be identical or take place through the same communication method.

For example, repeated emails, social media messages and attempts to contact someone through another platform may be considered together.

However, two messages do not automatically establish harassment. Investigators must consider their content, circumstances and whether the behaviour meets the legal test.

The timing and connection between incidents may also affect whether they form a course of conduct.

What acts are associated with cyberstalking?

The Protection from Harassment Act identifies several types of behaviour associated with stalking.

These include contacting or attempting to contact someone, monitoring their internet use, publishing material about them and watching or following them.

Online examples may include repeatedly messaging someone who has asked for no further contact, monitoring their social media activity or using accounts to impersonate them.

The statutory list is not exhaustive. Other digital behaviour may also amount to stalking where the relevant legal requirements are met.


Can One Message Lead to a Criminal Charge?


A single message cannot by itself constitute online harassment or cyberstalking under the PHA 1997 because both offences require a course of conduct on at least two occasions. However, a single message may engage other criminal provisions.

The Online Safety Act 2023 created a false communications offence that can apply to a single communication sent with intent to cause non-trivial psychological or physical harm to another person. 

The Act also introduced offences relating to sharing intimate images without consent and cyberflashing. These do not require a course of conduct.

The Communications Act 2003 covers the sending of grossly offensive, indecent, obscene or menacing messages via a public electronic communications network. 

There is one further situation in which a single act can constitute a criminal offence regardless of whether it would otherwise meet any online harassment threshold. 

If a restraining order or stalking protection order is already in place, a single act that breaches it is itself an offence. 

The nature and content of any communication remain relevant; not every unwanted message meets a criminal threshold, and the specific requirements of the alleged offence must be considered in each case.

How Repeated Contact Across Different Apps Is Assessed

Repeated contact through different apps or accounts can form a single course of conduct if the incidents are connected.

For example, someone may send messages through WhatsApp, then attempt contact through Instagram or email after being blocked.

Using different platforms does not prevent the conduct from being considered together.

Investigators examine the overall pattern, including the content of messages, their timing and the circumstances surrounding each contact.

They may also consider whether different accounts were controlled by the same person.

How accounts and messages are linked by investigators

Investigators can apply for account registration data, IP address logs and device identifiers from platform providers. These records may link multiple accounts to the same device or connection in a cyberstalking investigation. 

Timestamps and metadata help establish a timeline across platforms and can show whether different accounts were active at the same times. 

Content similarities and behavioural patterns may also be considered alongside technical evidence.

These techniques are relevant both to the prosecution case and to any defence analysis of whether the evidence reliably identifies a particular individual. 

If there is reason to believe an account was accessed by more than one person, or that account details were compromised, that is a matter a solicitor can explore with a digital forensic expert.

Solicitor and client reviewing case files during a cyberstalking and online harassment interview

What Evidence Can Help Establish What Happened?

Complete message threads provide context that partial screenshots do not. 

In cyberstalking and online harassment cases, a thread may show who initiated contact, whether replies were exchanged and what the tone of the communications was over time. Timestamps confirm when each contact occurred and in what sequence. 

Gaps in a thread or selective editing can distort the picture significantly. Account records may show who controlled an account at a relevant time. 

Login and access logs can help place a device or account in context, particularly where more than one person had access to a device or account credentials. 

Evidence that a third party had access is capable of being relevant to the question of who sent particular messages.

Deleted messages may still be recoverable from device backups or platform logs, depending on the platform and the time that has passed. 

A solicitor can advise on obtaining and presenting digital evidence and can instruct a digital forensic expert where the circumstances make that appropriate.

Why preserving evidence early matters

Screenshots should capture the full thread, including timestamps and sender details, rather than isolated messages.

Platform account records and logs should be preserved before accounts are deleted or deactivated, as restoration is not always possible once data is removed. 

Any messages, posts or account records relevant to an online harassment or cyberstalking allegation should not be altered, deleted or moved after the allegation has been made. 

Taking legal advice before making any changes that could affect the available evidence is strongly advisable.

What context can a message thread reveal?

A thread may show that contact was initiated by the complainant, that replies were exchanged over a period of time or that earlier communications created a context relevant to later ones. 

Context within a thread can affect how an individual message is interpreted in a cyberstalking or online harassment case. 

Complete records are more useful to a solicitor than selected screenshots, because they allow the full sequence to be considered rather than a curated portion of it.

What to Do if the Police Contact You

If the police contact you about an allegation of cyberstalking or online harassment, contacting a solicitor before attending any interview is the most important immediate step. 

This applies whether the interview is voluntary or follows an arrest. You have the right to free and independent legal advice at a police station, and that right applies regardless of whether you have been arrested.

Do not contact the complainant or anyone connected to them. Even well-intentioned contact may be treated as further evidence of a course of conduct in an online harassment case, or as a breach of any existing bail condition, court order or interim stalking protection order. 

Check carefully whether any existing order or condition already restricts your contact, as breaching such a restriction is itself a criminal offence.

Preserve any evidence relevant to your account of events, including communications showing context, records demonstrating that you were not responsible for a particular account and evidence relevant to access to your devices. 

A solicitor can advise on the strength of the available evidence, the interview process and the options available to you.

Voluntary interview or arrest: what is the difference?

A voluntary interview under caution means you attend a police station without being arrested. 

You remain entitled to legal advice and, in principle, may leave unless you are subsequently arrested.

However, answers given in a voluntary interview under caution can be used in evidence in the same way as answers given after arrest. 

The fact that an interview is voluntary does not reduce the significance of what is said, including in cyberstalking and online harassment investigations.

An arrest means the police have grounds to detain you for questioning. 

The right to legal advice at the police station applies in both situations. In both cases, taking legal advice before answering any questions is strongly advisable.

Should I make a statement or answer questions?

When a person is interviewed under caution about online harassment or cyberstalking, they are told that it may harm their defence if they do not mention when questioned something they later rely on in court. 

A solicitor can advise on whether to answer questions in full, provide a prepared written statement or exercise the right to silence. 

The right decision depends on what the person knows about the allegation, what evidence exists and what has been disclosed by the police before the interview. 

What is said or not said in an interview can be significant, and decisions made without legal advice can have consequences at trial.

Penalties, Sentencing and Protective Orders

The penalties for cyberstalking and online harassment depend on the offence charged and the seriousness of the conduct.

Courts consider factors such as the duration of the behaviour, its impact on the complainant and the defendant’s culpability. Basic harassment and stalking offences are generally dealt with in the Magistrates’ Court.

Under the current sentencing guidance, both carry a maximum sentence of six months’ imprisonment, with a fine also available.

More serious harassment and stalking offences involve additional elements, such as causing fear of violence or serious alarm or distress.

Stalking involving fear of violence on at least two occasions, or serious alarm or distress with a substantial adverse effect on everyday activities, can carry a maximum sentence of ten years’ imprisonment in the Crown Court.

Racially or religiously aggravated offences may carry higher maximum sentences. The aggravated forms of serious harassment and stalking can carry up to fourteen years’ imprisonment.

The Sentencing Council’s guidelines require courts to assess the circumstances rather than impose the same penalty in every case.

The basic summary-only harassment and stalking offences are also subject to a six-month time limit for starting proceedings, generally measured from the final incident in the course of conduct. Different rules apply to more serious offences.

Restraining orders

Courts may impose restraining orders to protect someone from further harassment or stalking. An order may prohibit contact with the person concerned, attendance at certain locations or other specified behaviour.

A restraining order can be made following a conviction and, in certain circumstances, after an acquittal where the legal requirements are met.

It may last for a fixed period or remain in force indefinitely. Breaching a restraining order without reasonable excuse is a separate criminal offence.

The maximum sentence in the Crown Court is five years’ imprisonment. A single breach can be sufficient, even where the conduct would not otherwise establish a course of harassment.

Stalking protection orders

Stalking protection orders can be used to protect someone from stalking before a criminal conviction. The police can apply to the Magistrates’ Court for an order where the statutory conditions are met.

An order may restrict contact, prohibit particular activities or require the respondent to comply with specified conditions. Interim orders may also be made where protection is needed before a full application is decided.

Breaching a stalking protection order or interim order without reasonable excuse is a criminal offence. The maximum sentence is five years’ imprisonment in the Crown Court.

If an order has been made against you, check its exact requirements and obtain advice about any proposed challenge or application to vary it.

How a Cybercrime Solicitor Can Help

A solicitor experienced in cyberstalking and online harassment cases can explain what the prosecution must prove and assess the evidence relevant to the allegation.

They can review message threads, account records and other digital material to identify whether the available evidence supports the allegation.

Where questions arise about who controlled an account or sent particular messages, a solicitor may instruct a digital forensic expert.

They can also advise on police interviews, protective orders and any alleged breach of an existing restriction. If the matter proceeds to court, they can represent you and explain the potential penalties associated with the charge.

Ashmans Solicitors advises individuals facing online harassment, stalking and related criminal allegations.

Speak to our criminal defence team for advice about your position and the steps available to you.


Search our legal articles

Free expert guidance on criminal law, your rights, and what to expect at every stage.

Searching Legal Help Hub articles