The short answer

A habeas corpus petition asks a federal judge to decide whether ICE is holding someone lawfully. In 2025 and 2026 it became the main way many detained people got a bond hearing or release, because immigration judges stopped holding bond hearings for large groups.

  1. Move quickly. The petition is generally filed in the federal court where the person is held, and the law differs by region. A transfer can change which rules apply.
  2. Look for a lawyer today, using the free lists below.
  3. If no lawyer is available, the free tool DetentionHelp.org helps prepare a petition. The detained person must sign it.
  4. Gather papers about the detention and the person’s life in the United States.
  5. Know what a win can bring. Often it is a bond hearing, not automatic release.

What changed recently

  • July to September 2025: ICE and then the Board of Immigration Appeals (BIA) said people who entered without inspection cannot get a bond hearing before an immigration judge. Families turned to federal courts.
  • 2025 to 2026: Nearly 60,000 habeas petitions were filed by immigration detainees after January 2025, against an average of under 1,000 a year over the previous 15 years (LAist, analysing ProPublica data, 2026). By 22 September 2026 ProPublica’s tracker counted more than 73,000.
  • 6 February and March 2026: The Fifth and Eighth Circuits sided with the government on bond hearings.
  • : Three nonprofits launched DetentionHelp, a free tool for preparing a petition.
  • : The Supreme Court agreed to decide the bond-hearing question (Rhoney v. Barbosa da Cunha, No. 26-104).
  • : The full Fifth Circuit reversed habeas wins and held there is no right to a bond hearing, even after long detention, for people never admitted who are held in Texas, Louisiana or Mississippi.

This area is moving fast, so check the date given with each ruling and figure.

What is a habeas corpus petition?

“Habeas corpus” is a Latin legal term for a court order that makes the government justify holding someone. In plain words, the petition is a request to a federal district judge (not an immigration judge) to decide whether the detention is lawful and, if it is not, to order a remedy such as a bond hearing or release.

  • The federal form is AO 242, “Petition for a Writ of Habeas Corpus Under 28 U.S.C. 2241”.
  • It is a separate case in a federal court. The deportation case keeps going in immigration court.
  • The government is the other side and can argue against it.
  • It is about the detention, not about whether the person may stay in the United States.

Why habeas became the main route in 2025 and 2026

On 8 July 2025 ICE began treating people who entered without inspection as held under mandatory detention, and on 5 September 2025 the BIA agreed (Matter of Yajure Hurtado). Immigration judges then stopped holding bond hearings for this group in most of the country. Many federal judges disagreed, and nine federal appeals courts later rejected the government’s reading. Our bond guide explains the region-by-region picture.

The numbers show the shift:

Measure Figure Period and source
Habeas petitions by immigration detainees Nearly 60,000, against fewer than 1,000 a year before Since January 2025; LAist analysis of ProPublica data, 2026
Petitions on ProPublica’s tracker More than 73,000 Since January 2025, as cited on 22 September 2026
People released from ICE detention by federal court order 11,541 1 October 2025 to mid-July 2026; ICE
Monthly court-ordered releases 119, then 1,119, then 2,017 October 2025, January 2026, May 2026; ICE
People released after posting bond, for comparison 17,370 Same period; ICE

The groups behind DetentionHelp describe habeas as the only possible way out for most of the more than 610,000 people ICE has detained under this administration (press release, 22 September 2026).

Who files, and on what grounds

A petition can be filed by:

  • A lawyer for the detained person, private or from a nonprofit.
  • The detained person, without a lawyer (“pro se”), often using DetentionHelp. A family member can fill in the tool, but the detained person must sign.
  • Legal organisations in class actions that cover large groups, such as Maldonado Bautista in California. A lawyer can tell you whether a class case helps a particular person.

These are the kinds of claims raised in 2025 and 2026, as our sources describe them in general terms. Which one, if any, fits a person’s case is a question for a lawyer.

  • The person is held under the wrong part of the law. The petition argues the person should be held under the ordinary bond statute (8 U.S.C. 1226(a)) and get a bond hearing, not under mandatory detention. This drove most of the 2025 and 2026 wave.
  • Detention has lasted too long. The petition argues that prolonged detention without a hearing violates due process (the Constitution’s guarantee of fair procedure). The Third and Sixth Circuits recognise such a right; at least one 2026 Minnesota ruling found prolonged detention under the Laken Riley Act violated due process; the full Fifth Circuit rejected the idea in October 2026.
  • Problems after a bond decision: when ICE keeps someone detained while it appeals a bond grant, or a bond is very high, some people have filed a second petition. Michigan Public reported in April 2026 that a federal judge in western Michigan rejected continued detention during ICE’s bond appeal, saying the government was trying to act as both prosecutor and judge.

Which court, and why the place of detention matters

A habeas petition goes to a U.S. District Court, the federal trial court. It is generally filed in the district where the person is held. After a grant, the bond request goes to the immigration court with a copy of the federal order (practice advisory, 27 February 2026; KPBS, 27 October 2026).

The federal appeals court (“circuit”) for that district sets the rules:

Where the person is held Situation as of 2 December 2026
Texas, Louisiana, Mississippi (Fifth Circuit) Full court held on 23 October 2026 that people never admitted have no statutory or constitutional right to a bond hearing. DetentionHelp has special guidance for these states
Eighth Circuit states No right to a hearing under the statute (Avila v. Bondi, March 2026)
Nine other circuits Appeals courts rejected the government’s no-bond position between April and September 2026
District of Columbia No appeals ruling yet (SCOTUSblog, November 2026)

In July 2026 about 42% of everyone in ICE detention was held in Texas, Louisiana and Mississippi. The National Immigration Project published guidance for lawyers on habeas in the Fifth and Eighth Circuits (28 May 2026).

Transfers and how they affect a petition

ICE can move people for security, operational reasons or to carry out a removal. Under ICE’s 2026 detention standards, the person is told only just before leaving, usually cannot make calls until arrival, and must be given the new facility’s name, address and phone number in writing. ICE must notify the lawyer of record and is supposed to consider alternatives when the person has a local lawyer and an ongoing court case.

A February 2026 practice advisory says lawyers stress filing before any transfer to Texas, Louisiana or Mississippi, because the court where the petition is filed first keeps the case, and because Fifth Circuit law is unfavourable.

What families can do: tell the lawyer about any move at once, screenshot the ICE locator record, and keep a written list of every facility and date.

What happens after filing, and how long it takes

  1. The petition is filed with the federal court for the district, with a civil cover sheet (form JS 44). DetentionHelp gives filing instructions.
  2. The government responds and can oppose it.
  3. The judge decides, and can order a bond hearing, order release, or deny the petition.
  4. If a bond hearing is ordered, the request goes to the immigration court with the federal order. The immigration judge then decides on bond.

Our sources contain no reliable figure for how long it takes. Courts are very busy: one summary of court data counted nearly 3,900 petitions in the Eastern District of California alone in the first five months of 2026. Time matters because detention can be short. People leaving ICE detention in fiscal year 2026 had been held 49.9 days on average, and 84.4% of departures were removals (ICE).

After a win, the government may appeal, as happened with the habeas grants the Fifth Circuit reversed in October 2026. Compliance has also been a problem: a Minnesota judge cited at least 96 violated court orders in January 2026, and a review found 52 violations across 547 New Jersey cases in February 2026. A lawyer can return to the judge if an order is not followed.

What results look like

Result What it means in practice
Order for a bond hearing The immigration judge must hold a hearing, but can still deny bond or set a high amount
Order of release The person is released, sometimes with conditions
Petition denied The person stays detained; other options may remain
Granted, then reversed on appeal Happened in the Fifth Circuit in October 2026

No reliable success rate exists. The available figures are counts of rulings, journalists’ analyses or estimates, and several reached us only through summaries of news articles we could not open:

  • News summaries reported that in 34 mandatory-detention orders on 9 and 10 December 2025, judges ruled against the government in all but one, and that Reuters counted more than 4,400 rulings by mid-February 2026 finding ICE had jailed people illegally.
  • A newsletter estimated that more than 20,000 cases had been approved for bond hearings through habeas by September 2026.
  • One person held at Adelanto, California was denied bond three times after federal court orders before a judge ordered release on 2 June 2026 (LAist).

These numbers describe many cases. They do not predict any one person’s result.

With a lawyer or without one

A lawyer can file fast, before a transfer, handle the bond hearing that may follow, and go back to the judge if ICE does not comply. Our sources found no published range for what lawyers charge for habeas. Ask for a written fee agreement.

Where to look for a lawyer:

Filing without a lawyer is possible, and DetentionHelp exists for that purpose. Its packet includes an optional request for the court to appoint a lawyer; the court decides. Many people face these cases alone: in October 2026, 48% of detained people with immigration court cases had no lawyer (Vera).

The free DetentionHelp tool

DetentionHelp.org was launched on 22 September 2026 by the National Immigration Project, the Asylum Seeker Advocacy Project (ASAP) and Human Rights First. It is free.

The tool takes the user through these steps:

  1. Up to 20 questions about eligibility.
  2. A list of suggested legal claims. The user chooses which to include.
  3. The detained person’s story.
  4. A PDF packet: civil cover sheet (JS 44), habeas petition (AO 242), an addendum, an optional fee waiver request (AO 240) and an optional request for an appointed lawyer, with filing instructions.

Family members can fill it in, but they must enter the detained person’s information, and the detained person must sign. It does not support filing by a relative on the person’s behalf (“next friend” filing). It is not designed for lawyers.

It is available in English, Spanish and Simplified Chinese, and it works on phones. It has special guidance for people held in Texas, Louisiana or Mississippi.

Know its limits: it is not a lawyer and does not file for you. Neither the site nor the launch release says whether it uses artificial intelligence, and no usage numbers are published. Older self-help guides, such as the Florence Project’s 2013 habeas guide, predate all of the 2025 and 2026 changes.

Costs and fee waivers

Cost Amount Notes
Federal court filing fee $5 28 U.S.C. 1914
Fee waiver Form AO 240 Application to proceed without prepaying fees; included as an option in the DetentionHelp packet
DetentionHelp Free
Private lawyer No published range found Get a written fee agreement
A bond, if one is later set Median $7,500 (September 2026) Paid separately to ICE; see the bond guide

What families can gather

Our sources do not publish a habeas-specific checklist. These are the facts and papers the tools and lawyers ask about, and the evidence a later bond hearing needs.

Your ticks are kept on this phone only.

Calls from detention are usually recorded. Do not discuss how the person entered the country or the details of the case on those calls.

What habeas cannot do

  • It does not decide the deportation case or give immigration status. The removal case continues in immigration court.
  • It does not guarantee release. Often it only leads to a bond hearing, where bond can still be denied or set high.
  • It is not filed in immigration court, and an immigration judge cannot grant it.
  • It offers very little in expedited removal. For people ordered removed through expedited removal, federal court review is limited to whether the person is a noncitizen, was ordered removed through that process, or can prove they are a permanent resident, refugee or asylee (CRS, 18 September 2026). See our expedited removal guide.
  • In Texas, Louisiana and Mississippi, the main bond-hearing and long-detention arguments were rejected by the full Fifth Circuit on 23 October 2026.

If the petition is denied or does not work

  • Ask the lawyer whether an appeal or a new petition is possible.
  • Ask ICE for parole, especially with medical records. Practitioners reported in February 2026 that DHS was not, in practice, using this power.
  • If the person already has a removal order, ask about a motion to reopen or a request to pause removal. See appeals and motions to reopen.
  • Watch for the Supreme Court’s decision in Rhoney v. Barbosa da Cunha, which SCOTUSblog expects by summer 2027.

Watch for scams. ICE does not call families to ask for money. Immigration bonds are paid only through ICE’s official payment process, never by Zelle, Western Union, gift cards, cash apps or to a person who phones you. A “notario” is not a lawyer in the United States. Scammers now use fake videos and profiles that copy real attorneys: check any lawyer on their state bar’s website and call the number listed there, not the number in an ad or message.

No one can sell a guaranteed habeas result. DetentionHelp is free, and the court filing fee is $5.

Questions people ask

What is habeas corpus in immigration?

It is a request to a federal judge to decide whether ICE is holding someone lawfully. If the judge agrees the detention is unlawful, the judge can order a bond hearing or release.

Is a habeas petition worth it? What are the odds?

No reliable success rate exists. ICE’s own data show 11,541 releases by federal court order from October 2025 to mid-July 2026, but results depend heavily on where the person is held, and the Fifth Circuit reversed habeas wins in October 2026.

How long does a habeas petition take?

Our sources have no reliable figure. Federal courts are very busy with these cases, so a lawyer can best estimate timing in a specific court.

Can a family member file a habeas petition for a detained relative?

A family member can help prepare one, for example by filling in DetentionHelp with the person’s details. The detained person must sign. DetentionHelp does not support filing in the relative’s own name.

How much does it cost to file?

The federal filing fee is $5. A person who cannot pay can ask the court to waive it with form AO 240. Lawyer fees vary, and no published range was found.

Do I need a lawyer?

It is possible to file without one, and DetentionHelp is built for that. A lawyer can move faster, act before a transfer and handle the bond hearing that may follow.

What happens if ICE transfers the person after filing?

According to a February 2026 practice advisory, the court where the petition was filed first keeps the case. Tell the lawyer about any move immediately.

Does a habeas petition stop deportation?

It is about detention, not the deportation case. Our sources do not say that filing one pauses a removal. Ask a lawyer about a separate request to pause removal.

Can someone held in Texas still file?

Yes, a petition can still be filed, but after the 23 October 2026 Fifth Circuit ruling the main bond-hearing arguments have been rejected there. DetentionHelp has special guidance for Texas, Louisiana and Mississippi.

Sources

All sources were checked on 2 December 2026.

  1. LAist, bond denials and habeas filings, 2026. https://laist.com/news/adelanto-immigration-bond-denials-2026Their date: 2026 · We checked it: 2 December 2026
  2. National Immigration Project, DetentionHelp launch, 22 September 2026. https://nipnlg.org/news/press-releases/immigrant-rights-groups-launch-detentionhelp-free-tool-people-fighting-iceTheir date: 22 September 2026 · We checked it: 2 December 2026
  3. DetentionHelp. https://detentionhelp.org/enTheir date: launched 22 September 2026 · We checked it: 2 December 2026
  4. U.S. Courts, form AO 242. https://www.uscourts.gov/forms-rules/forms/petition-a-writ-habeas-corpus-under-28-usc-ss-2241Their date: not dated · We checked it: 2 December 2026
  5. 28 U.S.C. 1914, filing fees. https://www.law.cornell.edu/uscode/text/28/1914Their date: current · We checked it: 2 December 2026
  6. Northwest Immigrant Rights Project, practice advisory, 27 February 2026. https://nwirp.org/our-work/impact-litigation/assets/bautista-noem/2026.02.27BautistaPracticeAdvisoryfinal.pdfTheir date: 27 February 2026 · We checked it: 2 December 2026
  7. KPBS, 27 October 2026. https://www.kpbs.org/news/border-immigration/2026/10/27/climate-of-fear-ice-database-change-leaves-families-lawyers-in-the-darkTheir date: 27 October 2026 · We checked it: 2 December 2026
  8. National Immigration Project, habeas after Buenrostro and Avila, 28 May 2026. https://nipnlg.org/work/resources/habeas-after-buenrostro-and-avilaTheir date: 28 May 2026 · We checked it: 2 December 2026
  9. Immigration Policy Tracking Project (events to 23 October 2026). https://immpolicytracking.org/policies/ice-issues-memo-eliminating-bond-hearings-for-undocumented-immigrants/Their date: not dated; covers events to 23 October 2026 · We checked it: 2 December 2026
  10. SCOTUSblog, November 2026. https://www.scotusblog.com/2026/11/mandatory-detention-arrives-at-the-supreme-court-though-not-all-at-once/Their date: November 2026 · We checked it: 2 December 2026
  11. Supreme Court docket No. 26-104. https://www.supremecourt.gov/search.aspx?filename=/docket/docketfiles/html/public/26-104.htmlTheir date: entries to 30 November 2026 · We checked it: 2 December 2026
  12. Michigan Public, 27 April 2026. https://www.michiganpublic.org/criminal-justice-legal-system/2026-04-27/even-when-detained-immigrants-get-bond-high-costs-and-government-appeals-keep-some-in-lockupTheir date: 27 April 2026 · We checked it: 2 December 2026
  13. National Immigration Forum, autumn 2026. https://forumtogether.org/article/reclassifying-applicants-for-admission-how-the-second-trump-administration-is-reshaping-mandatory-detention/Their date: September-October 2026 · We checked it: 2 December 2026
  14. ICE detention statistics, 20 July 2026. https://www.ice.gov/doclib/detention/FY26_detentionStats07202026.xlsxTheir date: 20 July 2026 · We checked it: 2 December 2026
  15. TRAC detention quick facts, July 2026. https://tracreports.org/immigration/quickfacts/detention.htmlTheir date: July 2026 data · We checked it: 2 December 2026
  16. ICE National Detention Standards 2026, Standard 7.2. https://www.ice.gov/doclib/detention-standards/2026/nds2026.pdfTheir date: 2026 · We checked it: 2 December 2026
  17. Congressional Research Service, IF11357, 18 September 2026. https://www.everycrsreport.com/files/2026-09-18_IF11357_5305f45455f39bd97033a321c98098f4c7214088.htmlTheir date: 18 September 2026 · We checked it: 2 December 2026
  18. Axios, 9 March 2026 (search summary). https://www.axios.com/local/phoenix/2026/03/09/illegal-immigration-trump-mandatory-detention-habeas-petitionsTheir date: 9 March 2026 · We checked it: 2 December 2026
  19. Bloomberg Law (search summary). https://news.bloomberglaw.com/us-law-week/ice-detainees-successfully-swarm-courts-seeking-due-processTheir date: not given · We checked it: 2 December 2026
  20. The Migration, 10 September 2026. https://themigration.substack.com/p/the-circuit-split-over-mandatoryTheir date: 10 September 2026 · We checked it: 2 December 2026
  21. Florence Project self-help guides (2013). https://firrp.org/resources/prose/Their date: 2013 (older) · We checked it: 2 December 2026
  22. ImmigrationLawHelp.org. https://www.immigrationlawhelp.org/Their date: not dated · We checked it: 2 December 2026
  23. EOIR, List of Pro Bono Legal Service Providers, updated 18 November 2026. https://www.justice.gov/eoir/list-pro-bono-legal-service-providersTheir date: Updated 18 November 2026 · We checked it: 2 December 2026
  24. Vera Institute, representation dashboard, updated 14 October 2026. https://www.vera.org/ending-mass-incarceration/reducing-incarceration/detention-of-immigrants/advancing-universal-representation-initiative/immigration-court-legal-representation-dashboardTheir date: Updated 14 October 2026 · We checked it: 2 December 2026

Change log

  • 2 December 2026: First version. Covers habeas filings through September 2026, circuit rulings through the Fifth Circuit’s full-court decision of 23 October 2026, the Supreme Court grant of 1 October 2026, and DetentionHelp as described at its 22 September 2026 launch.
  • 2 December 2026: Style edit for plain language. No facts changed.
  • 3 December 2026: Accuracy edit: the A-Number is described as eight or nine digits (EOIR and ICE’s page for attorneys), not “nine-digit”. Instructions to type nine digits with zeros in front for the locator and the court line are unchanged.