Indian criminal law | Updated October 2026
IPC Section 217 and BNS Section 255: Public Servant Disobeying Law to Save an Offender
Section 217 of the Indian Penal Code, 1860 addressed knowing disobedience of a legal direction by a public servant to protect a person from punishment or property from forfeiture. The corresponding provision under the Bharatiya Nyaya Sanhita, 2023 is Section 255.
Meaning of IPC Section 217 and BNS Section 255
The provision concerns misconduct by a public servant who is legally required to act in a particular manner. It targets deliberate disregard of that legal duty where the public servant intends, or knows it is likely, that the disobedience will shield someone from lawful punishment, reduce the punishment to which that person is liable, or save property from a legally applicable forfeiture or charge.
The expression public servant is defined under the applicable criminal law; see BNS Section 2 and the official text of the Sanhita. The provision is not limited to police officers and may apply to other public servants whose conduct is regulated by a direction of law.
Text and legal effect of the provision
Former IPC Section 217
The original IPC provision punished a public servant who knowingly disobeyed a direction of law governing the performance of official duties, intending or knowing that the result was likely to save a person from legal punishment, subject that person to a lesser punishment, or save property from forfeiture or another lawful charge.
Current BNS Section 255
Section 255 of the Bharatiya Nyaya Sanhita, 2023 substantially carries forward this rule. It covers knowingly disobeying a legal direction about the manner in which the public servant must perform official duties with the specified intention or knowledge of protecting a person or property from the consequences of law.
Penalty: imprisonment of either description for a term extending to two years, or fine, or both. "Either description" refers to simple or rigorous imprisonment, as permitted by the sentencing provision.
Transition: The BNS generally governs offences committed from 1 July 2024 onward. IPC provisions and applicable saving and transitional rules remain relevant to conduct occurring before commencement. The date of the alleged act is therefore important.
Essential ingredients of the offence
- Status: The accused must be a public servant.
- Binding legal direction: A direction of law must govern how that public servant is required to act in an official capacity.
- Knowing disobedience: The public servant must knowingly disregard that legal direction.
- Specified intention or knowledge: The conduct must be intended, or known to be likely, to protect a person from legal punishment, cause a lesser punishment, or protect property from forfeiture or a lawful charge.
A mistake, delay or breach of internal procedure does not by itself establish all these elements. Whether a particular instruction qualifies as a direction of law, and whether the required state of mind exists, depends on the evidence.
Punishment and procedural classification
| Corresponding provisions | IPC Section 217 (former law); BNS Section 255 (current law) |
|---|---|
| Maximum punishment | Imprisonment of either description for up to 2 years, or fine, or both |
| Cognizability | Non-cognizable |
| Bail | Bailable |
| Court competent to try | Any Magistrate |
| Compounding | Non-compoundable |
Procedural classification follows the First Schedule to the Bharatiya Nagarik Suraksha Sanhita, 2023. A non-cognizable offence ordinarily requires the applicable Magistrate's order for police investigation. Rules concerning prosecution of public servants and any required sanction must also be assessed on the facts.
Practical illustrations
Illustration 1: A public officer is legally required to initiate a particular enforcement action. The officer deliberately disobeys that statutory direction to ensure that a known offender avoids legal punishment. Subject to proof of the remaining elements, Section 255 may be attracted.
Illustration 2: An officer intentionally disregards a statutory duty relating to property so that property legally liable to forfeiture is protected from that forfeiture. The provision may apply where the required knowledge or intention is proved.
Not automatically an offence: An officer makes a genuine clerical error without knowledge that the error would protect anyone from punishment or protect property from forfeiture. The necessary mental element may be absent.
Difference between BNS Sections 255 and 256
Section 255 addresses knowingly disobeying a direction of law with the specified protective purpose or knowledge. Section 256, corresponding to former IPC Section 218, concerns a public servant responsible for preparing a record or writing who knowingly frames it incorrectly with the requisite intention or knowledge. The elements and punishments are different; the correct provision depends on the alleged act.
Official legal sources
- National Crime Records Bureau: Bharatiya Nyaya Sanhita, 2023, including Section 255
- National Crime Records Bureau: BNSS First Schedule and classification of offences
- Bureau of Police Research and Development: offences against public justice and IPC-BNS comparison
- India Code: official central legislation repository
Frequently asked questions
What is IPC Section 217?
IPC Section 217 punished a public servant who knowingly disobeyed a legal direction with the intention or knowledge that this would shield a person from legal punishment, reduce punishment, or protect property from lawful forfeiture or charge.
What is the corresponding BNS section?
Section 255 of the Bharatiya Nyaya Sanhita, 2023 corresponds to IPC Section 217 and applies under the new criminal law framework effective from 1 July 2024.
What is the punishment under BNS Section 255?
Imprisonment of either description for up to two years, or a fine, or both.
Is BNS Section 255 cognizable and bailable?
It is non-cognizable and bailable, and the offence is triable by any Magistrate under the First Schedule to the Bharatiya Nagarik Suraksha Sanhita, 2023.
Does every breach of duty by a public servant amount to this offence?
No. The prosecution must establish knowing disobedience of a legal direction and the specified intention or knowledge concerning punishment or forfeiture. A mere administrative mistake is not automatically sufficient.
This article is for general legal information. Application of criminal law depends on the date, facts, evidence and current statutory provisions.
