(+1) 862-799-2200
info@gozellaw.com
NJ · VA · Nationwide Representation
About Our Firm
Practice Areas
Prolonged Detention (6+ Months) Denied Bond Hearings Mandatory Detention Challenges Stopping ICE Transfers Due Process Violations Unlawful Re-detention General Immigration Locations The Process Success Stories Blog Get in Touch
A professional gavel on a law book with the text "Writ of Habeas Corpus" representing legal defense against ICE detention.

Published February 15, 2026 · Last updated August 20, 2026

If you are looking for a way to get someone out of ICE custody, you have probably come across the phrase habeas corpus. It sounds like something from a law school textbook. The idea behind it is not complicated at all: if the government is holding a person, that person has the right to stand in front of a judge and make the government explain why.

In 2026 this has stopped being a niche remedy. Federal district courts are receiving immigration habeas petitions in volumes not seen in decades, and they are granting a meaningful share of them. This guide explains what habeas corpus is, when it is the right tool, when it is the wrong one, what the process actually involves, and what it costs — written for the family member trying to make a decision, not for another lawyer.

What Habeas Corpus Actually Is

Habeas corpus is Latin for “you shall have the body.” Stripped of the Latin, it is a court order directed at whoever is holding a person, requiring them to bring that person before a judge and justify the detention. If the justification does not hold up, the judge can order release.

The right is written into the U.S. Constitution at Article I, Section 9, which says the privilege of the writ shall not be suspended except in cases of rebellion or invasion. It is not a benefit granted to citizens. It applies to every person on American 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, and most families learn it the hard way: habeas corpus challenges the detention, not the immigration case. It does not grant status, reopen a denied application, or cancel a removal order. What it asks is narrower and, in the right circumstances, more powerful: 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 centre to from home, with access to counsel, documents and family.

Why It Matters Right Now, in 2026

Habeas corpus has been available for centuries. What changed is the immigration system around it.

Detention capacity has expanded sharply, and at the same time the government has taken the position that large categories of people are not entitled to a bond hearing at all. The most consequential version of that argument is that anyone who entered the United States without inspection should be treated as an “applicant for admission” under one custody statute rather than another — which, on the government’s reading, removes the immigration judge’s authority to set bond entirely, no matter how many years the person has lived here.

When the immigration court cannot grant a bond hearing, the immigration court cannot help. That is the gap habeas fills, and it is why federal dockets are carrying so many of these petitions this year. Federal district judges are not part of the immigration system. They sit under Article III of the Constitution, they do not report to the Department of Homeland Security, and they have the authority to order a bond hearing or order release outright.

District courts have divided sharply on the government’s position, and so have the federal appeals courts. That means the same set of facts can produce different answers in different parts of the country — a point we return to under jurisdiction below, and one we cover in more detail in our analysis 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

This is the question families ask least often and need answered most.

The petition belongs to the detained person. But someone in a detention centre often cannot obtain documents, sign filings, or reach a court. Federal law and long-standing practice allow a petition to be brought on their behalf by a “next friend” — typically 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 for themselves.

In practice this means a wife in New Jersey can start a federal case for a husband held in Louisiana. It also means the clock does not have to wait for a detained person to somehow arrange their own litigation from inside.

A detained person can also file without a lawyer — pro se. Courts accept those petitions and several legal aid organisations publish templates for them. We have written separately about the problems that come up with pro se habeas petitions, because filing one badly 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.

SituationWhat the petition arguesRead more
Held six months or longer without resolutionDetention has become unreasonable without meaningful individualised reviewProlonged detention
Bond denied, or no bond hearing offered at allThe immigration court has not provided the custody review due process requiresDenied bond hearings
Labelled a “mandatory detention” caseThe statute was applied to facts it does not actually coverMandatory detention challenges
ICE is moving, or has moved, your loved one out of stateThe transfer cuts off counsel and family and may itself cause harmStopping ICE transfers
No interpreter, refused evidence, a hearing that was not a hearingThe process that produced the custody decision violated due processDue process violations
Re-detained at a check-in after years of complianceRe-detention was not lawfully authorised on these factsUnlawful re-detention
Still detained after a final removal order that cannot be carried outRemoval is not reasonably foreseeable, so continued custody is unlawfulHabeas after a final order
Detained after an adjustment of status denialCustody rests on a status determination that is itself contestableAOS 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 eight years, holds a work permit, and has a pending application presents a very different picture to a federal judge than the government’s filings usually suggest. Our Afghan client detained at a routine check-in was released in five days on exactly that record.

When Habeas Is the Wrong Tool

Very few firms write this section. It is the one that saves families money.

If someone quotes you a fee for a habeas petition 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 determine whether habeas is the right tool at all.

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.

28 U.S.C. § 2241 — the authority

Section 2241 is the statute that gives federal courts the power to hear habeas petitions from people in custody, including immigration custody. It is the provision cited at the top of essentially every immigration habeas petition filed in the United States. We explain it in depth in our guide to 28 U.S.C. § 2241.

28 U.S.C. § 2243 — the clock

Section 2243 is the provision families should know about and almost never hear mentioned. It sets a genuinely fast schedule: the judge must act “forthwith,” the government’s response is due within three days (extendable only for good cause and only to twenty), a hearing day is to be set no more than five days after that response, and the court is directed to “summarily hear and determine the facts.”

In practice, district courts often set longer briefing schedules by local rule or standing order, so this is a floor to argue from rather than a guarantee. But it is the reason a well-drafted petition asks for expedited consideration and explains precisely 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. Roughly 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 detention cases, particularly where a home country will not issue travel documents.

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.

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.

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 set of facts. A transfer can move a case from a circuit where the bond argument is currently winning into one where it 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

StepWhat happensTypical timing
1. Urgent reviewDetention history, court history and immediate risks are assessed.Same day to 48 hours
2. RecordsICE paperwork, immigration court records, bond history, family evidence.1–5 days
3. DraftingFacts, legal argument, exhibits, requested relief.1–5 days; hours in an emergency
4. Filing and serviceFiled in the correct district; the U.S. Attorney is served.Same day the petition is complete
5. Order to show causeThe court directs the government to justify the detention in writing.3–20 days under § 2243; often longer in practice
6. DecisionMost cases are decided on the papers; some get an oral hearing.Varies by district and judge

A number of 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.

What Outcomes Are Realistic

There are four realistic endings, and it is worth knowing all of them before you start.

The honest range is visible in our own files. A client in New Jersey was released within three days. A Honduran asylum seeker denied bond for lack of jurisdiction was released on a $1,500 minimum bond. A client in Tacoma who had already won withholding of removal spent thirteen months in custody before a federal judge ordered release. All of it is on our case results page.

Prior results do not guarantee a similar outcome. Any firm quoting you a success rate for your specific case is quoting a number it cannot know.

What It Costs and How Long It Takes

The federal filing fee for a habeas application is $5, set by statute, and it can be waived for someone who cannot pay. That surprises people. 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. Published figures across the industry in 2026 run roughly $3,000 to $15,000. Our full breakdown — including the day-by-day timeline and the circumstances in which the government can be made to pay your fees — is in habeas corpus cost and timeline.

What Families Should Do in the First 48 Hours

Most of what determines whether a habeas petition is strong happens before a lawyer is involved. These are the things worth doing immediately.

  1. Find the A-Number and the facility. Without these, nothing else can start. See finding someone in ICE detention.
  2. Photograph every piece of paper. The Notice to Appear, any bond decision, custody forms, check-in records, transfer notices.
  3. Write down the dates. Date of arrest, date of any hearing, what the immigration judge said about bond and in what words.
  4. Gather proof of ties. Employment, tax records, children’s school records, medical needs, community letters.
  5. Act on any sign of a transfer. If a facility says your loved one is being moved, that is 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.

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 — bond denied, or the judge saying they lack jurisdiction to consider it at all.

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 recognised basis for a petition challenging continued custody.

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.

What evidence is needed for a strong habeas corpus petition?

Documentation of how long detention has lasted; any bond or removal decisions; evidence that removal is not reasonably foreseeable, such as the absence of travel documents; records of compliance with ICE reporting; medical records where health is a factor; and evidence of family and community ties in the United States.

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

Time is the factor families underestimate. Every week in detention makes documents harder to obtain, contact with counsel harder to maintain, and the argument for urgency harder to make. If your loved one has been told “no bond,” or has been held for months with nothing moving, the immigration system has already given you its answer.

A federal judge is not bound by that answer.

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. We review ICE detention cases nationwide under 28 U.S.C. § 2241, at no cost for the initial assessment.

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, and reading it does not create an attorney-client relationship. Every immigration detention case has unique circumstances. Prior results do not guarantee a similar outcome. Case results described here are specific to the facts of those matters. Fee figures are indicative starting points, not quotes. The information here reflects laws and policies as of the last updated date; subsequent changes may affect its accuracy.


Sources

  1. U.S. Constitution, Article I, Section 9, National Archives.
  2. 28 U.S.C. § 2241 — Power to Grant Writ, Cornell Legal Information Institute.
  3. 28 U.S.C. § 2243 — Issuance of Writ; Return; Hearing; Decision, Cornell Legal Information Institute.
  4. 28 U.S.C. § 1914 — District Court Filing Fees, Cornell Legal Information Institute.
  5. Zadvydas v. Davis, Cornell Legal Information Institute.
  6. Habeas Corpus Definition, Cornell Wex Legal Encyclopedia.
  7. Habeas Corpus Cost and Timeline, My Habeas Lawyer.
  8. Habeas Corpus Case Results, My Habeas Lawyer.

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
Phone Number WhatsApp Get a Free Case Evaluation