Indian Penal Code, 1860 · Chapter IX: Of Offences by or Relating to Public Servants
Section 170: Personating a public servant
The Indian Penal Code, 1860 was repealed and replaced by the Bharatiya Nyaya Sanhita, 2023 from 1 July 2024. It still applies to offences and proceedings from before that date.
In plain words
Pretending to hold a particular office as a public servant, knowing one does not, or falsely impersonating someone who holds it, and in that role doing or attempting any act under colour of that office, is punishable with imprisonment of either description for up to two years, or fine, or both.
A simplified explanation, prepared with AI assistance from the official text below and checked automatically against it for numbers and cross-references. The official text is the law and prevails over this summary. Not legal advice.
Official text
Whoever pretends to hold any particular office as a public servant, knowing that he does not hold such office or falsely personates any other person holding such office, and in such assumed character does or attempts to do any act under colour of such office, shall be punished with imprisonment of either description for a term which may extend to two years, or with fine, or with both.
Corresponding sections were matched by comparing the wording of both official texts, and for the IPC and BNS, also against a published correspondence table. Wording, punishments and structure often changed, so read both sections before relying on the match.
Source: India Code (Legislative Department), the text of the Act as it stood before its repeal. Words in square brackets [ ] were inserted or substituted by later amending Acts, and *** marks words omitted by an amendment. The amendment footnotes are not reproduced here.