Accuracy update — reviewed August 7, 2026. Habeas corpus is principally a remedy for unlawful custody or detention. A garnishment, driver’s-license suspension, passport restriction, or ordinary civil order does not automatically satisfy the custody requirement.
What habeas corpus does
The writ allows a court to examine the legality of a person’s custody. Federal habeas authority includes 28 U.S.C. § 2241 and, for a person in custody pursuant to a state-court judgment, 28 U.S.C. § 2254. Different exhaustion, timing, procedural-default, and review rules apply depending on the source of custody.
“In custody” has a legal meaning
Physical imprisonment plainly qualifies. Parole, probation, or comparable restraints can sometimes qualify because they impose significant restrictions tied to a judgment. Financial obligations and collateral consequences alone generally do not create habeas custody. A person jailed for civil contempt related to support may have a custody question, but the proper respondent, state remedies, mootness, and the basis of detention must be analyzed carefully.
Habeas is not a substitute for every civil remedy
Challenges to garnishment, license suspension, passport denial, arrears calculations, or a family-court order commonly proceed through statutory review, motion practice, appeal, or a properly supported civil-rights action—not through habeas merely because the consequences restrict everyday life.
Threshold questions
- Is the person currently in custody when the petition is filed?
- Which order or judgment causes that custody?
- Which court has jurisdiction and who is the proper respondent?
- Were available state remedies exhausted?
- Do limitations, procedural default, successive-petition, or abstention rules apply?
- What specific constitutional violation allegedly makes the custody unlawful?
Habeas litigation is technical and time-sensitive. A generic mailed “notice” does not commence a habeas case or require release.
Educational information only. This article is not legal advice; consult a licensed attorney promptly when anyone is detained.

