IPC Section 340 in BNS: BNS Section 127(1)
Section 340 of the Indian Penal Code, 1860, Wrongful confinement, is now Section 127(1) of the Bharatiya Nyaya Sanhita, 2023.
Browse old and new laws
IPC 340 and the BNS
| IPC | BNS | BNS heading |
|---|---|---|
| 340 | 127(1) | Wrongful confinement. |
At a glance
- Act
- Indian Penal Code, 1860
- Status
- Replaced on 1 July 2024 by the Bharatiya Nyaya Sanhita, 2023; still applies to matters it saves
- Chapter
- XVI: Of offences affecting the human body
- Now in the BNS
- Section 127(1)
- Structure
- Illustrations
- Length
- 93 words
- Selected judgments citing BNS counterpart
- 1 distinct judgments in the saved selection
Citing IPC Section 340 after 1 July 2024
In a pleading or submission under the new code, the usual form is:
- Section 127(1) of the Bharatiya Nyaya Sanhita, 2023 (formerly Section 340 of the Indian Penal Code, 1860)
Earlier judgments are read against the new text: where the wording changed, check that the reasoning still fits before you rely on it.
Research IPC Section 340 in Supreme Court precedents
Search how benches applied this section. Each authority opens at the paragraph it relies on. Five research answers are free.
What changed in the text
Mapped-provision comparison: IPC Section 340 and BNS Section 127(1).
Leaving aside punctuation, capital letters and amendment brackets, BNS Section 127(1) repeats IPC Section 340 word for word: 93 words in each. Both texts have Illustrations.
Worked out word by word from the two official texts. Read the official text before you rely on it.
Supreme Court judgments citing it
Selected judgments from the 16 October 2026 snapshot, up to five per section. These lists are not total counts for Vakilat's current collection. Selection requires citations in at least two paragraphs and ranks by paragraph count, then newest first on a tie.
Supreme Court judgments in Vakilat's collection citing the counterpart provision this section became. Read each judgment against the current wording before relying on it.
PRAJWALA v. UNION OF INDIA & ORS.
29 May 2026 · 2026 INSC 609 · cites the section in 2 paragraphs
1 selected judgment cites BNS Section 127, which it became: see it on its page.
Official text
IPC Section 340: Wrongful confinement
Whoever wrongfully restrains any person in such a manner as to prevent that person from proceedings beyond certain circumscribing limits, is said “wrongfully to confine” that person. Illustrations (a) A causes Z to go within a walled space, and locks Z in Z. is thus prevented from proceeding in any direction beyond the circumscribing line of wall. A wrongfully confines Z. (b) A places men with firearms at the outlets of a building, and tells Z that they will fire at Z if Z attempts to leave the building. A wrongfully confines Z.
Indian Penal Code, 1860, page 81
Where it sits in the Bharatiya Nyaya Sanhita, 2023, opening words only:
BNS Section 127: Wrongful confinement
(1) Whoever wrongfully restrains any person in such a manner as to prevent that person from proceedings beyond certain circumscribing limits, is said “wrongfully to confine” that person. Illustrations. (a) A causes Z to go within a walled space, and locks Z in. Z is thus prevented from proceeding in any direction beyond the circumscribing line of wall. …
Full text of BNS Section 127Chapter and nearby sections
IPC Section 340 is in Chapter XVI (Of offences affecting the human body) of the Indian Penal Code, 1860, which runs over Sections 299 to 377. In the BNS, Section 127 is in Chapter VI (Of offences affecting the human body), which runs over Sections 100 to 146.
Nearby sections of the IPC
- IPC Section 337, Causing hurt by act endangering life or personal safety of others, now BNS Section 125(a)
- IPC Section 338, Causing grievous hurt by act endangering life or personal safety of others, now BNS Section 125(b)
- IPC Section 339, Wrongful restraint, now BNS Section 126(1)
- IPC Section 341, Punishment for wrongful restraint, now BNS Section 126(2)
- IPC Section 342, Punishment for wrongful confinement, now BNS Section 127(2)
- IPC Section 343, Wrongful confinement for three or more days, now BNS Section 127(3)
Which code applies
The Bharatiya Nyaya Sanhita came into force on 1 July 2024. An offence committed before that date is still punished under the Indian Penal Code, because the BNS keeps the repealed Code's penalties and proceedings alive.
“Notwithstanding the repeal of the Code referred to in sub-section (1), it shall not affect,— … (c) any penalty, or punishment incurred in respect of any offences committed against the Code so repealed;”
Which code governs your matter can turn on the date of the offence and the stage the case had reached on 1 July 2024. Read the official text before you rely on any table, and see IPC or BNS: which criminal law applies for the savings sections worked through.
Frequently asked questions
What is IPC Section 340 in BNS?
Section 340 of the Indian Penal Code, 1860, Wrongful confinement, is now Section 127(1) of the Bharatiya Nyaya Sanhita, 2023.
Is IPC Section 340 still in force?
The Indian Penal Code, 1860 was replaced by the Bharatiya Nyaya Sanhita, 2023 on 1 July 2024. An offence committed before that date is still punished under the Indian Penal Code, because the BNS keeps the repealed Code's penalties and proceedings alive.
What changed from IPC Section 340 to the BNS?
Mapped-provision comparison: IPC Section 340 and BNS Section 127(1). Leaving aside punctuation, capital letters and amendment brackets, the wording did not change.
Sources
Section numbers follow the correspondence table prepared by the Central Academy for Police Training, Bhopal, of the Bureau of Police Research and Development. Headings are taken from the Indian Penal Code, 1860 and the Bharatiya Nyaya Sanhita, 2023 as published. The text of each section is reproduced from those official copies: the Gazette of India for the 2023 Acts and India Code for the earlier ones, with page furniture and amendment footnotes left out. The judgments citing a section are found by Vakilat's index of the Supreme Court's judgments, and each links to the court's official copy. The official text governs: read the section itself before you rely on it.
Research IPC 340 in Supreme Court judgments
Ask Vakilat a question about IPC Section 340 in plain English. Each authority in the answer opens at the paragraph it relies on. Five research answers are free.
Start free