Comparative & Foreign Law

Habeas Corpus in Comparative Perspective

The Great Writ AbroadReference essayUpdated May 31, 2026

Nearly every constitutional democracy promises that the state cannot lock a person away without answering to a judge. What differs — profoundly — is the machinery each system uses to make that promise good. This essay sets the American writ beside its counterparts in South America, Asia, and Europe, and asks what the comparison reveals about the one the rest of this site is concerned with.

The writ of habeas corpus ad subjiciendum — the command to a custodian to produce a prisoner and justify the detention — is among the oldest devices in the Anglo-American legal inheritance, traceable through the Habeas Corpus Act of 1679 to the guarantees of Magna Carta. In the United States it has become a single, protean instrument: the same writ tests pretrial confinement, reviews state and federal convictions long after trial, reached the military prison at Guantanamo Bay, and — the preoccupation of this publication — is the principal vehicle by which noncitizens challenge the legality of their immigration detention. Other legal traditions arrived at the same destination by very different roads. Some inherited the English writ and kept it. Some transplanted it and watched it wither. Many never had a discrete “writ” at all, and instead protect personal liberty through a constitutional command addressed to the ordinary courts. And a whole family of Latin American systems split the task in two, reserving habeas corpus for the body while inventing a parallel remedy, the amparo, for everything else.

Understanding those differences is not an academic exercise. The questions that dominate the American immigration-habeas docket — how quickly a court must act, whether the writ follows a detainee who is moved from one jurisdiction to another, what happens when the government denies that it holds the person at all, and whether the guarantee can be suspended in an emergency — are precisely the questions on which foreign systems have taken sharply different positions. Several of them are, at least on paper, more protective than the United States.

The American baseline: one writ, many jobs

The U.S. Constitution does not create the writ; it presupposes it. Article I, Section 9, Clause 2 — the Suspension Clause — provides only that the privilege of the writ shall not be suspended except in cases of rebellion or invasion when the public safety may require it. The affirmative grant came by statute: the Judiciary Act of 1789 gave the federal courts power to issue the writ, and the modern provisions are codified at 28 U.S.C. §§ 2241 through 2255. Section 2241 is the general grant; § 2254 governs petitions by prisoners held under state-court judgments; § 2255 supplies the post-conviction motion for federal prisoners. Civil immigration detainees, who are not serving any sentence, proceed under the general grant in § 2241 — the doctrinal home of the cases catalogued elsewhere on this site.

Two features of the American writ stand out in comparative light. The first is its sheer range. A single instrument is asked to do work that other systems distribute among several specialized remedies. The second is how much of that work is now hedged by statute. The Antiterrorism and Effective Death Penalty Act of 1996 imposed a one-year filing deadline, sharply curtailed second or successive petitions, and — most consequentially — instructed federal courts to defer to any reasonable state-court adjudication of a federal claim, so that a state ruling may stand even if a federal judge believes it wrong. In the detention context, the Supreme Court held in Boumediene v. Bush (2008) that noncitizens held at Guantanamo enjoy a constitutional habeas right and that Congress could not strip it without satisfying the Suspension Clause. The American writ, in short, is constitutionally entrenched but statutorily disciplined, and it remains genuinely suspendable in the narrow circumstances the Founders named.

Constitutional source
Suspension Clause, U.S. Const. art. I, § 9, cl. 2 (privilege presupposed, not granted)
Statutory writ
28 U.S.C. §§ 2241–2255 — § 2241 (general), § 2254 (state prisoners), § 2255 (federal prisoners)
Principal uses
Pretrial detention, post-conviction collateral review, military detention, and civil immigration detention
Chief modern limit
AEDPA (1996): one-year deadline, bar on successive petitions, deference to state courts
Suspension
Permitted in rebellion or invasion when public safety requires it

The American writ is a single instrument asked to do a dozen jobs. Most other systems split the work among several.

South America: habeas corpus, and the amparo for the rest

The defining feature of Latin American constitutionalism in this field is a division of labor. Habeas corpus is kept narrow — it protects physical liberty, the freedom to come and go — while a separate and now more famous remedy, the amparo, guards the rest of the constitutional catalogue. The amparo was a Mexican invention of the mid-nineteenth century, taking shape in the Yucatan and then in the federal Constitution of 1857 (today Articles 103 and 107 of the 1917 Constitution), and from there it spread across the region, mutating as it went. A third device, habeas data, was added in the late twentieth century to let individuals see and correct information that the state or private databases hold about them. Where an American lawyer reaches for the one writ, a Brazilian or Argentine lawyer chooses among three.

Brazil

Article 5 of the 1988 Constitution houses the whole toolkit. Habeas corpus (clause LXVIII) lies whenever a person suffers or is threatened with unlawful coercion of their freedom of movement. Beside it sit the mandado de seguranca, or writ of security (clauses LXIX–LXX, regulated by Law 12.016/2009), for a clear and certain right not covered by habeas corpus or habeas data; the mandado de injuncao (clause LXXI), for rights rendered unexercisable by a legislative gap; and habeas data itself (clause LXXII). Brazil treats access to the liberty writ as close to absolute: habeas corpus is free of charge and requires no lawyer, and the country’s historic “Brazilian doctrine of habeas corpus” once used the writ to protect nearly every right until the writ of security was created to take over that broader role.

Argentina

The 1994 constitutional reform gathered all three remedies into a single provision, Article 43, which recognizes the amparo, habeas data, and habeas corpus in turn. The habeas guarantee is conspicuously strong: it protects physical liberty (and reaches aggravated conditions of detention and the forced disappearance of persons), it may be filed by the detainee or by anyone acting on their behalf, and the judge must resolve it immediately — expressly, even while a state of siege is in force. The implementing statute is Law 23.098 of 1984.

Colombia

Colombia pairs a tightly timed habeas corpus with the most heavily used amparo-type remedy in the hemisphere. Article 30 guarantees that anyone deprived of liberty may invoke habeas corpus, in person or through another, before any judicial authority, and that it must be decided within thirty-six hours; it cannot be suspended even under states of exception (the procedure is fleshed out by Statutory Law 1095 of 2006). The companion remedy is the accion de tutela of Article 86 — a preferential, summary action for the protection of fundamental rights, resolved within ten days, which Colombians file in enormous numbers.

Chile

Chile is a terminological trap for the unwary. Its habeas corpus is called the recurso de amparo and lives in Article 21 of the Constitution, where it protects personal liberty and individual security. The remedy that other countries call amparo — the general guardian of other constitutional rights — is in Chile the separate recurso de proteccion of Article 20. The labels are reversed; the underlying two-track structure is the same.

Peru

Peru’s 1993 Constitution lists its constitutional guarantees together in Article 200: habeas corpus for personal liberty, amparo for other constitutional rights, habeas data for informational rights, and the accion de cumplimiento to compel officials to obey the law, among others. The procedures are consolidated in the Constitutional Procedure Code (Law 28237 of 2004, recodified by Law 31307 in 2021).

Two regional traits deserve emphasis. First, the writ proper is narrower than the American one — it is about the body, full stop — but it sits inside a richer ecosystem of companion remedies, so the system as a whole reaches further. Second, the liberty guarantee tends to be treated as non-derogable. The Inter-American Court of Human Rights held, in its advisory opinions of 1987, that neither habeas corpus nor amparo may be suspended even during a declared emergency, because they are the very guarantees that keep emergency powers from swallowing the rule of law. On this point much of South America is, formally, more protective than the United States, whose Suspension Clause contemplates that the privilege itself can be lifted.

Asia: inherited writs, a transplant, and a home-grown amparo

Asia offers the widest spread of designs of any region — a function of which European legal family did the colonizing, and of how each country reworked the inheritance after independence.

India

India received the English writ and constitutionalized it. Article 32 empowers the Supreme Court, and Article 226 the High Courts, to issue writs for the enforcement of fundamental rights, and habeas corpus is one of five named writs (alongside mandamus, prohibition, certiorari, and quo warranto). The darkest chapter came during Indira Gandhi’s Emergency: in ADM Jabalpur v. Shivkant Shukla (1976) a four-to-one majority held that during the Emergency no one could seek habeas corpus even against plainly unlawful detention — a ruling redeemed only by Justice H.R. Khanna’s solitary dissent. The political reaction produced the 44th Amendment (1978), which made the rights to life and personal liberty non-derogable even in an emergency, and the Supreme Court formally overruled ADM Jabalpur decades later in K.S. Puttaswamy v. Union of India (2017). India thus arrived, the hard way, at the position much of Latin America had written into its constitutions from the start.

The Philippines

The Philippines is the great hybrid. Its 1987 Constitution guarantees the privilege of the writ of habeas corpus (Article III, Section 15) on the Anglo-American model, and it permits the President to suspend that privilege for invasion or rebellion when public safety requires — but only for sixty days and subject to review by Congress and the Supreme Court. Confronting a wave of extrajudicial killings and enforced disappearances that the ordinary writ could not reach — because in a disappearance the state simply denies that it holds the missing person — the Supreme Court borrowed from Latin America. By rule of court it created the Writ of Amparo in 2007 (A.M. No. 07-9-12-SC) and the Writ of Habeas Data in 2008 (A.M. No. 08-1-16-SC), remedies available to anyone whose right to life, liberty, and security is threatened by act or omission of the state or private parties. The first amparo case, Secretary of National Defense v. Manalo (2008), set the template. Here a common-law writ and a civil-law amparo sit side by side in one system.

Japan

Japan is the cautionary tale of a transplant that did not take. Its postwar Constitution, drafted under the Allied occupation and heavily influenced by American law, guarantees in Article 34 that the cause of any detention be shown in open court, and a Habeas Corpus Act was enacted in 1948. But the implementing rules narrowed the remedy to cases where the detention is clearly without due process and no other adequate remedy exists, and the writ duly atrophied as a check on the state. In practice it survives mainly in private disputes — most visibly in child-custody cases — rather than as a tool against government detention.

South Korea

Korea protects liberty through a constitutional right rather than a single inherited writ. Article 12(6) of the Constitution guarantees the right to a prompt judicial review of the legality of arrest or detention, and in criminal cases that right is exercised through a court review of the lawfulness of arrest. A separate Habeas Corpus Act, enacted in 2007 and effective in 2008, extends a habeas-style procedure to people confined by administrative order or in private facilities such as psychiatric or welfare institutions. Tellingly for readers of this site, that statute expressly excludes foreigners detained under the Immigration Control Act — a gap the Constitutional Court declined to strike down in 2014, and a sharp illustration of how a system can protect liberty robustly in general while carving immigration detention out of the strongest remedy.

The common-law writ also persists, largely unmodified, across the other former British jurisdictions of the region — among them Pakistan, Bangladesh, Malaysia, Singapore, and Hong Kong — which keep habeas corpus much as England bequeathed it.

Europe: the writ’s homeland and the Convention backbone

Europe contains both the writ’s birthplace and the continent on which the writ never existed — and, sitting above both, a treaty guarantee that now supplies a common floor.

United Kingdom

The writ is English in origin, and it remains available at common law, reinforced by the Habeas Corpus Act of 1679 (for criminal matters) and the Habeas Corpus Act of 1816 (which extended the remedy to detentions outside the criminal process). One detail of the 1679 Act resonates directly with the American immigration docket: it forbade jailers from moving a prisoner from place to place to frustrate the writ — the seventeenth-century ancestor of the modern fights over transferring detainees out of a court’s reach. Suspension in Britain has historically been the work of Parliament, by statute, rather than the executive.

The European Convention on Human Rights

For the forty-six states of the Council of Europe, the operative guarantee is Article 5 of the European Convention on Human Rights. Article 5(1) permits detention only on an exhaustive list of grounds — one of which, clause (f), is detention to prevent unauthorized entry or with a view to deportation or extradition, the immigration ground. Article 5(4) is the functional habeas corpus: anyone deprived of liberty is entitled to have a court decide, speedily, whether the detention is lawful, and to be released if it is not. Article 5(5) adds an enforceable right to compensation for unlawful detention. The European Court of Human Rights in Strasbourg enforces these standards, and member states incorporate them domestically — in the United Kingdom, for example, through the Human Rights Act 1998. Article 5(4) is the reason that even systems with no native “writ” must provide a fast, substantive judicial test of detention.

Germany

Germany has no single writ but achieves the same result through layered constitutional command. Article 2(2) of the Basic Law declares the liberty of the person inviolable, and Article 104 supplies the procedural guarantees: a deprivation of liberty may rest only on a formal statute that prescribes its procedure, only a judge may order or continue it, and a person taken into custody must be brought before a judge no later than the end of the day after the arrest. Behind those guarantees stands the constitutional complaint (Verfassungsbeschwerde) to the Federal Constitutional Court. The combination is robust enough that comparative surveys treat it as the German equivalent of the writ.

France

France, too, lacks a discrete writ, and protects liberty through a famous constitutional formula. Article 66 of the 1958 Constitution declares that no one may be arbitrarily detained and names the judicial authority the “guardian of individual liberty.” French jurists openly call this provision l’habeas corpus a la francaise; its drafter, Michel Debre, modeled it on the English writ. In operation, the guarantee runs through the specialized liberty-and-detention judge (the juge des libertes et de la detention), who passes on pretrial and administrative detention — including the detention of foreigners — and through the urgent administrative remedy known as the refere-liberte, by which a court can act within days to protect a fundamental freedom.

Spain

Spain keeps the name and the substance. Article 17.4 of the 1978 Constitution requires that a habeas corpus procedure be established by law to secure the immediate judicial production of anyone unlawfully detained, and Organic Law 6/1984 supplies it. The Spanish procedure is deliberately fast and informal: it must conclude within twenty-four hours, it requires neither a lawyer nor a court agent, and it may be initiated by the detainee, by relatives, by the public prosecutor, by the national Ombudsman (the Defensor del Pueblo), or by the judge of the detainee’s own motion. Spain also offers the recurso de amparo before the Constitutional Court for the broader protection of fundamental rights.

Italy

Italy relies on a single, exacting constitutional article. Article 13 declares personal liberty inviolable and forbids any detention, inspection, or search of the person except by a reasoned act of the judicial authority and only in the cases and manner the law allows. In urgent cases the police may take provisional measures, but they must notify a court within forty-eight hours, and if the court does not confirm the measure within a further forty-eight hours it lapses and is treated as never having had effect. Review of precautionary detention is handled by the dedicated review tribunal and, ultimately, the Court of Cassation.

What the comparison teaches

Step back from the particulars and a handful of axes of difference come into focus — each of them live in the American cases collected on this site.

Scope. The systems fall into three broad families. The common-law family (the United States, the United Kingdom, India, the Philippines, and the other former British jurisdictions) relies on a single protean writ. The Latin American family keeps habeas corpus narrow and surrounds it with companion remedies — amparo, tutela, the writ of security, habeas data. The continental European family (Germany, France, Italy) dispenses with a discrete writ and protects liberty through a constitutional command enforced by the ordinary courts. Spain straddles the line, keeping a named statutory habeas inside a civil-law system.

Suspendability. The United States is, on this axis, unusually permissive: the Suspension Clause openly contemplates that the privilege may be lifted in rebellion or invasion, and the Philippines follows a similar model with procedural guardrails. By contrast, much of Latin America and post-Emergency India treat the liberty guarantee as something that cannot be switched off even in a crisis — a lesson each learned from authoritarian episodes of its own.

Speed. Several systems put a number on “promptly.” Spain demands a decision within twenty-four hours, Colombia within thirty-six, Germany by the end of the day after arrest, and Italy on a forty-eight-plus-forty-eight-hour clock. The American writ has no comparable fixed deadline, and timing instead becomes a contested, case-by-case question — one that recurs throughout the detention docket.

A writ that presupposes a known jailer is helpless against a state that denies it holds anyone at all.

The disappearance problem. The classic writ assumes there is an identifiable custodian who can be ordered to produce the body. Where a state denies custody altogether — the pattern in enforced disappearances, and a concern that shadows the litigation over removals to third countries and to facilities like CECOT — the ordinary writ can be defeated by the simple expedient of saying “we do not have this person.” That failure is exactly why Latin America and the Philippines built the amparo and habeas data supplements, with their machinery of inspection orders and affirmative duties to investigate.

Immigration detention. Finally, the systems treat the detention of noncitizens very differently. In the United States the §2241 writ does the work. In Europe, Article 5(1)(f) and 5(4) of the Convention govern immigration and extradition detention directly. Korea, strikingly, channels most confinement through its habeas statute but carves immigration detention out of it. Read together, the foreign material is a reminder that nothing about the American arrangement is inevitable — the reach of the writ over the detention of migrants is a policy choice, made differently in different places.

At a glance: the systems compared

Principal remedy against unlawful detention, by jurisdiction
JurisdictionPrincipal liberty remedyLegal sourceScope of that remedyEmergency suspension
United StatesWrit of habeas corpus (federal § 2241)Common law; Suspension Clause, art. I § 9; 28 U.S.C. §§ 2241–2255Protean — pretrial, post-conviction, military, immigrationPermitted in rebellion or invasion
United KingdomWrit of habeas corpusCommon law; Habeas Corpus Acts 1679 & 1816Body / liberty (criminal and, since 1816, civil)By Act of Parliament
BrazilHabeas corpusConst. art. 5, LXVIIIPhysical liberty (companion remedies cover the rest)Writ strongly protected; free, no lawyer required
ArgentinaHabeas corpusConst. art. 43 (1994); Law 23.098Physical liberty; reaches disappearancesAvailable even under a state of siege
ColombiaHabeas corpusConst. art. 30; Statutory Law 1095/2006Physical liberty; decided within 36 hoursNot suspended in states of exception
ChileRecurso de amparoConst. art. 21Physical liberty (Chile calls its habeas “amparo”)Constrained under states of exception
PeruHabeas corpusConst. art. 200(1); Constitutional Procedure CodePhysical libertyCourts retain review under emergency rule
IndiaWrit of habeas corpusConst. arts. 32 & 226Physical liberty (one of five writs)Arts. 20 & 21 non-derogable since the 44th Amendment
PhilippinesWrit of habeas corpus; writ of amparoConst. art. III § 15; S.C. A.M. 07-9-12-SCBody / liberty; amparo reaches life, liberty & securityUp to 60 days for invasion or rebellion, subject to review
JapanHabeas corpus (jinshin hogo)Const. art. 34; Habeas Corpus Act 1948Narrowed by rules; now mostly private-custody disputesRarely litigated against the state
South KoreaReview of detention legality; Habeas Corpus ActConst. art. 12(6); Habeas Corpus Act (2008)Criminal and administrative confinement — but excludes immigration detentionConstitutional right to prompt review
GermanyConstitutional liberty guarantee + judicial controlBasic Law arts. 104 & 2(2); constitutional complaintAny deprivation of liberty; judge by end of next dayTightly constrained even in emergencies
France“Habeas corpus a la francaise”Const. art. 66; juge des libertes et de la detentionAny arbitrary detention; supervised by the judiciaryJudicial guarantee of individual liberty
SpainProcedimiento de habeas corpusConst. art. 17.4; Organic Law 6/1984Physical liberty; decided within 24 hoursLimited under states of alarm, exception, or siege
ItalyConstitutional liberty guaranteeConst. art. 13Any restriction of personal liberty; 48+48-hour ruleReasoned judicial act always required
Council of EuropeRight to challenge lawfulness of detentionECHR art. 5(4) (with 5(1)(f) and 5(5))All detention, including immigration and extraditionDerogable under art. 15, but core safeguards persist

A summary necessarily flattens detail; constitutional article numbers, statutes, and the precise reach of each remedy are stated more fully in the sections above and in the sources below.

A glossary of the foreign remedies

Amparo
A Latin American constitutional action, born in nineteenth-century Mexico, that protects the constitutional rights not covered by habeas corpus. In Chile, confusingly, “amparo” is the name given to habeas corpus itself.
Accion de tutela
Colombia’s preferential, summary action (Constitution, art. 86) for the protection of fundamental rights, decided within ten days — the most heavily used rights remedy in the region.
Mandado de seguranca
The Brazilian “writ of security” (Constitution, art. 5, LXIX–LXX) protecting a clear and certain right not reached by habeas corpus or habeas data.
Habeas data
A remedy, now common across Latin America, that lets a person obtain and correct the information that public or private databases hold about them.
Recurso de proteccion
Chile’s general rights remedy (Constitution, art. 20) — the functional equivalent of the amparo elsewhere.
Refere-liberte
A French urgent administrative procedure allowing a court to act within days to protect a fundamental freedom against the administration.
Juge des libertes et de la detention
The specialized French judge who rules on pretrial and administrative detention, including the detention of foreigners.
Verfassungsbeschwerde
The German individual constitutional complaint to the Federal Constitutional Court — the ultimate backstop for the liberty guarantees of Articles 2(2) and 104 of the Basic Law.
Article 5 ECHR
The European Convention’s right to liberty and security; clause (4) supplies the continental functional habeas corpus — a speedy judicial test of the lawfulness of any detention.

Sources & further reading

Primary sources (constitutions and statutes)
  • U.S. Const. art. I, § 9, cl. 2; 28 U.S.C. §§ 2241–2255; Boumediene v. Bush, 553 U.S. 723 (2008).
  • Brazil — Constituicao Federal de 1988, art. 5 (Planalto).
  • Argentina — Constitucion Nacional, art. 43 (Constitute Project).
  • Colombia — Constitucion, arts. 30 & 86; Statutory Law 1095/2006 (PDBA, Georgetown).
  • Philippines — Rule on the Writ of Amparo, A.M. No. 07-9-12-SC (LawPhil).
  • Germany — Basic Law (Grundgesetz), arts. 2(2) & 104 (official English text).
  • France — Constitution of 1958, art. 66 (Legifrance).
  • Spain — Constitution, art. 17.4; Organic Law 6/1984 (BOE).
  • Council of Europe — ECHR Article 5; Guide on Article 5 (ECtHR).
  • India — Constitution, arts. 32 & 226; ADM Jabalpur v. Shivkant Shukla, AIR 1976 SC 1207; K.S. Puttaswamy v. Union of India (2017).
  • United Kingdom — Habeas Corpus Act 1679; Habeas Corpus Act 1816 (legislation.gov.uk).
  • Japan — Constitution, art. 34; Habeas Corpus Act of 1948. South Korea — Constitution, art. 12(6); Habeas Corpus Act (2008).
Selected commentary
  • Allan R. Brewer-Carias, Constitutional Protection of Human Rights in Latin America (Cambridge).
  • Hector Fix-Zamudio, writings on the Mexican amparo.
  • Reynato S. Puno, opinions and lectures on the Philippine writs of amparo and habeas data.
  • Law Library of Congress, country reports on habeas corpus rights.

This page is a comparative and educational overview of foreign and international law. It is not legal advice, and the law of every jurisdiction discussed here is subject to change; consult primary sources and qualified local counsel before relying on any point. For the American doctrine that the rest of this site tracks, see the post-removal detention and third-country removal categories, or the glossary.