22 days left — Registration closes 2026-10-31.

IPC · Chapter IV · General exceptions

IPC section 79 in the BNS

IPC 79BNS 17

IPC section 79, “Act done by a person justified, or by mistake of fact believing himself, justified, by law”, is now BNS section 17 of the Bharatiya Nyaya Sanhita, 2023, in force from 1 July 2024.

What changed

From IPC 79 to BNS 17

The words are the same as in the IPC, apart from “Sanhita” for the Act’s own name and the new numbers of the sections it refers to.

The official text

Old and new, side by side

Indian Penal Code, 1860

Section 79 Act done by a person justified, or by mistake of fact believing himself, justified, by law

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.

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.

Bharatiya Nyaya Sanhita, 2023

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

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 texts are India Code’s. The amendment markers and footnotes of the official print are left out, so the old section reads as it stood when it was repealed; State amendments are not shown. The PDFs linked below carry the full history.

Old law or new?

Which one applies to a case

The BNS repealed the IPC from 1 July 2024 (section 358(1)). The repeal does not reach back: under section 358(2), penalties and punishments incurred for offences committed against the IPC still stand, and proceedings for them may be started, continued and enforced as if the IPC had not been repealed. An act done before 1 July 2024 is therefore dealt with under the IPC section; an act done on or after that date, under the BNS.

Sources

Prepare with CLATcoach, free

A free account gives you a full mock, a past paper for every exam, the daily questions, twelve Legal GK headings and a report on where you stand.

Create a free account