In Germany the execution of any sentence of imprisonment has to be guided by the objective of social integration and rehabilitation of the offender. This is a principle established by the Federal Constitutional Court and it has been specified by prison legislation of the federal states.

Within the prison system, there are several approaches, the most important being that of therapeutic communities under the label of "social therapy". Most institutions for addiction treatment are a part of the public health system.