Federal custody litigation | 28 U.S.C. § 2241

ICE detention can be challenged in federal court. The right custody theory makes the difference.

Before asking a judge for release, identify what gives ICE authority to hold the person today. Admission history, the detention statute, a final order and actual removal prospects can change the whole case.

Can a federal judge order someone released from ICE detention?

Federal habeas corpus under 28 U.S.C. § 2241 permits qualifying challenges to unlawful immigration custody. A court may grant legally available relief, potentially including release, where detention violates controlling law. The essential first move is identifying whether 8 U.S.C. §§ 1225, 1226 or 1231 governs the particular custody and establishing the correct federal forum. The Fifth Circuit’s October 23, 2026 en banc decision in Sosnava Rodriguez rejected the bond-hearing and duration theories advanced by the particular § 1225(b)(2)(A) petitioners; it did not decide that every form of ICE detention, under every statute, is beyond habeas scrutiny.

On this page

The first fight is over which law actually authorizes this detention

Federal immigration custody is not one legal category. Section 1225 addresses applicants for admission; § 1226 concerns detention pending a removal decision, with distinct subsections governing detention and release; § 1231 addresses custody after a removal order and the removal period. A person’s lawful admission, parole, prior removal order, pending proceedings, criminal history and actual custodial documents matter far more than the government’s label for the detention.

We start with the arrest and custody documents, immigration charging papers, admission and parole history, prior removal records, immigration-court docket, criminal judgments where relevant, and the exact agency custody position. Those records can expose a statutory misclassification, an unsupported assumption or a claim the chosen authority does not reach this person.

28 U.S.C. § 2241, federal habeas corpus · 8 U.S.C. § 1226, apprehension and detention · 8 U.S.C. § 1231, detention after removal order

What the October 23, 2026 Fifth Circuit en banc ruling actually decided

In Sosnava Rodriguez v. Vergara, the en banc Fifth Circuit reversed three habeas grants involving people who had entered without inspection and were held during removal proceedings under § 1225(b)(2)(A). It held that these petitioners lacked a constitutional entitlement to individualized dangerousness-or-flight-risk bond hearings before their detention and that the periods of detention presented no constitutional issue justifying their habeas grants. The earlier panel’s proposed 90-day hearing rule had been vacated, and it is not operative precedent.

That ruling is a serious limit on that particular route to relief in the Fifth Circuit, not an instruction to abandon factual and statutory analysis. A lawfully admitted person, a person whose governing statute is genuinely different, someone held after a final order under § 1231, or someone asserting a separate detention-law violation raises a different legal question that must be examined on its own terms. Buenrostro-Mendez’s § 1225 classification holding must also be confronted where applicable, not wished away.

Sosnava Rodriguez v. Vergara, Nos. 26-50183, 26-50219, 26-50221 (en banc Oct. 23, 2026) · Buenrostro-Mendez v. Bondi, 166 F.4th 494 (5th Cir. 2026)

A final removal order raises a different custody question

Section 1231 sets a removal period and separate post-order detention provisions. In Zadvydas v. Davis, the Supreme Court interpreted § 1231(a)(6) to contain a presumptively reasonable six-month detention period and described a framework for testing whether there is a significant likelihood of removal in the reasonably foreseeable future. The six months are not an automatic release date; calculation of the removal period, stays, cooperation and removal evidence matter.

The practical investigation asks what ICE has actually done to secure travel documents, whether a receiving country will accept the person, what consular responses exist, whether previous attempts failed, and whether changed circumstances make removal realistically foreseeable. A final order should trigger this statutory inquiry, not a reflexive surrender of every custody argument.

8 U.S.C. § 1231, detention after removal order · Zadvydas v. Davis, 533 U.S. 678 (2001)

Build a release claim around the actual custodian, record and remedy

Core federal custody habeas generally requires attention to the immediate custodian and proper district of confinement, with relevant exceptions and procedural disputes assessed under governing precedent. A transfer can create practical problems. We document facility, custody chain, detention dates, immigration proceedings, release requests, medical or family circumstances when legally material, and every agency explanation given.

The petition should state exactly why present detention violates a statute or the Constitution, what federal court can decide, and why the requested remedy follows. Direct release can be the appropriate objective where supported. Other matters require different relief. We do not silently replace a client’s release claim with a request for a bond hearing when that is neither the claim nor the best available remedy.

28 U.S.C. § 2241, federal habeas corpus · 8 U.S.C. § 1226, apprehension and detention

Federal habeas and a challenge to the removal order are different cases

Section 1252 generally channels challenges to a final removal order through a petition for review in the appropriate federal court of appeals and restricts district-court review of removal-order questions. An unlawful-custody challenge must be drafted so that its genuine custody theory and requested relief can be evaluated without disguising an attack on the validity of the removal order.

That distinction affects defendants, venue, exhaustion, timing, evidentiary exhibits and emergency strategy. An order of removal, an order of detention, a stay of removal and a custody-release decision do not become interchangeable just because ICE is involved in all four.

8 U.S.C. § 1252, judicial review of orders of removal · 28 U.S.C. § 2241, federal habeas corpus

What we can investigate immediately for a detained person

We can reconstruct the admission and detention timeline, obtain or analyze the removal order and ICE custody paperwork, test the asserted detention statute against controlling law, identify post-order removal barriers, prepare the federal record and pursue a properly supported habeas request for meaningful relief. Families should preserve the facility, A-number, custody dates, court notices and counsel contacts before records scatter.

A federal lawsuit is a legal intervention, not a promise. What gives a detention challenge force is a precise theory, the right court and evidence that makes the government answer that theory on the record.

Frequently asked questions

Did the October 2026 Sosnava Rodriguez decision eliminate immigration habeas?

No. It rejects the specific constitutional hearing and duration theories in the consolidated § 1225(b)(2)(A) cases. Other custody statutes, different factual histories, and distinct legal violations must be analyzed independently.

Does a removal order automatically defeat a custody challenge?

No. A final removal order may move the custody analysis to § 1231, including its removal-period rules and the Zadvydas reasonably-foreseeable-removal inquiry.

Does detention for six months require immediate release?

No. The Zadvydas framework is not an automatic six-month expiration date; it turns on the applicable post-order custody period and evidence concerning the likelihood of removal.

Official sources supporting this page

Primary sources for the rules and procedures discussed here.

Put the real legal theory and the evidence in front of the right court

Bring the orders, government notices, custody or application timeline, agency communications, and pending court deadlines. We can examine the record and the strongest lawful path forward.

Schedule a Federal Immigration Consultation
Important legal and service limitations

Federal immigration litigation is fact-specific. This educational page is not legal advice, does not create an attorney-client relationship, and does not promise a judicial or immigration result. Court orders, statutory requirements and filing deadlines may change; verify the applicable court and current law.