Settl

    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)
    Section342127(2)
    HeadingPunishment for wrongful confinementPunishment for wrongful confinement
    PunishmentImprisonment 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.
    MappingDirect 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

    See the full IPC to BNS section list

    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.