LawDadi - Indian law and tax resources
Indian criminal law | Updated 28 October 2026

IPC Section 81 and BNS Section 19: Necessity to Prevent Greater Harm

Section 81 of the Indian Penal Code, 1860 recognised a limited defence of necessity: an act that may cause harm can be excused when it is done without criminal intention, in good faith, to prevent or avoid another harm to a person or property. Its corresponding provision in the Bharatiya Nyaya Sanhita, 2023 (BNS) is Section 19.

Current law: Section 19 of the Bharatiya Nyaya Sanhita

BNS Section 19 is titled Act likely to cause harm, but done without criminal intent, and to prevent other harm. It provides that an act is not an offence merely because it is done with knowledge that harm is likely, provided it is done without criminal intention to cause harm and in good faith for the purpose of preventing or avoiding other harm to a person or property.

The statutory explanation makes clear that whether the threatened harm was sufficiently serious and imminent to justify or excuse the risk is a question of fact. The exception is not a blanket permission to cause harm whenever someone claims a beneficial motive.

Read the official Bharatiya Nyaya Sanhita, 2023 (India Code PDF), Section 19.

IPC Section 81: statutory text and meaning

Nothing is an offence merely by reason of its being done with the knowledge that it is likely to cause harm, if it be done without any criminal intention to cause harm, and in good faith for the purpose of preventing or avoiding other harm to person or property.

Explanation: It is a question of fact whether the harm sought to be prevented or avoided was of such a nature and so imminent as to justify or excuse the risk taken by an act known to be likely to cause harm.

Section 81 appeared among the IPC's general exceptions. For acts occurring after the commencement of the BNS on 1 July 2024, the corresponding BNS provision should be examined; historical matters remain subject to the applicable commencement and saving rules.

Conditions for the defence of necessity

  1. Risk of harm: The person may know that the act is likely to cause some harm.
  2. No criminal intention to cause harm: The purpose must not be to cause harm criminally.
  3. Good faith: The act must be undertaken with due care and attention in the circumstances, not on a reckless or dishonest pretext.
  4. Prevention of other harm: The objective must be to avert harm to a person or property.
  5. Seriousness and imminence: The urgency and gravity of the danger, and whether the risk taken was justified, are assessed on the facts.

In the BNS, the definition of good faith is found in Section 2; under the IPC it was addressed in Section 52. The particular facts and applicable statutory language are decisive.

Original statutory illustrations explained

Illustration (a): Captain changes a vessel's course

A steam-vessel captain, through no fault or negligence of his own, faces an unavoidable collision with a boat carrying twenty or thirty passengers unless he changes course. Changing course risks colliding with another boat carrying two passengers, which he might still avoid. If he changes course without intending to hit the second boat, acting in good faith to save the larger group, the act may be excused even if the second boat is struck. The decisive issue is whether the danger he sought to avoid was sufficiently serious to justify taking that risk.

Illustration (b): Demolishing houses to stop a fire

During a major fire, a person pulls down houses in good faith to prevent flames from spreading and to save life or property. If the threatened harm was sufficiently grave and imminent to justify the action, the person may be protected by the exception. If the danger was not sufficiently serious or urgent, the exception may not apply.

These are illustrations of the statutory test, not automatic exemptions for any emergency action.

Necessity, accident and private defence: different exceptions

Necessity (IPC Section 81 / BNS Section 19) addresses a deliberate choice to take a risk of harm in good faith to avoid another harm. Accident (IPC Section 80 / BNS Section 18) concerns an accidental or unfortunate outcome in the course of a lawful act done lawfully, with proper care and caution and without criminal intention or knowledge. Private defence has separate statutory conditions and limits. These provisions should not be treated as interchangeable.

See the related IPC Section 80 article on accident and the official BNS text.

How courts assess the exception

The court evaluates the circumstances as they existed when the act was done, including the urgency of the threatened harm, the actor's purpose, the available alternatives, the degree of risk, and whether the actor exercised due care. A claim of necessity cannot be assessed simply by comparing the eventual number of people harmed or saved.

Whether an exception is established is a fact-sensitive legal question, and the rules of evidence and criminal procedure applicable to the proceedings must also be considered.

Frequently asked questions

What is the BNS equivalent of IPC Section 81?

Section 19 of the Bharatiya Nyaya Sanhita, 2023 is the corresponding provision.

Does Section 81 permit intentionally causing any lesser harm to prevent greater harm?

No. The statutory conditions include absence of criminal intention to cause harm, good faith and a sufficiently serious and imminent danger. The outcome depends on the facts.

Can damage to property be excused in an emergency?

Potentially. The statute expressly refers to avoiding harm to a person or property, but the circumstances must satisfy the statutory test.

Is this defence the same as an accident?

No. Necessity can involve a conscious decision to take a known risk; accident has different requirements, including proper care and caution in a lawful act.

Official sources and legal update

Bharatiya Nyaya Sanhita, 2023 - official Act (India Code); India Code - Government of India legislation repository.

This article is for general legal information. The applicable provision depends on the date of the alleged act, statutory savings, and the facts of the case.