Habeas corpus
A common law writ requiring that a person detained be brought before a court so the lawfulness of their detention can be examined — one of the oldest protections against unlawful imprisonment.
Definition
Habeas corpus (Latin: "you shall have the body") is a common law remedy of ancient origin — referenced in Magna Carta 1215 and codified by the <a href="https://www.legislation.gov.uk/ukpga/1679/2/contents" target="_blank" rel="noopener noreferrer">Habeas Corpus Act 1679</a> — which requires a person detaining another to bring them before a court and justify the detention. The court issues the writ to the jailer or detaining authority; they must produce the detainee and show legal authority for the detention. If they cannot, the court orders immediate release. The writ can be sought in the Divisional Court of the King's Bench Division. It is a remedy of last resort for unlawful detention — it does not determine guilt or innocence but only whether the detention itself is lawful. <strong>Application in modern practice:</strong> habeas corpus applications now mainly arise in: (1) <strong>immigration and extradition</strong> — challenging detention pending deportation or extradition where the statutory authority is questionable; (2) <strong>mental health detention</strong> — challenging detention under the Mental Health Act 1983 (though the Mental Health Tribunal is the primary forum); (3) <strong>prisoners</strong> — challenging the legality of a continued detention after the lawful sentence has expired. The Human Rights Act 1998 and <a href="https://www.legislation.gov.uk/ukpga/1998/42/section/5" target="_blank" rel="noopener noreferrer">Article 5 ECHR</a> (right to liberty) now provide an overlapping framework — a human rights challenge under Article 5 is often brought alongside or instead of a habeas corpus application. The scope of habeas corpus was confirmed in <em>R (Rahmatullah) v Secretary of State for Defence</em> [2012] UKSC 48.
In practice
If you or someone you know is being detained and you believe the detention is unlawful — including by a private body such as a care home acting beyond its authority — act immediately. Apply to the High Court (Administrative Court) for habeas corpus or an urgent judicial review. Legal aid is available. The court can list an emergency hearing within 24 hours in urgent cases. Habeas corpus is the procedural twin of judicial review in detention cases — both challenge the lawfulness of a public authority's act. See the <a href="/glossary/judicial-review" class="body-link">judicial review entry</a> and the <a href="/glossary/remedy" class="body-link">remedy entry</a>.