§ 1331.Persons Who May Prosecute Writ
Chapter 23: Habeas Corpus · Not amended since adoption on record · Last verified August 3, 2026
Full Text of § 1331
Amendment History
R.L. 1910, § 4882.
Plain-English Summary
A writ of habeas corpus is a court order that tests whether someone's confinement is lawful. Section 1331 opens that remedy to anyone restrained of liberty, regardless of who is holding them or why, so a court can look into the cause of the restraint.
If the court finds the restraint illegal, the statute requires release. The writ works the same way whether the custody comes from a jail, a hospital, a private party, or anyone else with physical control over the person.
Frequently Asked Questions
What is a writ of habeas corpus?
It's a court order that requires whoever holds a person in custody to justify the restraint, so a judge can decide whether it's lawful.
Who can ask for the writ under Section 1331?
Anyone restrained of liberty can seek it, and the statute doesn't limit the reason for the restraint that triggers the right.
Does this only cover people held in jail?
No. The text covers restraint "under any pretense whatever," so it reaches any form of custody, not just criminal confinement.
What happens if a court finds the restraint illegal?
Section 1331 requires the court to deliver the person from the restraint - in other words, to order release.