Home › BNS sections › Chapter III › Section 17
BNS Section 17: Act done by a person justified, or by mistake of fact believing himself justified, by law
Section 17 of the Bharatiya Nyaya Sanhita, 2023 is headed “Act done by a person justified, or by mistake of fact believing himself justified, by law.” The government table lists IPC 79 as the matching IPC section.
Official text of section 17
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.
Source: Gazette of India, Extraordinary, Part II Section 1, 25 December 2023 (Act 45 of 2023, English); layout and cross-checks: NCRB, MHA, Sankalan portal: BNS chapters. Retrieved 2026-11-23. Text as enacted.
IPC correspondence (government table)
| BNS provision | Corresponding IPC provision (as listed by the government) |
|---|---|
| 17. Act done by a person justified, or by mistake of fact believing himself justified, by law. | 79. Act done by a person justified, or by mistake of fact believing himself, justified, by law. |
Source: NCRB, MHA, “Corresponding Section Table of Bharatiya Nyaya Sanhita, 2023”, retrieved 2026-11-23. Marks “Change”, “New” and “Deleted” are the government’s.
Look up by old number: IPC 79 in the IPC to BNS table
Our note
Section 17 sits in Chapter III (General exceptions). As enacted it has illustrations. The government’s correspondence table lists IPC 79 as the corresponding IPC provision. The BNSS First Schedule has no classification row for it (it defines a term, states a rule or procedure, or is not itself an offence).