IPC Section 511: Punishment for attempting to commit offences punishable with imprisonment for life or other imprisonment
Indian Penal Code, 1860 · Chapter 23: Attempts to Commit Offences
Repealed on 1 July 2024 and replaced by the Bharatiya Nyaya Sanhita, 2023 (BNS).
¶Punishment for attempting to commit offences punishable with imprisonment for life or other imprisonment.
¶511. Punishment for attempting to commit offences punishable with imprisonment for life or other imprisonment.--Whoever attempts to commit an offence punishable by this Code with [1] imprisonment for life, or imprisonment, or to cause such an offence to be committed, and in such attempt does any act towards the commission of the offence, shall, where no express provision is made by this Code for the punishment of such attempt, be punished with [2] imprisonment of any description provided for the offence, for a term which may extend to one-half of the imprisonment for life or, as the case may be, one- half of the longest term of imprisonment provided for that offence, or with such fine as is provided for the offence, or with both.
¶Illustrations
(a) A makes an attempt to steal some jewels by breaking open a box, and finds after so opening the box, that there is no jewel in it. He has done an act towards the commission of theft, and therefore is guilty under this section.
(b) A makes an attempt to pick the pocket of Z by thrusting his hand into Z's pocket. A fails in the attempt in consequence of Z's having nothing in his pocket. A is guilty under this section.
-----
1. Subs. by Act 26 of 1955, s. 117 and Sch., for "transportation".
2. Subs. by s. 117 and Sch., ibid., for certain words.
Study: explanations and related material
Now BNS 62 (same provision). IPC → BNS converterSource: BPR&D BNS–IPC corresponding section table (UP Police, 2024-06-28), p5
Official reference: Delhi District & Sessions Judge: government historical reference — source link checked: 2 October 2026.Recorded edition / snapshot date: 2024-06-30.Mobile-app reference import; the recorded snapshot date is not a fresh legal-currency guarantee. The linked government text is an independent authoritative reference, not certification that this website reproduces the same edition. The source link was checked, not every provision or subsequent amendment. Check commencement notifications, savings and jurisdiction-specific variations separately. Historical code retained for reference; read the repeal/savings provisions in the successor code.
This text is for reference, not legal advice. Consult the official source for the authoritative text.