LawDadi legal information logo
Home / Indian Penal Code / Section 212

Indian criminal law | Updated 29 October 2026

IPC Section 212 and BNS Section 249: Harbouring an Offender

Harbouring an offender means concealing or sheltering a person believed to have committed an offence, with the intention of protecting that person from legal punishment. The former IPC Section 212 corresponds to Section 249 of the Bharatiya Nyaya Sanhita, 2023 (BNS).

Current law: The BNS came into force on 1 July 2024. Section 249 generally governs conduct after commencement; the IPC and relevant saving and transition provisions remain important for earlier conduct.

Meaning and essential ingredients

For an offence of harbouring under BNS Section 249, the prosecution must establish that an offence was committed; the accused harboured or concealed another person; the accused knew or had reason to believe that person was the offender; and the concealment was intended to screen that person from legal punishment.

Merely being related to an accused person, or giving shelter without the requisite knowledge and intention, does not by itself establish this offence. The statutory exception for a spouse is addressed below.

Punishment under BNS Section 249

Underlying offencePunishment for harbouring
Punishable with deathImprisonment of either description up to 5 years and fine.
Punishable with imprisonment for life or imprisonment extending to 10 yearsImprisonment of either description up to 3 years and fine.
Punishable with imprisonment extending to 1 year but not to 10 yearsImprisonment of the description provided for the underlying offence up to one-fourth of its longest prescribed term, or fine, or both.

The applicable punishment depends on the statutory punishment of the underlying offence, not merely the sentence ultimately imposed on that offender.

Spouse exception

BNS Section 249 expressly excludes cases in which the harbouring or concealment is by the spouse of the offender. The corresponding IPC Section 212 used the words "husband or wife". This exception relates to this particular offence and does not necessarily exempt other independent unlawful acts.

Offences committed outside India

The explanation to BNS Section 249 also includes certain acts committed outside India, if those acts would be punishable in India under the specified BNS provisions. The referenced provisions are Sections 103, 105, 307, specified sub-sections of 309 and 310, Sections 311 and 312, specified clauses of 326, specified sub-sections of 331, and specified clauses of 332. Consult the full statutory explanation for the exact sub-sections and scope.

Statutory illustration explained

A knows that B has committed dacoity and intentionally hides B to prevent legal punishment. Where the underlying dacoity is punishable with life imprisonment, A may face imprisonment of either description for up to three years and a fine under Section 249. This illustrates why knowledge and the intention to screen the offender matter.

IPC Section 212: earlier legal provision

Section 212 of the Indian Penal Code, 1860 punished harbouring or concealing an offender with knowledge or reason to believe that the person committed an offence, and with the intention of screening the offender from punishment. Its punishment structure included imprisonment up to five years and fine for harbouring an offender whose offence was punishable with death; up to three years and fine for an offence punishable with life imprisonment or imprisonment extending to ten years; and a proportional penalty for the lower category.

The IPC also expressly covered specified acts outside India, contained a husband-or-wife exception, and illustrated the provision using concealment of a person who committed dacoity. These elements remain relevant when analysing conduct governed by the earlier law.

Harbouring an offender is different from receiving a benefit to screen an offender, addressed by BNS Section 250 (formerly IPC Section 213), and harbouring someone who escaped custody or whose apprehension has been ordered, addressed by BNS Section 253 (formerly IPC Section 216). Different factual requirements may apply.

Frequently asked questions

What is harbouring an offender?

Knowingly hiding or sheltering an offender with the intention of protecting that person from legal punishment may amount to harbouring.

What is the current provision corresponding to IPC Section 212?

Section 249 of the Bharatiya Nyaya Sanhita, 2023 is the corresponding provision for offences governed by the BNS from 1 July 2024.

Can a spouse be punished under this section?

Section 249 contains an express exception for harbouring or concealment by the spouse of the offender. The scope of the exception depends on the facts and any other applicable offence.

Is every act of providing shelter an offence?

No. The prosecution must establish the required knowledge or reason to believe and the intention to screen the offender from legal punishment.

Official statutory sources

This article provides general legal information and is not a substitute for advice on specific facts.