Habeas corpus is India’s most urgent constitutional remedy against unlawful restraint of personal liberty. This 2026 guide explains the writ under Articles 226 and 32, illegal police and judicial custody, preventive detention, private detention, adult autonomy, child custody, compensation and the leading Supreme Court authorities.
Writ of Habeas Corpus in India
Article 226 & Article 32 · Illegal Detention · Police & Judicial Custody · Preventive Detention · Private Detention · Child Custody · Adult Autonomy · Compensation · Supreme Court Cases
What Does Habeas Corpus Mean?
Habeas corpus is the constitutional remedy by which a court examines whether a person is being lawfully restrained. Although the expression historically refers to producing the body of the person detained, Indian constitutional law does not treat physical production as an inflexible ritual. The substance of the remedy is a speedy judicial examination of the legality of detention.
The writ is expressly named in Articles 32 and 226 of the Constitution. Article 21 protects life and personal liberty except according to procedure established by law, while Article 22 adds specific protections relating to arrest and preventive detention.
Constitutional Basis: Articles 21, 22, 32 and 226
| Provision | Role in Habeas Corpus |
|---|---|
| Article 21 | Personal liberty may be deprived only according to procedure established by law. |
| Article 22(1)–(2) | Safeguards concerning grounds of arrest, legal representation and production before the nearest magistrate, subject to constitutional exceptions. |
| Article 22(4)–(7) | Special constitutional framework for preventive detention. |
| Article 32 | Supreme Court writ jurisdiction for enforcement of fundamental rights. |
| Article 226 | High Court power to issue habeas corpus for enforcement of fundamental rights and “for any other purpose”. |
Official constitutional materials are available from the Legislative Department, Ministry of Law & Justice. The Supreme Court’s jurisdiction page also identifies habeas corpus among the writs available under Articles 32 and 226.
Who Can File a Habeas Corpus Petition?
The detained person may file the petition, but habeas corpus is not restricted to petitions personally signed by the detenu. A spouse, parent, child, relative, friend or other genuinely interested person may move the constitutional court where the detained person cannot effectively approach it.
This flexible approach to standing reflects the nature of the remedy: unlawful detention itself may prevent the person from obtaining ordinary access to counsel or court.
Against Whom Can the Writ Be Issued?
- Police and investigating agencies: unrecorded custody, detention without lawful arrest, failure to produce before a competent magistrate, or continued custody despite release.
- Prison authorities: incarceration after acquittal, expiry of sentence or release order, or custody unsupported by a valid warrant.
- Preventive-detention authorities: detention under the NSA, COFEPOSA or State preventive-detention laws where constitutional or statutory safeguards are violated.
- Private persons: unlawful confinement of an adult, spouse, child or other individual.
- Institutions: in appropriate cases where a person is confined in a home, facility or institution without lawful authority.
When Does Habeas Corpus Lie?
The writ may be considered when present restraint lacks legal authority or where authority once existed but no longer supports continued detention. Common grounds include:
- arrest or detention without authority of law;
- continued detention after acquittal, release order or expiry of lawful custody;
- custody under an order passed wholly without jurisdiction;
- failure to comply with mandatory constitutional or statutory safeguards;
- preventive detention founded on stale, irrelevant, non-existent or extraneous material;
- non-supply of relied-upon documents impairing an effective representation;
- unexplained delay in considering a preventive-detention representation;
- private confinement without lawful authority;
- minor child kept by a person without legal authority in circumstances calling for urgent intervention.
Kanu Sanyal: Physical Production Is Not an Inflexible Requirement
In Kanu Sanyal v. District Magistrate, Darjeeling, (1973) 2 SCC 674, the Supreme Court explained that physical production of the detenu is not indispensable in every habeas proceeding. The court can examine the legality of detention from the record and issue an effective release order if custody is unlawful.
The decision is important because it locates the essence of habeas corpus in judicial control of detention rather than in ceremony.
Illegal Police Detention
Police custody requires legal authority at every stage. Habeas corpus can be relevant where a person is allegedly picked up and kept in unrecorded custody, detained without timely production before a magistrate, or confined despite a release direction.
- CCTV footage and location evidence;
- arrest memo and DD/GD or station diary entries;
- medical examination records;
- communications with police personnel;
- witnesses to the pickup;
- remand order and exact time/date of first production.
The petition should identify the specific period said to be illegal rather than rely only on a general allegation of unlawful police action.
Habeas Corpus and Judicial Custody
Where custody is pursuant to a judicial remand order of a competent criminal court, habeas corpus is ordinarily not a substitute for bail, revision, appeal or other criminal-procedure remedies.
Exceptional scrutiny may nevertheless arise where the order is wholly without jurisdiction, detention continues after lawful authority has expired, a person remains incarcerated despite acquittal or release, or the judicial order does not furnish a lawful basis for present custody.
Preventive Detention: Strict Constitutional Scrutiny
Preventive detention authorises confinement to prevent anticipated prejudicial conduct rather than as punishment after trial. Because it permits detention outside ordinary criminal-trial safeguards, constitutional and statutory requirements are construed strictly.
Frequent grounds of challenge include:
- no real nexus between the material and the statutory ground of detention;
- ordinary law-and-order allegations wrongly elevated into “public order”;
- stale incidents lacking proximity;
- non-application of mind;
- detention used to bypass bail or cancellation-of-bail remedies;
- failure to supply relied-upon material;
- delay in deciding the representation;
- failure to provide material in a language understood by the detenu;
- breach of statutory approval or Advisory Board timelines;
- order passed by an incompetent authority.
Roshini Devi v. State of Telangana — 2026 INSC 41
In Roshini Devi v. State of Telangana, 2026 INSC 41, the Supreme Court set aside preventive detention after finding that extraordinary detention had been resorted to without a sufficient basis for concluding that ordinary criminal-law mechanisms were inadequate. The judgment reiterates that preventive detention is a hard law requiring strict scrutiny and cannot be used merely to keep an accused in custody when ordinary criminal law can address the situation.
Read the official Supreme Court judgment.
Vidyawant v. State of Maharashtra — 13 May 2026
In Vidyawant v. State of Maharashtra & Ors., the Supreme Court quashed a preventive-detention order under the Maharashtra law. It held that repetitive statutory expressions and bald assertions were insufficient; cogent material had to demonstrate a genuine public-order impact. Where ordinary law is capable of dealing with the conduct, preventive detention requires a real additional legal basis.
Read the official Supreme Court order.
Law and Order vs Public Order
| Law and Order | Public Order |
|---|---|
| Ordinary criminal wrongdoing affecting particular persons or situations. | Conduct with broader effect on community peace, safety or normal public life. |
| Normally addressed through FIR, arrest, investigation, prosecution, bail and trial. | May justify preventive detention only where the governing statute and constitutional safeguards are strictly satisfied. |
Article 22(5): Grounds and Right to Representation
Article 22(5) requires communication of the grounds of preventive detention and the earliest opportunity to make a representation against the order, within the constitutional framework. Effective representation may depend on timely supply of the documents and material actually relied upon by the detaining authority.
Delay in forwarding or deciding a representation can also become constitutionally significant depending on the governing statute and the explanation offered by the State.
Habeas Corpus Against Private Detention
Habeas corpus is available in appropriate cases against private confinement. Situations may include an adult allegedly restrained by relatives, unlawful confinement of a spouse, or custody of a minor by a person lacking legal authority.
Where a competent adult appears and states that he or she is staying voluntarily, the court’s focus is the adult’s free will. Family disagreement cannot ordinarily be converted into a basis for coercively controlling an adult’s residence or relationship.
Habeas Corpus in Child-Custody Cases
A habeas petition can be entertained in an appropriate child-custody dispute, particularly where a minor is kept by a person without lawful authority. However, the remedy remains extraordinary and the welfare of the child is paramount.
In Tejaswini Gaud v. Shekhar Jagdish Prasad Tewari, (2019) 7 SCC 42, the Supreme Court accepted the maintainability of habeas corpus in appropriate circumstances involving a natural guardian. In Gautam Kumar Das v. NCT of Delhi, 2024 INSC 610, the Court again dealt with a natural father’s habeas petition concerning the custody of his minor daughter.
Read Gautam Kumar Das, 2024 INSC 610.
Relevant considerations include lawful guardianship, age and preference of the child, emotional and physical welfare, education, circumstances in which custody was obtained, risk of harm or concealment, and whether a summary writ inquiry or detailed guardianship proceeding is appropriate.
Adult Autonomy and Marriage
Where a petition alleges that an adult has been kidnapped or illegally confined by a partner, the court may interact with the person to ascertain whether the stay is voluntary. If the adult is competent and expresses a free choice, constitutional liberty protects that decision even where family members disapprove.
Shafin Jahan v. Asokan K.M., (2018) 16 SCC 368 is a leading authority on adult autonomy in this context.
Compensation for Illegal Detention
Constitutional relief is not always exhausted by release. In exceptional cases of established unlawful detention, courts have awarded public-law compensation.
Rudul Sah v. State of Bihar, (1983) 4 SCC 141 dealt with continued incarceration after acquittal. Bhim Singh v. State of J&K, (1985) 4 SCC 677 and Nilabati Behera v. State of Orissa, (1993) 2 SCC 746 further developed constitutional compensation principles.
Alternative Remedy and Habeas Corpus
A constitutional court will not ordinarily insist on an alternative remedy where the very complaint is that a person is being held without lawful authority. But if custody flows from a facially valid judicial order and the actual grievance belongs in bail, appeal, revision or guardianship proceedings, the court may decline habeas relief.
When Habeas Corpus Usually Does Not Lie
- to re-evaluate the merits of a criminal prosecution;
- as a substitute for regular bail;
- merely because an accused disagrees with a competent remand order;
- to compel a competent adult to return to relatives against free choice;
- to decide complex guardianship merits where a summary writ inquiry is inappropriate;
- where there is no actual restraint of liberty.
Practical High Court Filing Structure
- Synopsis and urgent chronology: identify when liberty was lost.
- Parties: include the detaining authority/person and necessary State respondents.
- Territorial jurisdiction: plead the Article 226 nexus.
- Source of custody: FIR, detention order, remand order, private custody or allegedly unrecorded police detention.
- Grounds: specify the constitutional/statutory defect.
- Urgency: explain immediate prejudice to liberty, safety or health.
- Interim protection: production, medical examination, CCTV preservation, access to counsel/family, status report or non-removal from jurisdiction where legally justified.
- Final relief: release, quashing of detention, restoration of lawful custody or other executable constitutional direction.
Documents to Collect Before Filing
| Context | Documents |
|---|---|
| Police detention | Arrest memo, FIR, DD/GD entries, CCTV request, remand papers, medical records, communications. |
| Judicial custody | Remand orders, release/bail orders, warrant, custody certificate, acquittal/sentence order. |
| Preventive detention | Detention order, grounds, relied-upon documents, translations, representation, State approval, confirmation and Advisory Board material where available. |
| Private/child custody | Identity/age proof, guardianship material, complaints, messages, location evidence, school/medical records, earlier custody orders. |
Preventive-Detention Habeas Checklist
- Was the order made by a competent authority?
- Do the facts fit the statutory category invoked?
- Is there a real public-order nexus?
- Are the relied-upon incidents proximate or stale?
- If the detenu was already in custody, was likely release properly considered?
- Were bail orders accurately considered?
- Were all relied-upon documents supplied in time and in an understood language?
- Was the representation considered expeditiously?
- Were approval and Advisory Board timelines followed?
- Does the record show an attempt to bypass ordinary criminal law?
Leading Supreme Court Cases on Habeas Corpus
| Case | Principle |
|---|---|
| Kanu Sanyal v. District Magistrate, Darjeeling, (1973) 2 SCC 674 | Physical production is not an inflexible prerequisite; legality of detention is central. |
| Sunil Batra v. Delhi Administration, (1978) 4 SCC 494; (1980) 3 SCC 488 | Constitutional protection extends to unlawful prison restraint and custodial abuse. |
| Rudul Sah v. State of Bihar, (1983) 4 SCC 141 | Public-law compensation for grave illegal detention. |
| Bhim Singh v. State of J&K, (1985) 4 SCC 677 | Compensation for unconstitutional arrest and detention. |
| Nilabati Behera v. State of Orissa, (1993) 2 SCC 746 | Constitutional compensation for established violation of fundamental rights. |
| D.K. Basu v. State of West Bengal, (1997) 1 SCC 416 | Landmark arrest and custodial safeguards. |
| Nithya Anand Raghavan v. State (NCT of Delhi), (2017) 8 SCC 454 | Child welfare controls transnational custody decisions. |
| Shafin Jahan v. Asokan K.M., (2018) 16 SCC 368 | Adult autonomy and free choice must be respected. |
| Tejaswini Gaud v. Shekhar Jagdish Prasad Tewari, (2019) 7 SCC 42 | Habeas corpus may lie in appropriate child-custody cases; welfare is paramount. |
| Ameena Begum v. State of Telangana, 2023 INSC 788 | Preventive detention cannot overreach ordinary criminal safeguards through extraneous considerations. |
| Gautam Kumar Das v. NCT of Delhi, 2024 INSC 610 | Reaffirmed extraordinary habeas jurisdiction in an appropriate minor-custody dispute. |
| Roshini Devi v. State of Telangana, 2026 INSC 41 | Strict scrutiny of preventive detention and ordinary-law alternatives. |
| Vidyawant v. State of Maharashtra, 13 May 2026 | Generic language is insufficient; cogent public-order material is required. |
Article 226 vs Article 32
| Issue | Article 226 | Article 32 |
|---|---|---|
| Court | High Court | Supreme Court |
| Scope | Fundamental rights and “any other purpose” | Enforcement of fundamental rights |
| Territorial element | Article 226 territorial principles apply. | Supreme Court’s nationwide constitutional jurisdiction. |
How Should Relief Be Framed?
- production of the detenu or secure interaction where appropriate;
- declaration that custody is illegal;
- quashing of a preventive-detention order;
- immediate release unless required in another lawful case;
- restoration of a minor to lawful custody subject to welfare;
- protection of a competent adult’s free choice;
- medical examination or preservation of CCTV/custody records;
- constitutional compensation in an established case of unlawful detention.
Frequently Asked Questions
Can habeas corpus be filed against police?
Yes, where police are alleged to be holding a person without lawful authority.
Can it be filed when a person is in judicial custody?
Ordinarily, valid judicial remand is challenged through criminal-law remedies. Habeas scrutiny is exceptional where custody is wholly without legal authority or continues after that authority has ceased.
Can it be filed for a child?
Yes, in appropriate cases. The remedy is discretionary and child welfare is paramount.
Can parents use it to bring back an adult child?
They may approach the court if unlawful confinement is genuinely alleged, but the free choice of a competent adult controls once voluntariness is established.
Can preventive detention be challenged while criminal cases are pending?
Yes. Pending cases do not immunise the detention order; the preventive-detention statute and constitutional safeguards must independently be satisfied.
Is physical production always mandatory?
No. Kanu Sanyal establishes that personal production is not an inflexible prerequisite.
Can compensation be claimed?
Yes, in appropriate cases of established unconstitutional detention.
Related Fastrack Legal Solutions Writ Guides
Primary Sources
- Constitution of India — Legislative Department
- Supreme Court of India — Jurisdiction
- Roshini Devi v. State of Telangana, 2026 INSC 41
- Vidyawant v. State of Maharashtra, 13 May 2026
- Gautam Kumar Das v. NCT of Delhi, 2024 INSC 610
Conclusion
Habeas corpus remains the constitutional system’s fastest safeguard against unlawful restraint. The remedy reaches illegal police custody, unlawful prison detention, preventive detention, private confinement and appropriate custody disputes, while remaining distinct from bail, appeal and ordinary guardianship proceedings.
The decisive drafting question is concrete: what is the present legal authority for restraining this person’s liberty, and where exactly has that authority failed?