Nearly 60,000 people are currently held in U.S. Immigration and Customs Enforcement (ICE) custody, and the number detained for over a year has roughly doubled in the last six months, according to NPR reporting from April 2026. Families are turning to a centuries-old legal tool most had never heard of before: the habeas petition. If you are reading this because someone you love was just detained, you are not alone. This guide explains, in plain English, what the petition is, who can file one, what the federal court can do, and what to realistically expect in the weeks that follow.
In This Article
- What Exactly Is a “Habeas Petition”?
- Who Can File One for an ICE Detainee?
- What a Habeas Petition Actually Requests from the Court
- Federal vs. State Habeas — Which Applies to ICE Custody?
- How Long Does It Take? A Typical Timeline
- What Happens If the Petition Is Granted
- Common Misconceptions to Avoid
- What This Means for Your Family Right Now

What Exactly Is a “Habeas Petition”?
“Habeas corpus” is Latin for “you shall have the body.” For more than eight hundred years, it has meant the same thing in practice: a court order that forces the government to bring a detained person before a judge and justify, with legal reasoning, why that person is being held. A habeas petition is simply the written request that asks the court to issue that order.
In the ICE detention context, the petition is a civil lawsuit filed in federal district court under 28 U.S.C. § 2241. It does not challenge the detainee’s immigration status, their asylum claim, or whether they can ultimately stay in the United States. It challenges one narrow but critical question: is the government’s decision to keep this person locked up right now legal?
The right is enshrined in Article I, Section 9 of the U.S. Constitution, and it applies to anyone physically held by the U.S. government — regardless of citizenship, immigration status, or criminal history. That is why it has become the primary legal tool for families whose loved ones have been denied bond hearings, classified under disputed mandatory detention rules, or held for months without a clear path forward.
Who Can File One for an ICE Detainee?
This is usually the most urgent question families ask, because the detainee is rarely in a position to file anything themselves. Federal law recognizes three routes.
The Detainee Themselves
The detained person is the default petitioner. In theory, they can prepare and sign their own petition from inside a detention facility. In practice, language barriers, restricted access to legal materials, limited phone and mail privileges, and the real risk of being transferred to another state mid-filing make this route difficult without outside help.
Family Members as “Next Friend”
When a detainee cannot reasonably file on their own behalf, federal law allows a close relative or trusted person to step in as a “next friend.” A November 2025 decision from the District of New Jersey applied the well-established two-part test from the Supreme Court’s decision in Whitmore v. Arkansas: the next friend must adequately explain why the detainee cannot appear personally (such as inaccessibility or detention itself), and must have a significant, dedicated relationship with the detainee. The court noted that next-friend standing is “by no means granted automatically” (Ruiz Perez, D.N.J. 2025). A spouse, parent, adult child, or sibling typically qualifies; a distant acquaintance usually does not.
Attorneys Acting on Behalf
In most effective cases, an immigration or federal litigation attorney files the petition on behalf of the detainee. Attorneys can draft the petition quickly, identify the correct federal district, respond to the government’s arguments, and appear at any hearing the court orders. Given that ICE frequently transfers detainees across state lines within the first days of custody, speed matters — and an attorney who is already retained and familiar with the case can often file within 24 to 48 hours of detention.

What a Habeas Petition Actually Requests from the Court
There is widespread confusion on this point, so it is worth being precise. A habeas petition does not ask the federal judge to grant asylum, reverse a removal order, cancel deportation proceedings, or decide whether the detainee can legally remain in the United States. Those are separate legal tracks handled by immigration court and, on appeal, the circuit courts.
What the petition actually requests is much narrower: a determination that the detention itself is unlawful, and an order for one of a handful of specific remedies — release from custody, a bond hearing before an immigration judge, a halt on a pending transfer to another state, or a ruling that a particular mandatory-detention classification does not apply to this person. Once that narrow question is resolved, the underlying immigration case continues on its own track.
Federal vs. State Habeas — Which Applies to ICE Custody?
Many states have their own habeas procedures for people held in state prisons or county jails. But ICE detention is federal custody, carried out under federal immigration statutes, even when the physical facility is a contracted county jail. That means a habeas petition challenging ICE detention is filed in the United States District Court for the federal district where the detainee is physically held — not in state court and not in immigration court.
This rule has practical consequences. If ICE moves your family member from a facility in New Jersey to one in Louisiana, the proper federal district also shifts. Filing quickly, before a transfer, is often the difference between keeping the case in a favorable circuit and losing that advantage.
How Long Does It Take? A Typical Timeline
Federal habeas is built for speed compared to immigration court, but “fast” is relative. Once filed, the court typically orders the government to respond within 3 to 20 days. The government’s response lays out why it believes the detention is lawful. The petitioner then gets a chance to reply. If the judge decides the case warrants an evidentiary hearing, it is usually scheduled within a few weeks.
In practice, most ICE habeas cases reach a decision within 30 to 90 days of filing, though complex matters and overloaded dockets can stretch this. Volume matters too. ProPublica reported in February 2026 that immigrant detainees have filed more than 18,000 habeas petitions since early 2025 — more than in the previous three administrations combined — with filings currently averaging over 200 per day nationwide. Some federal courts are under real strain, which can affect how quickly any individual case moves.

Is your loved one already past these timelines? Every week of unnecessary detention narrows your legal options, especially if a transfer is on the horizon. We offer a free case review to determine whether a habeas petition fits your family’s situation — call (862) 799-2200 or email info@gozellaw.com.
What Happens If the Petition Is Granted
Federal judges who grant these petitions typically issue one of two orders. The more common outcome is an order directing the government to provide the detainee with a bond hearing before an immigration judge, often within a specific number of days. The rarer but more powerful outcome is an order for immediate release, which usually happens when the court finds that ICE had no lawful authority to detain the person in the first place — for example, in mandatory detention misclassifications where the underlying statute was never properly applied.
The trend in 2026 has been favorable to detainees. A large majority of federal judges ruling on these petitions have sided with the immigrant petitioner, with hundreds of rulings ordering bond hearings or release. In the Western District of Texas alone, filings jumped from 759 in 2025 to a pace that would exceed 2,800 in 2026, with many detainees granted bond hearings or outright release.
Common Misconceptions to Avoid
Because habeas petitions have moved so quickly from an obscure tool to a high-volume remedy, a lot of secondhand information is circulating. A few clarifications are worth keeping in mind.
- A habeas petition is not an appeal. It does not challenge an immigration judge’s ruling or a removal order. It only challenges the legality of the current detention.
- U.S. citizenship is not required. The constitutional right to habeas corpus applies to every person held by the U.S. government. Immigration status does not bar the remedy.
- You do not always need to wait six months. Many families are told the detainee must be held for six months before any federal challenge is possible. That timeline applies to certain specific arguments about prolonged detention — but other grounds, such as an improper denial of a bond hearing or a disputed mandatory-detention classification, can be raised immediately.
- Filing is not an admission of anything. It does not affect the underlying immigration case, does not waive any defenses, and does not create grounds for removal.
- Habeas cannot challenge conditions outside detention itself. Asylum eligibility, cancellation of removal, and denials of green card applications are separate legal tracks. For more on these limitations, see the Florence Immigrant & Refugee Rights Project’s habeas guide.
What This Means for Your Family Right Now
Habeas is a constitutional remedy — not a guarantee, not a shortcut, and not a substitute for the underlying immigration case. But in the current environment, it has become one of the most effective ways for families to challenge detention that appears to be prolonged, misclassified, or procedurally unfair. The earlier a petition is filed, the more options remain open. If your loved one has been detained for weeks without a bond hearing, has been held despite a claim of lawful status, or is at risk of transfer, the window for filing is now, not later. Prolonged detention cases in particular benefit from quick action by counsel familiar with the federal habeas process. Our habeas corpus practice focuses exclusively on this kind of federal litigation.
Is a loved one in ICE detention? Time is critical. A habeas corpus petition can challenge unlawful detention. Reach out at (862) 799-2200 or info@gozellaw.com for a free case evaluation.
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
- Pratheek Rebala, Jeff Ernsthausen, and Perla Trevizo, “Habeas Petitions Filed in Second Trump Term Hit Historic High,” ProPublica / Texas Tribune, February 10, 2026.
- Jasmine Garsd, “More immigrants are being held in detention for over a year. NPR followed one family’s ordeal,” NPR, April 22, 2026.
- Robert Moore, “Texas courts swamped with record number of challenges to immigration detention,” El Paso Matters, February 1, 2026.
- United States Code, 28 U.S.C. § 2241 — Power to grant writ,” Legal Information Institute, Cornell Law School.
- District Court Opinion, Ruiz Perez v. Warden, Delaney Hall Detention Center, D.N.J., November 14, 2025 (applying next-friend standing doctrine to ICE habeas).
- Florence Immigrant & Refugee Rights Project, “How to Get Out of Detention with a Petition for Habeas Corpus,” FIRRP self-help guide.
- Anne Gonzales, “ICE detainees seek freedom using medieval legal idea and 16-year-old website,” Public Source, April 2026.
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