Is doxxing illegal in Sweden? The short answer
Sweden has no criminal offence aimed specifically at publishing someone’s address or contact details. Doxxing can still be a crime when it fits an offence in the Penal Code (Brottsbalken): unlawful threats, molestation, unlawful violation of privacy (for certain categories of information, such as health), unlawful use of identity, and unlawful persecution when those acts are repeated. Since 1 July 2026, repeated violations that seriously damage a person’s self-esteem can also be psychological violence. Attacks on public officials or their families in retaliation for their work are covered by a separate offence.
Sweden also gives unusually strong constitutional protection to publishing. Some people-search sites operate under a publishing certificate, which takes them outside most data protection rules. This page explains how those rules apply to doxxing and the practical steps open to victims. It is general information, not legal advice. For the United States, see our main guide: is doxxing illegal?
Swedish Penal Code offences that can apply to doxxing
The provisions below are from Chapter 4 of the Penal Code (1962:700), as published in the Government Offices’ legal database. The translations are ours and unofficial.
Unlawful violation of privacy (Chapter 4, Section 6 c)
It is an offence to violate someone’s privacy by spreading, among other things, images of or other information about their state of health, images of or other information about the fact that they were the victim of a crime against their person, liberty or peace, or images of someone in a very vulnerable situation, where the spreading is likely to cause serious harm to the person concerned. The penalty is a fine or up to two years in prison. There is no liability if the act was justifiable given its purpose and the other circumstances. A gross offence carries six months to six years (Section 6 d).
The list does not include a home address, phone number or employer. Spreading those details is not unlawful violation of privacy in itself, although it can be part of other offences below.
Unlawful use of identity (Chapter 4, Section 6 b)
Posing as another person by using their identity details without permission, and thereby causing them harm or inconvenience, is punishable by a fine or up to two years in prison.
Unlawful threats and molestation (Chapter 4, Sections 5 and 7)
- Unlawful threat (olaga hot). Threatening someone with a criminal act in a way likely to cause them serious fear for their own or another person’s safety, property, liberty or peace is punishable by a fine or up to two years in prison, and one to four years if the threat is gross.
- Molestation (ofredande). Physically accosting someone or subjecting them to disturbing contacts or other reckless conduct, where this is likely to noticeably violate their peace, is punishable by a fine or up to one year in prison. Encouraging strangers to contact a person after posting their number can fall under this rule.
Unlawful persecution and psychological violence in Sweden
Unlawful persecution (Chapter 4, Section 4 b)
Unlawful persecution (olaga förföljelse) applies to someone who commits a series of listed offences against the same person, including unlawful threats, molestation, unlawful violation of privacy, unlawful use of identity, defamation, insult and, since 1 July 2026, psychological violence, where each act formed part of a repeated violation of that person’s integrity. The penalty is up to four years in prison. The listed offences can be committed online as well as offline.
Psychological violence (Chapter 4, Section 7 b)
Since 1 July 2026, it is an offence to repeatedly subject another person to violations in the form of accusations, disparaging statements, humiliating behaviour, improper threats, improper coercion or improper surveillance, where the violations taken together were likely to seriously damage the person’s self-esteem. The penalty is up to four years in prison. Lasting improper surveillance that is likely to seriously damage the person’s self-esteem is also covered.
For the United States rules, see our guide to cyberstalking laws and our overview of online harassment laws.
Doxxing public officials in Sweden
Chapter 17 of the Penal Code protects public officials who exercise public authority. Under Section 2 (attack on a public official, angrepp mot tjänsteman), anyone who attacks an official or a person close to them through a criminal act in connection with the official’s exercise of public authority, or in order to compel, prevent or retaliate for an action, is punishable by a fine or up to two years in prison. The same applies to an attack through another improper act that causes the official suffering, harm or other inconvenience, or a threat of such an act, and to attacks on former officials for what they did in office. A gross offence carries six months to six years. Exposing an official’s or their family’s private details to retaliate for a decision can fall under this rule, depending on the facts.
Violence or threats of a criminal act against an official for the same reasons are a separate offence under Section 1, with up to three years in prison.
Contact bans, damages and data protection rights in Sweden
Contact ban (kontaktförbud)
Under the Act on Contact Bans (1988:688), a person can be prohibited from visiting or otherwise contacting another person, or following them, if there is a risk, because of special circumstances, that they will commit crimes against, persecute, improperly monitor or otherwise seriously harass the person the ban is meant to protect. Breaching a contact ban is itself an offence that can form part of unlawful persecution.
Damages for violation
Under the Tort Liability Act (1972:207), anyone who seriously violates another person through a crime involving an attack on their person, liberty, peace or honour must compensate the harm the violation causes (Chapter 2, Section 3).
Data protection and the publishing certificate
Sweden applies the GDPR, which lets people ask an organisation to erase their personal data in listed cases, for example when it was processed unlawfully, with exceptions such as freedom of expression and information (IMY). However, the Data Protection Act (2018:218) provides that the GDPR does not apply to the extent it would conflict with the Freedom of the Press Act or the Fundamental Law on Freedom of Expression, and most GDPR rules, including the right to erasure, do not apply to processing for journalistic purposes or academic, artistic or literary expression (Chapter 1, Section 7). Online databases operating under a publishing certificate (utgivningsbevis) are covered by the Fundamental Law on Freedom of Expression, which is why people-search sites that hold one cannot be forced to delete listings through a GDPR request. Complaints about other processing go to the Swedish Authority for Privacy Protection (IMY).
What to do if you are doxxed in Sweden
- Put safety first. If you are threatened or someone has come to your home, call 112.
- Preserve the evidence. Screenshot each post and message with the account name, URL and date before reporting it. For unlawful persecution or psychological violence, keep a record that shows the repeated pattern.
- Report it to the police. File a police report (polisanmälan) and ask about a contact ban if the person keeps contacting or following you.
- 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).
- Check where your data comes from. Find out whether a people-search site has a publishing certificate. If it does not, a GDPR erasure request and a complaint to IMY are available. If it does, ask the site directly whether it will remove or hide the listing.
- Talk to a lawyer about criminal proceedings and a damages claim.
Doxxing in other countries works differently. Compare Norway, Denmark and Poland.
How Media Removal can help after doxxing in Sweden
Media Removal is not a law firm and does not give legal advice. Criminal complaints, court 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 the GDPR applies, erasure requests to the site or service that holds the data and, where your lawyer pursues them, legal channels. Whether a page comes down is decided by the platform, the site owner, the regulator or a court, so we do not promise any particular outcome.
- Search results. We submit delisting requests to Google where its policies and the 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 defamation and harassment laws in Sweden 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 it a crime in Sweden to publish someone’s home address?
Not in itself. The Penal Code has no offence aimed at publishing an address or contact details. It can still be a crime when it is part of an unlawful threat, molestation, unlawful persecution or psychological violence, or an attack on a public official, depending on the facts.
What is olaga integritetsintrång?
Unlawful violation of privacy under Chapter 4, Section 6 c of the Penal Code. It covers spreading certain categories of images or information, such as information about someone’s health or about the fact that they were a crime victim, where this is likely to cause serious harm. The penalty is a fine or up to two years in prison, and six months to six years if the offence is gross.
Why can’t I get my details removed from Swedish people-search sites under the GDPR?
Some of these sites hold a publishing certificate (utgivningsbevis), which brings them under the Fundamental Law on Freedom of Expression. Sweden’s Data Protection Act provides that the GDPR does not apply where it would conflict with that law, so the usual right to erasure is not available against them. Sites without a certificate remain subject to the GDPR.
Can I get a contact ban against someone who doxxed me in Sweden?
Possibly. Contact bans are decided by a public prosecutor, either at your request or on their own initiative. Under the Act on Contact Bans, the prosecutor can prohibit a person from contacting or following you if there is a risk that they will commit crimes against you, persecute you, improperly monitor you or otherwise seriously harass you. Previous conduct of that kind is taken into account.
Is psychological violence a crime in Sweden?
Yes, since 1 July 2026. Chapter 4, Section 7 b of the Penal Code punishes repeatedly subjecting someone to accusations, disparaging statements, humiliating behaviour, improper threats, coercion or surveillance that, taken together, were likely to seriously damage their self-esteem. The penalty is up to four years in prison.
Sources
- Swedish Penal Code (1962:700), Chapter 4, Sections 4 b, 5, 6 b, 6 c, 6 d, 7 and 7 b, and Chapter 17, Sections 1 and 2 (Swedish)
- Act amending the Penal Code (SFS 2026:852), new Chapter 4, Section 7 b, in force 1 July 2026 (Swedish)
- Act on Contact Bans (1988:688), Sections 1 and 7 (Swedish)
- Tort Liability Act (1972:207), Chapter 2, Section 3 (Swedish)
- Data Protection Act (2018:218), Chapter 1, Section 7 (Swedish)
- Fundamental Law on Freedom of Expression (1991:1469) (Swedish)
- Regulation (EU) 2016/679 (GDPR), Articles 17, 77 and 82 (EUR-Lex)
- Swedish Authority for Privacy Protection (IMY), Your rights as a data subject
- Remove select personally identifiable info or doxxing content from Google (Google Search Help)
How to cite this resource
Use this reference when citing this page.
Media Removal. (November 5, 2026). Is Doxxing Illegal in Sweden? Doxxing Laws in Sweden. https://mediaremoval.com/is-doxxing-illegal/sweden/
