Habeas Corpus — Federal-Court Challenges to Immigration Detention

Habeas Corpus — Federal-Court Challenges to Immigration Detention

Federal habeas petitions under 28 U.S.C. § 2241 to challenge prolonged ICE detention, mandatory-detention misclassification, and post-order custody beyond the Zadvydas six-month limit.

What habeas corpus does in immigration

The writ of habeas corpus, codified at 28 U.S.C. § 2241, allows a person held in federal custody to ask a federal district court to order their release, a new bond hearing, or other custody relief. Immigration detention is civil, not criminal, and the immigration courts (EOIR) and the Board of Immigration Appeals (BIA) generally cannot review the constitutionality of the detention itself. That makes habeas the only meaningful check on how long someone can be held by Immigration and Customs Enforcement (ICE).

This is federal-court work governed by federal statute and constitutional doctrine. We file habeas petitions in any U.S. district court with jurisdiction over the detainee — without regard to where the client previously lived.

When habeas is the right tool

Four fact patterns drive most immigration habeas litigation:

1. Zadvydas / post-order detention beyond six months

Under Zadvydas v. Davis, 533 U.S. 678 (2001), a non-citizen with a final order of removal cannot be detained indefinitely. Six months is the presumptively reasonable period; after that the burden shifts to the government to show that removal is "reasonably foreseeable." When the country of removal will not accept travel documents — common for stateless persons, Cuban nationals, and certain African and Southeast Asian nationals — the petitioner is generally entitled to release on an order of supervision.

2. INA § 236(c) mandatory-detention misclassification

Mandatory detention under 8 U.S.C. § 1226(c) applies only to specific criminal grounds and only when the person was taken into custody "when" released from criminal custody. We see ICE detain clients on (c) when their underlying offense does not qualify, when ICE missed the "when released" trigger by years, or when the conviction was vacated post-detention. A Joseph hearing before an IJ is the first stop, but federal habeas is often necessary to actually move the case.

3. Prolonged INA § 236(a) detention without bond review

Some circuits (notably the Ninth and Second) have recognized constitutional limits on prolonged § 236(a) detention. After a threshold period — historically six months under Diouf v. Napolitano and progeny, though the law has evolved post-Jennings v. Rodriguez, 583 U.S. 281 (2018) — habeas may compel an individualized bond hearing with the government bearing the burden under a heightened standard.

4. Reinstatement, withholding-only, and transferred custody

People in withholding-only proceedings after reinstatement of a prior removal order are detained under § 241, not § 236, and their detention is governed by Zadvydas. People transferred between facilities — Mesa, El Paso, Eloy, Pine Prairie — frequently lose their counsel of record; habeas is the tool to halt or reverse a punitive transfer.

The agencies behind the case

A federal habeas petition typically names:

  • The warden or facility director of the detention facility (the immediate custodian — venue rule from Rumsfeld v. Padilla, 542 U.S. 426 (2004)).
  • The ICE Field Office Director for the relevant ERO area of responsibility (Phoenix, San Francisco, Houston, etc.).
  • The Secretary of Homeland Security and the Attorney General.
  • The U.S. Attorney for the district, who litigates the case.

Meanwhile, the underlying removal case continues at EOIR before an immigration judge, and the BIA holds appellate jurisdiction. DHS Office of the Principal Legal Advisor (OPLA) is the prosecuting agency in immigration court. Coordination between the habeas track and the removal track is constant — what an OPLA attorney concedes in court can support a habeas claim, and an order from the federal district court can collapse a custody position OPLA had been defending.

What relief looks like

Depending on the claim and circuit, a successful habeas can produce:

  • Outright release with conditions (electronic monitoring, telephonic check-in, reporting).
  • An individualized bond hearing before an immigration judge with the government carrying the burden by clear and convincing evidence.
  • A stay of transfer to a remote facility.
  • Conditions of confinement relief (medical care, segregation reviews, contact with counsel).
  • For the rare case, a declaratory judgment that the underlying detention authority does not apply — for example, a holding that a specific conviction is not an aggravated felony.

Why federal habeas needs an attorney

Pro-se habeas petitions in immigration custody overwhelmingly fail on procedural defaults — wrong respondent, wrong venue, missing exhaustion of an available Joseph hearing, no service on the U.S. Attorney, no record evidence of the underlying conviction. The constitutional doctrine itself is also in flux: Jennings v. Rodriguez, the Supreme Court's 2018 decision, narrowed the previous blanket rule for prolonged-detention bond hearings and pushed the work back to as-applied constitutional challenges that require careful pleading.

We routinely:

  • File a § 2241 petition with a complete record from the immigration court (audio, transcripts, documentary record), the ICE custody file, the criminal record, and country-conditions evidence on removability.
  • Brief the immediate-custodian rule under Padilla to lock in venue at a favorable district.
  • Negotiate stipulated bond hearings with the U.S. Attorney before the petition is briefed on the merits.
  • Coordinate with criminal counsel for parallel post-conviction relief (Padilla v. Kentucky vacaturs, PC 1473.7, ARS § 13-907) that can collapse the basis for detention.
  • Move for expedited consideration when the client has a serious medical condition, a U.S.-citizen child with no other parent, or imminent removal to a country where torture is foreseeable.

Agency error and policy churn drive the habeas docket. ICE custody redeterminations have been rescinded and reinstated multiple times in the last decade; ERO field-office practices on bond and parole vary dramatically; OPLA's stance on a given conviction can change after a single Circuit Court decision. None of that is fixed by waiting in detention.

How this remedy works

Habeas Corpus

What it is
A civil action under 28 U.S.C. § 2241 against the person's custodian, challenging the lawfulness of the detention itself — not the removal order.
Where it's filed
The U.S. District Court for the district where the person is detained, naming the facility's warden and ICE officials as respondents.
When to file
Whenever detention has crossed a legal line — prolonged mandatory detention, post-order detention beyond the removal period, or custody without a bond hearing. There is no fixed deadline.
Why it exists
The Constitution limits how long the government may hold someone in civil detention without justification and a hearing — and habeas is the ancient mechanism for testing custody.
Prerequisites before filing
  • Current physical detention, or its legal equivalent
  • A detention-specific defect — length, a missing bond hearing, or conditions crossing a constitutional line
  • Bond remedies requested where they were available as of right
  • A claim aimed at release or a hearing — not at undoing the removal order itself

Federal Court Litigation & Appeals

Four problems, four lanes

These tools are not interchangeable — each answers a different problem, in a different court, on a different clock. Matching the problem to the instrument is the first decision that matters.

See the full federal litigation overview

Attorney services

Have an attorney review your case

Start with a free consultation, or get direct attorney attention right away—instant written document review, a live mock interview on camera, or a live video call.

Free Consultation

Tell us about your case — no charge
Free
Begin Free Consultation

Document Review

Instant written attorney advice · response in 24 business hrs
$350

Talk to an Attorney Live

Currently offline

Usually online weekdays 9–5 PT. Until then, here are two ways to get attorney attention without waiting:

Legal Citations

28 U.S.C. § 2241 — Habeas corpusINA § 236(a) — Detention pending decisionINA § 236(c) — Mandatory detentionZadvydas v. Davis, 533 U.S. 678 (2001) — Six-month presumptive limit on post-order detention

Next step

Ready to start?

Check your eligibility or schedule a consultation with Mendoza Immigration.