Instant communication, polarised online debate and emerging technology have placed the boundary between lawful expression and criminal conduct under increasing scrutiny. Social media posts, emails and texts are now routinely preserved and used as evidence, raising a central question: when does a communication cross the line into illegality?
Section 127 of the Communications Act 2003 applies across the UK and criminalises sending a message over a public electronic communications network that is grossly offensive, indecent, obscene or menacing. It also covers repeated communications and false messages intended to cause annoyance, inconvenience or anxiety.
The Legal Threshold
“Grossly offensive” sets a deliberately high, objective threshold, assessed against the standards of an open and just multi-racial society rather than the sender’s intention. Scottish cases illustrate its application.
In Sutinyte v Procurator Fiscal, Glasgow (2022 S.C.C.R. 22), abusive emails to an MP, including remarks wishing that the recipient would choke, exceeded what is tolerable in a civilised society. Content, tone and repetition, particularly where directed at an identifiable person, can therefore elevate communications beyond mere offensiveness.
In Raynouard v HM Advocate (2024 S.L.T. 179), public dissemination of Holocaust denial material was grossly offensive. Individuals may hold offensive views, but communicating them publicly may attract criminal liability.
What about Freedom of Expression?
Section 127 is constrained by Article 10 of the European Convention on Human Rights. Many crude or ill-judged communications fall short of the criminal threshold, as freedom of expression protects speech that offends, shocks or disturbs.
Online speech does not enjoy blanket protection. In Brown v Procurator Fiscal, Ayr [2016] SAC (Crim) 32, Facebook messages to the appellant’s former partner caused her distress, but contained no real threat. The Appeal Court held that the objective test concerned the messages themselves, not the complainer’s reaction, and quashed the conviction. The distinction remains highly fact-sensitive.
Repetition, Context, and Aggravation
Risk increases where communications form a pattern of behaviour. Messages that may not independently meet the threshold can amount to criminal conduct when viewed cumulatively.
In a domestic setting, a pattern of messages may attract a statutory aggravation under the Abusive Behaviour and Sexual Harm (Scotland) Act 2016. The Domestic Abuse (Scotland) Act 2018 covers courses of controlling, coercive or psychologically harmful conduct, including electronic communications. Repeated communications may also constitute stalking under section 39 of the Criminal Justice and Licensing (Scotland) Act 2010 where they cause fear or alarm.
Further risk arises where communications are aggravated by prejudice. Under the Hate Crime and Public Order (Scotland) Act 2021, an offence may be aggravated where it is motivated by, or demonstrates, malice and ill-will based on a protected characteristic, including race, religion, disability, sexual orientation, transgender identity or age.
The Lord Advocate’s guidelines state that conduct may be identified as aggravated where it is perceived to be motivated by prejudice, although evidence must support that perception. An underlying communications offence may therefore attract an aggravation relevant to sentence.
Time Limits and Digital Permanence
Proceedings under section 127 generally require prosecution within three years. Older communications may fall outwith that window, although recoverable digital material can still be scrutinised long after it was sent.
Humour, Audience, and Reach
A claim that content was intended as a joke is no defence where the threshold is met. In the unreported Meechan v Procurator Fiscal, Airdrie (Airdrie Sheriff Court, March 2018), the “Nazi pug” case, publicly accessible and grossly offensive content attracted criminal sanction regardless of intent.
Similarly, in the unreported HMA v Joseph Kelly (Lanark Sheriff Court, January 2022), a tweet about Captain Sir Tom Moore was grossly offensive. Platform, audience and accessibility are central: casually shared material may reach further and carry more serious consequences than intended.
A Shift Towards Harm
The Online Safety Act 2023 shifts the focus towards harm, creating targeted offences concerning false communications, threats, cyberflashing and encouragement of serious self-harm. Section 127 remains in regular use, but prosecutors now have a wider framework.
Technology and the Changing Landscape
Technology is also changing how these cases arise and are investigated. Artificial intelligence can generate and amplify content at scale, raising questions of authorship, intent and responsibility.
Preserved message histories and analytical tools also make offending easier to identify and evidence. The legal tests may remain constant, but their environment has changed fundamentally.
Conclusion
Criminal liability under section 127 depends not on whether a communication is merely offensive or ill-judged, but whether, viewed objectively and in context, it meets the high threshold of being grossly offensive, indecent, obscene or menacing.
The courts continue to balance freedom of expression against preventing harm. Yet online messages are rarely as private or fleeting as they appear, and informal content can have lasting legal consequences, potentially increased by statutory aggravations.
At Levy & McRae, we advise individuals and organisations on the criminal and reputational risks of online communications, including alleged offensive or unlawful messaging and the complex issues that follow.