Is it legal to send an anonymous text message in France?

Regulation

Back to the blog
The SMS Anonyme team9 October 20265 min read

In short. Sending a text message without showing your number is not, in itself, an offence: the French Criminal Code articles quoted below punish what is written and why (threats, harassment, identity theft), not the fact of hiding one's number. But being anonymous to the recipient does not mean impunity: on a judicial request, the technical logs of a message can be handed to the authorities.

Text checked on 9 October 2026 on Légifrance and Service-Public.fr. This article gives general information; it does not replace a lawyer's advice.

What the law does not punish

Replying to a classified ad without giving your number, warning a relative tactfully, organising a surprise, contacting a professional without handing over your personal line: none of the articles below makes the mere fact of not showing your number an offence. The offences target the content of the message, its repetition and the intent to harm. Some situations where an anonymous SMS is legitimate are described on the site.

What the law punishes, anonymous or not

The penalties below are those set by the versions of the articles in force on the date they were checked.

TextWhat it punishesPenalty
Article 222-16 of the Criminal CodeRepeated malicious phone calls and repeated malicious messages sent by electronic communications, in order to disturb someone's peace1 year in prison and a €15,000 fine; 3 years and €45,000 if the author is the victim's spouse, partner or civil-union partner (PACS)
Article 226-4-1 of the Criminal CodeImpersonating a third party, or using data that identifies them, in order to disturb their peace or someone else's, or to harm their honour or reputation (including on an online public communication network)1 year in prison and a €15,000 fine; 2 years and €30,000 if the author is the spouse, partner or civil-union partner
Article 222-17 of the Criminal CodeThreatening to commit a crime or an offence against a person, when the threat is repeated or put in writing (a text message is writing)6 months in prison and a €7,500 fine; 3 years and €45,000 for a death threat
Article 222-33-2-2 of the Criminal CodeHarassment through repeated remarks or behaviour whose purpose or effect is a deterioration of living conditions resulting in harm to physical or mental health1 year and €15,000 in the basic case; 2 years and €30,000 in particular when the acts are committed through a digital or electronic medium

Article 222-16 is the one that targets text messages most directly: what matters is the repetition of malicious messages meant to disturb someone's peace. A single, polite and useful message does not fall within it.

The specific case of commercial text messages

If the sender is a business, article L. 34-5 of the French Postal and Electronic Communications Code bans direct marketing using the contact details of an individual who has not given prior consent, and bans hiding the identity of the person on whose behalf the message is sent. This service is for occasional personal use only: marketing and bulk sending are prohibited by the responsible use charter.

On the date it was checked, the Légifrance page of this article states that the Constitutional Council, in its decision no. 2026-1210 QPC of 25 June 2026, declared certain paragraphs unconstitutional (the CNIL's powers and the administrative penalty regime), with the repeal postponed to 31 October 2027. The general ban set out in the first paragraph is not among the paragraphs covered by that notice.

What this service keeps

The anonymity offered applies to the recipient: they only see the number of a shared gateway, never yours. Messages are, however, logged (IP address, timestamp) and can be handed to the competent authorities on a judicial request. In case of abuse, the publisher can block the number and IP address concerned. See the responsible use charter and the question "Is anonymity total and unlimited?".

You receive an anonymous text that threatens or harasses you

  • Immediate danger: call 17 (police or gendarmerie) or 112.
  • Keep the evidence: do not delete the messages; take screenshots showing the number, date and time.
  • File a complaint at a police station or gendarmerie: investigators are the ones who can obtain, through a judicial request, the data that identifies the sender.
  • Spam or a scam attempt: forward the text to 33700, the official reporting service. Reporting is free and passed on to the operators; it does not block the number immediately (source: Service-Public.fr).
  • Stop being contacted: the stop being contacted page explains how to ask for your number to be blocked on this service.

Sources

#Legal framework#Anonymity#Criminal Code#Anonymous SMS

On the same topic

How to send an anonymous SMS for free
Guide

How to send an anonymous SMS for free

The step-by-step guide to sending a text without revealing your number: no sign-up, no app, free. What is hidden, and what isn't.

2 min read

// Anonymous SMS · Hidden number · To France

Envoyez votre message, gardez l'anonymat

Votre numéro reste masqué, aucune inscription, aucune trace. Rédigez, confirmez, et votre SMS part de façon totalement anonyme.

Envoyer un SMS anonyme