haftrecht.at
Preventive detention

Forensic placement under section 21 StGB: what comes before prison?

When can a court order placement in a forensic treatment centre? Find out which comes first, how time is credited and what happens to an outstanding prison sentence.

Your personal attorney

Mag. Christopher Angerer, Rechtsanwalt

Your lawyer for detention and deprivation of liberty

When someone is in custody, every hour counts. One lawyer who accompanies you personally, from the detention review hearing to release.

24 June 2026. Mag. Christopher Angerer, Rechtsanwalt

When a person faces both placement in a forensic treatment centre and a prison sentence, placement comes first. Time spent in the centre counts towards the prison sentence, even if the court imposed the sentence on a different occasion.

Whether the court can impose a sentence for the offence depends on whether the mental disorder deprived the person of criminal responsibility at the time. Section 21 StGB sets out when the court orders placement.

What is your concern about placement?

Requirements, paragraph, procedure or duration, what do you need?

Placement under section 21 StGB is tied to strict requirements and distinguishes two situations. Choose the topic that concerns you right now and you will receive an assessment with concrete first steps and the matching in-depth reading.

Already know you want to send an enquiry? Go straight to the contact form.

01 Question 1

What is your concern about placement under section 21 StGB?

Choose the question that fits your situation. Do you need to understand the grounds for placement, make sense of the expert opinion, or find out what happens first when the court also imposes a prison sentence?

All paths at a glance

Overview of all answers.

01

The court examines the specific risk of a further offence with serious consequences. It also considers which offence led to the proceedings and whether the mental disorder significantly influenced it.

A diagnosis alone does not justify placement under section 21 StGB. The court must consider whether a serious and lasting mental disorder significantly influenced the offence that led to the proceedings. Additionally, there must be a high probability that the person will commit a punishable act with serious consequences under the significant influence of the disorder in the foreseeable future.

Check the court's decision to see which offence prompted the placement. Look in the expert opinion for the specific act the expert considers likely and why they expect it to have serious consequences.

In depth: preventive detention at a glance →
02

Paragraph 1 addresses placement for a person who lacked criminal responsibility for the offence and received no sentence for it. Under paragraph 2, the court orders placement when it imposes the sentence.

When the court orders placement in a forensic treatment centre and imposes a prison sentence, placement takes precedence. Under section 24(1) StGB, time spent detained in the centre counts towards the prison sentence.

You will need the judgment and the custody records to check the sentence calculation. Together, they show how much time in the centre has been credited towards the prison sentence and whether any of the sentence remains to be served.

In depth: conditional release and review →
03

The court decides whether to order placement. An expert examination forms part of the proceedings.

Section 430 StPO requires an examination by a psychiatric expert. If a psychiatric expert is unavailable or cannot examine the person in time, the court may appoint an expert in clinical psychology. The court evaluates the expert findings alongside the other evidence to decide whether the legal requirements are met.

What to do now: First, examine the expert opinion closely, above all the reasoning of the risk prognosis. Second, consider whether a supplementary or a differing opinion is worth obtaining. Third, keep the institution’s treatment mandate in view, because it matters for the later review and release.

In depth: placement under section 22 StGB →
04

The court decides at least once a year whether placement in the centre is still necessary.

At the review, the court assesses the current risk and considers the person's progress. It may take the course of treatment and the person's prospects after leaving the centre into account when deciding whether to grant conditional release.

What to do now: First, keep the regular review under section 25 StGB in view and pay attention to treatment progress. Second, work towards the requirements of conditional release under section 47 StGB. Third, prepare the later probationary period with directives and probation assistance early on.

In depth: conditional release and review →

The requirements under section 21 StGB

Section 21 StGB requires an offence punishable by more than one year in prison for people aged 21 or over at the time of the offence. A stricter threshold applies to offences committed before the age of 21, and the law sets further limits for property offences and offences that carry a lower statutory penalty.

The mental disorder must be serious and lasting, and it must have significantly influenced the offence. Courts hold that it can contribute to the offence alongside other causes. A diagnosis alone does not establish that connection.

The court must find a high probability that, in the foreseeable future, the person will commit a punishable act with serious consequences under the significant influence of the disorder. A general risk of reoffending is insufficient. In making that assessment, the court considers the person, their condition and the nature of the offence that triggered the proceedings.

Paragraphs 1 and 2: placement and prison sentences

If the disorder deprived the person of criminal responsibility at the time of the offence, section 21(1) StGB rules out a sentence for that offence. When the other legal requirements are met, the court orders placement.

When a person remains criminally responsible despite the disorder, the court orders placement under section 21(2) StGB when it imposes the sentence. The two orders follow a set sequence in practice: section 24(1) StGB gives priority to placement. Time spent in the centre counts towards the prison sentence even if the court imposed that sentence separately.

For dangerous repeat offenders placed under section 23 StGB, the prison sentence precedes placement. Under section 24(2) StGB, the court must review on its own initiative before the transfer whether placement is still necessary.

Two situations compared

Placement under para 1 and under para 2 side by side

Both paragraphs of section 21 StGB order placement but turn on criminal responsibility at the time of the offence and differ in their consequences. The overview places the most important points side by side.

Comparison of section 21 para 1 StGB (instead of a sentence) and section 21 para 2 StGB (in addition to a sentence)
Feature Section 21 para 1 StGB Section 21 para 2 StGB
Criminal responsibility State at the time of the offence Not responsible on account of the disorder Responsible despite the disorder
Relation to the sentence Consequence Placement instead of a sentence Placement in addition to a sentence
Conviction Decision No conviction with a sentence Conviction with sentence and measure
Sequence Enforcement Only enforcement of the measure Placement first, with time in the centre credited towards the prison sentence
Common standard Requirements Predicate offence, disorder, risk prognosis Predicate offence, disorder, risk prognosis

In both cases the same basic requirements and the same review under sections 25, 47 StGB apply. The difference lies in criminal responsibility and in the relation to the sentence.

Duration, review and release

Section 21 StGB imposes no set maximum duration for placement, and Section 25 StGB requires the court to decide on its own initiative at least once a year whether placement remains necessary.

Conditional release from the centre carries a probation period. Under section 47 StGB, the court must order conditional release if it concludes that the risk the measure addresses no longer exists.

A person transfers to prison if placement ends before they have served the prison sentence. They do not transfer if the remainder of the sentence is remitted conditionally or unconditionally. Placement can still continue for as long as it remains necessary, even after credit for time in the centre has covered the whole sentence.

Frequently asked questions

What people often ask about placement under section 21 StGB.

What are the requirements for placement under section 21 StGB? +

The statutory penalty and the other requirements of section 21 StGB determine whether an offence can justify placement. The length of the sentence the court imposed does not answer that question.

What did the reform effective 1 March 2023 change? +

The reform reframed the point of reference. The earlier higher-degree mental or psychological abnormality was replaced by the serious and lasting mental disorder. This formula requires a disorder of considerable weight and permanence and is intended to delimit the scope of placement more sharply.

Which comes first when the court orders both placement and a prison sentence? +

Section 24(1) StGB puts placement in the forensic treatment centre first. Time spent detained there counts towards the prison sentence, even if the court imposed the sentence separately.

How long does placement last? +

The most recent first-instance decision starts the one-year period for the next review on the court's own initiative. The court does not set a fixed term when it orders placement.

Who decides on the dangerousness? +

An expert opinion helps clarify the mental disorder, its influence on the offence and the specific risk of a further offence. The court assesses the risk in light of that opinion and the other evidence.

Topics
massnahmenvollzugunterbringunggefaehrlichkeitsprognoseparagraph-21-stgbparagraph-25-stgbparagraph-47-stgb

Arrest? Detention? Warrant?

When liberty is at stake, every hour counts. Call us directly or send an email, callback within one business day. In urgent cases, we are also available outside office hours.

Contact

A direct line to the firm.

Address

BRANDAUER Rechtsanwälte GmbH Giselakai 51 5020 Salzburg