Criminal Law

Habeas Corpus vs Regular Bail: Choosing the Right Remedy

By Advocate Sharan Jain

Habeas Corpus vs Regular Bail: Choosing the Right Remedy

When a family member is suddenly taken into custody, the first instinct is to "get bail". But bail is not always the right tool. The choice between habeas corpus and regular bail turns on a single question: is the detention itself unlawful, or is the person lawfully arrested and simply seeking release pending trial? Habeas corpus attacks the legality of the detention; bail accepts that the custody is lawful and asks the court to release the accused on conditions. Picking the wrong remedy wastes precious days and can prejudice the case.

Part of the bail and anticipatory bail practice at S Jain & Attorneys, Bangalore.

This explainer walks an ordinary reader through what each remedy actually does, when each one applies, and how a criminal lawyer decides which door to knock on first.

What Is the Habeas Corpus Writ in India?

"Habeas corpus" is Latin for "you shall have the body". It is a constitutional writ, a direct order from a High Court (under Article 226 of the Constitution) or the Supreme Court (under Article 32), commanding whoever holds a person in custody to physically produce that person before the court and justify the detention. If the authority cannot show a lawful basis, the court orders immediate release.

The writ is not concerned with guilt or innocence. It asks only one thing: is this person being held with legal authority? It is most often used where:

  • A person is detained without being produced before a magistrate within the 24-hour limit. That safeguard sits in Article 22(2) of the Constitution and is mirrored in Section 58 of the Bharatiya Nagarik Suraksha Sanhita, 2023 (formerly Section 57 of the Code of Criminal Procedure, 1973), which forbids detention beyond twenty-four hours, excluding travel time to the magistrate's court, without a special order under Section 187 BNSS.
  • Someone is held under a preventive detention order that is procedurally defective. Preventive detention is carved out of the Article 22(2) production rule and carries its own safeguards under Article 22(4) to (7), which is precisely why procedural defects are the usual battleground.
  • A person, often a woman, a child, or an elderly parent, is in private illegal confinement, for example wrongful restraint by a spouse or relatives.
  • A person has been picked up and the police deny holding them ("disappearance" cases).

Because it is a constitutional remedy, a habeas corpus petition can be filed quickly, is heard with urgency, and can be moved by the detenu or by a relative or friend on their behalf.

What Is Regular Bail?

Regular bail is the ordinary criminal-procedure remedy for a person who has already been arrested in a cognizable case and is in judicial or police custody. It does not question whether the arrest was legal; it accepts the custody and asks the court to release the accused, on a bond and conditions, while the investigation or trial continues.

The bail provisions historically sat in Sections 437 and 439 of the Code of Criminal Procedure, 1973. Under the new code they are Section 480 BNSS (when bail may be taken in a non-bailable offence, formerly Section 437 CrPC) and Section 483 BNSS (special powers of the High Court or Court of Session regarding bail, formerly Section 439 CrPC). There are three commonly confused varieties:

  • Regular bail, sought after arrest, when the person is in custody, under Section 480 or Section 483 BNSS.
  • Anticipatory bail, sought before arrest, by a person apprehending arrest in a non-bailable offence, under Section 482 BNSS (formerly Section 438 CrPC).
  • Interim bail, a short, temporary release granted while a regular or anticipatory bail application is pending.

A bail court weighs factors such as the gravity of the offence, the likelihood of the accused fleeing, the risk of tampering with evidence or influencing witnesses, and the accused's antecedents. Crucially, the court presumes the arrest itself was lawful. For more on protection sought before arrest, see our guide to anticipatory bail in India.

Each of these remedies comes from a different place in the statute book.

Article 226 and Article 32

Habeas corpus is a constitutional writ issued by a High Court under Article 226 or the Supreme Court under Article 32, commanding production of the person.

Section 480 BNSS

Governs when bail may be taken in a non-bailable offence, replacing Section 437 of the Code of Criminal Procedure, 1973.

Section 483 BNSS

Gives the High Court and the Court of Session their special powers regarding bail, replacing Section 439 of the Code of Criminal Procedure, 1973.

Section 482 BNSS

Anticipatory bail, sought before arrest by a person apprehending arrest in a non-bailable offence, replacing Section 438 of the old Code.

Habeas Corpus vs Regular Bail: The Core Difference

The cleanest way to see the difference between bail and habeas corpus is side by side.

FeatureHabeas CorpusRegular Bail
What it challengesThe legality of the detention itselfNothing about legality; accepts lawful custody
Underlying question"Is this person held with legal authority?""Should a lawfully arrested person be released pending trial?"
Legal basisArticle 32 (Supreme Court) or Article 226 (High Court)Sections 480 and 483 BNSS, 2023 (formerly Sections 437 and 439 CrPC)
Where filedHigh Court or Supreme CourtTrial court or Sessions Court first; then High Court
Who can fileThe detenu or a relative or friendUsually the accused (through counsel)
Typical useIllegal or arbitrary detention, missing 24-hour production, private confinement, defective preventive detentionPerson properly arrested in a cognizable case seeking release
Outcome if successfulImmediate, unconditional releaseRelease on bond with conditions
Effect on the caseDetention declared unlawful; arrest may be voidCase continues; accused faces trial on bail

The single most important takeaway: habeas corpus says the custody should never have happened; bail accepts the custody and seeks release. Use the wrong one and the court may simply tell you that you have approached the wrong forum.

Key takeaway. Ask one question before anything else: has a magistrate passed a remand order? If yes, you are almost certainly in bail territory, whatever the family feels about how the arrest was made. If no magistrate has seen the person, you may be in habeas corpus territory and every hour counts. Everything else in this article follows from that single fact.

When to File Habeas Corpus Instead of Bail

A writ petition for unlawful detention is the right remedy when the foundation of the custody is missing or defective. Practical signals that habeas corpus, not bail, is the answer:

  1. No production before a magistrate within 24 hours. The 24-hour rule, excluding travel time, is a constitutional safeguard under Article 22(2) and a statutory one under Section 58 BNSS. If it is breached, the continued detention is prima facie illegal.
  2. The police deny custody. If the police say they are not holding the person but the family has reason to believe otherwise, only a writ court can compel them to produce the body.
  3. Private illegal confinement. Where there is no arrest at all, say a person is being held against their will by relatives, bail is irrelevant; habeas corpus is the route.
  4. Procedurally defective preventive detention. Preventive detention orders must follow strict procedure, and a defect can be challenged by writ.
  5. No FIR, no remand order, no legal authority for the custody at all.

A note of caution courts repeatedly stress: habeas corpus is not a substitute for bail. Once a person has been lawfully arrested and remanded by a competent magistrate, the proper remedy is a bail application, not a writ. In Manubhai Ratilal Patel through Ushaben v. State of Gujarat, decided by the Supreme Court on 28 September 2012 and reported at (2013) 1 SCC 314, the Court held that directing remand is a judicial function, and that a writ of habeas corpus is not to be granted where a person is committed to custody by a competent court by an order that does not prima facie appear to be without jurisdiction or wholly illegal. The scope is fact-sensitive, and an order passed mechanically or without jurisdiction stands on a different footing. For the mechanics of moving a writ court, see our note on how to file a writ petition in the High Court.

Common mistake. Filing a habeas corpus petition because the family is angry about the arrest rather than because the detention lacks legal authority. Where a valid remand order exists, the writ will usually be dismissed, and the days spent drafting and listing it are days the accused spends in custody without a bail application on file. A writ is not a show of strength. It is a narrow remedy for a narrow defect.

When Regular Bail Is the Right Remedy

Regular bail is the correct, and usually the only sensible, remedy when:

  • There is a valid FIR in a cognizable offence and a lawful arrest.
  • The accused has been produced before a magistrate and remanded under Section 187 BNSS.
  • The custody is procedurally proper, and the real question is simply release pending trial.

In the vast majority of everyday criminal cases, the arrest is lawful and bail is the correct route. Habeas corpus is the exception, reserved for genuine illegality. A good criminal lawyer will not file a writ merely to look aggressive; doing so can irritate the court and delay the bail the client actually needs.

Where the custody itself is sound but the investigating agency misses the statutory time limit for filing the charge sheet, a different route opens. Under Section 187(3) BNSS (formerly Section 167(2) CrPC), a magistrate cannot authorise detention beyond ninety days where the offence is punishable with death, life imprisonment or imprisonment of ten years or more, or beyond sixty days for any other offence. On expiry the accused is entitled to be released on bail if prepared to furnish it. See our explainer on default bail.

What about anticipatory bail?

If a person has not yet been arrested but fears arrest in a non-bailable matter, neither regular bail nor habeas corpus fits. The remedy is anticipatory bail under Section 482 BNSS, formerly Section 438 CrPC. This is a third door, and confusing it with the other two is a common and costly mistake.

How a Lawyer Chooses the Remedy: A Quick Decision Path

SituationLikely Remedy
Person not yet arrested, fears arrestAnticipatory bail (Section 482 BNSS)
Lawfully arrested, remanded, in custodyRegular bail (Section 480 or 483 BNSS)
Charge sheet not filed within 60 or 90 daysDefault bail (Section 187(3) BNSS)
Detained, not produced within 24 hoursHabeas corpus
Police deny holding the personHabeas corpus
Held privately, no arrest at allHabeas corpus
Defective preventive-detention orderHabeas corpus (writ)

The honest reality is that these situations can overlap, and the facts on the ground change by the hour. A relative who suspects an unlawful detention should contact a lawyer immediately rather than guessing, because the first 24 to 48 hours are often decisive. This is the kind of urgent question handled within criminal defence and prosecution practice.

Deadline warning. The clock that matters most in the first two days is the twenty-four hour production rule in Article 22(2) and Section 58 BNSS, and travel time to the magistrate's court is excluded from it. Write down the exact time of the arrest, who was present, and who was told, on the day it happens. If a writ later becomes necessary, that contemporaneous note is often the only material a court has to work with, because the police record will say something different.

Two Rights People Forget to Assert at the Arrest Stage

Both were strengthened in the BNSS and both are worth invoking on the day, because a breach is useful later whichever remedy you end up choosing.

  • Section 47 BNSS (formerly Section 50 CrPC): a person arrested without a warrant must forthwith be informed of the full particulars of the offence and the grounds of arrest, and of the right to bail where the offence is bailable.
  • Section 48 BNSS (formerly Section 50A CrPC): the officer making the arrest must inform a relative, friend or other nominated person about the arrest and where the arrested person is being held.

If the family was never informed and the person was never told the grounds, say so in the first application you file, whether it is a bail application or a writ.

A Word on the New Criminal Codes (BNSS and BNS)

From 1 July 2024, India's criminal laws were overhauled: the Code of Criminal Procedure, 1973 was replaced by the Bharatiya Nagarik Suraksha Sanhita, 2023, and the Indian Penal Code, 1860 by the Bharatiya Nyaya Sanhita, 2023. The bail framework moved into the BNSS with renumbered sections, while habeas corpus, being a constitutional remedy under Articles 32 and 226, is unaffected by the change.

Because the numbering is new, check that any section cited to you is a BNSS number and not a CrPC number carried over out of habit. The pairs that matter here are 437 to 480, 438 to 482, 439 to 483, 167 to 187, 57 to 58, 50 to 47, 50A to 48, and 482 CrPC (inherent powers of the High Court) to 528 BNSS.

Frequently Asked Questions

Can I file habeas corpus instead of bail to get my relative out faster?

Generally no. If your relative has been lawfully arrested and remanded by a magistrate, the correct remedy is a bail application. Habeas corpus is not a shortcut around bail; courts routinely reject writs filed where a valid remand order exists.

Who can file a habeas corpus petition?

The detained person can file it, but so can a relative, friend, or even a concerned third party on their behalf, which is vital when the detenu has no access to a lawyer or a phone.

Which court hears a habeas corpus petition?

A High Court under Article 226 or the Supreme Court under Article 32. Bail, by contrast, usually starts at the trial or Sessions Court before going up to the High Court.

Is habeas corpus available against private individuals?

Yes. It is most commonly associated with State detention, but it can be used where a person is illegally confined by private parties, for instance an adult held against their will by family members.

What happens if a habeas corpus petition succeeds?

The court orders the immediate release of the person, and the detention is declared unlawful. There are no bail conditions because the custody itself was illegal.

Does winning habeas corpus mean the criminal case is over?

Not necessarily. If there is an underlying offence, fresh and lawful proceedings can still follow. Habeas corpus deals with the legality of the present detention, not the merits of any charge.

What is the section for regular bail now?

Section 480 BNSS covers bail in a non-bailable offence, replacing Section 437 CrPC, and Section 483 BNSS gives the High Court and the Court of Session their special bail powers, replacing Section 439 CrPC.

My family member fears arrest but has not been arrested. What should we do?

That is the situation for anticipatory bail under Section 482 BNSS, not habeas corpus or regular bail. Speak to a criminal lawyer before any arrest happens.

This article is for general informational purposes only and does not constitute legal advice. Laws change and every situation is different; please consult a qualified advocate about your specific matter.

Two different questions

Habeas corpus asks whether the custody is legal at all; regular bail accepts lawful custody and asks for release pending trial. Pick the wrong one and you may be sent to the wrong forum.

Where each is filed

Habeas corpus goes to a High Court (Article 226) or the Supreme Court (Article 32). Regular bail usually starts in the trial or Sessions Court before the High Court.

The 24-hour rule

An arrested person must be produced before a magistrate within 24 hours (excluding travel time). A breach makes continued detention prima facie illegal and points to habeas corpus.

Who can move the court

A habeas corpus petition can be filed by the detained person or by a relative or friend on their behalf. A bail application is usually moved by the accused through counsel.

Not a shortcut around bail

Where there is a valid remand order, a writ of habeas corpus generally does not lie. Once lawfully arrested and remanded, the proper remedy is bail, not a writ.

A third door: anticipatory bail

If a person fears arrest but has not yet been arrested, neither regular bail nor habeas corpus fits, the remedy is anticipatory bail.

Related Legal Services

Dealing with a matter like this? Our Bangalore advocates can help. Explore the relevant practice areas:

SJ

About the Author

Advocate Sharan Jain

Advocate based in Bangalore, practising before the Karnataka High Court and District, Sessions, Consumer and Family courts. Writes on civil, criminal, corporate, family and constitutional law to make Indian law more accessible.

Related Articles

S Jain & Attorneys · Legal Consultation

Have a Legal Question? We're Here to Help.

Our experienced lawyers in Bangalore offer confidential consultations tailored to your specific legal needs.

All matters handled with complete confidentiality and legal discretion.