Habeas Where No Other Court Will Hear the Detention
Detention and removal travel through different courts. A petition for review reaches the order; only habeas reaches the custody, and the habeas statute sets a timetable more demanding than anything else in federal practice.

The rule in short
Habeas corpus is the route to a federal district court on a question of immigration custody. The statute reaches a person held in violation of the Constitution or laws of the United States. The application is written, signed and verified, alleges the facts of the custody and names the person having custody. The court awards the writ or orders the respondent to show cause, and the return is due in three days unless the court extends it for good cause.
Two questions arise from the same detention and they are heard in different buildings. Whether the removal order was correct belongs to a court of appeals on a petition for review. Whether the custody is lawful belongs to a federal district court on a petition for a writ of habeas corpus. Confusing the two produces a jurisdictional dismissal and loses the days the case did not have.
What the writ reaches, and what it does not
The habeas statute reaches a person in custody in violation of the Constitution or the laws or treaties of the United States. In immigration practice that covers detention held to be unauthorized by the governing provision, detention that has continued beyond what the provision permits, and detention imposed without a process the Constitution requires. It is a question about the holding, not about the order behind it.
The review statute closes the other door deliberately. Challenges to a final removal order run through a petition for review in the court of appeals, and the statute makes that the exclusive route. A habeas petition arguing that an immigration judge erred is a petition in the wrong court, and the correct response to it is dismissal rather than transfer to the merits.
One narrow exception survives in the expedited removal context, where the statute expressly preserves habeas for three enumerated questions and nothing else. That carve-out is examined in the discussion of removal decided without a hearing, and it is the only setting in which a habeas petition properly touches the validity of an order.
There is a further boundary worth marking. Habeas is a remedy against unlawful restraint, not a general supervisory jurisdiction over the conditions in which somebody is held. Complaints about medical care, facility discipline or access to a telephone are real and are litigated, but they travel through other actions. A petition that mixes them with a custody-authority argument dilutes the argument that the writ was built for.
What the application must contain
The statute is unusually specific. The application is in writing, signed and verified by the person for whose relief it is intended or by someone acting on that person's behalf. It must allege the facts concerning the applicant's commitment or detention, name the person who has custody, and state the reasons the detention is contended to be unlawful.
Verification is not a formality. A petition signed by counsel without a verified factual basis invites an early attack, and where the detainee cannot sign, the person signing has to explain both the relationship and the reason for signing. That situation is common enough to have its own body of practice, treated in the account of acting for a relative who cannot instruct counsel.
| Question | Petition for review | Habeas petition |
|---|---|---|
| Court | Court of appeals for the circuit where proceedings ended | District court with jurisdiction over the custodian |
| Subject | The lawfulness of the removal order | The lawfulness of the custody |
| Deadline | Thirty days from the final order | No fixed period; the custody is continuing |
| Respondent | The government department | The person having custody of the detainee |
| Statutory timetable | Ordinary appellate scheduling | Show cause forthwith; return in three days; hearing in five |
| Relief | Vacatur or remand of the order | Release, a bond hearing, or conditions on custody |
Petitions that combine a custody challenge with an attack on the removal order are common and they routinely fail as a unit. The jurisdictional defect in the second claim can consume the court's attention and the case can be dismissed before the first claim is reached. Where both need to be raised, they belong in two filings in two courts, brought at the same time.
The reasons the detention is contended to be unlawful should be stated with the same economy an emergency motion demands. Two or three grounds developed properly are more useful than eight listed. Where the argument depends on the length of the custody, the petition should give the date custody began and the elapsed period as a plain calculation, because that single figure frequently determines how the court reads everything else in the filing.
The show cause order and the return
The statute directs the court to award the writ or issue an order to show cause forthwith, unless it appears from the application that the applicant is not entitled to it. The respondent then makes a return within three days, extendable for good cause but not beyond twenty days. A hearing follows within five days after the return is filed.
Those periods are shorter than anything else in ordinary federal civil practice and they are frequently overlooked. A petition that quotes the timetable and asks the court to apply it is doing something a petition that stays silent is not. Where the custody question is genuinely urgent, an accompanying application for interim relief makes the urgency visible on the docket rather than leaving it in the body of the petition.
The return is where the government's account of the custody first appears in a form that can be tested. It will identify the statutory authority relied on, the length of the detention, and any custody reviews conducted. Those three facts frequently decide the case, and obtaining them is one of the reasons a habeas petition is worth filing even where release seems unlikely.
What a court can order
Release is the archetypal remedy and it is not the only one. Courts have ordered release on conditions, ordered the agency to conduct a custody review it had not conducted, and ordered a bond hearing before an immigration judge with the burden allocated in a particular way. The relief sought should match the defect identified rather than defaulting to outright release in every case.
Where the argument is that detention has become unreasonably long, the relief usually sought is a hearing rather than a release, because the defect is the absence of individualized consideration rather than the fact of custody. That distinction is developed in the account of challenging detention that has become prolonged, and it materially affects how the petition is framed.
Two practical constraints shape everything above. The petition has to be filed in the right district against the right respondent, which is a rule with real teeth and its own traps. And the person has to be locatable, which in a system that transfers detainees between facilities is not always straightforward. Both are the reason that work of this kind is usually begun by an attorney who files detention habeas petitions with the confirmation of custody already in hand rather than as the first step of the filing.
Points to carry away
- Habeas reaches the legality of custody, not the correctness of a removal order.
- The application must be in writing, signed and verified, and may be made by someone acting on the detainee's behalf.
- It must allege the facts of the restraint and name the person who has custody.
- The statute directs the court to award the writ or issue an order to show cause forthwith.
- A return is due within three days unless good cause extends it, and a hearing follows within five days.
Questions readers ask
Can a habeas petition be used to attack the removal order itself?
Generally not. The review statute channels challenges to a final removal order into a petition for review in the court of appeals and makes that the sole and exclusive means of review. Habeas retains its role over custody, and over the three narrow questions the statute leaves open in the expedited removal context. Filing a habeas petition that argues the removal order was wrong invites dismissal on jurisdictional grounds and consumes days that the custody argument needed. Separating the two claims at the outset avoids the problem.
Who can sign the petition if the detainee cannot?
The statute permits the application to be signed and verified by the person for whose relief it is intended or by someone acting on that person's behalf. Where a detainee cannot sign because of language, isolation, incapacity or the timing of a transfer, a relative or counsel can bring the petition in that capacity. The person signing has to explain the relationship and the reason the detainee is not signing, because the court will want to satisfy itself that the petition is genuinely brought on the detainee's behalf rather than against their wishes.
How quickly does a habeas petition actually get heard?
The statutory timetable is short: the court awards the writ or issues an order to show cause forthwith unless the petition shows the applicant is not entitled to it, the return is due within three days with an extension for good cause capped at twenty days, and the hearing follows within five days of the return. Practice varies and courts manage their dockets, but the timetable is written into the statute and can be pointed to. A petition that also seeks immediate interim relief is more likely to be looked at on the day it arrives.
Sources
- 28 U.S.C. § 2241 — Power to grant writConfers habeas jurisdiction on the district courts and defines who may be reached by the writ.
- 28 U.S.C. § 2242 — ApplicationRequires a written, signed and verified application naming the custodian and alleging the facts of restraint.
- 28 U.S.C. § 2243 — Issuance of writ; return; hearing; decisionSets the order to show cause, the three-day return, the extension cap and the five-day hearing.
- 8 U.S.C. § 1226 — Apprehension and detention of aliensSupplies the detention authority applicable while removal proceedings are pending.
- 8 U.S.C. § 1231 — Detention and removal of aliens ordered removedSupplies the detention authority applicable after a removal order becomes final.
- 8 U.S.C. § 1252 — Judicial review of orders of removalChannels review of the removal order itself away from the district courts.
Rapid Response Law is a publication, not a law firm. This article states general rules and cites its sources; it is not advice about any particular case, and the law differs by state and changes over time.
More in Emergency Immigration
Notifying the Government of an Emergency Filing
An emergency filing must be served on the government, and in an emergency posture the service has to be actual rather than merely formal. The appellate and civil rules require service and proof of it. Relief granted without notice is available only on a specific showing of why notice was impossible and what efforts were made. Notifying the enforcement office holding the person is a separate step from serving the lawyers who will oppose the motion.
Review of a Negative Credible Fear Finding
A negative credible fear determination may be reviewed by an immigration judge on request. The statute directs that review be concluded as expeditiously as possible, to the maximum extent practicable within twenty-four hours, and in no case later than seven days after the determination. The hearing is closed unless the applicant waives that protection. The judge may not remand to the asylum officer, and the judge's decision is final and cannot be appealed.
The Showing an Emergency Stay Requires
A stay pending review is governed by four factors: likelihood of success on the merits, irreparable injury without a stay, injury to the opposing party if one issues, and the public interest. The first two are the most heavily weighted, and a bare possibility of harm does not satisfy the second. The statutory clear-and-convincing standard governs injunctions against removal, not stays, and conflating the two overstates what an applicant must prove.


