Act not intended and not known to be likely to cause death or grievous hurt, done by consent
IPC 87 (Act not intended and not known to be likely to cause death or grievous hurt, done by consent) corresponds most closely to BNS 25, Act not intended and not known to be likely to cause death or grievous hurt, done by consent, on a text comparison scoring 100 per cent. The Indian Penal Code, 1860 was repealed with effect from 01 Jul 2024, but conduct before that date is still charged, tried and appealed under it.
Repealed · Indian Penal Code
Section 87 Act not intended and not known to be likely to cause death or grievous hurt, done by consent
Nothing which is not intended to cause death, or grievous hurt, and which is not known by the doer to be likely to cause death or grievous hurt, is an offence by reason of any harm which it may cause, or be intended by the doer to cause, to any person, above eighteen years of age, who has given consent, whether express or implied, to suffer that harm; or by reason of any harm which it may be known by the doer to be likely to cause to any such person who has consented to take the risk of that harm.
Illustration
A and Z agree to fence with each other for amusement. This agreement implies the consent of each to suffer any harm which, in the course of such fencing, may be caused without foul play; and if A, while playing fairly, hurts Z, A commits no offence.
In force · Bharatiya Nyaya Sanhita
Section 25 Act not intended and not known to be likely to cause death or grievous hurt, done by consent
Nothing which is not intended to cause death, or grievous hurt, and which is not known by the doer to be likely to cause death or grievous hurt, is an offence by reason of any harm which it may cause, or be intended by the doer to cause, to any person, above eighteen years of age, who has given consent, whether express or implied, to suffer that harm; or by reason of any harm which it may be known by the doer to be likely to cause to any such person who has consented to take the risk of that harm.
Illustration.
A and Z agree to fence with each other for amusement. This agreement implies the consent of each to suffer any harm which, in the course of such fencing, may be caused without foul play; and if A, while playing fairly, hurts Z, A commits no offence.
Other provisions with similar text
The next closest matches, in order. Where a provision was split or merged, the answer is often more than one of these.
How this table was made, and what it is not
There is no official machine-readable correspondence between the Indian Penal Code, 1860 and the Bharatiya Nyaya Sanhita, 2023. The Ministry published comparison charts for human readers; nothing exists that a computer can check. So this is not an official mapping and we do not present it as one.
What it measures is how alike the text of two provisions is. For each provision of the old enactment we compare its words against every provision of the new one and report the closest, with the score. That works here because the new codes are largely a renumbering rather than a rewrite: where a provision carried over near-verbatim the match is self-evidencing, and you can see it for yourself, because both texts are set out side by side on every entry.
Where the law genuinely changed, the score falls and the entry says no close match found rather than offering a guess. Those entries matter: they are where the reform actually did something.
Check before you cite. A high score means the words are alike, not that a court has held the provisions equivalent. For that, read both texts and the Gazette.
Source and method. Compiled from the enactments of Parliament and of the State legislatures as published on India Code, and republished together with commentary and other original matter under section 52(1)(q)(ii) of the Copyright Act, 1957. Structured, cross-referenced and maintained by eCourtsIndia. This page is not a substitute for legal advice.