The guidelines also state that children (under-18s) will rarely face criminal charges for offensive tweets or Facebook statuses, for example.
Also if a message is swiftly deleted, blocked by service providers or websites or shown not to be intended for a wider audience, a prosecution is unlikely.
While intended for the CPS to make a decision whether to charge someone or not, the guidelines are also designed to offer early advice to police.
The interim guidelines take effect immediately and are now subject to a consultation process.
More top news
A Cornish fish restaurant has been named the best in the UK - knocking Cumbria's L'Enclume into second place after five years at the top.
There "will not be a war again on the Korean Peninsula", South Korea's President Moon Jae-in has said.
Doug Bergeson, from Wisconsin, USA, calmly drove himself to hospital and walked into the emergency room to ask for help.