Cybercrime Law in Sweden

Sweden punishes hacking under a single, broadly worded offence in its Criminal Code (Brottsbalken), and computer fraud is handled as a form of fraud. Its NIS2 law took effect in January 2026, after the EU deadline.

Key laws

  • Brottsbalken (1962:700) (Criminal Code):
    • Ch. 4, s. 9 c — dataintrång (data intrusion): unlawfully gaining access to data intended for automated processing, or unlawfully altering, deleting, blocking or inserting such data, or seriously disrupting its use. A fine or up to two years’ imprisonment. Grovt dataintrång (gross data intrusion), for example attacks causing serious damage or affecting many data items, carries one to eight years.
    • Ch. 9, s. 1, second paragraph: computer fraud, treated as fraud (bedrägeri, up to two years): giving incorrect or incomplete information to, altering a program or record in, or otherwise unlawfully influencing the result of automatic data processing, so that it causes gain for the offender and loss for another.
    • Ch. 4, ss. 8 and 9 a: breach of the secrecy of correspondence and unlawful interception.
  • Cybersäkerhetslag (2025:1506) (Cybersecurity Act): Sweden’s NIS2 law, in force since 15 January 2026, replacing the 2018 NIS Act. Essential and important entities must report significant incidents and manage cyber risk, with fines of up to EUR 10 million or 2% of global turnover.
  • EU GDPR with the Data Protection Act (2018:218).

Sweden ratified the Budapest Convention on Cybercrime (ETS 185) in 2021, two decades after signing it, and the Convention entered into force for Sweden on 1 August 2021.

Enforcement

The Swedish Police Authority’s National Operations Department runs a national cybercrime centre (SC3), and the Swedish Prosecution Authority has specialised IT-crime prosecutors. The National Cyber Security Centre brings together the military intelligence and security service, the National Defence Radio Establishment (FRA) and the civil-defence agency. The Swedish Authority for Privacy Protection (IMY) enforces data-protection law.


Plain-language overview, not legal advice. Statutes change. Read the current text on riksdagen.se and seek qualified advice for any specific matter.

Sources checked 13 November 2026 against riksdagen.se and Swedish agency announcements on the Cybersecurity Act.