Does habeas corpus apply to undocumented immigrants?
Yes. The writ of habeas corpus protects any person held in custody in the United States, whatever their immigration status. Undocumented immigrants in ICE detention file habeas petitions every day, and federal judges have ordered thousands of them released or given bond hearings since 2025. Habeas has limits: it challenges the detention, not the deportation case. And it has not been suspended.
This is information, not legal advice.
This guide explains the general rules. What they mean for your family member depends on their circumstances. Answer a few questions to check their situation.
The short legal answer
The federal habeas statute lets a court free anyone “in custody in violation of the Constitution or laws or treaties of the United States” (28 U.S.C. § 2241(c)(3)). It says nothing about citizenship or status. The Supreme Court has applied it to noncitizens for well over a century, and reaffirmed that in INS v. St. Cyr, 533 U.S. 289 (2001).
The rights a habeas petition enforces reach undocumented people too. The Fifth Amendment says no “person” shall be deprived of liberty without due process. In Zadvydas v. Davis, 533 U.S. 678 (2001), the Court said that applies to everyone here, “whether their presence here is lawful, unlawful, temporary, or permanent.”
The Court said the same in a different setting in April 2025. People detained for removal under the Alien Enemies Act must get notice and a chance to seek habeas relief (Trump v. J.G.G.).
What it looks like in practice
Since ICE’s 2025 policy of holding people who entered without inspection with no bond hearing, habeas has become the main way to challenge that detention. Most of the people filing are undocumented. In many districts federal judges have granted most of the petitions they decided, ordering release or a bond hearing (Michigan Public). See habeas corpus for ICE detention.
The limits
- It is about custody, not deportation. A habeas petition can win release or a bond hearing. It cannot cancel a removal order or decide an asylum claim. Those go through immigration court and then the federal court of appeals (8 U.S.C. § 1252).
- Very recent arrivals have less. In DHS v. Thuraissigiam, 591 U.S. 103 (2020), the Court held that a person caught shortly after crossing and placed in expedited removal could not use habeas to get further review of their asylum screening. Habeas there was limited to its core: release from unlawful custody.
- It has to be filed in the right place, the federal district where the person is held, and timing matters because ICE transfers people. See how to file a habeas petition.
Can habeas corpus be suspended?
The Constitution says the privilege of the writ “shall not be suspended, unless when in Cases of Rebellion or Invasion the public Safety may require it” (Article I, Section 9). The clause sits in the article about Congress, and the accepted view since the Civil War is that only Congress can suspend it. Talk in 2025 about suspending habeas for immigration cases did not lead to any suspension. Courts are hearing and granting immigration habeas petitions today.
If your family member is detained
- Find out where they are held. The state decides the federal court and the circuit’s law. See how to find someone in ICE detention.
- Find out whether an immigration judge can set bond there. If so, that is usually faster. See did ICE end bond hearings?
- If not, a habeas petition costs $5 to file, and the detained person can file it themselves.
Questions people also ask
Does habeas corpus apply to illegal immigrants?
Yes. The statute covers anyone “in custody in violation of the Constitution or laws” of the United States, and the Supreme Court has long held that noncitizens, including those here without status, can use it to challenge their detention.
Do undocumented immigrants have constitutional rights?
The Fifth Amendment’s due process clause protects every “person” in the United States. The Supreme Court said in Zadvydas v. Davis that this includes people whose presence here is unlawful. It is the basis for many detention challenges.
Can habeas corpus be suspended for immigrants?
The Constitution allows suspension only “in Cases of Rebellion or Invasion” when public safety requires it, and the accepted view is that only Congress can do it. It has not been suspended. Talk of suspension in 2025 did not change the law.
Can habeas corpus stop a deportation?
Generally no. Habeas challenges custody. A challenge to a removal order goes to a federal court of appeals by petition for review. People who arrived very recently and are in expedited removal have very limited habeas review of that process.
See which release paths may apply to them
Check your family member’s situation to see which release options may apply, what to do next, and which documents to gather.