Cybercrime Law in Denmark

Denmark has criminalised hacking since the 1980s, and its offences sit in the Criminal Code (Straffeloven). Its NIS2 law took effect in mid-2025, after an earlier postponement.

Key laws

  • Straffeloven (Criminal Code):
    • § 263: unauthorised access to another person’s data or programs intended for use in an information system. The basic offence carries up to one year and six months’ imprisonment, and up to six years in aggravated cases such as systematic or organised conduct.
    • § 279 and § 279a: fraud, and data fraud, meaning unlawfully altering or adding data or programs to obtain a gain.
    • Denial-of-service attacks and other interference with systems are prosecuted under the Code’s provisions on disrupting public services and on damage to property.
  • Cybersecurity Act (Act No. 434 of 6 May 2025): Denmark’s NIS2 law, in force since 1 July 2025. A separate act (No. 435 of 6 May 2025) covers security and preparedness in the telecom sector, and energy-sector rules applied earlier, from 7 March 2025.
  • EU GDPR with the Danish Data Protection Act.

Denmark is a party to the Budapest Convention on Cybercrime (ETS 185).

Enforcement

The police’s National Cyber Crime Centre (NC3), part of the National Special Crime Unit, investigates serious cybercrime. The Centre for Cyber Security (CFCS), part of the Danish Defence Intelligence Service, is the national cybersecurity authority and runs the national CSIRT. Datatilsynet enforces data-protection law.


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

Sources checked 13 November 2026 against the Council of Europe’s legal profile of Denmark and published reports on the Danish Cybersecurity Act. The official statute site blocks automated access, so section numbers and penalties for § 263 come from the Council of Europe profile.