BNS § 17 · Chapter III · In force since 1 July 2024

Section 17 BNS — Act done by a person justified, or by mistake of fact believing himself justified, by law

Replaces IPC 79. It sits in Chapter III of the BNS — general exceptions.

In short

Chapter
III — General exceptions
Replaces
IPC 79
In force
1 July 2024
Which law applies
Matters before 1 July 2024 stay under the IPC (BNS s. 358).

The text

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: Bharatiya Nyaya Sanhita on India Code, text as of 7 Nov 2025. The Gazette of India is the authoritative text.

Where it came from

BNSWas in the IPC
1779. Act done by a person justified, or by mistake of fact believing himself, justified, by lawIPC 79 →

Mapping: NCRB corresponding-section table, Ministry of Home Affairs (retrieved 10 Sept 2026).

Nearby sections

All sections in Chapter III