Back to all questions

What is a habeas corpus petition in immigration detention?

It is a federal court petition under 28 U.S.C. § 2241 that challenges the lawfulness of detention — the right tool when bond is unavailable in immigration court or when post-removal-order detention has become indefinite.

Habeas corpus is the federal court's centuries-old authority to inquire into the lawfulness of executive detention. In immigration, habeas under 28 U.S.C. § 2241 is the path to federal review of detention itself — distinct from review of the underlying removal order, which travels through the BIA and circuit courts.

When habeas is the right tool

  • The detainee is held under INA § 236(c) mandatory detention and challenges whether mandatory detention actually applies (charging-document attacks, Joseph arguments, statutory eligibility).
  • The detainee is held post-removal-order beyond the 6-month Zadvydas presumptive limit when removal is not reasonably foreseeable.
  • Detention has become unreasonably prolonged even within § 236(a) discretionary detention (this is more contested post-Jennings v. Rodriguez).
  • The detainee is held under conditions that constitute punitive treatment of a civil detainee.

When habeas is not the tool

  • To challenge the merits of the removal order itself — that goes to the BIA and the circuit court of appeals under INA § 242.
  • To challenge a recent USCIS denial — that is APA review in district court, not habeas.
  • To challenge an immigration judge's individual bond denial absent a constitutional or statutory claim — that goes to the BIA, not habeas.

Jurisdiction and venue

Habeas is filed in the district where the detainee is held, against the immediate custodian (the warden of the detention facility) under Rumsfeld v. Padilla, 542 U.S. 426 (2004). Naming the wrong custodian is the most common procedural defect we see in pro se petitions.

The REAL ID Act split

The REAL ID Act of 2005 moved review of removal orders out of habeas and into the circuit courts. Detention challenges remained in habeas. The line is sharp: if your real grievance is the removal order, habeas will be dismissed. If your grievance is the detention, habeas is correct.

How we handle this

We screen every detention case for whether the real challenge is to the order or the detention. We confirm the immediate custodian and venue. We do not file habeas for problems better solved through a Joseph hearing, a bond motion, or a circuit-court PFR. When habeas is right, we file with full custodial documentation and the relevant detention-time record on day one.

Legal Citations

Practice area

Habeas Corpus

See the full strategy, eligibility, timeline, and pricing for this area of immigration law.

Have more questions?

Every case is unique. Contact us for personalized advice.