Habeas Corpus in India Under Articles 32 and 226
By Priya Pillai
In this article
- How courts examine a habeas corpus petition
- Article 32 and Article 226 compared
- Two custody problems
- A family can identify the police station
- A magistrate has already authorised custody
- Leading cases on the writ
- How to handle habeas corpus on an exam
- A comparison with U.S. federal habeas corpus
- If someone may be held unlawfully
- Sources
Habeas corpus is a court remedy for unlawful detention. In India, the Supreme Court can issue the writ under Article 32 to enforce a fundamental right, and High Courts can issue it under Article 226. The court examines the legal basis for holding the person and can order release if the custody is unlawful.
How courts examine a habeas corpus petition
The key question is what authority the custodian has to keep holding the person. A court can require the person holding them to explain the detention and can direct that the detained person be brought before it. In Kanu Sanyal, the Supreme Court held that it could decide the petition without requiring the detained person to appear in court.
- Show a basis for believing the person is being held. Identify the person, the suspected custodian and the facts pointing to confinement. Where the detained person cannot apply, a relative or another suitable person can approach the court on their behalf.
- Identify the legal defect in the custody. It could be the absence of legal authority, an expired order or a defect in an order that makes the custody unlawful. The court can call for the order and examine it.
- Check for a judicial remand order. If a competent court has issued a valid order authorising custody, habeas corpus generally fails. The Supreme Court in Gautam Navlakha recognised limited grounds for intervention, such as lack of jurisdiction, absolute illegality or a remand order passed in an entirely mechanical manner.
Article 22(1) separately protects the right to be informed of the grounds of arrest. In Mihir Rajesh Shah, the Court explained that a failure to communicate the grounds in writing within the required time can make the arrest and ensuing remand unlawful.
A High Court can also use Article 226 to address unlawful private custody. In a child-custody dispute, habeas corpus is an exceptional route. The court examines whether the custody is unlawful and considers the child's welfare in deciding what order to make.
Article 32 and Article 226 compared
| Provision | Court | Scope of writ jurisdiction |
|---|---|---|
| Article 32 | Supreme Court of India | Enforcement of rights conferred by Part III of the Constitution. |
| Article 226 | High Court | Enforcement of Part III rights and other legal rights. The territorial requirements in Article 226 also apply. |
In an ordinary arrest, Article 22(2) requires production before the nearest magistrate within 24 hours, excluding the time needed to travel from the place of arrest to the magistrate's court. Continued detention beyond that period requires a magistrate's authority. Article 22(3) specifies exceptions, including detention under a law providing for preventive detention.
Two custody problems
A family can identify the police station
Officers take Meera to a police station in an ordinary criminal investigation. Her sister Isha saw the arrest and later spoke to an officer who confirmed Meera was still there. Two days have passed, the station is close to the magistrate's court, and nobody has brought Meera before a magistrate or obtained an order authorising her continued custody.
Isha can give the High Court concrete facts showing who holds Meera and where. On the assumed facts Article 22(2) applies, the permitted time has passed, and there is no judicial authority for the continued detention. The court can require the police to justify it and order release if they cannot establish a lawful basis.
A magistrate has already authorised custody
Police arrest Kabir, produce him before the competent magistrate that afternoon and obtain a valid remand order. Kabir's sister says the prosecution's identification evidence is weak and seeks habeas corpus.
Custody is established, but the remand order supplies legal authority for it. Doubts about identification do not, by themselves, establish that the order was made mechanically, without jurisdiction or with absolute illegality. The writ would ordinarily fail on these facts. An application for bail can address whether Kabir should remain in custody while the case proceeds.
Leading cases on the writ
- Kanu Sanyal v. District Magistrate, Darjeeling, (1973) 2 SCC 674. The Court held that physical production of the detainee is unnecessary in an appropriate case. The court can examine the legality of the restraint and order release on that basis.
- Tejaswini Gaud v. Shekhar Jagdish Prasad Tewari, (2019) 7 SCC 42. The Court upheld an order returning a child from relatives to her father in the circumstances of the case. It explained the role of unlawful custody and the importance of the child's welfare.
- Gautam Navlakha v. National Investigation Agency, 2021 INSC 295. The Court explained when defects in a remand order can support habeas corpus and when judicial remand forecloses that route.
The Supreme Court expressly overruled ADM Jabalpur v. Shivkant Shukla in K.S. Puttaswamy v. Union of India in 2017. For the Emergency-era dispute and the dissent, see the ADM Jabalpur case brief. For examples of proceedings brought for people who could not readily approach the court themselves, see the guide to public interest litigation in India.
How to handle habeas corpus on an exam
- Issue. Identify the custodian and the legal authority claimed for the detention.
- Rule. Name the court's constitutional writ power, then state the applicable rule on arrest, remand or preventive detention.
- Application. Use the timeline. Check the current order and its expiry, the court that made it and the facts supporting any alleged defect.
- Conclusion. State whether habeas corpus is available and what order the facts could justify.
With a missing person, ask what facts suggest restraint by a specific person or authority. With a detainee, ask what legal authority exists when the court examines the custody. Those facts often decide which legal route fits.
A comparison with U.S. federal habeas corpus
In the United States, 28 U.S.C. § 2254 creates a specific route for a person in custody under a state-court judgment to challenge custody on federal grounds. It generally requires exhaustion of available state remedies and sets limits on federal review. An Indian petition under Article 226 follows India's constitutional rules.
If someone may be held unlawfully
Seek help promptly from a local lawyer or a legal services authority. Write down when and where the person was last seen, who may be holding them and any information about an arrest or court order. Preserve messages and records that show the timeline. People in custody can apply for free legal aid. The National Legal Services Authority lists 15100 for urgent legal assistance.
Sources
- Constitution of India, Articles 21, 22, 32 and 226.
- Kanu Sanyal v. District Magistrate, Darjeeling, (1973) 2 SCC 674.
- Tejaswini Gaud v. Shekhar Jagdish Prasad Tewari, (2019) 7 SCC 42.
- Gautam Navlakha v. National Investigation Agency, 2021 INSC 295.
- Justice K.S. Puttaswamy (Retd.) v. Union of India, (2017) 10 SCC 1.
- Simranjit Singh Mann v. Union of India, (1992) 4 SCC 653.
- Home Secretary (Prison) v. H. Nilofer Nisha, (2020) 14 SCC 161.
- Serious Fraud Investigation Office v. Rahul Modi, (2019) 5 SCC 266.
- Mihir Rajesh Shah v. State of Maharashtra, 2025 INSC 1288, paragraphs 52 to 56.
- Bharatiya Nagarik Suraksha Sanhita, 2023, Sections 478, 480 and 483.
- 28 U.S.C. § 2254, state custody and remedies in federal courts.
- National Legal Services Authority, legal aid eligibility and applications.

About the author
Priya Pillai is the founder of LegalFly and has taught law for 9 years. She explains case law and legal concepts on the LegalFly YouTube channel.
