When a person is detained without lawful authority

Quick answer: A writ of habeas corpus asks the court to have a detained person produced before it and to examine whether the detention is lawful. It is filed before the High Court under Article 226 of the Constitution, or before the Supreme Court under Article 32. It can be filed by a relative or friend, and is used for illegal police detention, private detention and, in limited cases, the custody of a child.

The office of Adv. Mridul Jindal advises and appears for families from Delhi, Ghaziabad and Noida in habeas corpus petitions before the Delhi High Court and the Allahabad High Court. The first meeting is in person at our Indirapuram chamber where possible; online consultations are available by WhatsApp video, Google Meet or phone.

When people usually contact us

  • A family member has been picked up by the police and not produced before a Magistrate within twenty-four hours.
  • The police deny having the person in custody but the family has reason to believe otherwise.
  • An adult daughter or son is being kept by relatives against her or his will.
  • A child has been taken away by one parent or a relative in breach of a court order.
  • A person has gone missing and the police are not acting on the complaint.
  • A person is being held in a hospital, a home or another institution without authority.

How a habeas corpus petition usually runs

  1. We take the facts: who was taken, by whom, when and from where, and what complaints have been made.
  2. We check which High Court has jurisdiction, by the place of detention or where the person was taken from.
  3. The petition is drafted with an affidavit and the documents available, and urgent listing is sought.
  4. The court usually issues notice to the State and calls for a status report or directs that the person be produced.
  5. On production, the court may speak to the person and passes orders on release or custody.
  6. Where the detention is under a judicial order, we advise on bail or the other remedy instead.

How long a matter takes depends on the authority or court and on the case. No outcome can be promised.

Documents to bring to the first meeting

  • Identity proof of the petitioner and proof of relationship with the detained person.
  • Photograph and identity details of the detained person.
  • Copies of complaints made to the police or senior officers, with receipts.
  • Any FIR, missing person report or daily diary entry.
  • Messages, call records or CCTV footage that show what happened.
  • Any court order about custody, in cases concerning a child.

The law the court applies

  • Article 21 of the Constitution protects personal liberty; no person can be deprived of it except by procedure established by law.
  • Article 22 and section 58 of the Bharatiya Nagarik Suraksha Sanhita, 2023 require an arrested person to be produced before a Magistrate within twenty-four hours.
  • Article 226 gives the High Court, and Article 32 the Supreme Court, the power to issue the writ.
  • The petition can be filed by any person on behalf of the one detained.
  • The writ is generally not issued where the person is in custody under a valid order of a court.
  • In Tejaswini Gaud v. Shekhar Jagdish Prasad Tewari (2019), the Supreme Court held that habeas corpus can be used in child custody matters where the child is with a person not entitled to legal custody.

In the Supreme Court, filing is through an Advocate-on-Record; Adv. Mridul Jindal appears and argues the matter.

Which court

For detention in Delhi the petition goes to the Delhi High Court. For Ghaziabad, Noida and the rest of western Uttar Pradesh it goes to the Allahabad High Court. We check jurisdiction before filing.

Where the dispute is really about the custody of a child between parents, see child custody.

Frequently asked questions

Who can file a habeas corpus petition?

The detained person, or any relative or friend acting on that person's behalf. The petitioner does not have to be the person detained.

Can it be filed when the police have made a lawful arrest?

If the person has been produced before a Magistrate and is in custody under a remand order, the usual remedy is bail, not habeas corpus. The writ is for detention without lawful authority.

Is habeas corpus available when a person is missing?

Yes, where there is material to suggest illegal detention. The High Court can call for status reports from the police and direct them to trace and produce the person.

Can habeas corpus be used for the custody of a child?

In limited cases. The Supreme Court has held that it can be used where a child is kept by a person who is not entitled to legal custody. Otherwise custody is decided by the Family Court.

How quickly is such a petition heard?

Because personal liberty is involved, High Courts generally take up these petitions on priority. The actual listing depends on the court.

Reviewed by the office of Adv. Mridul Jindal · Last updated 28 November 2026. This page is for general information and is not legal advice or solicitation.