Explainer · Criminal Law · BNS
BNS Section 22: Act of a person of unsound mind (2026)
Section 22 of the Bharatiya Nyaya Sanhita (BNS) is the insanity defence. It says that nothing is an offence which is done by a person who, at the time of doing it, by reason of unsoundness of mind, cannot know the nature of the act, or that it is wrong or contrary to law. With effect from 1 July 2024 the BNS replaced the Indian Penal Code (IPC), and the old Section 84 defence was carried into Section 22. This page sets out the test, how it corresponds to the old law, the burden the accused carries, and how courts have applied it. Last verified November 2026.
- New section: the insanity defence is Section 22 of the BNS, in force since 1 July 2024.
- Old section: it steps into the shoes of Section 84 of the IPC. The test is unchanged.
- Test: by reason of unsoundness of mind, the person was incapable of knowing the nature of the act, or that it was wrong or contrary to law, at the time of the act.
- Burden: the accused must prove the defence on the balance of probabilities. It is legal, not merely medical, insanity.
01Why the defence matters
Criminal guilt needs a guilty mind. If a person cannot grasp what he is doing because of a serious mental illness, punishing him serves no purpose. Section 22 of the BNS gives that idea legal form, as the defence of unsoundness of mind, often called the insanity defence.
From 1 July 2024 the Bharatiya Nyaya Sanhita, 2023 (BNS) took the place of the Indian Penal Code (IPC), and the old Section 84 rule became Section 22. The test travels across unchanged, so a plea you once ran as "Section 84 IPC" is now pitched under Section 22 of the BNS.
02What Section 22 says
Section 22 of the BNS reads, in substance: nothing is an offence which is done by a person who, at the time of doing it, by reason of unsoundness of mind, is incapable of knowing the nature of the act, or that what he is doing is either wrong or contrary to law.
This is a general exception. It creates no offence and carries no punishment. It accepts that the act was done, but lifts criminal liability because the person could not understand it. The pivotal words are "at the time of doing it", so the inquiry fixes on the accused's state of mind during the act, not before or after.
Legal insanity, not medical illness
Section 22 is about legal insanity, which is narrower than medical illness. A person may carry a mental illness and still be liable, unless the illness made him unable to know the nature of the act, or that it was wrong or unlawful.
03The test for unsoundness of mind
The defence works only if, because of unsoundness of mind, the person was incapable of at least one of the following at the time of the act:
- knowing the nature of the act; or
- knowing that the act was wrong; or
- knowing that the act was contrary to law.
A mental illness alone is not a defence. The illness must have made the person unable to know the nature of the act, or that it was wrong or unlawful.
The bar sits high. The burden is on the accused to show, on the balance of probabilities, that the defence applies. The prosecution must still prove the offence itself beyond reasonable doubt, but the plea of unsoundness is for the defence to establish.
04Old to new: IPC 84 to BNS 22
The rule once numbered Section 84 in the IPC now wears the label Section 22 in the BNS. The test and the wording come across, so the settled authority on Section 84 still guides how Section 22 is read.
| Point | Old law (IPC) | New law (BNS) |
|---|---|---|
| Act of a person of unsound mind | Section 84 | Section 22 |
| Nature | General exception | General exception |
| Test | Incapable of knowing nature, or that act is wrong or unlawful | Same test carried over |
Because the rule is unchanged, decisions on legal insanity handed down before 1 July 2024 remain good law. The chief difference is the section number, which is new, so verify the citation before relying on it.
05How courts apply it
Courts treat unsoundness of mind as a question of fact. The accused must place material on record, such as medical history, conduct before and after the act, and expert evidence. The court then decides whether, at the moment of the act, the accused could know its nature or that it was wrong or unlawful.
Section 22 is one of the general exceptions, alongside defences such as involuntary intoxication under Section 23 and the act of a child under seven under Section 20. Each lifts criminal liability because of the state or capacity of the person who did the act.
06A leading authority
The Supreme Court's classic statement on the burden of proof in insanity cases is Dahyabhai Chhaganbhai Thakkar v. State of Gujarat. It held that while the accused carries the burden of proving unsoundness on the balance of probabilities, he does not have to prove it beyond reasonable doubt; it is enough that the evidence, including his mental state, raises a reasonable doubt about whether he had the required guilty mind. That reasoning, built on the old Section 84, reads directly onto Section 22.
07Finding insanity-defence precedent on Claw
Claw is an all-in-one legaltech platform for Indian advocates, law firms, and corporate legal teams, combining AI-based case search, an AI legal assistant (Legal GPT), case management, and compliance automation across all Indian courts and tribunals.
An insanity plea lives or dies on how courts have weighed similar facts, so you need comparable judgments quickly. Claw holds more than 30 crore judgments and returns each search in under 5 seconds, so you can read how a bench has applied the old Section 84 or the new Section 22, or follow a pending plea through its hearings and orders across the 9,102 courts, benches and forums it tracks.
Claw does not train its AI on the case documents customers upload. Open a free Claw account to trace an unsoundness-of-mind matter by party or by the advocate arguing it, and to watch it as it is heard. For the wider search across the whole of reported law, see case search across Indian courts.
08Read the law
- India Code (the enacted BNS, 2023): indiacode.nic.in
- PRS Legislative Research (legislative brief on the BNS): prsindia.org
- Section 22, BNS (bare text): devgan.in
- Claw: clawlaw.in
This is general background, not advice for a particular case. The law shifts with amendments and judgments, so confirm the live text and take counsel before you act.
09Frequently asked questions
Where is the old Section 84 found now?
Section 84 of the IPC, the defence of unsoundness of mind, is now Section 22 of the Bharatiya Nyaya Sanhita, 2023. The test is carried over: the act is not an offence if, by reason of unsoundness of mind, the person could not know its nature, or that it was wrong or contrary to law.
Is any mental illness a defence under Section 22?
No. Section 22 requires legal insanity, which is narrower than medical illness. The illness must have made the person incapable, at the time of the act, of knowing the nature of the act, or that it was wrong or contrary to law.
Who has to prove the insanity defence?
The accused. The burden is on the defence to prove unsoundness of mind on the balance of probabilities. The prosecution must still prove the offence itself beyond reasonable doubt.
What moment does the court look at?
The time of the act. Section 22 asks whether, at the moment the act was done, the person could know its nature or that it was wrong or unlawful. The state of mind before or after is relevant only as evidence of that moment.
Is pre-2024 case law on Section 84 still good?
Yes. Because the test and wording are carried into Section 22, judgments on Section 84 of the IPC still guide how courts read the insanity defence under the BNS.
Can Claw surface a Section 22 plea?
Yes. You can look up a Section 22 plea by party or advocate and keep its orders and hearings in view across the 9,102 courts, benches and forums Claw covers, with more than 30 crore judgments behind each search and results in under 5 seconds. Claw researches and tracks the matter; it does not give legal advice.