Habeas Corpus in Immigration Law and Who Qualifies for It?
The fundamental concept behind the writ of habeas corpus has existed for centuries, with many tracing its origins to the Magna Carta.
The threat of unlawful imprisonment has long been a concern of citizens subject to government authority. Similarly, the US adopted habeas corpus as a constitutional safeguard against arbitrary detention.
Historically, habeas corpus has been used to challenge imprisonment without trial, and while it is still used for that today, its use has expanded to include challenges to immigration detention and deportation-related custody.
Who qualifies for habeas corpus?
Any person who is being detained or restrained may seek habeas corpus relief if they believe the detention is unlawful and it is not limited to U.S. citizens; noncitizens, like immigrants in detention facilities, may also file habeas petitions.
Immigration habeas petitions are generally filed under 28 U.S.C. § 2241 and are most commonly used when detention becomes prolonged or when the government allegedly lacks authority to continue holding the person.
There is no strict minimum amount of time a person must remain detained before filing a habeas petition.
Technically, a detainee may seek habeas relief as soon as they believe the detention is unlawful; however, in practice, federal courts are more likely to seriously consider habeas relief when detention has become prolonged, especially where the detainee has not received a bond hearing or where removal is not reasonably foreseeable. In immigration cases, courts often begin criticizing detention more closely after approximately six months of custody, especially in cases where a final order has already been issued.
How does the Vietnamese repatriation agreement factor into this?
For many Vietnamese immigrants— particularly those who arrived in the US before July 12, 1995— the US faced major obstacles deporting them because of the 2008 Vietnam Repatriation Agreement. Under that agreement, Vietnam refused to accept deportees who entered the US before diplomatic normalization in 1995.
The issue became more complicated after a 2020 memorandum between the United States and Vietnam created a process allowing Vietnam to consider accepting some pre-1995 arrivals for repatriation. However, deportation still often depends on Vietnam’s discretionary approval and issuance of travel documents.
As a result, habeas corpus remains important because even after the 2020 agreement, Vietnam has refused or delayed travel documents often leaving Vietnamese people detained for unforeseeable periods of time.
Unlike prison sentences in criminal cases, immigration detention is not supposed to punish a person, but instead to make sure they appear for immigration proceedings and can be deported if necessary.
Because of this, when the government cannot realistically deport someone within a reasonable amount of time, keeping them detained for long periods raises serious justice and constitutional concerns. Habeas corpus therefore serves as an important legal tool that allows detained immigrants to challenge prolonged detention and require the government to explain why continued detention is justified.
For many Vietnamese immigrants facing delayed or uncertain repatriation, habeas petitions have become an important safeguard against being held for an indefinite amount of time when deportation may not actually be possible.
These cases are highly fact-specific and involve both immigration law and federal court procedure, so speaking with an immigration attorney can help clarify whether habeas relief is appropriate for your case and what your best course of action may be.
Call the Law Office of Phan Nguyen at 469-465-2344.
We are here Monday through Friday, 9:00 AM to 6:00 PM. You can also visit us at nguyen-legal.com to book a consultation.
You don't have to face this alone. We are here for you.
Disclaimer: This is not legal advice. The information provided is for general informational purposes only. Immigration laws and enforcement priorities can change rapidly. For advice specific to your situation, please consult with a licensed immigration attorney at the Law Office of Phan Nguyen — call 469-465-2344 or visit nguyen-legal.com.

