image

IPC 340

IPC Section 340 – Wrongful Confinement | Legal Guide
Section 340 · Indian Penal Code

IPC Section 340 – Wrongful Confinement

Section 340 of the Indian Penal Code defines wrongful confinement. It applies when a person is wrongfully restrained so that the person cannot proceed beyond certain circumscribing limits.

Subject: Wrongful Confinement
Legal Effect: Prevents movement beyond defined limits
Cognizable: Yes*
Bailable: Yes*
BNS 2023 Equivalent: Section 127(1)
⚡

Quick Answer: What Does IPC Section 340 Mean?

IPC Section 340 defines wrongful confinement. A person is wrongfully confined when someone wrongfully restrains that person in a way that prevents the person from moving beyond certain circumscribing limits.

There must be wrongful restraint of a person
The restraint must prevent movement beyond defined limits
The provision defines the offence and does not prescribe a separate punishment
BNS Section 127(1) corresponds to IPC Section 340

What is IPC Section 340?

IPC Section 340 deals with wrongful confinement. It applies when a person is wrongfully restrained in such a manner that the person cannot proceed beyond certain circumscribing limits.

Wrongful confinement is more specific than wrongful restraint. Wrongful restraint prevents a person from proceeding in a direction in which the person has a right to proceed. Wrongful confinement goes further by restricting the person within defined boundaries.

Example of IPC Section 340

For example, if A locks Z inside a room and prevents Z from leaving, A may wrongfully confine Z. Similarly, confinement may occur when a person blocks the exits and creates a threat that prevents the person from leaving.

Important Update: IPC to BNS Transition

The Indian Penal Code was replaced by the Bharatiya Nyaya Sanhita, 2023 for offences governed by the new criminal law from 1 July 2024. The definition corresponding to IPC Section 340 is contained in BNS Section 127(1).

Punishment Under IPC Section 340

IPC Section 340 itself was a definitional provision. The punishment for ordinary wrongful confinement was prescribed by Section 342 IPC, which provided imprisonment of either description for up to one year, or fine up to ₹1,000, or both.

ProvisionLegal Position
IPC Section 340Defines wrongful confinement
IPC Section 342Punishment: imprisonment up to 1 year, or fine up to ₹1,000, or both
Classification*Cognizable and bailable
Trial*Any Magistrate
BNS equivalentSection 127(1) for the definition; Section 127(2) contains the punishment

*Important: Section 340 defines the offence, while the punishment and procedural classification were attached to the corresponding punishment provision. Under the BNS, the definition is in Section 127(1) and ordinary punishment is in Section 127(2).

Key Ingredients / Essential Elements of IPC Section 340

1

A person is restrained

The conduct must involve restraint of another person.

2

The restraint is wrongful

The restraint must be without lawful justification or authority.

3

Movement is restricted beyond limits

The restraint must prevent the person from proceeding beyond certain circumscribing limits.

4

Confinement is established from the facts

The surrounding circumstances, physical barriers, threats or other methods of restraint may be relevant to determine whether confinement occurred.

Complainant / Accused in an IPC Section 340 Case

⚠️

If You Are the Person Confined / Complainant

  1. Record the circumstances and duration of the confinement.
  2. Preserve lawful recordings, messages, CCTV details and other available evidence.
  3. Identify witnesses who saw the restraint or the circumstances surrounding it.
  4. Seek legal assistance to understand the appropriate complaint and remedy.
⚖️

If You Are Accused

  1. Obtain legal representation at the earliest stage.
  2. Examine whether the alleged restraint actually prevented movement beyond defined limits.
  3. Review whether there was any lawful authority or justification for the restraint.
  4. Preserve evidence showing the actual circumstances of the alleged confinement.

Why the Circumscribing Limits Matter

The prosecution must establish that the alleged restraint prevented the person from proceeding beyond certain limits. The nature of the barrier, threat or other restraint and the facts of the incident are important.

Complaint & Process in an IPC Section 340 Case

STEP 1

Report the Incident

The alleged confinement may be reported to the police. Relevant evidence should be preserved.

STEP 2

Investigation

The investigating agency may collect statements, CCTV footage, messages, location evidence and other relevant material.

STEP 3

Examine the Restraint

The facts are examined to determine whether the accused wrongfully restrained the person and prevented movement beyond defined limits.

STEP 4

Apply the Punishment Provision

If wrongful confinement is established, the applicable punishment provision, such as Section 342 IPC for ordinary confinement, is considered.

Important Principles on IPC Section 340

Wrongful Restraint

Confinement Is More Than Mere Obstruction

Wrongful confinement requires restraint that prevents a person from proceeding beyond certain circumscribing limits.

Principle: The facts must show a restriction within defined boundaries, not merely an obstruction in one direction.
Illustration

Locked Room or Blocked Exit

The IPC illustrations explain confinement through a locked walled space and through persons positioned at exits with threats of force.

Principle: Physical barriers and threats can both be relevant to establishing confinement.
BNS Transition

IPC 340 and BNS 127(1)

BNS Section 127(1) carries forward the definition of wrongful confinement, while Section 127(2) provides the ordinary punishment.

Principle: For conduct governed by the new criminal law, the corresponding BNS provisions should be considered.

Frequently Asked Questions on IPC Section 340

What is IPC Section 340?+
IPC Section 340 defines wrongful confinement. It covers wrongful restraint that prevents a person from proceeding beyond certain circumscribing limits.
What is the punishment for wrongful confinement?+
Section 340 itself defines the offence. Section 342 IPC prescribed imprisonment of either description for up to one year, or fine up to ₹1,000, or both for ordinary wrongful confinement.
Is IPC Section 340 cognizable?+
Section 340 is the definition. The ordinary punishment provision under Section 342 IPC was classified as cognizable.
Is wrongful confinement bailable?+
Ordinary wrongful confinement punishable under Section 342 IPC was classified as bailable.
Which court can try an IPC Section 340 case?+
Ordinary wrongful confinement under Section 342 IPC was triable by any Magistrate.
What is the difference between IPC Sections 339 and 340?+
Section 339 defines wrongful restraint, while Section 340 defines wrongful confinement. Confinement involves preventing a person from proceeding beyond certain circumscribing limits.
What is the BNS equivalent of IPC Section 340?+
The corresponding definition is in BNS Section 127(1). The punishment for ordinary wrongful confinement is provided in BNS Section 127(2).
Does IPC Section 340 still apply after 1 July 2024?+
For conduct governed by the new criminal laws after 1 July 2024, BNS Section 127 applies. IPC Section 340 remains relevant to matters governed by the earlier law, subject to applicable transition rules.
Disclaimer: This page is provided for general legal information and educational purposes only. It does not constitute legal advice. Please verify the applicable law and facts of your case with a qualified advocate before taking any legal action.
2,500+Criminal & legal matters handled
20+ CitiesAdvocates available pan-India
15+ YearsCombined legal experience
24x7Support for urgent legal queries

Get Clarity on Your IPC Section 340 Matter

Speak to an experienced criminal lawyer for guidance on wrongful confinement, evidence, procedure and the applicable law.

© 2026 Aapka Legal Advice. This page provides general information about IPC Section 340 and is not a substitute for professional legal advice.
Need urgent legal help?📞 Call +91 94797 98899
WhatsApp
GET IN TOUCH

Get Free Legal Advice from
Aapka Legal Advice Experts

(+91) 94797 98899 FEEL FREE TO CALL US