What the section says
Section 17 of the Bharatiya Nyaya Sanhita, 2023 reads in full: S1S2
17. Nothing is an offence which is done by any person who is justified by law, or who by reason of a mistake of fact and not by reason of a mistake of law in good faith, believes himself to be justified by law, in doing it.
Illustration.
A sees Z commit what appears to A to be a murder. A, in the exercise, to the best of his judgment exerted in good faith, of the power which the law gives to all persons of apprehending murderers in the fact, seizes Z, in order to bring Z before the proper authorities. A has committed no offence, though it may turn out that Z was acting in self-defence.
The official marginal-note title is "Act done by a person justified, or by mistake of fact believing himself justified, by law." S2
Section 17 is a conduit, not a free-standing defence
This is the single most important thing to understand about the section, and it is the point the Supreme Court made most clearly.
Section 17 does not itself justify anything. It has no content of its own. What it does is take a justification that exists somewhere else in the law and convert it into a complete answer to a criminal charge. In Raj Kapoor v. Laxman, Krishna Iyer J put it this way: S6
The argument is irresistible that if the performance of the act which constitutes the offence is justified by law, i.e. by some other provision, then Section 79 exonerates the doer because the act ceases to be an offence.
So the first question under s. 17 is never "does s. 17 protect this?" It is "is there some other provision of law that justifies this act?" If there is, s. 17 does the rest. If there is not, the first limb fails and only the mistake-of-fact limb remains.
The same judgment states the effect in a sentence worth memorising: S6
Section 79 makes an offence a non-offence. When? Only when the offending act is actually justified by law or is bona fide believed by mistake of fact to be so justified.
The two limbs
Limb 1: actually justified by law. The act was in truth warranted by law. No question of belief arises.
Limb 2: mistaken but good-faith belief in justification. The person was not in fact justified, but by reason of a mistake of fact, and not a mistake of law, in good faith believed himself to be justified.
As in ss. 14 and 15, the exclusion of mistake of law is a real limitation. A person who knows every relevant fact but is wrong about whether the law permits his act gets nothing from limb 2.
And good faith is a standard of care. Section 2(11) defines it negatively: S1
"good faith".—Nothing is said to be done or believed in "good faith" which is done or believed without due care and attention;
So a careless belief in one's own justification is excluded, however sincere. The definition reproduces IPC s. 52 unchanged. S4 The illustration reflects this: A acts "to the best of his judgment exerted in good faith". The words are a condition, not decoration.
What "justified" means
In Raj Kapoor the Court addressed the word directly, adopting dictionary senses: "Justified" in Black's Legal Dictionary meaning "[d]one on adequate reasons sufficiently supported by credible evidence, when weighed by unprejudiced mind, guided by common sense and by correct rules of law", and the Shorter Oxford English Dictionary sense of "justification" as "[t]he showing in court that one had sufficient reason for doing that which [one] is called to answer". The Court's own formulation was: S6
An act is justified by law if it is warranted, validated and made blameless by law.
The illustration, and why it is more generous than it looks
The illustration is worth reading twice. A sees what appears to be a murder, seizes Z to bring him before the authorities, and it turns out Z was acting in self-defence. So on the true facts, Z committed no offence at all. There was nobody to arrest.
A is nevertheless protected. That tells us two things:
- The justification is tested on the facts as A carefully and honestly understood them, not on the facts as they turn out to be. Limb 2 is doing the work.
- The protection does not depend on an offence actually having been committed by the person seized.
What it does depend on is that A was exercising "the power which the law gives to all persons of apprehending murderers in the fact" (that is, a power that genuinely exists in law) and that he did so to the best of his judgment exerted in good faith, and for the proper purpose of bringing Z before the proper authorities. The illustration does not protect a private seizure for some other purpose, and it does not protect a seizure by someone who had no basis for thinking an offence was being committed.
A caution: the illustration refers to the power of private apprehension in general terms. The scope of that power is governed by the Bharatiya Nagarik Suraksha Sanhita, 2023, which was not examined for this article, and nothing is asserted here about the present extent of any power of arrest by a private person.
The authority: Raj Kapoor v. Laxman
The leading Supreme Court decision on this provision is Raj Kapoor v. Laxman, 14 December 1979, reported at AIR 1980 SC 605, (1980) 2 SCC 175, (1980) 2 SCR 512 and 1980 Cri LJ 436. The Bench was R. S. Pathak and V. R. Krishna Iyer JJ, the judgment delivered by Krishna Iyer J. S6
The facts. A complainant alleged that a film was obscene, constituting an offence under IPC s. 292. The Magistrate took cognizance and issued notice. The producer moved the High Court under CrPC s. 482 to quash, relying on the fact that the film had been granted an 'A' certificate by the Central Board of Film Censors. The High Court dismissed the petition. The producer came to the Supreme Court on a single point: whether a certificate under s. 5A of the Cinematograph Act, 1952 furnishes a justification in law such that s. 79 neutralises s. 292.
The reasoning. The Court held that the Penal Code is general and the Cinematograph Act special, and that the Board under s. 5B of that Act must consider, before certification, all the points that s. 292 prescribes. Hence: S6
…once the special law polices the area it [is] pro tanto out of bounds for the general law. At least as a matter of interpretation, Section 79 I.P.C. resolves the apparent conflict between Section 292 I.P.C. and Part II of the Act relating to certification of films.
The Court asked rhetorically whether, after Parliament had enacted a scheme with an expert Board, hearings, appeals and judicial review, "a certificate granted under it by expert authority can be stultified by a simple prosecution or a shower of prosecutions for an offence under Section 292 I.P.C., driving the producer to satisfy a 'lay' magistrate that the certificate of the Board of Censors notwithstanding, the film was offensive".
The conclusion and disposition. Paragraph 9: S6
If, as here, the Board of Censors, acting within their jurisdiction and on an application made and pursued in good faith, sanctions the public exhibition, the producer and connected agencies do enter the statutory harbour and are protected because Section 79 exonerates them at least in view of their bona fide belief that the certificate is justificatory… In the present case, the prosecution is unsustainable because Section 79 is exculpatory when read with Section 5A of the Act and the certificate issued thereunder. We quash the prosecution.
The Court also indicated the procedural consequence: a trial court apprised of the certificate may, if the case "fills the bill under Section 79", rightly discharge the accused as the charge is groundless.
A nuance the headnotes tend to lose
The Court did not finally decide which of the two limbs the certificate engages. Earlier in the judgment it noticed a "fine semantic shade between mere legal sanction, which is passive, and clear legal justification which is active", acknowledged that "it may be plausible to say that what is merely certified as suitable for show by a law may not go the length of holding that it is justified by law", and then said: "Such niceties need not deter us once we grasp the sweep of the Cinematograph Act." S6
Consistently with that, the operative sentence protects the producer "at least in view of their bona fide belief that the certificate is justificatory": language that rests the result on limb 2 without foreclosing limb 1. So Raj Kapoor is firm authority that a censor certificate brings s. 79 into play and defeats a s. 292 prosecution; it is not a decision that a statutory permission is always "justification" within the first limb. That question was expressly left on one side.
The judgment also records that in an earlier appeal from the Delhi High Court concerning the same film s. 79 had not been considered because the point was not urged, and that "[t]he present decision will bind the court that hears that case." The judgment refers to K. A. Abbas v. Union of India on pre-censorship as a valid classification; that decision was not separately examined for this article and is mentioned only as a case to which Raj Kapoor refers.
Comparison with IPC Section 79
BNS s. 17 and IPC s. 79 were compared word by word after whitespace normalisation, using the India Code text of s. 17 as well as the Gazette text. The main provision (46 words) and the illustration (69 words) are identical in both cases. S1S2S4
| IPC s. 79 | BNS s. 17 | |
|---|---|---|
| Main provision | — | identical (46 words) |
| Illustration | — | identical (69 words) |
| Marginal title | "Act done by a person justified, or by mistake of fact believing himself justified, by law" | same, with a full stop |
| "Good faith" defined at | s. 52 | s. 2(11), same words |
| Applies to special/local law offences | yes | yes: s. 2(24)(a) names Chapter III |
| Classification | — | substantively unchanged; renumbered |
This is the cleanest carry-over in Chapter III so far: unlike s. 14 (where illustration (b) changed "Court of Justice" to "Court") and s. 16 (title, tribunal name and a semicolon), nothing in s. 17 changed at all. The consequence is that authority on IPC s. 79, including Raj Kapoor, applies to s. 17 without any textual qualification.
Section 17 and Section 14: justified against bound
| BNS s. 14 (← IPC s. 76) | BNS s. 17 (← IPC s. 79) | |
|---|---|---|
| Operative word | bound by law | justified by law |
| Nature | a legal obligation to act | a legal entitlement to act |
| Limb 2 belief | believes himself bound | believes himself justified |
| Illustration | soldier obeying a lawful order; officer arresting the wrong man after due enquiry | private person apprehending an apparent murderer who turns out to have acted in self-defence |
Section 17 is the wider of the two in practice, because entitlements are far more common than obligations. Most conduct that the law permits but does not compel (exercising a statutory power, acting under a licence or certificate, doing what a special enactment authorises) runs through s. 17 rather than s. 14.
Two chapter-wide rules apply, as throughout Chapter III:
- Scope. Section 2(24)(a) names Chapter III first among the provisions in which "offence" means a thing punishable under the Sanhita or under any special law or local law, so s. 17 is available on a prosecution under a special or local enactment. S1
- Burden of proof. Under the Bharatiya Sakshya Adhiniyam, 2023, s. 108, the burden of proving circumstances bringing a case within a General Exception is on the accused, "and the Court shall presume the absence of such circumstances". S5 Raj Kapoor reflects this framing: "The chapter on General Exceptions operates in this province." S6
Worked examples
1. Acting under a statutory certificate or licence. A person exhibits a film certified by the Board of Censors and is prosecuted for obscenity. On Raj Kapoor, s. 17 is engaged and the prosecution is unsustainable; the trial court may discharge the accused as the charge is groundless. S6
2. A private person apprehends an apparent offender. The illustration: the seizure is protected if the power relied on genuinely exists in law and the belief that the circumstances called for it was formed to the best of the actor's judgment exerted in good faith, even if it turns out that no offence was committed.
3. The same seizure, made casually. If the belief was formed "without due care and attention", limb 2 fails under s. 2(11), and limb 1 fails because the facts did not justify the act.
4. The same seizure, for a different purpose. The illustration requires the seizure be "in order to bring Z before the proper authorities". A seizure to settle a private score is not within it.
5. A mistake about the law. A person knows exactly what the facts are but wrongly believes the law permits what he is doing. Limb 2 is expressly unavailable, mistake of law being excluded.
6. No justifying provision anywhere. If nothing in the law justifies the act, limb 1 cannot operate, because s. 17 has no content of its own. There must be "some other provision". Only limb 2 remains, and only if there was a mistake of fact.
7. A prosecution under a special enactment. Section 17 remains available by force of s. 2(24)(a), and the accused bears the burden under BSA s. 108.
Common mistakes
- Treating s. 17 as a free-standing defence. It is a conduit. The justification must come from some other provision of law; s. 17 converts it into a complete answer.
- Confusing s. 17 with s. 14. Section 14 is about being bound; s. 17 is about being justified: obligation against entitlement.
- Relying on a mistake of law. Excluded in terms.
- Treating good faith as honesty. Section 2(11) requires due care and attention.
- Overlooking "to the best of his judgment exerted in good faith" in the illustration. It is an operative condition.
- Assuming the illustration requires an offence to have been committed. It does not: it expressly covers the case where Z turns out to have acted in self-defence.
- Citing Raj Kapoor as deciding that a statutory permission is always "justification" under limb 1. It did not. It noted the "fine semantic shade" between permissive and justificative, said such niceties need not detain it, and protected the producer "at least" on the bona fide belief limb.
- Citing Raj Kapoor without its procedural point. The Court quashed the prosecution and indicated that a trial court apprised of the certificate may discharge the accused as the charge is groundless.
- Assuming the prosecution must disprove the exception. Under BSA s. 108 the burden is on the accused.
- Assuming the BNS changed this provision. Section 17 is word-for-word IPC s. 79, illustration included.
Status of authority
No judgment on BNS s. 17 was located; the section has been in force only since 1 July 2024 under notification S.O. 850(E) dated 23 February 2024. S3
Unlike ss. 15 and 16, where no authority squarely on the predecessor provision was located and no case was cited, s. 17 has directly applicable Supreme Court authority. Because BNS s. 17 reproduces IPC s. 79 exactly, main provision and illustration alike, and because s. 2(11) reproduces IPC s. 52, Raj Kapoor applies to s. 17 without textual qualification. It should nevertheless be cited as what it is: a 1979 decision on IPC s. 79 and IPC s. 292, read with s. 5A of the Cinematograph Act, 1952.
No attempt has been made to survey the whole body of authority on IPC s. 79, which is substantial. One Supreme Court decision squarely construing the section was located and verified in full, including its facts, reasoning, the limb on which it rested, and its disposition. Nothing is asserted about cases not examined. The Cinematograph Act, 1952 and the Bharatiya Nagarik Suraksha Sanhita, 2023 were not examined; ss. 5A and 5B of the former are described only as the judgment describes them.
Related sections
- BNS s. 2(11): definition of "good faith": due care and attention.
- BNS s. 2(24): definition of "offence", extending Chapter III to special and local law offences.
- BNS s. 14: Act done by a person bound by law: the "bound" counterpart to this section's "justified".
- BNS s. 15: Act of a Judge when acting judicially.
- BNS s. 16: Act done pursuant to the judgment or order of a Court.
- BNS s. 18: Accident in doing a lawful act.
Law checked as of 2 October 2026. The text of s. 17 was read both from the Gazette of India publication of the Bharatiya Nyaya Sanhita, 2023 hosted by the Ministry of Home Affairs and from the India Code entry for the section, and was compared with IPC s. 79 by programmatic word-level diff: the main provision and the illustration are identical. BNS ss. 2(11) and 2(24)(a) and IPC ss. 79 and 52 were read directly, and the Bharatiya Sakshya Adhiniyam, 2023 was read for s. 108. Raj Kapoor v. Laxman was read in full from a judgment-text repository, including its facts, the passages on s. 79 and on the general/special law relationship, the paragraph 9 conclusion and the disposition; the official report was not accessible at the time of checking, and the citations given are those appearing in that text. The Cinematograph Act, 1952, the Bharatiya Nagarik Suraksha Sanhita, 2023 and K. A. Abbas v. Union of India were not examined and are described only as Raj Kapoor describes them.
This article is for education and general information. It is AI-assisted and has not been reviewed, verified or approved by a lawyer. It is not legal advice and must not be relied on for any actual case. Verify the current position and take advice from a qualified advocate before acting.