If someone you love is in ICE custody, you have probably been told to look into habeas corpus for ICE detention. It sounds like law school Latin. The idea behind it is simple: if the government is holding a person, that person can go before an independent judge and make the government explain why.
In 2026 that idea is carrying unusual weight. Since September 2025, immigration judges have been told they cannot hold bond hearings for large groups of detained people, and federal district judges have reportedly rejected that position in more than 9,300 rulings, according to Bloomberg Law’s August 2026 analysis. For many families, a writ of habeas corpus in federal court is now the only place where ICE custody gets a real review.
This guide explains what habeas corpus is, what the word “writ” actually means, when a petition is the right tool and when it is not, where it is filed, what it costs, and what your family can do in the first 48 hours. It is written for the person making the decision, not for another lawyer.
Held by ICE, not in a criminal jail?
ICE detention is civil detention, and it is challenged with a different writ than the ones used after a criminal conviction: a petition under 28 U.S.C. § 2241 in the federal court where your loved one is held. Our guide to the writ of habeas corpus in ICE detention explains the petition, the court and what to do in the first 48 hours. If a case needs review now, see who handles these federal petitions and where we file.
In This Guide
- What Habeas Corpus Actually Is
- Writ of Habeas Corpus: Petition, Writ and Order
- Why It Matters Right Now, in 2026
- Who Can File, Including for Someone Else
- When Habeas Is the Right Tool
- When Habeas Is the Wrong Tool
- The Legal Foundations: § 2241, § 2243 and Zadvydas
- Where You File, and Why It Can Change Overnight
- What the Process Actually Looks Like
- What Outcomes Are Realistic
- What It Costs and How Long It Takes
- What Families Should Do in the First 48 Hours
- Habeas Corpus for ICE Detention: Guides by Situation
- Frequently Asked Questions

What Habeas Corpus Actually Is
Habeas corpus is a court process that forces the government to justify holding someone. In an ICE case, the petition is filed under 28 U.S.C. § 2241 in the federal district court where the person is held. If the judge finds the detention unlawful, the judge can order release or a bond hearing.
The Latin means “you shall have the body.” The protection is written into the U.S. Constitution at Article I, Section 9, which bars suspending the writ except in cases of rebellion or invasion. It is not a benefit reserved for citizens. It covers every person held on U.S. soil: lawful permanent residents, visa holders, asylum seekers, people with pending applications, and people with no status at all.
One distinction matters more than any other: habeas corpus challenges the detention, not the immigration case. It does not grant status, reopen a denied application, or cancel a removal order. It asks a narrower question, and in the right case a more powerful one: is the government legally entitled to keep this person locked up right now?
Key point: Winning habeas does not end the immigration case. It changes where your loved one fights it, from inside a detention center to from home, with access to counsel, documents and family.
Writ of Habeas Corpus: Petition, Writ and Order
Families hear three words used almost interchangeably. They are three different documents, and knowing which is which makes updates from a lawyer or the court much easier to follow.
- The petition is what your side files. It tells the court who is detained, who is holding them, and why the custody is unlawful.
- The order to show cause usually comes next. Under 28 U.S.C. § 2243, the judge either awards the writ or orders the government to show cause why it should not be granted. For most families, this order is the first sign the case is moving.
- The writ is what the court issues if the petition succeeds. Historically it ordered the jailer to bring the person to court. Today, “granting the writ” means the judge orders relief, such as release or a bond hearing.
Criminal habeas is not immigration habeas
The word “writ” also appears in criminal cases, which is why search results can be confusing. The legal vehicle depends on who is holding the person and why.
| Where the person is held | Legal vehicle | Which court decides |
|---|---|---|
| State prison or county jail after a state conviction | Petition under 28 U.S.C. § 2254, usually after state appeals | Federal district court |
| Federal prison after a federal conviction | Motion under 28 U.S.C. § 2255 | The court that imposed the sentence |
| ICE custody (civil immigration detention) | Petition under 28 U.S.C. § 2241 | Federal district court where the person is held |
ICE detention is civil detention. No one has been sentenced, so the question is not whether a conviction was fair but whether the government has lawful authority to hold the person today. If your loved one is in a county jail on a criminal charge and ICE has only lodged a detainer, many courts do not yet treat that as ICE custody; the immigration habeas question usually begins once ICE takes the person. Our explainer on what “writ” means in jail covers the other writs families hear about, and our guide to 28 U.S.C. § 2241 covers the statute in depth.
Why It Matters Right Now, in 2026
In September 2025, the Board of Immigration Appeals decided Matter of Yajure Hurtado, adopting the government’s view that people who entered without inspection and are later arrested inside the country are subject to mandatory detention under 8 U.S.C. § 1225(b)(2)(A). On that reading, the immigration judge has no authority to set bond, however many years the person has lived here. When the immigration court cannot hold a bond hearing, it cannot help, and that is the gap habeas fills. We explain the practical side in no bond after entering without inspection.
The federal appeals courts have split sharply. As of the CLINIC circuit tracker updated September 11, 2026, nine circuits have rejected the government’s reading and two have adopted it.
| Position | Circuits | What it means for a bond hearing |
|---|---|---|
| Rejects the government’s reading | First, Second, Third, Fourth, Sixth, Seventh, Ninth, Tenth, Eleventh | People who entered without inspection generally fall under § 1226(a) and can ask an immigration judge for bond |
| Adopts the government’s reading | Fifth (Texas, Louisiana, Mississippi) and Eighth | Statutory bond arguments generally fail; constitutional habeas claims remain available |
In the Fifth Circuit, a July 2026 panel decision requiring bond hearings after 90 days was vacated when the full court agreed to rehear the case; the en banc argument was scheduled for September 24, 2026. Until that court rules, Fifth Circuit petitions rely on constitutional arguments rather than the statute. Petitions asking the Supreme Court to settle the statutory question, including Rhoney v. Barbosa da Cunha, No. 26-104 and Putra v. Lopez-Campos, No. 25-1415, were distributed for the Justices’ September 28, 2026 conference, and the new term opens October 5.
Until then, the same facts can produce different answers in different parts of the country. For circuit-level detail, see our analyses of Fifth Circuit bond rulings, Third Circuit detention factors in New Jersey and Fourth Circuit prolonged detention in Virginia.
Who Can File, Including for Someone Else
The petition belongs to the detained person. But someone in a detention center often cannot gather documents, sign filings or reach a court. Federal practice allows a “next friend” to file on their behalf: usually a spouse, parent, adult child, sibling or close friend who is acting in the detained person’s interest and can explain to the court why that person cannot file directly.
In practice, a wife in New Jersey can start a federal case for a husband held in Louisiana, and the clock does not have to wait for the detained person to organize litigation from inside.
A detained person can also file without a lawyer, pro se. Courts accept those petitions, and several legal aid organizations publish templates. We have written about the problems that come up with pro se habeas petitions, because a weak filing can waste the strongest facts a family has.
When Habeas Is the Right Tool
Habeas is not a general-purpose remedy. It works when something has gone wrong with the custody decision itself. These are the situations where it is most often the right move, each linked to a fuller explanation.
| Situation | What the petition argues | Read more |
|---|---|---|
| Held six months or longer without resolution | Detention has become unreasonable without meaningful individualized review | Prolonged detention |
| Bond denied, or no bond hearing offered at all | The immigration court has not provided the custody review due process requires | Denied bond hearings |
| Labeled a “mandatory detention” case | The statute was applied to facts it does not actually cover | Mandatory detention challenges |
| ICE is moving, or has moved, your loved one out of state | The transfer cuts off counsel and family and may itself cause harm | Stopping ICE transfers |
| No interpreter, refused evidence, a hearing that was not a real hearing | The process that produced the custody decision violated due process | Due process violations |
| Re-detained at a check-in after years of compliance | Re-detention was not lawfully authorized on these facts | Unlawful re-detention |
| Still detained after a final removal order that cannot be carried out | Removal is not reasonably foreseeable, so continued custody is unlawful | Habeas after a final order |
| Detained after an adjustment of status denial | Custody rests on a status determination that is itself contestable | AOS denial and detention |
Two facts strengthen almost every one of these: length of detention and a record of compliance. A person who reported to every check-in for years, holds a work permit and has a pending application looks very different to a federal judge than the government’s filings usually suggest. Our Afghan client detained at a routine check-in obtained a federal order for a bond hearing within five business days.
When Habeas Is the Wrong Tool
Most guides skip this section. It is the one that saves families money.
- To change immigration status. Habeas cannot grant asylum, approve a green card or fix a denied petition. Those belong to USCIS, the immigration court or an appeal.
- To overturn a removal order. Federal district courts generally cannot review the validity of a removal order in habeas. The petition challenges custody, not the order itself.
- To reopen a fast-track (expedited) removal decision. Congress sharply limited habeas review of expedited removal, and the Supreme Court upheld those limits in DHS v. Thuraissigiam (2020).
- When a bond hearing is actually available and has not been tried. If the immigration judge can set bond and no one has asked, that is usually the faster and cheaper path first.
- When detention has just begun and nothing has gone wrong yet. A petition filed on day three with no legal defect and no unusual facts often has little to work with. The exception is custody that is unlawful from day one, such as a no-bond ruling built on a disputed reading of the statute.
- As a way to stop a deportation that is otherwise lawful. Habeas is not a stay of removal, and it should never be sold as one.
If someone quotes a fee without first asking how long your loved one has been detained, whether a bond hearing was held and what the immigration judge said, be careful. Those three answers decide whether habeas fits at all. For how habeas differs from the appeal track, see habeas corpus vs. appeal.
Not sure whether habeas is the right tool in your case?
Send us the A-Number and the facility name. We will tell you which federal district has jurisdiction, whether the timing works, and whether a different route would be faster, at no cost and with no obligation.
The Legal Foundations: § 2241, § 2243 and Zadvydas
28 U.S.C. § 2241: the authority
Section 2241 gives federal courts the power to hear habeas petitions from people in custody, including immigration custody. We explain it in depth in our guide to § 2241 petitions.
28 U.S.C. § 2243: the clock
Section 2243 is the provision families should know about and almost never hear mentioned. It sets a fast schedule: the judge must act “forthwith,” the government’s response is due within three days (extendable for good cause to no more than twenty), and a hearing is to be set no more than five days after that response.
District courts often set longer schedules by local rule or standing order, so the statute is a floor to argue from rather than a guarantee. It is why a well-drafted petition asks for expedited consideration and explains why delay causes harm.
Zadvydas v. Davis: the six-month principle
In Zadvydas v. Davis, the Supreme Court held that the government cannot detain a person with a final removal order indefinitely. About six months is treated as the presumptively reasonable period; beyond that, if removal is not reasonably foreseeable, continued detention becomes unlawful. This is the backbone of post-order cases, particularly where a home country will not issue travel documents. See our pages on the six-month rule and the evidence that shows removal is not foreseeable.
Zadvydas does not mean everyone is released at six months. It means that after six months the burden shifts, and the government has to show removal is actually going to happen.
Prolonged detention: the question the Supreme Court left open
Zadvydas applies after a final order. For people still in removal proceedings, the Supreme Court held in Jennings v. Rodriguez (2018) that the detention statutes do not themselves require periodic bond hearings, but it did not decide whether the Constitution eventually does. Lower courts have filled that gap with case-by-case tests. The Court agreed in June 2026 to answer the question in Genalo v. Black, then dismissed that case as moot on September 11; on September 21 the government filed a replacement petition, reported by SCOTUSblog, asking the Court to take up the issue this term.
Where You File, and Why It Can Change Overnight
A habeas petition is filed in the federal district court that covers the place where the person is physically detained, not where the family lives, not where the immigration case is docketed, and not where the lawyer’s office is. Someone held in New Jersey is a case for the District of New Jersey. Someone held in rural Louisiana is a case for a Louisiana district court, whatever the family’s address. The petition names the official with day-to-day custody, usually the facility’s warden, under the immediate-custodian rule of Rumsfeld v. Padilla.
This is why transfers matter so much. When ICE moves a detainee across state lines, the district changes, the governing appeals court may change, and with it the law that applies to the same facts. A move from New Jersey (Third Circuit) to Louisiana (Fifth Circuit) can take a bond argument that is winning and place it where it currently is not. We cover the mechanics in stopping an ICE transfer to another state and where to file habeas after a transfer has happened.
The first practical step is knowing where your loved one is. Our resource on finding someone in ICE detention walks through the locator, and what an A-Number is explains the one piece of information that makes everything else possible. You can also see the states we cover.
What the Process Actually Looks Like
| Step | What happens | Typical timing |
|---|---|---|
| 1. Urgent review | Detention history, court history and immediate risks are assessed. | Same day to 48 hours |
| 2. Records | ICE paperwork, immigration court records, bond history, family evidence. | 1 to 5 days |
| 3. Drafting | Facts, legal argument, exhibits, requested relief. | 1 to 5 days; hours in an emergency |
| 4. Filing and service | Filed in the correct district; the U.S. Attorney is served. | Same day the petition is complete |
| 5. Order to show cause | The court orders the government to justify the detention in writing. | 3 to 20 days under § 2243; often longer in practice |
| 6. Decision | Most cases are decided on the papers; some get an oral hearing. | Varies by district and judge |

Some cases never reach a ruling, because the government reassesses its position once it has to justify the detention in writing to an Article III judge. That is not a loophole; it is the mechanism working. For the full step-by-step, see how to file a habeas petition for ICE detention and what to expect at a habeas corpus hearing.
Because this is federal litigation rather than an immigration court filing, it calls for someone who practices in U.S. district court. Our firm page explains who handles these petitions and the federal districts where we file.
What Outcomes Are Realistic
There are four realistic endings, and it is worth knowing all of them before you start.
- Direct release, sometimes with conditions such as supervision or GPS monitoring.
- An ordered bond hearing, with the court directing the immigration court to hold one within a set number of days. This is frequently the realistic win, which is why it helps to understand how a habeas petition can win a bond hearing.
- A narrower order, such as a bar on transfer or a requirement that the government act within a deadline.
- Denial. If the court finds the detention lawful on these facts, the petition fails.
The honest range is visible in our own files. In New Jersey, a petition filed within three days of detention was followed within days by release on a $7,000 bond. A Honduran asylum seeker whose immigration judge said he lacked authority to set bond was released on the $1,500 statutory minimum. A client in Tacoma who had already won withholding of removal spent thirteen months in custody before a federal judge ordered his release. All of it is on our case results page.
A grant is not the last step. Families should know what happens after habeas is granted and what to do if ICE does not comply with a release order.
Prior results do not guarantee a similar outcome. Anyone quoting a success rate for your specific case is quoting a number they cannot know; our look at habeas success-rate data explains why national figures vary so widely.
What It Costs and How Long It Takes
The federal filing fee for a habeas petition is $5, set by 28 U.S.C. § 1914(a). A person who cannot pay can ask the court to waive it under the in forma pauperis statute, 28 U.S.C. § 1915. Filing is cheap; the work is not.
Attorney fees reflect federal litigation prepared under time pressure. Our petitions start at around $5,000 as a written flat fee, with emergency filings and contested litigation quoted case by case.
Whether the government can be made to repay those fees is now before the Supreme Court. The Second, Third and Tenth Circuits have allowed fee awards under the Equal Access to Justice Act in immigration habeas cases; the Fourth and Fifth Circuits have not. The Court agreed on June 29, 2026 to decide the question in Montoya Palacios v. Liggins, No. 25-1223. Our full breakdown, including the day-by-day timeline, is in habeas corpus cost and timeline.
What Families Should Do in the First 48 Hours
Much of what determines whether a habeas petition is strong happens before a lawyer is involved. These are the things worth doing immediately.
- Find the A-Number and the facility. Without these, nothing else can start. See finding someone in ICE detention.
- Photograph every piece of paper. The Notice to Appear, any bond decision, custody forms, check-in records and transfer notices.
- Write down the dates. Date of arrest, date of any hearing, and what the immigration judge said about bond, in the judge’s words.
- Gather proof of ties. Employment, tax records, children’s school records, medical needs and community letters.
- Act on any sign of a transfer. If a facility says your loved one is being moved, treat it as an emergency; see our ICE transfer checklist for families.

Our full walkthrough is in the first 24 hours after an ICE arrest and what to do if your loved one is detained by ICE. More background material is collected in our resources section.
Habeas Corpus for ICE Detention: Guides by Situation
This page is the overview. Each guide below goes deeper into one situation.
Understanding the law
- 28 U.S.C. § 2241 explained
- The six-month rule in ICE detention
- Matter of Yajure Hurtado and bond denials
- Can habeas corpus be suspended in 2026?
Filing and the federal court
- How to file a habeas petition for ICE detention
- What to expect at a habeas corpus hearing
- Where to file after an ICE transfer
- Habeas corpus vs. appeal
Specific detention situations
- Re-detained at an ICE check-in
- Detained with a valid work permit
- No bond because of a criminal record
- Mandatory detention after release from criminal custody
- When you cannot locate a loved one after a transfer
After the judge rules
Facilities and regions
- Stewart Detention Center, Georgia
- Delaney Hall, Newark
- Tacoma and the Western District of Washington
- Evidence for Texas ICE habeas cases
Frequently Asked Questions
Is habeas corpus the same as a bond hearing?
No. A bond hearing takes place before an immigration judge inside the immigration system. A habeas petition is filed in federal district court before a federal judge who is independent of that system. Habeas is most often used when the immigration court has failed to provide a remedy, because bond was denied or the judge said they lack jurisdiction to consider it at all.
Is a writ of habeas corpus the same as a habeas petition?
Not exactly. The petition is what the detained person or a next friend files. The writ is the court’s order, and “granting the writ” means the judge has ordered relief, such as release or a bond hearing. In everyday use the two terms are often mixed together.
Can I file for my husband, wife or child who is detained?
Yes, in most cases. A petition can be brought on a detained person’s behalf by a next friend, usually a close family member, where the detained person cannot realistically file for themselves. The court will want to understand your relationship and why they cannot file directly.
Does habeas corpus apply to undocumented immigrants?
Yes. The constitutional protection applies to every person on U.S. soil regardless of immigration status. It is not limited to citizens or to people with lawful status.
Can habeas corpus stop a deportation?
Generally no, and be cautious of anyone who says otherwise. Habeas challenges the lawfulness of detention, not the removal order. Stays of removal are a separate remedy, sought through different channels.
Can I challenge ICE detention even if my case has a final deportation order?
Yes. Under the Supreme Court’s decision in Zadvydas v. Davis, detention after a final order cannot continue indefinitely when removal is not reasonably foreseeable. If ICE has been unable to carry out removal after roughly six months, that is a recognized basis for a petition challenging continued custody.
Does habeas still work in Texas and Louisiana?
Yes, but it is harder. Both states are in the Fifth Circuit, which has adopted the government’s mandatory detention reading, so statutory bond arguments generally fail there. Petitions based on due process, prolonged detention or a removal that is not reasonably foreseeable remain available, and the full Fifth Circuit is reconsidering the constitutional question.
How long does the government have to respond?
Under 28 U.S.C. § 2243 the return is due within three days, extendable to twenty for good cause, with a hearing set no more than five days after. Many district courts set longer schedules by local order, so treat the statutory clock as a floor to argue from rather than a promise.
Is a habeas petition public?
Generally yes. Federal court filings do not carry the confidentiality that protects asylum files. In immigration detention cases, Federal Rule of Civil Procedure 5.2(c) limits remote public access to the full file, but the docket and the judge’s orders remain viewable online. Some districts identify petitioners only by first name and last initial.
Does filing habeas guarantee release?
No. Federal judges decide each petition on its own facts, and a court that finds the detention lawful will deny it. The strength of a petition lies in the record: how long the person has been held, and why the government’s justification for continued custody no longer holds.
Federal Court May Be the Remaining Path
Habeas corpus will not fix an immigration case, and it is not the right tool for every detention. But when a loved one has been told “no bond,” or has been held for months with nothing moving, it takes the custody question to a judge outside the immigration system. Every case starts the same way: confirm the facility and the A-Number, collect every document, and find out which federal district and circuit cover that facility. That last answer shapes everything that follows.
A federal judge is not bound by the immigration court’s answer.
Is a loved one in ICE detention?
Time is critical. A habeas corpus petition can be a powerful tool to challenge unlawful detention. Reach out to us now. We review ICE detention cases nationwide under 28 U.S.C. § 2241, and the initial assessment is free.
Phone: +1 (862) 799-2200
Email: info@gozellaw.com
Legal Disclaimer
This article is provided for general informational purposes only and does not constitute legal advice. Every immigration case has unique circumstances. For legal guidance specific to your situation, we recommend consulting with an experienced immigration attorney. The information in this article reflects laws and policies as of the publication date; subsequent changes may affect its accuracy.
Sources reviewed as of September 28, 2026. Prior results do not guarantee a similar outcome. Fee figures are starting points, not quotes.
Sources
- The Constitution of the United States: A Transcription, National Archives; accessed September 28, 2026.
- 28 U.S.C. § 2241, Power to Grant Writ, Cornell Legal Information Institute; accessed September 28, 2026.
- 28 U.S.C. § 2243, Issuance of Writ; Return; Hearing; Decision, Cornell Legal Information Institute; accessed September 28, 2026.
- 28 U.S.C. § 1914, District Court; Filing and Miscellaneous Fees, Cornell Legal Information Institute; accessed September 28, 2026.
- Zadvydas v. Davis, 533 U.S. 678 (2001), Cornell Legal Information Institute.
- Department of Homeland Security v. Thuraissigiam, 591 U.S. 103 (2020), Supreme Court of the United States, June 25, 2020.
- A Circuit Split Ripe for Review: Mandatory Detention Under INA § 235(b)(2)(A), Catholic Legal Immigration Network (CLINIC), updated September 11, 2026.
- Noncitizen Detention Circuit Split Is Built for Supreme Court, Bloomberg Law, August 25, 2026.
- Trump Administration Takes Important Immigration Question Back to the Supreme Court, SCOTUSblog, September 22, 2026.
- Montoya Palacios v. Liggins, No. 25-1223, Question Presented (cert. granted June 29, 2026), Supreme Court of the United States.
Every day in detention is a day away from your family.
If the immigration system has failed you, federal court may be the only answer. Let us review your case for free.
Get a Free Case Evaluation