Law

Penal Code – computer crimes

Official title: Penal Code (Act No. 45 of 1907) – computer crime provisions

This entry covers only the computer crimes in the Japanese Penal Code. It punishes the unauthorized creation of electromagnetic records to mislead another's business (Art. 161-2) and of credit or cash card data, with its preparation (Arts. 163-2 to 163-5); creating, providing, running, obtaining and storing malicious programs without justifiable reason, the so-called computer virus crime (Arts. 168-2 and 168-3); obstructing another's business by damaging computers or data or giving them false or unauthorized commands (Art. 234-2); computer fraud (Art. 246-2) and destruction of public or private electromagnetic records (Arts. 258 and 259).

Status
In force
Adopted on
Official number
Act No. 45 of 1907 (明治40年法律第45号)
Checked against the source
Record curated by Giovanni Corbò

Who it applies to

Everyone. Penalties range from imprisonment of up to 2 years or a fine of up to ¥300,000 for obtaining or storing malicious programs (Art. 168-3) to imprisonment of up to 10 years for computer fraud (Art. 246-2) and for falsifying payment card data (Art. 163-2); computer sabotage obstructing another's business is punishable by imprisonment of up to 5 years or a fine of up to ¥1 million (Art. 234-2). Electromagnetic records are defined in Art. 7-2; offences that treaties require to be punished even when committed abroad are punishable regardless of the offender's nationality (Art. 4-2).

Key dates

  1. The first computer crimes take effect: unauthorized creation of electromagnetic records, computer sabotage, computer fraud and destruction of electromagnetic records (Act No. 52 of 1987, Suppl. Prov. para. 1)
  2. The offences on electronic payment cards take effect (Arts. 163-2 to 163-5) (Act No. 97 of 2001, Suppl. Prov. para. 1)
  3. The malware offences (Arts. 168-2 and 168-3) and attempted computer sabotage (Art. 234-2(2)) take effect (Act No. 74 of 2011, Suppl. Prov. Art. 1)

Offences and investigative powers

Offences

Compare with the other cybercrime laws →

Information

Jurisdiction
Japan
Issuing body
Imperial Diet of Japan
Type
Law
Available languages
Japanese
Topics
Notes
  • Code promulgated on 24 April 1907.
  • The computer crimes were introduced by Act No. 52 of 1987 (Arts. 7-2, 161-2, 234-2, 246-2, 258 and 259), Act No. 97 of 2001 (payment cards) and Act No. 74 of 2011 (malicious programs).
  • The same 2011 Act amended the Code of Criminal Procedure, which this entry does not cover: seizure of data on storage media connected by network to the seized computer (Arts. 99(2) and 218(2)) and requests to providers not to erase traffic data for up to 30 days, extendable to 60 (Art. 197(3)-(5)); Act No. 39 of 2025 added an order to provide electromagnetic records.
  • Since 1 June 2025 custodial penalties are the Code's new single custodial sentence (Act No. 67 of 2022).
  • Unauthorized access and phishing are punished by Act No. 128 of 1999; Act No. 42 of 2025 on active cyber defence refers to Art. 168-2(2) to define unauthorized acts against important computers.

Record details

Original title
刑法 (Japanese)
Title in other languages
  • Italian Codice penale (legge n. 45 del 1907) – reati informatici
  • French Code pénal (loi n° 45 de 1907) – infractions informatiques
  • Spanish Código Penal (Ley n.º 45 de 1907) – delitos informáticos
  • German Strafgesetzbuch (Gesetz Nr. 45 von 1907) – Computerstraftaten
Licence of the official text
Public domain / official act – Laws are excluded from copyright protection (Art. 13 of the Japanese Copyright Act).
Licence of this record
summary and metadata CC BY 4.0 (opens in a new tab)
Record history
  • in the database since 29 November 2026
  • checked against the official source on 29 November 2026
Record data
JSON · Open data & API · jp-penal-code-computer-crimes

How to cite

Reference to the official act, ready to copy. Choose a style:

APA

Imperial Diet of Japan. (1907). 刑法 (Act No. 45 of 1907 (明治40年法律第45号)). https://laws.e-gov.go.jp/law/140AC0000000045

Chicago

Imperial Diet of Japan. “刑法.” Act No. 45 of 1907 (明治40年法律第45号). April 24, 1907. https://laws.e-gov.go.jp/law/140AC0000000045.

MLA

Imperial Diet of Japan. 刑法. Act No. 45 of 1907 (明治40年法律第45号), 24 Apr. 1907, laws.e-gov.go.jp/law/140AC0000000045. Accessed 29 Nov. 2026.

Harvard

Imperial Diet of Japan (1907) 刑法. Act No. 45 of 1907 (明治40年法律第45号). Available from: https://laws.e-gov.go.jp/law/140AC0000000045 (Accessed: 29 November 2026).

ISO 690

IMPERIAL DIET OF JAPAN. 刑法 [online]. Act No. 45 of 1907 (明治40年法律第45号). 24 April 1907. [accessed 29 November 2026]. Available from: https://laws.e-gov.go.jp/law/140AC0000000045

BibTeX

@misc{jp_penal_code_computer_crimes,
  author       = {{Imperial Diet of Japan}},
  title        = {{刑法}},
  year         = {1907},
  date         = {1907-04-24},
  number       = {Act No. 45 of 1907 (明治40年法律第45号)},
  language     = {ja},
  url          = {https://laws.e-gov.go.jp/law/140AC0000000045},
  urldate      = {2026-11-29}
}

Download the file (bib)

RIS

TY  - STAT
AU  - Imperial Diet of Japan,
TI  - 刑法
PY  - 1907
DA  - 1907/04/24/
M1  - Act No. 45 of 1907 (明治40年法律第45号)
LA  - ja
UR  - https://laws.e-gov.go.jp/law/140AC0000000045
Y2  - 2026/11/29/
ER  - 

Download the file (ris)

CSL-JSON

[
  {
    "id": "jp-penal-code-computer-crimes",
    "type": "legislation",
    "title": "刑法",
    "author": [
      {
        "literal": "Imperial Diet of Japan"
      }
    ],
    "issued": {
      "date-parts": [[1907, 4, 24]]
    },
    "number": "Act No. 45 of 1907 (明治40年法律第45号)",
    "language": "ja",
    "URL": "https://laws.e-gov.go.jp/law/140AC0000000045",
    "accessed": {
      "date-parts": [[2026, 11, 29]]
    }
  }
]

Download the file (json)

If you use the summary or data from this record, also cite the database:

Cybersecurity Database, “Penal Code – computer crimes”, record verified on 29 November 2026, https://www.cybersecuritydatabase.org/en/documents/jp-penal-code-computer-crimes/. CC BY 4.0.