Confinement
Also called: Wrongful confinement, Solitary confinement
Restraint of a person within circumscribing limits. Wrongful confinement is an offence under Section 127 of the BNS, and solitary confinement is a mode of executing rigorous imprisonment under Sections 11 and 12.
Explained
The BNS does not define confinement alone but builds two concepts on it. Under Section 127(1) (earlier Section 340 IPC), whoever wrongfully restrains any person in such a manner as to prevent that person from proceeding beyond certain circumscribing limits is said wrongfully to confine that person. Wrongful restraint, under Section 126(1), is voluntarily obstructing a person so as to prevent him from proceeding in any direction in which he has a right to proceed.
The difference is one of degree. Restraint blocks a person in some direction; confinement blocks him in every direction beyond a boundary, so every wrongful confinement includes wrongful restraint but not the reverse. No physical barrier is needed: under Illustration (b) to Section 127, posting armed men at the outlets of a building and threatening to fire if Z leaves is wrongful confinement. Lawful custody is not wrongful: Illustration (b) to Section 3(1) says a police officer who arrests a murderer without warrant does not commit wrongful confinement, being bound by law to apprehend him. Punishment rises with duration (three days or more, ten days or more), secret confinement, confinement despite a writ for liberation, and confinement to extort property or a confession (Section 127(2) to (8)).
Solitary confinement is a different idea: a mode of executing a sentence of rigorous imprisonment. Under Section 11 (earlier Section 73 IPC) the Court may order it for portions of the term, not exceeding one month where the imprisonment does not exceed six months, two months where it exceeds six months but not one year, and three months where it exceeds one year. Section 12 says it shall not exceed fourteen days at a time and, where the imprisonment exceeds three months, seven days in any one month. Sunil Batra v. Delhi Administration (1978) held that solitary confinement is a punishment only a court can impose, so jail authorities cannot keep a prisoner under sentence of death in solitary confinement.
The word also has an unrelated labour law meaning. Section 2(18) of the Code on Social Security, 2020 defines confinement, for maternity benefits, as labour resulting in the issue of a living child, or labour after twenty-six weeks of pregnancy resulting in the issue of a child whether alive or dead.
What the law says
(5) Whoever keeps any person in wrongful confinement, knowing that a writ for the liberation of that person has been duly issued, shall be punished with imprisonment of either description for a term which may extend to two years in addition to any term of imprisonment to which he may be liable under any other section of this Chapter and shall also be liable to fine.
(6) Whoever wrongfully confines any person in such manner as to indicate an intention that the confinement of such person may not be known to any person interested in the person so confined, or to any public servant, or that the place of such confinement may not be known to or discovered by any such person or public servant as hereinbefore mentioned, shall be punished with imprisonment of either description for a term which may extend to three years in addition to any other punishment to which he may be liable for such wrongful confinement and shall also be liable to fine.
(7) Whoever wrongfully confines any person for the purpose of extorting from the person confined, or from any person interested in the person confined, any property or valuable security or of constraining the person confined or any person interested in such person to do anything illegal or to give any information which may facilitate the commission of an offence, shall be punished with imprisonment of either description for a term which may extend to three years, and shall also be liable to fine.
Defines and punishes wrongful confinement
Earlier law: IPC 340. Wrongful confinement.; 342. Punishment for wrongful confinement.; 343. Wrongful confinement for three or more days.; 344. Wrongful confinement for ten or more days.; 345. Wrongful confinement of person for whose liberation writ has been issued.; 346. Wrongful confinement in secret.; 347. Wrongful confinement to extort property, or constrain to illegal act.; 348. Wrongful confinement to extort confession, or compel restoration of property.
(1) Whoever voluntarily obstructs any person so as to prevent that person from proceeding in any direction in which that person has a right to proceed, is said wrongfully to restrain that person.
Exception.—The obstruction of a private way over land or water which a person in good faith believes himself to have a lawful right to obstruct, is not an offence within the meaning of this section.
Illustration.
Defines wrongful restraint, on which confinement is built
Earlier law: IPC 339. Wrongful restraint.; 341. Punishment for wrongful restraint.
Whenever any person is convicted of an offence for which under this Sanhita the Court has power to sentence him to rigorous imprisonment, the Court may, by its sentence, order that the offender shall be kept in solitary confinement for any portion or portions of the imprisonment to which he is sentenced, not exceeding three months in the whole, according to the following scale, namely: —
(a) a time not exceeding one month if the term of imprisonment shall not exceed six months;
(b) a time not exceeding two months if the term of imprisonment shall exceed six months and shall not exceed one year;
Solitary confinement as part of a rigorous sentence
Earlier law: IPC 73. Solitary confinement.
In executing a sentence of solitary confinement, such confinement shall in no case exceed fourteen days at a time, with intervals between the periods of solitary confinement of not less duration than such periods; and when the imprisonment awarded shall exceed three months, the solitary confinement shall not exceed seven days in any one month of the whole imprisonment awarded, with intervals between the periods of solitary confinement of not less duration than such periods.
Limits on executing solitary confinement
Earlier law: IPC 74. Limit of solitary confinement.
Section 2, Social Security Code
(18) “confinement” means labour resulting in the issue of a living child, or labour after twenty-six weeks of pregnancy resulting in the issue of a child whether alive or dead;
Clause (18) defines confinement for maternity benefits
Earlier law: Section 340, IPC
Example
Illustration (a) to Section 127 of the BNS: 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.
For the exam
- Section 127(1) BNS (earlier Section 340 IPC): wrongful restraint beyond circumscribing limits.
- Every wrongful confinement is wrongful restraint; not every wrongful restraint is confinement.
- Solitary confinement: three months in all at most (Section 11); never over 14 days at a time (Section 12).
- Imprisonment over three months: solitary confinement up to seven days in any one month (Section 12).
- Sunil Batra (1978): only a court, not jail authorities, can impose solitary confinement.
Asked in 8 official papers
- AILET (NLU Delhi) 2026 Official Paper: PG (LL.M.)
- Rajasthan District Judge (HJS) 2024 Official Paper
- Delhi Higher Judicial Service (DHJS) 2023 Official Paper
- Odisha Judicial Service (Civil Judge) 2023 Official Paper
- Delhi Judicial Service 2022 Official Paper
- Rajasthan Civil Judge (RJS) 2021 Official Paper
- Odisha Judicial Service (Civil Judge) 2019 Official Paper
- Delhi Judicial Service 2018 Official Paper
32 questions in the Law Maker question bank test this term or the provisions above.
Try 3 questions
1. A, a public servant having the custody of a prisoner of war, negligently suffers the prisoner to escape from the place of confinement. A is punishable under the BNS with
2. A jail officer, legally bound as a public servant to keep in confinement a prisoner who is under sentence of death, intentionally aids the prisoner in escaping. Under Section 260 of the Bharatiya Nyaya Sanhita, 2023, the officer is punishable with
3. In Satyawati Sharma v. Union of India (2008) the Supreme Court struck down, as violative of Article 14, the confinement of the bona fide requirement ground in Section 14(1)(e) of the Delhi Rent Control Act, 1958 to premises let for residential purposes. Under the Meghalaya Urban Areas Rent Control Act, 1972, the bona fide requirement ground in clause (c) of the proviso to Section 5(1):
Judgments
Related terms
- ImprisonmentConfinement in prison as punishment. Section 4(c) of the BNS recognises two descriptions, rigorous (with hard labour) and simple; imprisonment for life is listed separately in Section 4(b).
- Public servantA person falling within the descriptions in Section 2(28) of the BNS, such as Judges, officers of the Government and Courts, and persons in the pay of the Government or a Government company.
- Habeas corpusA writ directing a person or authority holding someone in custody to produce him before the court and show lawful authority for the detention, failing which he is set free. Issued under Articles 32 and 226.
- OffenceAn act or omission made punishable by law. The BNS core meaning is a thing made punishable by the Sanhita; the BNSS meaning covers any law in force.
Further reading
Facing this in a matter of your own? Talk to a lawyer on LegalFirms.in, free to send.
Checked 18 November 2026. Statutory text is quoted from the Bare Acts library, taken from India Code. See the full glossary.