Section 31 of the Indian Penal Code, 1860, “A will”, is now Section 2(34) of the Bharatiya Nyaya Sanhita, 2023.

Browse old and new laws

IPC 31 and the BNS

IPCBNSBNS heading
312(34)Definitions.
Looking for BNS Section 31 (Communication made in good faith)? See BNS Section 31 in IPC, which maps to IPC Section 93.

At a glance

Act
Indian Penal Code, 1860
Status
Replaced on 1 July 2024 by the Bharatiya Nyaya Sanhita, 2023; still applies to matters it saves
Chapter
II: General explanations
Now in the BNS
Section 2(34)
Structure
A single paragraph
Length
8 words

Citing IPC Section 31 after 1 July 2024

In a pleading or submission under the new code, the usual form is:

  • Section 2(34) of the Bharatiya Nyaya Sanhita, 2023 (formerly Section 31 of the Indian Penal Code, 1860)

Earlier judgments are read against the new text: where the wording changed, check that the reasoning still fits before you rely on it.

Research IPC Section 31 in Supreme Court precedents

Search how benches applied this section. Each authority opens at the paragraph it relies on. Five research answers are free.

Start free

What changed in the text

Mapped-provision comparison: IPC Section 31 and BNS Section 2(34).

Of the 8 words in IPC Section 31, 4 appear in BNS Section 2(34) in the same order, leaving aside punctuation, capital letters and amendment brackets. BNS Section 2(34) leaves out 4 words and adds 1 word, for 5 words in all, and the wording differs in 2 places.

IPC Section 31 readsBNS Section 2(34) readsPlaces
The words “a will” “will”1
will” denote any testamentary document.“will” means any testamentary document;1

Worked out word by word from the two official texts. Struck-through words are those the new text leaves out at that point, and underlined words are those it adds. Read the official text before you rely on it.

Official text

IPC Section 31: “A will”

The words “a will” denote any testamentary document.

Indian Penal Code, 1860, page 19

Where it sits in the Bharatiya Nyaya Sanhita, 2023, opening words only:

BNS Section 2: Definitions

In this Sanhita, unless the context otherwise requires,–– (1) “act” denotes as well a series of acts as a single act; (2) “animal” means any living creature, other than a human being; (3) “child” means any person below the age of eighteen years; (4) “counterfeit”.––A person is said to “counterfeit” who causes one thing to resemble another thing, …

Full text of BNS Section 2

Chapter and nearby sections

IPC Section 31 is in Chapter II (General explanations) of the Indian Penal Code, 1860, which runs over Sections 6 to 52A. In the BNS, Section 2 is in Chapter I (Preliminary), which runs over Sections 1 to 3.

Nearby sections of the IPC

  • IPC Section 29, “Document”, now BNS Section 2(8)
  • IPC Section 29A, “Electronic record”, now BNS Sections 2(8) and 2(39)
  • IPC Section 30, “Valuable security”, now BNS Section 2(31)
  • IPC Section 32, Words referring to acts include illegal omissions, now BNS Section 3(4)
  • IPC Section 33, “Act”. “Omission”, now BNS Sections 2(1) and 2(25)
  • IPC Section 34, Acts done by several persons in furtherance of common intention, now BNS Section 3(5)

Which code applies

The Bharatiya Nyaya Sanhita came into force on 1 July 2024. An offence committed before that date is still punished under the Indian Penal Code, because the BNS keeps the repealed Code's penalties and proceedings alive.

“Notwithstanding the repeal of the Code referred to in sub-section (1), it shall not affect,— … (c) any penalty, or punishment incurred in respect of any offences committed against the Code so repealed;”

BNS section 358(2)

Which code governs your matter can turn on the date of the offence and the stage the case had reached on 1 July 2024. Read the official text before you rely on any table, and see IPC or BNS: which criminal law applies for the savings sections worked through.

Frequently asked questions

What is IPC Section 31 in BNS?

Section 31 of the Indian Penal Code, 1860, “A will”, is now Section 2(34) of the Bharatiya Nyaya Sanhita, 2023.

Is IPC Section 31 still in force?

The Indian Penal Code, 1860 was replaced by the Bharatiya Nyaya Sanhita, 2023 on 1 July 2024. An offence committed before that date is still punished under the Indian Penal Code, because the BNS keeps the repealed Code's penalties and proceedings alive.

What changed from IPC Section 31 to the BNS?

Mapped-provision comparison: IPC Section 31 and BNS Section 2(34). The wording changed in 2 places: 4 words went and 1 word came in. The comparison table on this page shows each one.

Sources

Section numbers follow the correspondence table prepared by the Central Academy for Police Training, Bhopal, of the Bureau of Police Research and Development. Headings are taken from the Indian Penal Code, 1860 and the Bharatiya Nyaya Sanhita, 2023 as published. The text of each section is reproduced from those official copies: the Gazette of India for the 2023 Acts and India Code for the earlier ones, with page furniture and amendment footnotes left out. The judgments citing a section are found by Vakilat's index of the Supreme Court's judgments, and each links to the court's official copy. The official text governs: read the section itself before you rely on it.

Research IPC 31 in Supreme Court judgments

Ask Vakilat a question about IPC Section 31 in plain English. Each authority in the answer opens at the paragraph it relies on. Five research answers are free.

Start free