Guides and tools

Indian Penal Code, 1860 · now Bharatiya Nyaya Sanhita, 2023

IPC Section 511: Punishment for attempting to commit offences

Punishment for attempting to commit offences. Since 1 July 2024 it is section 62 of the Bharatiya Nyaya Sanhita (BNS). Punishment: Up to half of the imprisonment for life or of the longest term provided for the offence, or the fine provided for it, or both.

Law checked on 16 November 2026.

IPC section
511
Now
BNS section 62
Punishment
Up to half of the imprisonment for life or of the longest term provided for the offence.

What section 511 covers

Where the law has no separate provision for an attempt (as it does for murder in section 307), a person who attempts an offence punishable with life imprisonment or other imprisonment, and does any act towards committing it, is punished under this section.

An attempt starts when preparation is over and the person does an act towards committing the offence that would have completed it but for something outside their control.

IPC 511 or BNS 62: which applies

The IPC was repealed from 1 July 2024 and replaced by the Bharatiya Nyaya Sanhita, 2023. An offence committed before that date is still charged and punished under IPC section 511 (BNS section 358). An offence committed on or after it is charged under BNS section 62.

What changed: No change.

Judgments on IPC section 511 remain useful for BNS section 62 where the words did not change.

How it is charged

Classified as the offence attempted is.

Judgments on LegalFirms.in under this section

Need an advocate for a case under this section? Sending an enquiry is free. It goes to advocates who handle criminal cases.

Questions people ask

What is IPC section 511 in the BNS?

IPC section 511 (punishment for attempting to commit offences) is section 62 of the Bharatiya Nyaya Sanhita, 2023, in force from 1 July 2024. No change.

What is the punishment under section 511 IPC?

Under BNS section 62: Up to half of the imprisonment for life or of the longest term provided for the offence, or the fine provided for it, or both.

Is section 511 an offence by itself?

Classified as the offence attempted is.

Does the IPC still apply to old cases?

Yes. Offences committed before 1 July 2024 are charged and punished under the IPC, because the BNS saves liabilities incurred under the repealed Code (BNS section 358). Offences committed on or after that date are charged under the BNS.

Sources

General information on Indian law, not legal advice for your situation. Time limits and procedure can turn on facts and on State law; an advocate can tell you how they apply to you.