IPC to BNS
IPC Section 342 in BNS: Section 127(2)
Section 342 of the Indian Penal Code, 1860 (Punishment for wrongful confinement) corresponds to Section 127(2) of the Bharatiya Nyaya Sanhita, 2023.
Last updated 9 October 2026
IPC 342 and BNS 127(2) at a glance
| IPC (old) | BNS (new) | |
|---|---|---|
| Section | 342 | 127(2) |
| Heading | Punishment for wrongful confinement | Punishment for wrongful confinement |
| Punishment | Imprisonment up to 1 year, or fine up to ₹1,000, or both. | Imprisonment up to 1 year, or fine up to ₹5,000, or both. |
| Mapping | Direct equivalent | |
What IPC Section 342 covered
Punishes wrongfully confining any person.
What changed in BNS Section 127(2)
The term is unchanged; the maximum fine rises from ₹1,000 to ₹5,000.
Punishment: IPC 342 compared with BNS 127(2)
- Under IPC Section 342
- Imprisonment up to 1 year, or fine up to ₹1,000, or both.
- Under BNS Section 127(2)
- Imprisonment up to 1 year, or fine up to ₹5,000, or both.
Which law applies: IPC or BNS?
The BNS applies to offences committed on or after 1 July 2024. An offence committed before that date continues to be investigated, tried and punished under the IPC, because the repeal and savings clause in Section 358 of the BNS preserves liabilities and proceedings under the repealed Code.
Read the full text of both provisions before you cite them. The official bare acts are published on India Code.
IPC 342: common questions
What is the new section for IPC 342?
IPC Section 342 (Punishment for wrongful confinement) corresponds to Section 127(2) of the Bharatiya Nyaya Sanhita, 2023 (BNS).
What is the punishment under BNS Section 127(2)?
Imprisonment up to 1 year, or fine up to ₹5,000, or both.
Does IPC Section 342 still apply to older cases?
The BNS applies to offences committed on or after 1 July 2024. An offence committed before that date continues to be investigated, tried and punished under the IPC, because the repeal and savings clause in Section 358 of the BNS preserves liabilities and proceedings under the repealed Code.
Related IPC sections
- IPC 340 to BNS 127(1) · Wrongful confinement
- IPC 349 to BNS 128 · Force (definition)
- IPC 341 to BNS 126(2) · Wrongful restraint
- IPC 350 to BNS 129 · Criminal force
- IPC 339 to BNS 126(1) · Wrongful restraint
- IPC 351 to BNS 130 · Assault (definition)
- IPC 353 to BNS 132 · Assault on public servant
Map any section inside Settl
The signed-in Section Mapper converts sections in both directions across the IPC, CrPC and Evidence Act and their replacements, alongside your matter files, drafts and court diary.
Not legal advice. This comparison is a research starting point. A mapped section is not proof that two provisions are identical. Read both bare acts, check commencement and any later amendment, and have a qualified advocate review anything you intend to rely on. Settl is not a law firm.