India — Public protest rights · civil

How to File Writ of Habeas Corpus for Illegal Detention During Protest in India

Arbitrary police detentions or house arrests during peaceful protests in India violate fundamental constitutional liberties. This guide explains how to challenge unlawful custody by filing an urgent writ of habeas corpus in the High Court or Supreme Court.

Share WhatsAppFacebookXLinkedInEmail

The rules are the same for everybody, but what you should do depends on your dates, your documents, and what the other side has said. On Caunsel you write down what's actually going on and get answers about your situation, with the law they rely on, or just talk it through out loud. If it needs follow-up, you keep it as a case, and when there's paperwork, it'll suggest what you need, write it up, and you can e-sign it right there.

What the law says in India

In India, the right to peaceful assembly and free speech is guaranteed under Article 19(1)(a) and Article 19(1)(b) of the Constitution. When authorities execute arbitrary preventive detentions or hold protesters past legal limits without producing them before a magistrate, they violate Article 21 (protection of life and personal liberty) and Article 22 (safeguards against arbitrary arrest).

A writ of habeas corpus—literally meaning 'to have the body'—is an emergency constitutional remedy. Under Article 32, you can approach the Supreme Court, or under Article 226, you can approach the jurisdictional High Court to command authorities to immediately produce the detained person and justify the legality of their custody. Landmark precedents like D.K. Basu v. State of West Bengal mandate strict procedural transparency, making unlawful confinement actionable.

What you can do next

If a family member or associate has been swept up in arbitrary custody or house arrest during a protest, time is critical. Do not wait passively for police updates. Gather available digital evidence, including video footage, transit logs, witness statements, and refusal documents from local police stations.

Drafting a habeas corpus petition requires rapid compilation of facts proving that the detention lacks statutory backing or exceeds the 24-hour production window mandated under criminal procedure rules. You can use Caunsel to research relevant precedents, save documents in a structured case file, or connect with an independent lawyer to file the writ urgently.

Steps

These are the general steps. Caunsel works out which ones apply to you, with your dates and documents.

Draft my habeas corpus case file

Common mistakes

Questions people ask

Who can file a habeas corpus petition in India?

Unlike regular criminal appeals, a habeas corpus petition does not strictly have to be filed by the victim. Due to liberalized locus standi rules, a relative, friend, or legal rights activist can file the petition on behalf of the illegally detained person.

What is the difference between filing under Article 32 and Article 226?

A petition under Article 32 is filed directly before the Supreme Court of India for the enforcement of fundamental rights. A petition under Article 226 is filed before the respective State High Court exercising territorial jurisdiction over the place of detention.

Can police use prohibitory orders like Section 163 BNSS to indefinitely detain protesters?

No. While authorities can impose prohibitory orders to manage public order, using them to execute blanket, unrecorded detentions or preventive house arrests beyond legal parameters violates Supreme Court mandates.

Want to organize your evidence or check case precedents for an illegal detention petition?

Research it with the advisor, keep documents in a case, or talk to an independent lawyer. Start a subscription for AI tools.

Know someone dealing with this? Send them this guide.

Share WhatsAppFacebookXLinkedInEmail

General information only, last updated 2026-11-22. Caunsel is not a law firm and does not practise law. AI answers and this guide are not legal advice. Verify filings, deadlines, and statutes with a licensed lawyer in India — Public protest rights.