Explainer · Criminal Procedure · BNSS

Maximum Detention of an Undertrial Under the BNSS (Section 479): CrPC 436A Mapping (2026)

A large share of the people in Indian prisons have not been convicted of anything. They are undertrials, waiting for a trial that can take years, and the time they spend in jail can rival the sentence they would get if convicted. The law tries to cap that injustice. Under the new criminal law, the maximum detention of an undertrial is governed by Section 479 of the Bharatiya Nagarik Suraksha Sanhita, 2023 (BNSS), which replaced Section 436A of the Code of Criminal Procedure, 1973 (CrPC). This explainer sets out the limits, the new relief for first-time offenders, and how the sections map. Last verified October 2026.

The short answer
  • Section: maximum undertrial detention is BNSS Section 479, which replaced CrPC Section 436A.
  • One-half rule: an undertrial is released on bail after serving one-half of the maximum sentence for the offence.
  • New relief: a first-time offender is released on bond after one-third of the maximum sentence, and the jail superintendent must apply to the court for release.
  • Not for the gravest offences: the relief does not apply to death or life offences, and can be refused where multiple cases are pending.
  • Nature: Section 479 is procedure; it creates no offence and carries no punishment of its own.

01Why undertrial detention is capped

An undertrial is a person in custody while their case is pending, not yet convicted. Because trials can run for years, the law caps how long such a person can be held, so that detention does not become a punishment before any finding of guilt.

Two ideas drive this:

  • Presumption of innocence. A person is innocent until convicted, so long pre-trial custody needs a limit.
  • Proportionality. Time in jail as an undertrial should not quietly exceed the sentence the offence could carry.

Section 479 of the BNSS carries forward the cap from the old Section 436A and adds a new, earlier release for first-time offenders.

02What Section 479 of the BNSS covers

Section 479 of the BNSS provides that an undertrial who has been detained for up to one-half of the maximum period of imprisonment specified for the offence is to be released by the court on a bond.

In broad terms, the section provides that:

  • a person detained for up to one-half of the maximum sentence for the offence is released by the court on bail;
  • a first-time offender, never convicted before, is released on bond after one-third of that maximum period;
  • the relief does not apply to an offence for which the punishment is death or imprisonment for life;
  • where more than one case, investigation or inquiry is pending against the person, the court shall not release them under this section;
  • detention under the section can in no case exceed the maximum period of imprisonment fixed for the offence.

The court can hear the Public Prosecutor and record reasons to continue detention in a given case. The one-half rule continues the core of the old Section 436A, while the one-third release and the duty on the jail to start the process are new.

The jail superintendent must move the court

Section 479 does not leave the release to the prisoner alone. Once a person has completed one-half (or one-third for a first-time offender) of the maximum sentence as an undertrial, the Superintendent of the jail where they are held must forthwith make an application in writing to the court for their release. This duty, placed on the jail itself, is one of the real additions of the new code and is meant to stop eligible undertrials from being forgotten.

03The new one-third relief for first-time offenders

The headline change under Section 479 is the new, earlier release for a first-time offender at one-third of the maximum sentence.

A first-time offender, for this purpose, is a person who has never been convicted of any offence in the past. Such a person is to be released on bond once they have been detained as an undertrial for up to one-third of the maximum period of imprisonment for the offence. This is more generous than the one-half rule that applies to others, and it did not exist under the old Section 436A.

A first-time offender need not wait for half the maximum sentence. Section 479 lets the court release them after one-third.

This provision is aimed squarely at the problem of overcrowded prisons full of first-time undertrials.

04A worked example: doing the arithmetic

The relief is easiest to see with numbers. Take an offence whose maximum sentence is seven years:

  • A repeat accused. The one-half line is three years and six months. An undertrial with a past conviction who crosses that period, and is not held for a death or life offence, becomes eligible for release on bail under the main rule.
  • A first-time accused. The one-third line is two years and four months. A person never convicted before crosses the threshold more than a year earlier than the repeat accused, and is to be released on bond.
  • Who moves the court. On the day the undertrial crosses one-third (first-timer) or one-half, the jail Superintendent is to apply in writing to the court for release, rather than waiting for the prisoner to find a lawyer.

The cap also has a hard ceiling: no undertrial can be held longer than the maximum sentence itself, so for this seven-year offence detention can never run past seven years whatever the stage of the trial. The exact day each line falls is a question of the detention record, which is why the dates have to be tracked precisely.

05Limits of the relief

Section 479 is not an unconditional release, and several limits apply, so the section should be read with care.

The relief does not reach offences punishable with death or imprisonment for life. Where investigations, enquiries, or trials in more than one offence or in multiple cases are pending against the person, the court may refuse to release them. The court can also record reasons to keep a person in custody beyond the period after hearing the prosecution. There has also been litigation on whether Section 479 applies to those already in custody before the BNSS came into force, so the retrospective reach should be checked against current rulings.

06Section 436A CrPC to Section 479 BNSS: what changed

Section 479 of the BNSS is the successor to Section 436A of the CrPC, and the core, release after one-half of the maximum sentence, carries over.

The comparison in short:

PointOld law (CrPC s.436A)New law (BNSS s.479)
Release after one-half of maximum sentenceYes, on personal bondYes, on bail
First-time offender at one-thirdNo such provisionNew: release on bond after one-third
Jail superintendent to apply to courtNo express dutyNew: must apply in writing on completion
Excluded for death or life offencesYesYes
Multiple pending casesCourt discretionCourt shall not release under the section

Section 479 is procedure. It does not create an offence and carries no punishment of its own. For the initial custody rules that precede this stage, see police custody and remand under BNSS Section 187.

07Where Claw fits

Claw is an all-in-one legaltech platform for Indian advocates, law firms, and corporate legal teams, combining AI-based case search, an AI legal assistant (Legal GPT), case management, and compliance automation across all Indian courts and tribunals.

A Section 479 release turns on exact detention periods and on how courts, including the Supreme Court, have read the new relief, so quick access to orders and the ability to track long-running matters is valuable. Claw helps here. It lets you search 30 crore+ judgments and track cases, orders and hearings by section, party or advocate across 9,102 courts and forums, with results in under 5 seconds, so you can find rulings on Section 479 and the old Section 436A, and follow an undertrial matter over time. Case search across Indian courts sets out the coverage.

Create a free Claw account to search and track cases under this section by party or advocate name. Claw does not calculate your detention period and does not replace legal advice. It does not use customer case documents to train AI models.

08Sources and further reading

Treat this as background, not advice on any particular prisoner. A Section 479 release turns on exact detention dates and on the latest rulings, and the section number is new to the code, so check the bare text of Section 479 and take counsel's view on the facts before you move an application.

09Frequently asked questions

What is Section 479 of the BNSS?

Section 479 of the Bharatiya Nagarik Suraksha Sanhita, 2023 caps how long a person can be held as an undertrial before conviction. It replaced Section 436A of the CrPC. A person who has served one-half of the maximum sentence is released on bond, and a first-time offender after one-third.

Which CrPC section did BNSS Section 479 replace?

Section 479 of the BNSS replaced Section 436A of the Code of Criminal Procedure, 1973. The one-half release carries over, and the BNSS adds a new one-third release for first-time offenders.

What is the first-time offender relief?

A first-time offender, meaning a person never before convicted of any offence, is to be released on bond once detained as an undertrial for up to one-third of the maximum sentence for the offence. This is more generous than the one-half rule and is new under the BNSS. The code also puts a duty on the Superintendent of the jail to apply in writing to the court for the release once that period is complete.

Does Section 479 apply to every offence?

No. The relief does not reach offences punishable with death or imprisonment for life. Where multiple cases or investigations are pending against the person, the court may decline to release them, and it can record reasons to continue detention.

Does Section 479 apply to people already in jail before July 2024?

This has been litigated, including before the Supreme Court, on whether the benefit applies to those already in custody when the BNSS came into force. Because the position can change, check the latest rulings and the text before relying on it.

Can I track a long-running undertrial matter in Claw?

Yes. Claw lets you search judgments and track cases, orders and hearings across 9,102 courts and forums by section, party or advocate, with results in under 5 seconds. It helps you follow a matter over time and find rulings, but it does not give legal advice.

Read us first

Make Claw a preferred source on Google

If our guides help you, add Claw to your preferred sources. Our legal explainers then surface first for you across Google Search, Discover and AI answers.

Add to preferred sources

Book a demo

Thirty minutes with a Claw specialist, on your matters and your courts.

Explore CLAW

The tools behind the guides

CLAW helps Indian advocates and firms manage cases, track courts and research the law.