Back to Blog
Deportation Defense

Habeas Corpus in Immigration Detention: How to Challenge ICE Custody in Federal Court

If your family member has been in ICE detention for months with no bond hearing and no end in sight, habeas corpus may be the answer. This guide explains how to challenge immigration detention in federal court under 28 U.S.C. § 2241, the six-month rule from Zadvydas v. Davis, and why federal courts are granting habeas petitions at historic rates in 2026.

Joshua E. BardavidApril 10, 202618 min readUpdated April 11, 2026

Your Family Member Has Been in ICE Detention for Months. There Is a Way to Fight Back.

Someone you love was taken by ICE. Maybe it was weeks ago. Maybe it was months ago. You were told there would be a hearing, that things would move forward, that someone would review the case. But nothing has happened. Your husband, your mother, your son sits in a detention facility with no court date, no bond hearing, and no end in sight. You call the detention center and get nothing. You call the lawyer and hear there is nothing to do but wait. You search the internet at 2am looking for answers and find legal jargon that makes your head spin.

Here is the answer you have been looking for: habeas corpus. It is a legal tool, rooted in the United States Constitution, that allows a federal judge to examine whether the government has the legal authority to keep your family member locked up. It does not go through immigration court. It goes directly to a U.S. District Court judge, an independent federal judge with the power to order release. And it is being used right now, across the country, to free people from prolonged ICE detention.

This guide explains what habeas corpus is, when it applies, how it works, and why waiting is the worst thing you can do.

What Is a Writ of Habeas Corpus?

Habeas corpus is Latin for "you shall have the body." It is one of the oldest legal protections in the English-speaking world, dating back to the Magna Carta of 1215. In American law, it is enshrined in Article I, Section 9 of the Constitution, which states that the privilege of the writ of habeas corpus shall not be suspended unless required by public safety in cases of rebellion or invasion.

In practical terms, a habeas corpus petition is a filing in federal court under 28 U.S.C. § 2241 that challenges the lawfulness of a person's detention. It asks a federal judge one fundamental question: does the government have the legal right to hold this person? If the answer is no, the judge can order immediate release.

This matters enormously in immigration cases because immigration courts are not part of the judicial branch. They are administrative courts within the Department of Justice, the same executive branch that is detaining you. Habeas corpus moves the case into a federal district court, where an independent Article III judge reviews whether the government is following the law and the Constitution.

Habeas Corpus Petitions at Bardavid Law

Bardavid Law files habeas corpus petitions under 28 U.S.C. § 2241 in federal district courts on behalf of individuals held in prolonged ICE detention. Our office has handled habeas cases for clients detained for months without bond hearings, for individuals held beyond the six-month presumptive period established by the Supreme Court, and for people whose detention has no foreseeable end because their countries of origin will not accept their return. With over 20 years of immigration law experience, attorney Joshua Bardavid understands that habeas corpus is not just a legal filing. It is often the last and best chance to get someone out of a cage.

When Can You File a Habeas Corpus Petition in Immigration Cases?

Habeas corpus is not the right tool for every situation, but it applies to a wide range of immigration detention scenarios. Understanding when it applies is the first step.

Prolonged Detention Without a Bond Hearing

If someone has been detained by ICE for months and has never been given a bond hearing, or was denied a bond hearing because the immigration judge said they lacked jurisdiction, a habeas petition can challenge that detention as a violation of due process. Under the Fifth Amendment, the government cannot hold someone indefinitely without giving them a meaningful opportunity to argue for release before a neutral decision-maker. Many people detained under INA § 235(b) or INA § 236(c) are told by immigration courts that they have no right to a bond hearing. A habeas petition takes that question to federal court, where the constitutional analysis is different and more protective.

Detention Beyond Six Months with No Removal in Sight

The Supreme Court established a critical rule in Zadvydas v. Davis, 533 U.S. 678 (2001): when the government cannot actually carry out a deportation, it cannot hold someone indefinitely. The Court held that six months is the presumptively reasonable period of detention for someone who has received a final order of removal. After six months, if the detained person can show there is no significant likelihood of removal in the reasonably foreseeable future, the burden shifts to the government to prove that removal is still feasible. If the government cannot make that showing, the person must be released. This applies to people from countries that refuse to accept deportees, people who are stateless, people whose travel documents have been repeatedly denied, and anyone else the government simply cannot remove despite holding a removal order.

Mandatory Detention Challenges

The Laken Riley Act, signed into law on January 29, 2025, dramatically expanded mandatory detention under INA § 236(c). Under this law, people can be detained without bond based solely on an arrest or charge for certain offenses, including theft, shoplifting, and burglary, even before any conviction. The law applies even to people with legal status, including DACA recipients and TPS holders. When the government detains someone under mandatory detention provisions and refuses to provide a bond hearing, habeas corpus is the mechanism to challenge whether the mandatory detention statute is being properly applied, whether the government's interpretation violates due process, or whether the prolonged nature of the detention has become unconstitutional.

Conditions of Confinement

Habeas petitions can also challenge the conditions of detention. With the ICE detained population reaching over 70,000 people by January 2026, an increase of more than 75 percent in one year, facilities are overcrowded, understaffed, and increasingly dangerous. In 2025 alone, 33 people died in ICE custody, the highest number in over two decades, and 2026 is on track to equal or exceed that figure. When detention conditions are so egregious that they amount to punishment, a constitutional violation, habeas corpus provides a path to federal court review.

The Six-Month Rule: Zadvydas v. Davis Explained

Zadvydas v. Davis, 533 U.S. 678 (2001) is the single most important Supreme Court case for anyone challenging prolonged immigration detention. Understanding it is essential.

Kestutis Zadvydas was born in a displaced persons camp in Germany to Lithuanian parents. He was a lawful permanent resident of the United States who was ordered deported after criminal convictions. But neither Lithuania nor Germany would accept him, and the Dominican Republic, where his wife held citizenship, also refused. The government held him in detention for years with no prospect of actually removing him.

The Supreme Court, in a 5-4 decision written by Justice Breyer, held that the post-removal-period detention statute, INA § 241(a)(6), does not authorize indefinite detention. The Court read the statute in light of the Constitution's Due Process Clause and found that Congress did not intend to permit holding someone forever when removal is not reasonably foreseeable. The Court established six months as the presumptive period of reasonable detention.

After six months, the analysis works like this: the detained person must provide good reason to believe that there is no significant likelihood of removal in the reasonably foreseeable future. This could mean their country of origin does not accept deportees, travel documents have been denied, diplomatic relations have broken down, or the person is stateless. Once the detained person makes this showing, the burden shifts to the government to rebut it with evidence that removal is, in fact, likely. If the government cannot make that showing, the person must be released under supervision.

Zadvydas remains good law in 2026 and has been used in thousands of successful habeas petitions. However, the government frequently argues that removal is still foreseeable even in situations where it has been trying and failing for months or years. This is why having an experienced attorney who can build the factual record is critical.

Jennings v. Rodriguez: What It Changed and What It Did Not

In Jennings v. Rodriguez, 583 U.S. 281 (2018), the Supreme Court reversed a Ninth Circuit decision that had required bond hearings every six months for people in mandatory detention. The Court held, in a 5-3 decision written by Justice Alito, that the text of the immigration detention statutes does not include a right to periodic bond hearings.

This was a significant setback, but it did not eliminate habeas corpus as a remedy. Jennings was decided on statutory grounds, not constitutional grounds. The Court did not reach the question of whether the Due Process Clause of the Fifth Amendment requires bond hearings after prolonged detention. That constitutional question remains open and is being litigated in federal courts across the country. Many district courts continue to order bond hearings for people in prolonged detention based on constitutional due process principles, even after Jennings.

The practical takeaway: if you or a family member is in prolonged mandatory detention and has been denied a bond hearing, Jennings does not mean the fight is over. It means the fight happens in federal court, through a habeas petition, on constitutional grounds.

How a Habeas Corpus Petition Works: Step by Step

Step 1: Determine Jurisdiction and Venue

A habeas petition under 28 U.S.C. § 2241 is filed in the federal district court in the district where the person is detained. If your family member is held at a detention facility in New Jersey, you file in the District of New Jersey. If they are at a facility within the Southern District of New York, you file in the SDNY. The respondent, the person you are suing, is typically the warden or facility administrator and the Director of ICE. The filing fee is $5.00, set by statute, and can be waived for indigent petitioners.

Step 2: Draft the Petition

The petition must identify the petitioner, the respondent, the legal basis for the challenge, and the facts supporting the claim. It should describe how long the person has been detained, what proceedings have occurred, whether bond was requested and denied, whether removal is feasible, and what constitutional rights have been violated. Supporting evidence can include detention records, immigration court orders, correspondence with consulates showing refusal to issue travel documents, and any other evidence demonstrating that the detention is unlawful.

Step 3: File and Serve

Once filed, the court typically orders the government to respond, often within 14 to 30 days. There is no statutory exhaustion requirement for habeas petitions under 28 U.S.C. § 2241, which means you do not have to go through the BIA or complete administrative appeals before filing. This is different from many other areas of immigration law and is one of the key advantages of habeas corpus.

Step 4: Government Response and Hearing

The government files a return, which is its response to the petition. The court may hold an evidentiary hearing or decide the case on the papers. If the court finds the detention unlawful, it can order the person released, order a bond hearing before an immigration judge within a specified timeframe (typically 7 to 21 days), or impose conditions of release. If the court orders a bond hearing, the government is typically required to justify continued detention by clear and convincing evidence, placing the burden on the government rather than the detained person.

Habeas Corpus in 2026: An Unprecedented Surge

The current enforcement landscape has made habeas corpus more important than it has been in decades. With over 70,000 people in ICE detention as of January 2026, record numbers of habeas petitions are being filed. In El Paso alone, federal courts received 759 habeas petitions in 2025, more than any previous year, and that record was broken in the first month of 2026. In the Western District of New York, 69 habeas petitions were filed in January 2026, with 68 related to immigration, and every single one was granted, resulting in either release or a bond hearing.

Nationally, the success rate has been remarkable. In a recent filing in the Southern District of New York, U.S. District Judge Lewis A. Kaplan noted that non-U.S. citizens have won their habeas petitions in 350 out of 362 cases in federal district courts. That is a success rate above 96 percent. The federal judiciary is sending a clear message: the government cannot lock people up and throw away the key.

This surge is driven by the expansion of mandatory detention, the elimination of bond eligibility for millions of non-U.S. citizens, and an enforcement posture that prioritizes detention over all other tools. For people caught in this system, habeas corpus is not a theoretical right. It is a practical, effective, and proven pathway to release.

Bond Hearings vs. Habeas Corpus: What Is the Difference?

Many families are confused about the difference between a bond hearing and a habeas corpus petition. They are fundamentally different proceedings in different courts, and understanding the distinction matters.

A bond hearing takes place in immigration court, which is part of the Executive Branch under the Department of Justice. An immigration judge decides whether the person is a flight risk or a danger to the community and sets a bond amount. Bond hearings are available to some people in detention, but not all. People in mandatory detention under INA § 236(c) or those processed under INA § 235(b) as arriving non-U.S. citizens may be told they are not eligible for a bond hearing at all.

A habeas corpus petition is filed in U.S. District Court, which is part of the Judicial Branch. A federal Article III judge reviews the case. This is an independent judge who does not answer to the Attorney General or the Department of Homeland Security. The habeas petition does not ask whether someone should get bond. It asks a more fundamental question: is the detention itself lawful? If the federal judge finds the detention unconstitutional, the judge can order release outright or order the immigration court to hold a bond hearing under constitutional standards, which often means the government bears the burden of proof by clear and convincing evidence.

The bottom line: when immigration court has closed its doors, federal court through habeas corpus can open them.

What to Do If Your Family Member Is in Prolonged ICE Detention

If someone you love has been in ICE detention for weeks or months with no movement in their case, do not wait and hope. Hope is not a legal strategy. Here is what you should do.

First, gather basic information. Find out where the person is detained, their A-number (alien registration number), how long they have been held, whether they have had any hearings, and whether bond has been requested and denied. You can locate a detained person using the ICE Online Detainee Locator System or by calling the detention facility directly.

Second, contact an immigration attorney who handles habeas corpus cases. Not every immigration attorney does this work. Habeas petitions are filed in federal court, not immigration court, and they require knowledge of constitutional law, federal civil procedure, and the specific standards that apply to immigration detention challenges. Ask specifically whether the attorney has experience with 28 U.S.C. § 2241 petitions.

Third, do not wait for the six-month mark. While Zadvydas established six months as the presumptive period for post-removal-order detention, you do not have to wait six months in every case. If the person was denied a bond hearing, if they are being held under a statute that does not authorize their detention, or if there are conditions-of-confinement issues, a habeas petition may be appropriate much sooner. The key question is always whether the detention is lawful, and that question can arise on day one.

Fourth, act fast. Every day in detention is a day your family member is separated from their life, their family, their work, and their community. Detention causes documented psychological harm, and the longer it continues, the worse the consequences. The legal system provides a remedy, but only if you use it.

Frequently Asked Questions About Habeas Corpus in Immigration

What does habeas corpus mean in immigration cases?

Habeas corpus in immigration means filing a petition in federal district court under 28 U.S.C. § 2241 to challenge the lawfulness of ICE detention. A federal judge reviews whether the government has the legal authority to hold the person. If the detention violates the Constitution or federal law, the court can order release or a bond hearing. It is a direct challenge to custody that bypasses the immigration court system entirely.

How long can ICE detain someone before they must be released?

There is no single answer, but the Supreme Court in Zadvydas v. Davis, 533 U.S. 678 (2001) established that six months is the presumptively reasonable period for post-removal-order detention. After six months, if the person can show there is no significant likelihood of removal in the reasonably foreseeable future, the government must either justify continued detention or release the person. For pre-removal-order detention, there is no bright-line rule, but federal courts increasingly find that detention lasting months without a bond hearing violates due process.

Do I need to exhaust administrative remedies before filing habeas corpus?

No. Unlike many other areas of immigration law, 28 U.S.C. § 2241 contains no statutory exhaustion requirement. You do not need to appeal to the BIA or complete other administrative steps before filing a habeas petition in federal court. This is one of the most important advantages of habeas corpus: you can go directly to federal court when constitutional rights are at stake.

What is the success rate of habeas corpus petitions in immigration cases?

Success rates have been remarkably high in 2025 and 2026. In a filing noted by U.S. District Judge Lewis A. Kaplan in the Southern District of New York, non-U.S. citizens won their habeas petitions in 350 out of 362 cases, a success rate exceeding 96 percent. In the Western District of New York, every immigration habeas petition filed in January 2026 was granted. Individual outcomes vary depending on the specific facts, but federal courts are clearly receptive to habeas challenges to immigration detention.

Can I file habeas corpus if my family member has a final order of removal?

Yes. In fact, one of the most common habeas claims arises after a final order of removal has been entered, when the government cannot actually carry out the deportation. Under Zadvydas, if the government has been unable to remove the person after six months and removal is not reasonably foreseeable, continued detention is unlawful. This applies to people from countries that refuse to accept deportees, stateless individuals, and anyone whose removal the government cannot realistically execute.

How much does filing a habeas corpus petition cost?

The federal court filing fee for a habeas petition under 28 U.S.C. § 2241 is $5.00, and it can be waived for people who cannot afford it. Attorney fees vary depending on the complexity of the case. At Bardavid Law, we provide honest assessments of what the case requires and work with families to make representation accessible. The cost of continuing to sit in detention, losing your job, missing your children growing up, deteriorating mentally and physically, is always greater than the cost of fighting.

What happens after a habeas petition is granted?

When a federal court grants a habeas petition, the most common outcomes are: the court orders the person released from detention, sometimes on conditions such as ankle monitoring or check-ins; or the court orders the government to provide a bond hearing before an immigration judge within a specified period, typically 7 to 21 days, with the burden of proof on the government. A granted habeas petition does not necessarily end the removal case itself, but it ends or changes the terms of the detention.

Stop Waiting. Start Fighting.

If your family member is sitting in ICE detention with no hearing scheduled, no bond granted, and no release date, you do not have to accept that. The Constitution provides a remedy. Federal courts are granting habeas petitions at historic rates. The legal tools exist and they work.

But they only work if you use them. Every day you spend hoping the situation will resolve itself, or searching the internet for answers, or calling a lawyer who tells you to wait, is a day your family member spends in a cell. Habeas corpus does not wait for the system to work. It forces the system to work.

Contact Bardavid Law today. We handle habeas corpus petitions in federal court for people in prolonged ICE detention. Attorney Joshua Bardavid has over 20 years of experience in immigration law and understands that when someone you love is locked up, you need a lawyer who will fight, not one who will tell you to be patient. Call (212) 219-3244 or visit bardavidlaw.com. Your case is not hopeless. It just needs someone willing to take it to federal court.

Written by

Joshua E. Bardavid

Immigration attorney at Bardavid Law, P.C. with years of experience helping clients navigate the U.S. immigration system.

Share:

Got a Letter You Don't Understand?

Stop Googling at 2am. Let's look at it together and figure out what it actually means.

Let's Talk About It