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
- How will Kirk's decision to allow gay ministers affect the church?
- What would impact of independence be for pensions and savings?
- Watch a live stream of Scotland Tonight: Scotland's current affairs show
- Nicola Sturgeon and Michael Moore clash in independence debate
- Analysis: Who won the Scotland Tonight debate on independence?
- Debate: Nicola Sturgeon and Michael Moore cross-examine each other
- Currency, oil and debt: The economics of Scottish independence