Germany: Code of Criminal Procedure
(1) Insofar as this is necessary for the investigation of the facts or the determination of the whereabouts of an accused person, information may be requested
1. on inventory data pursuant to § 3 number 6 of the Telecommunications Act and on the data collected pursuant to § 172 of the Telecommunications Act (§ 174 subsection 1 sentence 1 of the Telecommunications Act) from the person who provides or contributes to the provision of telecommunications services on a commercial basis, and
2. on inventory data pursuant to § 2 subsection 2 number 2 of the Telecommunications-Digital Services-Data Protection Act (§ 22 subsection 1 sentence 1 of the Telecommunications-Digital Services-Data Protection Act) from the person who makes available on a commercial basis their own or third-party digital services for use or mediates access to use.
If the information request pursuant to sentence 1 number 1 relates to data by means of which access to terminal devices or to storage facilities that are used in these terminal devices or separately therefrom in spatial terms is protected (§ 174 subsection 1 sentence 2 of the Telecommunications Act), information may be requested only if the legal requirements for the use of the data are met. If the information request pursuant to sentence 1 number 2 relates to passwords collected as inventory data or other data by means of which access to terminal devices or to storage facilities that are used in these terminal devices or separately therefrom in spatial terms is protected (§ 23 of the Telecommunications-Digital Services-Data Protection Act), information may be requested only if the legal requirements for their use for the prosecution of a particularly serious criminal offence pursuant to § 100b subsection 2 number 1 letter a, c, e, f, g, h or m, number 3 letter b first alternative or number 5, 5a, 5b, 6, 9 or 10 are met.
(2) Information pursuant to subsection 1 may also be requested on the basis of an Internet Protocol address assigned at a specific point in time (§ 174 subsection 1 sentence 3, § 177 subsection 1 number 3 of the Telecommunications Act and § 22 subsection 1 sentences 3 and 4 of the Telecommunications-Digital Services-Data Protection Act). The existence of the requirements for an information request pursuant to sentence 1 shall be recorded in the file.
(3) Information requests pursuant to subsection 1 sentences 2 and 3 may be ordered by the court only on application by the public prosecutor’s office. In the case of information requests pursuant to subsection 1 sentence 2, the order may also be made by the public prosecutor’s office or its investigating officers (§ 152 of the Judicature Act) if there is danger in delay. In this case, the court decision shall be obtained without delay. Sentences 1 to 3 shall not apply to information requests pursuant to subsection 1 sentence 2 if the person concerned already has or must have knowledge of the information request or if the use of the data is already permitted by a court decision. The existence of the requirements pursuant to sentence 4 shall be recorded in the file.
(4) In the cases of subsection 1 sentences 2 and 3 and of subsection 2, the person concerned shall be notified of the information provided. Notification shall be made to the extent and as soon as this does not defeat the purpose of the information. It shall be omitted if overriding legitimate interests of third parties or of the person concerned himself or herself conflict with it. If notification is deferred pursuant to sentence 2 or omitted pursuant to sentence 3, the reasons shall be recorded in the file.
(5) On the basis of an information request pursuant to subsection 1 or 2, the person who provides or contributes to the provision of telecommunications services or telemedia services on a commercial basis shall transmit the data required for providing the information without delay. § 95 subsection 2 shall apply accordingly.
1950-09-12 BGBl 1950, 455, 629 Neugefasst durch Bek. v. 7.4.1987 I 1074, 1319;; zuletzt geändert durch Art. 15 Abs. 16 G v. 3.7.2026 I Nr. 199; Mittelbare Änderung durch Art. 154a Nr. 3 Buchst. a G v. 20.11.2019 I 1626 ist nicht ausführbar, da das geänderte G v. 21.6.2019 I 846 zum Zeitpunkt des Inkrafttretens des mittelbaren Änderungsgesetzes bereits zum 1.11.2019 in Kraft getreten war
