Settl

    IPC to BNS

    IPC Section 340 in BNS: Section 127(1)

    Section 340 of the Indian Penal Code, 1860 (Wrongful confinement) corresponds to Section 127(1) of the Bharatiya Nyaya Sanhita, 2023.

    Last updated 9 October 2026

    IPC 340 and BNS 127(1) at a glance

     IPC (old)BNS (new)
    Section340127(1)
    HeadingWrongful confinementWrongful confinement
    PunishmentDefinition only. Punishment under IPC Section 342: imprisonment up to 1 year, or fine up to ₹1,000, or both.Definition only. Punishment under BNS Section 127(2): imprisonment up to 1 year, or fine up to ₹5,000, or both.
    MappingDirect equivalent

    What IPC Section 340 covered

    Defines wrongful confinement: wrongfully restraining a person in such a manner as to prevent that person from proceeding beyond certain circumscribing limits.

    What changed in BNS Section 127(1)

    IPC Sections 340 and 342 to 348 are gathered into BNS Section 127. The definition is the same; the maximum fine for simple wrongful confinement rises from ₹1,000 to ₹5,000.

    Punishment: IPC 340 compared with BNS 127(1)

    Under IPC Section 340
    Definition only. Punishment under IPC Section 342: imprisonment up to 1 year, or fine up to ₹1,000, or both.
    Under BNS Section 127(1)
    Definition only. Punishment 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 340: common questions

    What is the new section for IPC 340?

    IPC Section 340 (Wrongful confinement) corresponds to Section 127(1) of the Bharatiya Nyaya Sanhita, 2023 (BNS).

    What is the punishment under BNS Section 127(1)?

    Definition only. Punishment under BNS Section 127(2): imprisonment up to 1 year, or fine up to ₹5,000, or both.

    Does IPC Section 340 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.