Solitary Confinement and Limit to solitary confinement under Indian Penal Code is defined under Section 73 and 74 of Indian Penal Code 1860. Provisions under section 73 and 74 in the Act are:
Section 73 of Indian Penal Code. "Solitary Confinement" Whenever any person is convicted of an offence for which under this Code 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, that is to say-a time not exceeding one month if the term of imprisonment shall not exceed six months;
a time not exceeding two months if the term of imprisonment shall exceed six months and [shall not exceed one] year;
a time not exceeding three months if the term of imprisonment shall exceed one year.
Section 74 of Indian Penal Code. "Limit of 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.