Home › Law Library › BNS › Sections 126 and 127
In short: Section 126 of the Bharatiya Nyaya Sanhita, 2023 (old Sections 339 and 341 IPC) defines wrongful restraint, voluntarily obstructing a person so as to prevent him from going in a direction he has a right to go, and punishes it with simple imprisonment up to 1 month, or fine up to Rs. 5,000, or both. Section 127 (old Sections 340 and 342 to 348) defines wrongful confinement, restraining a person so as to prevent him from going beyond certain limits, and punishes it with up to 1 year, or fine up to Rs. 5,000, or both, with higher punishment for confinement of 3 days or more, 10 days or more, in secret, or to extort property or a confession.
भारतीय न्याय संहिता, 2023 की धारा 126 (पुरानी धारा 339 और 341) सदोष अवरोध की परिभाषा देती है, यानी किसी व्यक्ति को उस दिशा में जाने से रोकना जहाँ जाने का उसे अधिकार है, और इस पर 1 माह तक का साधारण कारावास, या 5,000 रुपये तक जुर्माना, या दोनों देती है। धारा 127 (पुरानी 340 और 342 से 348) सदोष परिरोध की परिभाषा देती है और 1 वर्ष तक, या 5,000 रुपये तक जुर्माना देती है; 3 दिन या 10 दिन से अधिक, गुप्त रूप से, या संपत्ति या स्वीकारोक्ति वसूलने के लिए परिरोध पर अधिक सज़ा है।
Key facts
| Wrongful restraint, s. 126 (old 339, 341) | Simple imprisonment up to 1 month, or fine up to Rs. 5,000, or both |
| Wrongful confinement, s. 127(2) (old 342) | Up to 1 year, or fine up to Rs. 5,000, or both |
| 3 days or more, s. 127(3) (old 343) | Up to 3 years, or fine up to Rs. 10,000, or both |
| 10 days or more, s. 127(4) (old 344) | Up to 5 years and fine of at least Rs. 10,000 |
| Other aggravated forms | Confinement despite a writ for release, in secret, or to extort property or a confession (old 345 to 348) |
| Nature | Section 126 is cognizable and bailable; basic confinement is cognizable and bailable |
Restraint and confinement explained
Wrongful restraint is partial: the person can go elsewhere but is blocked from going where he has a right to go, for example a path to his house is blocked. Wrongful confinement is total within some limits: the person cannot leave a room, building or area. Physical barriers are not necessary; threats or a show of force that make it reasonable for the person to believe he cannot leave can be enough.
Where these charges appear
- Path and passage disputes between neighbours, often with criminal trespass.
- Employers, landlords or lenders keeping a person or his documents to force payment.
- Illegal detention by police without recording arrest, which can also be challenged by habeas corpus and attract confinement to extort a confession.
- Confinement as part of kidnapping or abduction.
Practical points
Wrongful restraint under Section 126 is compoundable by the person restrained, and so is basic wrongful confinement under Section 127(2), which makes settlement common in neighbour and family disputes. Where a path dispute is really about title or easement, a civil suit for injunction is usually the lasting remedy.
Need help? See criminal lawyer in Ghaziabad, bail lawyer in Ghaziabad, criminal lawyer in Delhi, or book a consultation. Back to BNS or the Law Library.
Prepared by the office of Adv. Mridul Jindal, Law Chambers of Mridul Jindal, Indirapuram, Ghaziabad. Last updated 26 November 2026. Summaries are in plain English for general information and are not the text of the law or legal advice; always read the official text on India Code. Disclaimer.
Frequently asked questions
What is the BNS section for 341 IPC?
Section 126(2) of the Bharatiya Nyaya Sanhita, 2023, punishable with simple imprisonment up to one month, or fine up to Rs. 5,000, or both.
What is the BNS section for 342 IPC?
Section 127(2) BNS, punishable with up to one year, or fine up to Rs. 5,000, or both.
What is the difference between restraint and confinement?
Restraint blocks a person from going in a particular direction; confinement prevents him from going beyond certain limits altogether.
Is wrongful confinement bailable?
Basic wrongful confinement is bailable; longer or aggravated forms carry higher punishment.
Can these cases be settled?
Yes. Wrongful restraint and basic wrongful confinement are compoundable by the person affected under Section 359 BNSS.



