What is a habeas corpus petition in immigration detention?

2 min read · August 15, 2026

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

When habeas is not the tool

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.

Frequently asked questions

How long does a Petition for Review take to decide?

The timeline for a federal court to decide a petition varies significantly by circuit and case complexity. Generally, it can take anywhere from several months to over a year for a court to issue a final decision. During this time, the court may require written briefs and sometimes oral arguments from both sides.

Can I present new evidence to the federal court?

Federal appellate courts typically do not accept new evidence that was not part of the original record. The court is limited to reviewing the administrative record created during your hearings before the Immigration Judge and the BIA. If you have new evidence, you may need to file a motion to reopen with the BIA instead of or in addition to a petition.

What happens if the court grants my petition?

If the court finds that the BIA or the immigration judge made a mistake, it will usually vacate the order of removal. The court then sends the case back to the agency for further proceedings consistent with the court's findings. This may give you a new opportunity to present your case or result in the termination of the removal proceedings.

Is there a filing fee for a Petition for Review?

Yes, filing a petition in the U.S. Circuit Court of Appeals requires paying the current filing fee (check the specific circuit court website for the current amount). If you cannot afford the fee, you may be able to file a motion to proceed in forma pauperis, which asks the court to waive the cost based on your financial situation.

Legal sources