Habeas corpus is the oldest of the writs and the most direct: it tests one question, whether this person's liberty is being taken away according to law. Because the question is narrow, the petition has to be precise about who is holding whom, where, since when, and why that is unlawful. This guide explains when the writ is the right tool, and when the High Court will send the matter elsewhere.
Situations where the writ is used
Detention by the police without legal process
Article 22(2) of the Constitution and Section 58 of the Bharatiya Nagarik Suraksha Sanhita, 2023 require an arrested person to be produced before a magistrate within 24 hours, excluding travel time. Holding someone at a police station for days without recording an arrest, or without producing them, is the classic case for habeas corpus. Where the Court finds the detention illegal it orders release and may, as in Rudul Sah v. State of Bihar (1983), award compensation for the violation of Article 21.
Preventive detention
Detention orders under preventive detention laws are challenged by habeas corpus. The Court does not ask whether the detenu committed an offence; it examines whether the procedure under Article 22(5) and the detention statute was followed: whether the grounds and documents relied on were supplied in a language the detenu understands, whether the representation was considered without unexplained delay, and whether the material could support the authority's satisfaction.
Adults held by their own family
Where an adult, often a woman who has married or wishes to marry against the family's wishes, is kept confined at home, habeas corpus lies against the family. The Court usually has the person produced, speaks to them, and lets them go where they choose. In Shafin Jahan v. Asokan K.M. (2018) the Supreme Court held that a High Court hearing habeas corpus cannot override an adult's choice of partner or annul a marriage. Where the fear is of future violence rather than present confinement, the better remedy is a protection petition, which is a separate proceeding.
Child custody: where habeas corpus stops
Habeas corpus is maintainable to recover a child, including from a parent, but it is not a shortcut around the family courts. In Nithya Anand Raghavan v. State (NCT of Delhi) (2017), Tejaswini Gaud v. Shekhar Jagdish Prasad Tewari (2019) and Yashita Sahu v. State of Rajasthan (2020), the Supreme Court held that the writ lies where the child's custody with the respondent is illegal, but the decision turns on the welfare of the child, not on which parent has the stronger legal claim.
In practice, where a child is living with one parent and there is no court order, the High Court often declines to decide custody in a summary writ proceeding and directs the parties to the Guardians and Wards Act route. The writ is more likely to be decided on the merits where a custody order already exists and is being defied, where the child has been removed suddenly and concealed, or in cross-border removals where speed is essential.
Missing persons and the limits of the writ
A person who has left home and cannot be found is not, by that fact alone, being detained by anyone. The High Courts do not treat habeas corpus as a substitute for a missing-person complaint. The first step is a written complaint to the police and, where appropriate, a First Information Report.
The writ becomes appropriate when there is a reasonable basis to say a particular person or authority is holding the missing person: a sighting, messages, threats, or a history of the family opposing a relationship. The petition should name that respondent and explain the basis. Where the police are not acting on a complaint, the High Court can direct the police to trace the person and report, and may monitor the search.
Practice in the Delhi and Punjab & Haryana High Courts
In the Delhi High Court a habeas corpus petition is filed on the criminal writ side and is usually listed urgently on mentioning. The Court commonly issues notice to the police returnable within days and directs the Station House Officer to produce the person.
The Punjab & Haryana High Court at Chandigarh, which hears matters from Punjab, Haryana and Chandigarh, has a long practice of appointing a Warrant Officer on a habeas corpus petition: an officer of the Court who visits the place where the person is said to be held, with police assistance, and produces them if found. Speed and surprise are the point; a petition that asks for a Warrant Officer must give a specific address and a credible basis.
A parallel remedy exists under Section 100 of the BNSS, which lets a District Magistrate, Sub-divisional Magistrate or Magistrate of the first class issue a search warrant for a person wrongfully confined. It can be quicker locally; the High Court remains available where officials are involved or the magistrate's route fails.
What the petition needs
Anyone with knowledge can file on behalf of the detained person, usually a spouse, parent, sibling or friend. The papers should include:
- who is detained, with age, a photograph and proof of the petitioner's relationship;
- who is holding them, where, from what date and time, and how the petitioner knows;
- every complaint already made to the police, with copies and dates;
- for police detention, any record of arrest, call records or witnesses showing when the person was taken;
- for preventive detention, the detention order, grounds, and the date and fate of any representation.
Exaggeration hurts these petitions. If the person is produced and says they are not being held, the petition fails and the Court may impose costs. Our criminal litigation team checks the facts with the petitioner before filing, and where the real issue is an arrest that is lawful, advises on bail instead.
Frequently Asked Questions
Who can file a habeas corpus petition?
Anyone who knows of the detention can file it on the detained person's behalf. It is usually a relative or friend, because the detained person cannot file it themselves.
Can habeas corpus be filed against private persons?
Yes. It lies against anyone holding a person without legal authority, including family members confining an adult at home.
Is habeas corpus the right remedy if my relative is missing?
Usually not at first. Make a written police complaint; the writ fits only when there is a reasonable basis to say a specific person or authority is holding them.
Can I get custody of my child through a habeas corpus petition?
Sometimes, but the High Court decides on the child's welfare and often sends custody disputes to the family court under the Guardians and Wards Act, especially where there is no existing custody order.
How quickly is a habeas corpus petition heard?
It is listed urgently, often within a day or two of mentioning. The Court usually directs the respondent to produce the person on a short date.
Can I file in the Supreme Court directly?
Yes, Article 32 allows it because personal liberty is a fundamental right, but the Supreme Court often expects the High Court to be approached first unless there is a strong reason.
What happens if the police say the person was arrested lawfully?
If the arrest and remand are shown to be legal, habeas corpus fails and the remedy is bail. The Court will still examine whether the 24-hour production rule and the arrest procedure were followed.
Speak with the firm
Call +91 97119 64964, message on WhatsApp or write to manujalawyers@gmail.com. Manuja Advocates works from the Supreme Court of India, the Punjab & Haryana High Court at Chandigarh and the District & Sessions Court, Gurugram.