Section 309 of the Indian Penal Code criminalised attempted suicide as well as suicide assistance.
Section 309 stated:
Although section 309 was still in effect, the Mental Healthcare Act, 2017 (enacted July 2018) has restricted its application. The relevant provision of the new act states:
The Indian Penal Code was replace by Bharatiya Nyaya Sanhita (BNS), which came into effect on July 1, 2024. The Bharatiya Nyaya Sanhita does not include an equivalent clause to Section 309 that criminalized attempted suicide in India, hereby attempted suicide was officially decriminalised in India through the introduction of BNS.[4][5]
:1
was invoked but never defined (see the help page).