Habeas corpus for ICE detention: how it gets someone released
Habeas corpus is a petition to a federal district judge saying a person is being held unlawfully and asking the judge to order their release, or at least a bond hearing. In immigration detention it has become the main way out when an immigration judge says they have no power to set bond. Federal judges have granted thousands of these petitions since 2025. The filing fee is $5, and the detained person can file it themselves.
This is information, not legal advice.
This guide explains the general rules. What they mean for your family member depends on their circumstances. Answer a few questions to check their situation.
Why habeas matters so much right now
Immigration judges work for the Justice Department and follow the Board of Immigration Appeals. Since September 2025, the Board has told them they cannot hold bond hearings for people who entered without inspection (Matter of Yajure Hurtado). In circuits that have not overruled that, the immigration court door is shut.
Federal district judges are different. They are not bound by the Board, and they decide for themselves whether a detention is lawful under 28 U.S.C. § 2241. Since late 2025 tens of thousands of detained people have filed habeas petitions, and in many districts judges have granted most of the ones they decided, ordering release or a bond hearing (Michigan Public, El Paso Matters). The Supreme Court will decide the underlying question in 2026–27. Until then, habeas is how families get past the Board’s rule. See did ICE end bond hearings?
When habeas is the right move
- The immigration judge said there is no jurisdiction to set bond, under the 2025 no-bond policy or a disputed mandatory-detention category.
- The detention has gone on for many months without a meaningful hearing. Many courts hold that prolonged detention without one violates due process.
- There is a final removal order, more than six months have passed, and removal is not happening, for example because the home country will not issue travel documents. This is the Zadvydas claim, after Zadvydas v. Davis, 533 U.S. 678 (2001).
- Bond was granted but ICE keeps the person anyway through an automatic stay while it appeals.
- The person may be transferred to a state where the law is worse. A petition filed first generally keeps the case where it was filed.
What habeas can and cannot do
Habeas is about custody. It can win release, release on conditions, or an order that an immigration judge hold a real bond hearing within a set number of days. It cannot cancel a deportation order or decide an asylum case. Federal law sends challenges to a removal order to the court of appeals instead (8 U.S.C. § 1252). A person released on habeas still has to go to every immigration hearing.
Where and against whom it is filed
- Where: the federal district court for the place where the person is held. The detention center’s address decides it.
- Against whom: the person with day-to-day custody, usually the warden or facility administrator. Petitions commonly also name the ICE field office director and other officials.
- Who signs: the detained person. If they cannot, someone can file on their behalf as a “next friend” (28 U.S.C. § 2242), usually with an explanation of why the person could not sign.
Cost and time
- Fee: $5 (28 U.S.C. § 1914(a)). Someone who cannot pay can ask the court to waive it.
- Speed: the statute tells the government to answer within three days, and up to twenty for good cause (28 U.S.C. § 2243). In practice courts often allow a few weeks. Many petitions are decided within one to two months.
- Counsel: a federal judge can appoint a lawyer for someone who cannot afford one, and the detained person can ask in the petition.
Doing it without a lawyer
A habeas petition is one of the few things in immigration law a person can file entirely on their own. The federal courts publish a form for it, AO 242, and some districts have their own immigration habeas form. DetentionHelp, run by the Asylum Seeker Advocacy Project, Human Rights First and the National Immigration Project, walks a person through the facts in English or Spanish and assembles a petition at no cost. Step by step, see how to file a habeas petition.
The one thing not to wait on: transfers
ICE moves people between facilities often and without notice, sometimes across the country. Where a petition is filed generally fixes which court decides it. Practitioners warn that filing before a transfer, especially before a move into Texas or Louisiana (the Fifth Circuit), is what preserves the better forum (ACLU / NWIRP advisory). If there is any sign of a move, file first.
Questions people also ask
What does habeas corpus mean in immigration?
It is a federal lawsuit challenging the detention itself. It does not decide whether the person can stay in the country. It decides whether ICE can keep holding them while that question is decided, and it can order release or a bond hearing.
Can a family member file a habeas petition for someone in ICE detention?
The detained person normally signs it. The law also lets someone act on their behalf, a “next friend,” when the person cannot file themselves. Family members can prepare the whole petition and gather the facts and documents either way.
How much does an immigration habeas petition cost?
The court filing fee is $5, and a person who cannot pay can ask the court to waive it. Lawyers charge much more; see what a habeas attorney costs. Self-help tools exist at no cost.
How long does habeas corpus take in immigration cases?
The statute says the government must answer within days, but courts often allow two to three weeks. Many petitions are decided within one to two months. Some judges take much longer.
Can a habeas petition stop a deportation?
Generally no. Federal law sends challenges to a removal order itself to the court of appeals on a petition for review. Habeas in district court is about custody: whether the person can be held, and for how long.
See if habeas is their path
Check your family member’s situation to see which release options may apply, what to do next, and which documents to gather.