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.
Why this exists
This provision continues a principle from the old Indian Penal Code (Section 79), rooted in English common law, that criminal liability generally requires a 'guilty mind' (mens rea). It protects people who act lawfully, or who honestly and reasonably misjudge a factual situation, from being punished as criminals -- while firmly denying this protection to those who simply misunderstand what the law itself requires, since 'ignorance of law is no excuse.'
How courts read it
Under the predecessor provision (IPC Section 79), Indian courts have held that the mistake must be one of fact, not law, and the belief must be both honest (good faith) and based on reasonable grounds -- not a mere convenient excuse. Courts have applied this to cases like private citizens arresting suspects, public officials acting under perceived legal authority, and people using force under a mistaken but reasonable belief about danger, while rejecting claims where the accused was careless or acted on a legal misunderstanding rather than a factual one.
Common misconceptions
- Myth: This section means 'I didn't know it was illegal' is a valid defense.
Fact: The section explicitly excludes mistakes of law. Only honest, reasonable mistakes about the facts of a situation can be excused, not ignorance of the law itself. - Myth: Anyone can claim they 'believed' they were justified and get away with any action.
Fact: Courts require the belief to be genuinely held in good faith and based on reasonable grounds -- not just a convenient claim after the fact.