Section23
The Indian Penal Code, 1860

"Wrongful gain"

Repealed From 01 Jan 1862 Act 45 of 1860 As on 15 Oct 2026

Act 45 of 1860 Ministry Home Affairs Enacted 06 Oct 1860 In force 01 Jan 1862 Cited by 1 provision

This provision is repealed. Repealed by section 358 of the Bharatiya Nyaya Sanhita, 2023 (45 of 2023) with effect from 1 July 2024. It is reproduced because conduct before that date is still charged, tried and appealed under it.

Section 23 of the Indian Penal Code, 1860 deals with "Wrongful gain". "Wrongful gain" is gain by unlawful means of property to which the person gaining is not legally entitled. The Act came into force on 01 Jan 1862. Repealed by section 358 of the Bharatiya Nyaya Sanhita, 2023 (45 of 2023) with effect from 1 July 2024, but conduct before that date is still charged, tried and appealed under it.

"Wrongful gain" is gain by unlawful means of property to which the person gaining is not legally entitled.

"Wrongful loss".

"Wrongful loss".--"Wrongful loss" is the loss by unlawful means of property to which the person losing it is legally entitled.

Gaining wrongfully. Losing wrongfully.

Gaining wrongfully. Losing wrongfully.--A person is said to gain wrongfully when such person retains wrongfully, as well as when such person acquires wrongfully. A person is said to lose wrongfully when such person is wrongfully kept out of any property, as well as when such person is wrongfully deprived of property.

Section 23, The Indian Penal Code, 1860 (Act 45 of 1860).

Now in the Bharatiya Nyaya Sanhita

BNS 2 Definitions Close, with changes 70%

Measured by comparing the text of the two provisions, not taken from an official correspondence table — there is no machine-readable one. See both texts side by side before relying on it.

Both regimes are live. The repealed enactment still governs what happened while it was in force. We never redirect one to the other.

Cross-references

Extracted from the operative text of the enactments themselves. Every destination below exists in our corpus.

Related judgements & precedents

These are some judgments that construed this section, and hold precedence value. They hold authority on how to read, interpret and use this section.

  1. Prem Shanker Rohilla vs State Govt. of N.c.t. of Delhi

    High Court 17 Mar 2004 Persuasive (Other HC)

    Court's Decision & Legal Precedent

    When parties to a criminal dispute have amicably settled their differences through a compromise deed and the complainant voluntarily withdraws support for the prosecution without any pressure or threat, the High Court may exercise its discretion to quash the criminal proceedings in the interest of justice, particularly when the State does not oppose such quashing.

    On this section: General exceptions to criminal liability - charge in the original FIR that was quashed

    Read the full order on eCourts India

The holding above is the ratio decidendi as extracted from the judgment by eCourts India, reproduced unaltered — it is a rendering of the court's reasoning, not a substitute for its words. Read the order itself before relying on it.

Questions about Section 23

What have the courts held on Section 23 of the Indian Penal Code?

Prem Shanker Rohilla vs State Govt. of N.c.t. of Delhi (17 Mar 2004) is the leading judgment on this section among those set out below: General exceptions to criminal liability - charge in the original FIR that was quashed.

How do I find court cases under Section 23 of the Indian Penal Code?

In judgments and charge sheets this section is written several ways, and each form finds a different set of orders. These search the full text of every order eCourtsIndia holds, best matches first: IPC 23, section 23 IPC, section 23 of the Indian Penal Code. Each opens the full list of orders on eCourtsIndia, where it can be narrowed by court, year and outcome. 1 reported judgment on this section is set out on this page, beginning with Prem Shanker Rohilla vs State Govt. of N.c.t. of Delhi (17 Mar 2004).

What should I read with Section 23 of the Indian Penal Code, and has it changed?

1 other provision in this corpus refers back to it. For anything done on or after 1 July 2024 the provision to read is BNS 2 (Definitions), which replaced it; conduct before that date is still charged, tried and appealed under this section.

When did Section 23 of the Indian Penal Code come into force?

Section 23 of the Indian Penal Code, cited as IPC 23, came into force on 01 Jan 1862, having been enacted on 06 Oct 1860. It is no longer in force.

Other sections of this Act

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. Recovered from the consolidated text published by India Code (item 7b7d4fe6-206b-4e33-81f1-b98b018acaf6). This page is not a substitute for legal advice.