The legal basis: 28 U.S.C. § 2241
Federal courts have power to grant the writ to any person “in custody in violation of the Constitution or laws or treaties of the United States.” That language, found in 28 U.S.C. § 2241, is the statutory home for nearly every challenge to immigration detention. It is a different statute from the ones used by people serving criminal sentences, and it carries different rules.
An important limit shapes every immigration habeas case. Since the REAL ID Act of 2005, a challenge to the removal order itself — the decision that a person must leave the United States — generally belongs in a petition for review filed in a federal court of appeals, not in habeas. Habeas tests the detention: whether the government has authority to keep the person locked up while the immigration case proceeds or while it tries to carry out removal. Framing the petition around custody, rather than around the merits of deportation, is the first and most important drafting decision.
Where to file
Under the Supreme Court’s decision in Rumsfeld v. Padilla (2004), a habeas petition challenging present physical confinement is generally filed in the federal district where the person is held. For someone detained at the Krome North Service Processing Center in Miami or the Broward Transitional Center in Pompano Beach, that is the U.S. District Court for the Southern District of Florida.
Location matters because ICE transfers detainees between facilities, sometimes across the country and sometimes with little notice. Courts generally hold that jurisdiction is fixed when the petition is filed, so a later transfer does not by itself defeat the case. That is one reason to file promptly once the grounds are clear, and to ask the court, where appropriate, to order that the person not be moved while the petition is pending.
Who to name as respondents
The proper respondent in a core habeas case is the person with day-to-day control over the detainee — the immediate custodian. In immigration cases that is usually the warden or administrator of the detention facility. Practitioners commonly also name the ICE Field Office Director responsible for the area, and sometimes the Secretary of Homeland Security and the Attorney General, so that any order binds the officials who actually make detention decisions. Naming the wrong respondent is a common reason petitions are delayed or dismissed.
What the petition must contain
Section 2242 requires the petition to be in writing, signed and verified by the detained person or by someone acting on their behalf. Beyond that, an effective petition tells the judge a clear, documented story:
- who the petitioner is, where they are held, and since when;
- the statute the government is relying on to detain them, such as 8 U.S.C. § 1226(a), § 1226(c), § 1225(b), or § 1231;
- the procedural history of the immigration case, including any bond hearing and its result;
- the specific legal reason the custody is unlawful — statutory, constitutional, or both;
- the relief requested, typically release, release on conditions, or an order requiring a constitutionally adequate bond hearing.
Exhibits do much of the persuasive work: the Notice to Appear, custody determinations, immigration judge orders, proof of ties to the community, medical records, and any evidence that removal is not realistically going to happen. A judge reading a habeas petition is deciding whether the government has to justify itself, and a well-supported record makes that decision easy.
Filing fee and exhaustion
The filing fee for a federal habeas petition is $5. A petitioner who cannot pay may ask to proceed in forma pauperis, which lets the case go forward without the fee.
Section 2241 contains no explicit exhaustion requirement, but many courts apply a judge-made, or “prudential,” exhaustion rule — for example, expecting a detainee to request a bond hearing or appeal a bond denial to the Board of Immigration Appeals before coming to federal court. Courts recognize exceptions when further administrative steps would be futile, when the agency cannot decide the constitutional question, or when the delay itself causes irreparable harm. How a particular judge treats exhaustion is often a central issue, and the petition should address it directly.
Frequently asked questions
Can I challenge my deportation order in a habeas petition?
Generally no. Since the REAL ID Act of 2005, challenges to a removal order are channeled into a petition for review filed in the federal court of appeals. A habeas petition under 28 U.S.C. § 2241 challenges the legality of the detention itself, such as detention without a lawful basis or detention that has become unreasonably prolonged.
How much does it cost to file a federal habeas petition?
The federal court filing fee for a habeas corpus petition is $5. A person who cannot afford it can ask the court for permission to proceed in forma pauperis, which waives the fee. Attorney fees are separate.
Where do I file a habeas petition for someone held at Krome in Miami?
A person held at the Krome North Service Processing Center is confined within the Southern District of Florida, so the petition is generally filed in the U.S. District Court for the Southern District of Florida.
This guide provides general information, not legal advice. Every detention case turns on its own facts and the law changes; consult an attorney about your specific situation.
Related guides
Is someone you love being held without lawful authority?
We prepare and file habeas petitions challenging unlawful and prolonged immigration detention. Free consultation, fully confidential.
Request a Free Consultation