§ 63 Placement in a psychiatric hospital — StGB

Germany: German Criminal Code

If a person has committed an unlawful act in a state of incapacity to be criminally responsible (§ 20) or diminished criminal responsibility (§ 21), the court shall order placement in a psychiatric hospital if the comprehensive assessment of the offender and his offence shows that, as a result of his condition, he is to be expected to commit substantial unlawful acts by which the victims are substantially harmed or substantially endangered in mind or body or by which serious economic damage is caused, and he is therefore dangerous to the general public. If the unlawful act committed is not a substantial act within the meaning of sentence 1, the court shall make such an order only if special circumstances justify the expectation that the offender will, as a result of his condition, commit such substantial unlawful acts.

1871-05-15 
RGBl 1871, 127
Neugefasst durch Bek. v. 13.11.1998 I 3322;; zuletzt geändert durch Art. 1 G v. 20.3.2026 I Nr. 95

§ 64 Placement in a detoxification facility — StGB

Germany: German Criminal Code

If a person has a tendency to consume alcoholic beverages or other intoxicating substances excessively, and is sentenced for an unlawful act that is predominantly attributable to his tendency, or is not sentenced only because his incapacity to be held criminally responsible has been proven or cannot be excluded, the court shall order placement in a detoxification facility if there is a danger that he will commit significant unlawful acts as a result of his tendency; the tendency requires a substance use disorder as a result of which a permanent and serious impairment of the conduct of life, health, ability to work or performance has occurred and persists. The order is only made if, based on factual evidence, it is to be expected that the person can be cured by treatment in a detoxification facility within the period under § 67d paragraph 1 sentence 1 or 3, or can be protected for a significant time from relapse into the tendency and restrained from committing significant unlawful acts attributable to his tendency.

1871-05-15 
RGBl 1871, 127
Neugefasst durch Bek. v. 13.11.1998 I 3322;; zuletzt geändert durch Art. 1 G v. 20.3.2026 I Nr. 95

§ 66 Placement in preventive detention — StGB

Germany: German Criminal Code

(1) The court shall order preventive detention in addition to the penalty if
1. someone is sentenced to a term of imprisonment of at least two years for an intentional criminal offense that a) is directed against life, physical integrity, personal freedom or sexual self-determination, b) falls under the First, Seventh, Twentieth or Twenty-Eighth Section of the Special Part or under the International Criminal Code or the Narcotics Act and is punishable at the maximum by a term of imprisonment of at least ten years, or c) fulfills the elements of § 145a, insofar as conduct supervision has arisen due to a criminal offense of the type mentioned in letters a or b, or fulfills the elements of § 323a, insofar as the unlawful act committed in intoxication is one of the type mentioned in letters a or b,
2. the offender has already been sentenced twice to a term of imprisonment of at least one year for criminal offenses of the type mentioned in number 1 that he committed before the new offense,
3. he has served a term of imprisonment of at least two years for one or more of these offenses before the new offense or has been in the execution of a custodial measure of reform and prevention, and
4. the overall assessment of the offender and his offenses shows that, as a result of a tendency to commit significant criminal offenses, namely those through which the victims are seriously damaged mentally or physically, he is dangerous to the general public at the time of sentencing.
For classification as a criminal offense within the meaning of sentence 1 number 1 letter b, § 12 paragraph 3 applies accordingly; for the termination of conduct supervision mentioned in sentence 1 number 1 letter c, § 68b paragraph 1 sentence 4 applies.

(2) If someone has committed three criminal offenses of the type mentioned in paragraph 1 sentence 1 number 1, for each of which he has incurred a term of imprisonment of at least one year, and is sentenced to a term of imprisonment of at least three years for one or more of these offenses, the court may, under the condition designated in paragraph 1 sentence 1 number 4, order preventive detention in addition to the penalty even without prior conviction or custodial detention (paragraph 1 sentence 1 numbers 2 and 3).

(3) If someone is sentenced to a term of imprisonment of at least two years for a felony fulfilling the conditions under paragraph 1 sentence 1 number 1 letter a or b, or for a criminal offense under § 89a paragraph 1 to 3, § 89c paragraph 1 to 3, § 129a paragraph 5 sentence 1 first alternative, also in conjunction with § 129b paragraph 1, §§ 174 to 174c, 176a, 176b, 177 paragraph 2 number 1, paragraph 3 and 6, §§ 180, 182, 224, 225 paragraph 1 or 2, or for an intentional criminal offense under § 323a, insofar as the act committed in intoxication is one of the aforementioned unlawful acts, the court may order preventive detention in addition to the penalty if the offender has already been sentenced once to a term of imprisonment of at least three years for one or more such criminal offenses that he committed before the new offense and the conditions mentioned in paragraph 1 sentence 1 numbers 3 and 4 are met. If someone has committed two criminal offenses of the type designated in sentence 1, for each of which he has incurred a term of imprisonment of at least two years, and is sentenced to a term of imprisonment of at least three years for one or more of these offenses, the court may, under the conditions designated in paragraph 1 sentence 1 number 4, order preventive detention in addition to the penalty even without prior conviction or custodial detention (paragraph 1 sentence 1 numbers 2 and 3). Paragraphs 1 and 2 remain unaffected.

(4) Within the meaning of paragraph 1 sentence 1 number 2, a sentence to an aggregate penalty counts as a single conviction. If pre-trial detention or another custodial detention is credited against a term of imprisonment, it counts as a served penalty within the meaning of paragraph 1 sentence 1 number 3. A prior offense is disregarded if more than five years have elapsed between it and the subsequent offense; for criminal offenses against sexual self-determination, the period is fifteen years. The time during which the offender has been detained in an institution by official order is not included in the period. An offense that has been adjudicated outside the territorial scope of this Act is equivalent to an offense adjudicated within this scope if it would be a criminal offense of the type mentioned in paragraph 1 sentence 1 number 1, in the cases of paragraph 3 of the type designated in paragraph 3 sentence 1, under German criminal law.

1871-05-15 
RGBl 1871, 127
Neugefasst durch Bek. v. 13.11.1998 I 3322;; zuletzt geändert durch Art. 1 G v. 20.3.2026 I Nr. 95

§ 66a Reservation of placement in preventive detention — StGB

Germany: German Criminal Code

(1) The court may reserve the order of preventive detention in the judgment if
1. someone is sentenced for one of the criminal offenses mentioned in § 66 paragraph 3 sentence 1,
2. the other conditions of § 66 paragraph 3 are met, insofar as it does not refer to § 66 paragraph 1 sentence 1 number 4, and
3. it cannot be determined with sufficient certainty, but is probable, that the conditions of § 66 paragraph 1 sentence 1 number 4 are met.

(2) The court may also make a reservation within the meaning of paragraph 1 if
1. someone is sentenced to a prison term of at least five years for one or more felonies against life, physical integrity, personal freedom, sexual self-determination, under the Twenty-Eighth Section or under §§ 250, 251, also in conjunction with § 252 or § 255,
2. the conditions of § 66 are not met and
3. it can be determined with sufficient certainty or is at least probable that the conditions of § 66 paragraph 1 sentence 1 number 4 are met.

(3) The court may decide on the preventive detention reserved under paragraph 1 or 2 in the first instance only until the prison sentence has been fully executed; this also applies if the execution of the remainder of the sentence was suspended on probation and the remainder of the sentence is executed. The court shall order preventive detention if the overall assessment of the convicted person, his offense or offenses and, in addition, his development up to the time of the decision shows that he is expected to commit significant criminal offenses by which the victims will be seriously emotionally or physically harmed.

1871-05-15 
RGBl 1871, 127
Neugefasst durch Bek. v. 13.11.1998 I 3322;; zuletzt geändert durch Art. 1 G v. 20.3.2026 I Nr. 95

§ 66b Subsequent order of placement in preventive detention — StGB

Germany: German Criminal Code

If placement in a psychiatric hospital has been declared completed pursuant to § 67d paragraph 6 because the condition excluding or diminishing criminal responsibility on which the placement was based did not exist at the time of the completion decision, the court may subsequently order placement in preventive detention if
1. the placement of the person concerned was ordered pursuant to § 63 because of several of the acts mentioned in § 66 paragraph 3 sentence 1 or if the person concerned had already been sentenced to a prison term of at least three years or placed in a psychiatric hospital for one or more such acts committed before the act leading to the placement pursuant to § 63 and
2. the overall assessment of the person concerned, his acts and, in addition, his development up to the time of the decision shows that he will with high probability commit significant criminal offenses by which the victims will be seriously emotionally or physically harmed.
This also applies if, following the placement pursuant to § 63, a concurrently ordered prison term is still to be executed in whole or in part.

1871-05-15 
RGBl 1871, 127
Neugefasst durch Bek. v. 13.11.1998 I 3322;; zuletzt geändert durch Art. 1 G v. 20.3.2026 I Nr. 95

§ 66c Design of placement in preventive detention and of the preceding execution of sentence — StGB

Germany: German Criminal Code

(1) Placement in preventive detention shall take place in institutions that
1. offer the detainee, on the basis of a comprehensive treatment examination and a regularly updated execution plan, care a) that is individualized and intensive and suitable for awakening and promoting his willingness to cooperate, in particular psychiatric, psychotherapeutic or social therapeutic treatment tailored to the detainee, insofar as standardized offerings are not promising, and b) that aims to reduce his dangerousness to the general public to such an extent that the execution of the measure can be suspended on probation as soon as possible or declared completed,
2. ensure placement a) that burdens the detainee as little as possible, corresponds to the requirements of care within the meaning of number 1 and, insofar as security concerns do not conflict, is adapted to general living conditions, and b) that takes place separately from penal execution in special buildings or departments, unless treatment within the meaning of number 1 exceptionally requires otherwise, and
3. to achieve the goal mentioned in number 1 letter b a) grant measures opening up execution and make release preparations, insofar as compelling reasons do not conflict, in particular specific indications establishing the risk that the detainee will evade the execution of preventive detention or misuse the measures to commit significant criminal offenses, and b) enable follow-up care in freedom in close cooperation with state or private providers.

(2) If the court has ordered placement in preventive detention in the judgment (§ 66), after reservation (§ 66a paragraph 3) or subsequently (§ 66b) or has reserved such an order in the judgment (§ 66a paragraphs 1 and 2), the offender shall already during penal execution be offered care within the meaning of paragraph 1 number 1, in particular socio-therapeutic treatment, with the aim of making the execution of the placement (§ 67c paragraph 1 sentence 1 number 1) or its order (§ 66a paragraph 3) as dispensable as possible.

1871-05-15 
RGBl 1871, 127
Neugefasst durch Bek. v. 13.11.1998 I 3322;; zuletzt geändert durch Art. 1 G v. 20.3.2026 I Nr. 95

§ 67 Order of enforcement — StGB

Germany: German Criminal Code

(1) If placement in an institution under §§ 63 and 64 is ordered alongside a term of imprisonment, the measure shall be executed before the sentence.

(2) However, the court shall order that the sentence or part of the sentence be executed before the measure if the purpose of the measure is thereby more easily achieved. When ordering placement in a detoxification institution alongside a determinate term of imprisonment of more than three years, the court shall order that part of the sentence be executed before the measure. This part of the sentence shall as a rule be dimensioned such that, after its execution and a subsequent placement, a decision under subsection (5) sentence 1 first half-sentence is possible. The court shall furthermore order that the sentence be executed before the measure if the convicted person is under an enforceable obligation to leave the country and it is to be expected that their stay within the territorial scope of this Act will end during or immediately after serving the sentence.

(3) The court may subsequently make, amend or revoke an order under subsection (2) sentence 1 or sentence 2 if circumstances in the person of the convicted person make it appear appropriate. The court may also subsequently make an order under subsection (2) sentence 4. If it has made an order under subsection (2) sentence 4, it shall revoke it if an end to the convicted person’s stay within the territorial scope of this Act during or immediately after serving the sentence is no longer to be expected.

(4) If the measure is executed wholly or partly before the sentence, the time of execution of the measure shall be credited against the sentence until two thirds of the sentence are completed.

(5) If the measure is executed before the sentence or before a remainder of the sentence, the court shall suspend execution of the remainder of the sentence on probation under the conditions of § 57 subsection (1) sentence 1 numbers 2 and 3 and sentence 2 if two thirds of the sentence are completed; the court may order suspension already after completion of half of the sentence if the conditions of § 57 subsection (2) are fulfilled accordingly. If the remainder of the sentence is not suspended, execution of the measure shall continue; however, the court may order execution of the sentence if circumstances in the person of the convicted person make it appear appropriate.

(6) The court shall order that crediting under subsection (4) also applies to a sentence from another proceeding if its execution would be an unreasonable hardship for the convicted person. In this decision, particular account shall be taken of the ratio of the duration of the previous deprivation of liberty to the duration of the sentences imposed, the therapeutic success achieved and the concrete danger posed by the convicted person, as well as the convicted person’s conduct in the enforcement proceedings. Crediting is as a rule excluded if the offence underlying the sentence from another proceeding was committed after the order of the measure. Subsection (5) sentence 2 applies accordingly.

1871-05-15 
RGBl 1871, 127
Neugefasst durch Bek. v. 13.11.1998 I 3322;; zuletzt geändert durch Art. 1 G v. 20.3.2026 I Nr. 95

§ 67a Transfer to the execution of another measure of reform and prevention — StGB

Germany: German Criminal Code

(1) If placement in a psychiatric hospital or a detoxification institution has been ordered, the court may subsequently transfer the placed person to the execution of the other measure if their resocialisation can thereby be better promoted.

(2) Under the conditions of subsection (1), the court may also subsequently transfer a person against whom preventive detention has been ordered to the execution of one of the measures referred to in subsection (1). The possibility of subsequent transfer exists, if the conditions of subsection (1) are met and the transfer is indicated for the purpose of carrying out medical treatment or a detoxification cure, also in the case of a person who is still in prison and whose placement in preventive detention has been ordered or reserved.

(3) The court may amend or revoke a decision under subsections (1) and (2) if it subsequently emerges that the resocialisation of the placed person can thereby be better promoted. The court may furthermore revoke a decision under subsection (2) if it subsequently emerges that no success can be achieved with the execution of the measures referred to in subsection (1).

(4) The time limits for the duration of the placement and for review shall be governed by the provisions that apply to the placement ordered in the judgment. In the case of subsection (2) sentence 2, the court shall, until the commencement of execution of the placement, examine at the latest before the expiry of one year in each case whether the conditions for a decision under subsection (3) sentence 2 are met.

1871-05-15 
RGBl 1871, 127
Neugefasst durch Bek. v. 13.11.1998 I 3322;; zuletzt geändert durch Art. 1 G v. 20.3.2026 I Nr. 95

§ 67b Suspension together with the order — StGB

Germany: German Criminal Code

(1) If the court orders placement in a psychiatric hospital or a detoxification institution, it shall at the same time suspend its execution on probation if special circumstances justify the expectation that the purpose of the measure can also be achieved thereby. Suspension shall not apply if the offender still has a term of imprisonment to serve that was imposed simultaneously with the measure and is not suspended on probation.

(2) Supervision of conduct shall commence with the suspension.

1871-05-15 
RGBl 1871, 127
Neugefasst durch Bek. v. 13.11.1998 I 3322;; zuletzt geändert durch Art. 1 G v. 20.3.2026 I Nr. 95