Germany: Code of Criminal Procedure
(1) If certain facts give rise to the suspicion that someone, as a perpetrator or participant,
1. has committed a criminal offense of also significant importance in the individual case, in particular an offense designated in § 100a paragraph 2, has attempted to commit it in cases in which the attempt is punishable, or has prepared it by a criminal offense, or
2. has committed a criminal offense by means of telecommunications,
traffic data (§§ 9 and 12 of the Telecommunications Digital Services Data Protection Act and § 2a paragraph 1 of the Act on the Establishment of a Federal Agency for the Digital Radio of Authorities and Organizations with Security Tasks) may be collected insofar as this is necessary to investigate the facts and the collection of the data is proportionate to the importance of the matter. In the case of sentence 1 number 2, the measure is permissible only if investigating the facts would otherwise be hopeless. The collection of stored (retrograde) location data is permissible under this paragraph only under the conditions of paragraph 2. Otherwise, the collection of location data is permissible only for traffic data accruing in the future or in real time and only in the case of sentence 1 number 1, insofar as it is necessary to investigate the facts or to determine the whereabouts of the accused.
(2) If certain facts give rise to the suspicion that someone, as a perpetrator or participant, has committed one of the particularly serious criminal offenses designated in sentence 2 or, in cases in which the attempt is punishable, has attempted to commit such an offense, and the offense is also particularly serious in the individual case, the traffic data stored pursuant to § 176 of the Telecommunications Act may be collected insofar as investigating the facts or determining the whereabouts of the accused would otherwise be significantly more difficult or hopeless and the collection of the data is proportionate to the importance of the matter. Particularly serious criminal offenses within the meaning of sentence 1 are:
1. from the Criminal Code: a) offenses of high treason and endangering the democratic constitutional state as well as treason and endangering external security under §§ 81, 82, 89a, under §§ 94, 95 paragraph 3 and § 96 paragraph 1, in each case also in conjunction with § 97b, as well as under §§ 97a, 98 paragraph 1 sentence 2, § 99 paragraph 1 and §§ 100, 100a paragraph 4, b) particularly serious case of breach of the peace under § 125a as well as operating criminal trading platforms on the Internet in the cases of § 127 paragraphs 3 and 4, c) forming criminal organizations under § 129 paragraph 1 in conjunction with paragraph 5 sentence 3 as well as forming terrorist organizations under § 129a paragraphs 1, 2, 4, 5 sentence 1 first alternative, in each case also in conjunction with § 129b paragraph 1, d) criminal offenses against sexual self-determination in the cases of §§ 176, 176c, 176d and, under the conditions named in § 177 paragraph 6 sentence 2 number 2, of § 177, e) dissemination, acquisition and possession of child and youth pornographic content in the cases of § 184b paragraph 1 sentence 1, paragraphs 2 and 3 as well as § 184c paragraph 2, f) murder and manslaughter under §§ 211 and 212, g) criminal offenses against personal liberty in the cases of §§ 234, 234a paragraphs 1, 2, §§ 239a, 239b and forced prostitution and forced labor under § 232a paragraph 3, 4 or 5 second half-sentence, § 232b paragraph 3 or 4 in conjunction with § 232a paragraph 4 or 5 second half-sentence and exploitation by taking advantage of deprivation of liberty under § 233a paragraph 3 or 4 second half-sentence, h) burglary of a permanently used private residence under § 244 paragraph 4, aggravated gang theft under § 244a paragraph 1, aggravated robbery under § 250 paragraph 1 or paragraph 2, robbery resulting in death under § 251, robbery-like extortion under § 255 and particularly serious case of extortion under § 253 under the conditions named in § 253 paragraph 4 sentence 2, commercial gang handling of stolen goods under § 260a paragraph 1, particularly serious case of money laundering under § 261 under the conditions named in § 261 paragraph 5 sentence 2, if the predicate offense is one of the particularly serious criminal offenses named in numbers 1 to 8, i) criminal offenses endangering the general public in the cases of §§ 306 to 306c, 307 paragraphs 1 to 3, of § 308 paragraphs 1 to 3, of § 309 paragraphs 1 to 4, of § 310 paragraph 1, of §§ 313, 314, 315 paragraph 3, of § 315b paragraph 3 as well as of §§ 316a and 316c,
2. from the Residence Act: a) smuggling of foreigners under § 96 paragraph 2, b) smuggling resulting in death or commercial and gang-related smuggling under § 97,
3. from the Foreign Trade and Payments Act: criminal offenses under § 17 paragraphs 1 to 3 and § 18 paragraphs 7 and 8,
4. from the Narcotics Act: a) particularly serious case of a criminal offense under § 29 paragraph 1 sentence 1 number 1, 5, 6, 10, 11 or 13, paragraph 3 under the condition named in § 29 paragraph 3 sentence 2 number 1, b) a criminal offense under §§ 29a, 30 paragraph 1 number 1, 2, 4, § 30a,
5. from the Precursor Control Act: a criminal offense under § 19 paragraph 1 under the conditions named in § 19 paragraph 3 sentence 2,
6. from the Act on the Control of Weapons of War: a) a criminal offense under § 19 paragraph 2 or § 20 paragraph 1, in each case also in conjunction with § 21, b) particularly serious case of a criminal offense under § 22a paragraph 1 in conjunction with paragraph 2,
7. from the International Criminal Code: a) genocide under § 6, b) crimes against humanity under § 7, c) war crimes under §§ 8 to 12, d) crime of aggression under § 13,
8. from the Weapons Act: a) particularly serious case of a criminal offense under § 51 paragraph 1 in conjunction with paragraph 2, b) particularly serious case of a criminal offense under § 52 paragraph 1 number 1 in conjunction with paragraph 5.
(3) The collection of all traffic data accrued in a radio cell (radio cell query) is permissible only
1. if the conditions of paragraph 1 sentence 1 number 1 are met,
2. insofar as the collection of the data is proportionate to the importance of the matter and
3. insofar as investigating the facts or determining the whereabouts of the accused would otherwise be hopeless or significantly more difficult.
Traffic data stored pursuant to § 176 of the Telecommunications Act may be used for a radio cell query only under the conditions of paragraph 2.
(4) The collection of traffic data under paragraph 2, also in conjunction with paragraph 3 sentence 2, which is directed against one of the persons named in § 53 paragraph 1 sentence 1 numbers 1 to 5 and which would presumably yield findings that this person would be entitled to refuse to testify about, is impermissible. Findings nevertheless obtained may not be used. Records thereof shall be deleted without delay. The fact of their acquisition and the deletion of the records shall be documented in the file. Sentences 2 to 4 apply accordingly if, through an investigative measure that is not directed against a person named in § 53 paragraph 1 sentence 1 numbers 1 to 5, findings are obtained from this person that this person would be entitled to refuse to testify about. § 160a paragraphs 3 and 4 apply accordingly.
(5) If the collection of traffic data does not occur at the provider of telecommunications services, it shall be determined after completion of the communication process in accordance with the general provisions.
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
