Is doxxing illegal in Switzerland? The short answer

The Swiss Criminal Code has no offence that makes doxxing a crime by name. Publishing someone’s personal data can still be prosecuted when it is part of conduct the Code covers, such as stalking under Article 181b (in force since 1 January 2026), harassment by telecommunications (Article 179septies), threats (Article 180) or misuse of another person’s identity (Article 179decies). Most of these offences are prosecuted only if the victim files a complaint.

Civil and data protection law also give victims tools to have a disclosure stopped and the data deleted. This page explains these rules and the practical steps open to victims. It is general information, not legal advice. For the United States and other jurisdictions, see our main guide: is doxxing illegal?

Swiss criminal offences that can apply to doxxing

  • Stalking (Article 181b SCC). Since 1 January 2026, Article 181b punishes anyone who persistently pursues, harasses or threatens another person in a way likely to significantly restrict that person’s freedom to live their life as they wish. It is prosecuted on complaint and carries a custodial sentence of up to three years or a monetary penalty. A doxxing campaign that keeps exposing someone’s address or contacts can fall under it.
  • Misuse of a telecommunications installation (Article 179septies SCC). Using a telecommunications installation to cause distress to or harass another person is punishable, on complaint, by up to one year or a monetary penalty (Article 179septies).
  • Threats (Article 180 SCC). Placing someone in a state of fear and alarm by making a serious threat is punishable, on complaint, by up to three years or a monetary penalty (Article 180).
  • Identity misuse (Article 179decies SCC). Since 1 September 2023, using another person’s identity without consent to harm them or to obtain an unlawful advantage is punishable, on complaint, by up to one year or a monetary penalty (Article 179decies).
  • Obtaining sensitive data (Article 179novies SCC). Obtaining particularly sensitive personal data that are not publicly accessible without authorisation is punishable, on complaint, by up to three years or a monetary penalty (Article 179novies). It targets the obtaining of the data, not the later posting as such.

For how other countries and US states compare, see our guide to cyberstalking laws and our overview of online harassment laws.

When posting someone’s information is not a crime in Switzerland

Because there is no doxxing offence, a single post with someone’s address or phone number is not automatically a crime. Prosecutors generally need to show elements such as:

  • Persistence or a threat. Stalking requires persistent conduct; a threat must be serious and cause fear and alarm.
  • An effect on the victim. A significant restriction of their freedom to live as they wish, fear and alarm, or distress.
  • A complaint. Most of the offences above are prosecuted only on the victim’s complaint.

Posting a person’s address together with a call to confront them, followed by repeated messages, can meet these tests. A one-off post that falls short of them may still be unlawful under civil and data protection law, covered below.

Civil protection and data protection rights

  • Personality rights. Any person whose personality rights are unlawfully infringed can ask a court for protection against everyone involved in the infringement (Article 28 of the Civil Code). The court can prohibit a threatened infringement or order an existing one to stop.
  • Protection from harassment. To protect against violence, threats or harassment, a court can order the person to stay away from the applicant and their home, to avoid specified places, and to refrain from contacting them, especially by telephone, in writing or electronically (Article 28b of the Civil Code).
  • Federal Act on Data Protection. Switzerland is not in the EU and applies its own data protection law, revised with effect from 1 September 2023, rather than the GDPR. Processing personal data against a person’s express wishes, or disclosing sensitive personal data to third parties, is in principle a breach of personality rights unless it is justified, for example by consent or an overriding interest (Articles 30 and 31 FADP). The person can ask a court to prohibit the processing or a specific disclosure to third parties, or to order the data deleted or destroyed (Article 32 FADP).
  • The FDPIC. The Federal Data Protection and Information Commissioner can open an investigation into a private person in response to a report when there are sufficient indications that a data processing activity could violate data protection rules (Article 49 FADP).

Swiss residents can also ask search engines to delist results; our guide to the right to be forgotten explains how delisting requests work.

What to do if you are doxxed in Switzerland

  1. Put safety first. If you are threatened or someone has come to your home, call the police on 117.
  2. Preserve the evidence. Screenshot each post and message with the account name, URL and date before you report anything, because content can disappear once it is flagged.
  3. File a criminal complaint in time. Most of the offences above are prosecuted only on complaint, and under the Criminal Code the right to file a complaint generally expires three months after the victim learns who the offender is.
  4. Report the content. Use each platform’s privacy or harassment reporting form, and ask Google to remove results that show your contact details alongside threats or calls to harass (Google Search Help).
  5. Talk to a lawyer about a court order under Articles 28 to 28b of the Civil Code and the remedies in Article 32 FADP.

Doxxing works differently in neighbouring countries. Compare Germany, France and Austria.

How Media Removal can help after doxxing in Switzerland

Media Removal is not a law firm and does not give legal advice. Criminal complaints, protective orders and lawsuits belong to the police, prosecutors, courts and your lawyer. We work alongside them on the practical side: finding where your information has spread and getting it taken down through the right channel for each site.

  • Mapping the exposure. We identify the posts, profiles, directory listings and search results that show your private information or that of your executives and staff.
  • Removal at the source. We use each platform’s own privacy and harassment rules and, where your lawyer pursues them, legal channels such as data protection requests. Whether a page comes down is decided by the platform, the site owner, a regulator or a court, so we do not promise any particular outcome.
  • Search results. We submit delisting requests to Google where its policies and data protection law allow, and work to push down what cannot be removed.
  • Crisis support. When doxxing comes with a viral thread or false claims about a company or public figure, our reputation crisis management team responds the same day.

If the doxxing comes with false statements about you or your company, separate rules apply. See Swiss defamation and harassment laws and how to sue for defamation.

For content removal, you are billed only when the URL is verified offline. Every client signs an NDA, and so do we. We answer within one business day. To discuss your situation, request a quote or read more about our content removal services.

Frequently asked questions

Is there a doxxing offence in the Swiss Criminal Code?

No. Switzerland has no offence called doxxing. Depending on the facts, publishing someone’s personal data can fall under stalking (Article 181b, in force since 1 January 2026), harassment by telecommunications (Article 179septies), threats (Article 180) or identity misuse (Article 179decies).

What does Switzerland’s 2026 stalking law cover?

Article 181b of the Criminal Code punishes persistently pursuing, harassing or threatening another person in a way likely to significantly restrict their freedom to live as they wish. It is prosecuted on complaint and carries up to three years in prison or a monetary penalty.

Can a Swiss court order someone to stop sharing my data?

Yes. Under Article 32 of the Federal Act on Data Protection, together with the Civil Code’s personality rights actions, you can ask a court to prohibit a specific processing or disclosure of your data to third parties, or to order the data deleted or destroyed.

Does the GDPR apply to doxxing in Switzerland?

Not as such. Switzerland applies its own Federal Act on Data Protection, revised with effect from 1 September 2023. It treats processing against your express wishes, or disclosing sensitive personal data to third parties, as a breach of personality rights unless it is justified.

How to cite this resource

Use this reference when citing this page.

Media Removal. (November 5, 2026). Is Doxxing Illegal in Switzerland? Doxxing Laws in Switzerland. https://mediaremoval.com/is-doxxing-illegal/switzerland/