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

Indian Penal Code, 1860 · Chapter 4: General Exceptions (Including Right of Private Defence)

Repealed on 1 July 2024 and replaced by the Bharatiya Nyaya Sanhita, 2023 (BNS).

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 person 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.

Study: explanations and related material

Now BNS 17 (same provision). IPC → BNS converterSource: BPR&D BNS–IPC corresponding section table (UP Police, 2024-06-28), p3

Official reference: Delhi District & Sessions Judge: government historical reference — source link checked: 2 October 2026.Recorded edition / snapshot date: 2024-06-30.Mobile-app reference import; the recorded snapshot date is not a fresh legal-currency guarantee. The linked government text is an independent authoritative reference, not certification that this website reproduces the same edition. The source link was checked, not every provision or subsequent amendment. Check commencement notifications, savings and jurisdiction-specific variations separately. Historical code retained for reference; read the repeal/savings provisions in the successor code.

This text is for reference, not legal advice. Consult the official source for the authoritative text.

Other sections in this chapter