Fewer criminal charges are likely to be brought in England and Wales against people who post offensive messages on Twitter and Facebook.
Criminal prosecutions over online messages have mushroomed in the last 18 months, and the Director of Public Prosecutions has warned of a "chilling effect on free speech".
Comments have to be "beyond offensive" to be prosecuted - and a swift apology or deletion will probably avert that. Only credible threats of violence, or targetted harrassment will be pursued.
Scotland has no plans to issue similar guidelines but prosecutors already take a hard line to online abuse.
The courts of England and Wales have also pledged to "robustly prosecute" those that fall foul of the guidelines.
But freedom of speech must be protected, so tackling trolls may need a thick skin more than a good lawyer.
Scotland Tonight looked at the issue and discussed it in the studio with Gary Ennis, from the social media consultancy company NSDesign.
More About Scotland Tonight
- 11 charts that show what people think about the future of Scotland
- Defence review: Clyde shipyards to build eight frigates for Navy
- Kevin Bridges talks meltdowns, mid-gig selfies and going Dutch
- Scotland Tonight: Best-selling Outlander author Diana Gabaldon
- Scotland Tonight: Are we heading for an antibiotic apocalypse?
- Scotland Tonight: Pressure on Corbyn as Labour divisions exposed
- Support among Scots to remain in EU at strongest level yet, poll finds