Preventive detention is an imprisonment that is putatively justified for non-punitive purposes, most often to prevent further criminal acts.
Preventive detention sometimes involves the detention of a convicted criminal who has served their sentence but is considered too dangerous to release.
Remand or pre-trial detention and involuntary commitment are sometimes considered a form of preventive detention.