TL;DR: An apartment society or RWA is a private body registered under a state cooperative societies act or the Societies Registration Act 1860. Its bye-laws bind members as a matter of contract, and it has no power to detain, confine or physically block a resident, a tenant or a guest. Locking the main gate so that a person cannot leave or enter can amount to wrongful restraint or wrongful confinement under the Bharatiya Nyaya Sanhita 2023, and a permanently locked or obstructed gate is very often also a fire-code violation, which is usually the fastest lever to actually get it opened.


On this page


What an RWA actually is

A resident welfare association or apartment owners’ association in India is, in almost every case, one of two things. It is a cooperative housing society registered under the state’s cooperative societies act (Maharashtra, Karnataka, Delhi and most states each have their own), or it is a society registered under the Societies Registration Act 1860, or a state amendment of it.

Either way, it is a voluntary association of members. It is not a municipal body, not a police authority and not an arm of the state. Membership comes from owning or occupying a flat in the project, and the association’s rules over you come from its registered bye-laws, which every member agrees to on joining.

That last point matters more than most residents realise. A bye-law is a contract term, not a law of the land. It binds members to each other and to the association, the same way a housing society’s redevelopment resolution binds members once passed, a subject covered in society redevelopment and member rights. It does not create a criminal offence, and it does not give the managing committee or the security guards it employs any power the state has not separately given them.


Where its power comes from, and where it stops

An RWA can frame rules for common areas, common expenses, use of amenities, visitor registration and, within reason, timing of activities that disturb other residents, like loud music after a certain hour. These are legitimate exercises of its role as manager of shared property.

What it cannot do is physically prevent a person who has a right to be in or reach their own flat from doing so. A tenant with a valid, registered rent agreement has a right of occupation for the duration of the tenancy. A guest invited by that tenant has a right to enter with the tenant’s permission, subject to reasonable visitor procedure like signing a register or a phone confirmation call. Neither right survives being erased by a committee resolution, because the committee’s authority over you is contractual, not sovereign.

The clearest test is this: does the rule regulate how you use common property, or does it stop your body from moving through space you have a right to occupy? A 10 PM cutoff on loudspeaker use in the clubhouse is the first kind. A locked gate that a resident cannot get through at 11:15 PM because their name was not shouted out loud enough to the guard is the second kind, and the second kind is where bye-laws stop protecting the RWA and criminal law starts looking at it.


What a locked gate does in criminal law

Two provisions of the Bharatiya Nyaya Sanhita 2023 (BNS) are directly relevant, and they replace two provisions of the old Indian Penal Code that most Indian lawyers still reach for out of habit.

Wrongful restraint is Section 126 BNS (the old IPC Section 339, with the punishment clause that used to sit in IPC Section 341). It is committed by voluntarily obstructing a person so that they cannot proceed in a direction they have a right to proceed in. You do not need to be locked in a room for this to apply. Being physically blocked at a gate you have a right to pass through is enough.

Wrongful confinement is Section 127 BNS (the old IPC Sections 340 and 342 together). It is the more serious form: you are wrongfully restrained in a way that stops you from moving beyond certain limits altogether, for instance if the only gate out of the complex is chained shut and there is no other way out.

Neither offence requires the accused to be a police officer or a public authority. A private security guard acting on a committee’s instruction, or a committee member who personally bars the gate, can be named. In practice, a single incident where someone was delayed for twenty minutes rarely justifies a criminal complaint on its own. A pattern, especially one that traps a resident inside or outside with no alternative route, is a different matter, and it is worth naming the correct offence rather than a vague reference to “illegal confinement” that has no BNS number behind it. If you are unsure whether a given incident crosses from an inconvenience into an offence, describe the fact pattern honestly to a lawyer rather than assuming either way. For the mapping between the old and new codes generally, see BNS to IPC section mapping and the new criminal laws explained.

What happenedBNS sectionOld IPC equivalent
Blocked from passing through a gate you have a right to useSection 126(1), wrongful restraintSection 339
Punishment for the aboveSection 126(2)Section 341
Confined so you cannot move beyond certain limits (locked in or locked out with no alternative exit)Section 127, wrongful confinementSections 340 and 342

Article 19(1)(d) and why it does not bind your RWA

Article 19(1)(d) of the Constitution guarantees every citizen the right to move freely throughout the territory of India. It is a fundamental right, and like every fundamental right in Part III, it operates against the state, not against a private body.

An RWA is not the state. It does not fall within Article 12’s definition of “state” merely because it is registered, regulated, or occasionally receives municipal services. So a resident cannot walk into the High Court and argue that a locked gate breaches Article 19(1)(d) against the association directly, the way they could against a police curfew order or a municipal barricade.

That does not make Article 19(1)(d) irrelevant. It sets the constitutional baseline that Indian law is built around: free movement is the default, and anyone restricting it, private or public, needs a lawful basis for doing so. When a court or a Registrar of Cooperative Societies is asked to decide whether an RWA’s curfew bye-law is reasonable, that constitutional value is the backdrop the decision gets read against, even though the direct cause of action is contract, tort, or a criminal provision rather than Article 19 itself. The same logic runs through disputes about physical access to public space generally, discussed in walking on footpaths as a fundamental right under Article 21.


The fire NOC angle, and why it is your strongest lever

Of everything covered here, this is the one that actually moves committees, because it does not depend on proving intent, filing a criminal complaint, or waiting for a court date.

Every multi-storey residential building above a certain height (the exact threshold varies by state fire service rules, commonly buildings above 15 metres) needs a fire NOC from the state fire department, issued under the relevant state Fire Prevention and Life Safety Act. That NOC is conditioned on maintained, unobstructed means of egress: staircases, refuge areas and, critically, the main gate and any secondary gate designated as an emergency exit route.

A main gate that is padlocked shut at night, with the only key held by one guard who may be asleep, on a break, or simply unreachable, is not a security feature in fire-code terms. It is an obstructed emergency exit. If the complex has a single functioning access point and that point is periodically sealed, the society is very likely operating in breach of the conditions its own fire NOC was issued on.

This gives you two practical routes that do not require going anywhere near a court:

A complaint to the local fire department or municipal fire officer, naming the society, describing the locked-gate practice and asking for an inspection against the NOC conditions. Fire departments in most metros (Mumbai, Delhi, Bengaluru, Pune) take these complaints seriously because a fatality tied to a known, reported obstruction is a liability they do not want.

A complaint to the municipal corporation under building bye-laws, since occupancy certificates are frequently tied to the same egress conditions. A society that cannot produce a currently valid fire NOC, or one that is visibly breaching its conditions, risks the same scrutiny that follows any building safety complaint.

Neither route needs you to prove wrongful confinement, argue constitutional law, or hire a litigator. It needs a written complaint, a photograph of the locked gate at the relevant time, and the society’s registration or building details, which are usually available from the Registrar of Cooperative Societies or the municipal record.


Your rights as a tenant under the rent agreement and the Model Tenancy Act

If you are a tenant, your right to occupy and access the flat comes from your rent agreement with your landlord, not from the RWA’s goodwill. A registered rent agreement, executed under the process set out in rent agreement registration and stamp duty rules, is enforceable against the landlord, and by extension against anyone the landlord’s title runs through, including a society that has consented to the tenancy by issuing (or being asked to issue) an NOC.

The Model Tenancy Act, adopted with variations by several states, is the more direct answer to curfews specifically. Covered in detail in the Model Tenancy Act and rent agreement rules, it obliges a landlord to ensure peaceful possession for the tenant during the tenancy period, and it treats interference with that possession, including by a third party like an RWA, as a landlord obligation to resolve, not a tenant problem to absorb.

Practically, this means two things. First, if your society is locking you out or barring your guests, your landlord has a contractual stake in fixing it, because an RWA that interferes with your possession is putting the landlord in breach of the rent agreement’s peaceful-possession clause. Second, if the RWA is pushing your landlord to evict you specifically because the society disapproves of you, that is not a lawful ground under most state rent laws, and it is worth reading alongside the tenant eviction process in India to see exactly which grounds are actually available to a landlord and which are not. Some tenants are fighting a gate lockout and a landlord who will not fix a genuine hazard at the same time, and that repair-and-deduct and municipal playbook is covered separately in what to do when your rented house is unsafe.


Discrimination: bachelors, couples, domestic workers, food and religion

The pattern shows up constantly in the same shape. A society bars entry after 10 or 11 PM specifically for tenants, not owners. It refuses an NOC to a bachelor or a group of bachelors. It sets separate, harsher visitor rules for a flat it knows is occupied by an unmarried couple. It restricts a domestic worker’s entry hours in a way it does not apply to a resident’s own late-arriving relative. It asks about food habits or religion before agreeing to a lease.

None of this is a criminal offence in the way a locked gate can be. It sits instead in the space of civil discrimination and contractual overreach, where the remedy is less dramatic but still real. Indian courts, including the Bombay High Court in disputes over cooperative housing bye-laws, have repeatedly held that a society’s role is limited to managing the building, not vetting the personal life of a tenant a landlord has lawfully chosen to rent to. A society cannot make renting conditional on marital status, diet, or religion, because that goes beyond what its registered bye-laws can validly regulate.

There is a genuine complication worth being honest about rather than glossing over. In Zoroastrian Co-operative Housing Society Ltd. v. District Registrar, Co-operative Societies (Urban), (2005) 5 SCC 632, the Supreme Court upheld a cooperative society’s bye-law restricting membership, meaning ownership transfer, to members of the Parsi community, on the basis that the Cooperative Societies Act did not prohibit it and a registered bye-law of that kind was not against public policy. That case is about who can become an owner-member through transfer of a share, decided under a specific state cooperative framework. It is not authority for an RWA to curfew, exclude, or physically bar a lawful tenant or their guests, which is a different question about occupation and movement, not membership. Conflating the two is a common but mistaken reading of the case, and it is worth being precise about which question a given precedent actually answered.

Where a society is refusing an NOC or imposing discriminatory terms without a lawful basis, the practical remedy is usually pressure through the Registrar of Cooperative Societies, a written notice to the committee citing the specific bye-law being exceeded, and, where the landlord is cooperative, the landlord pushing back directly since it is their tenancy relationship being interfered with.


What societies have actually done, city by city

This is not a theoretical problem. Reports of societies imposing curfews, entry bans and blanket restrictions have surfaced across every major metro in the last two years, and the fact patterns repeat closely enough to be useful.

In Bengaluru, one apartment complex’s new rules for bachelor tenants barred guests overnight and told single occupants they could not use their own balconies for phone calls after 10 PM, rules that applied specifically and only to unmarried tenants and not to owner-occupied flats in the same block, as reported by Deccan Herald.

In Gurugram, during a period of heightened regional tension in 2025, at least two large complexes, Mahindra Aura in Sector 110A and RD City near the Dwarka Expressway, adopted night-time restrictions that went well beyond the reasonable, including a total ban on delivery personnel entering after certain hours and instructions to keep balcony and staircase lights off between 6 PM and 6 AM. Whatever the stated security rationale, blanket delivery bans and mandatory blackout timings for every household in the complex are the kind of blunt, one-size-fits-all rule that a court or a Registrar would ask a committee to justify individually rather than accept as self-evidently reasonable.

In Noida, security guards at Mahagun Meadows locked the society’s main gates during a 2026 protest over unpaid wages, leaving residents and schoolchildren stranded outside for hours before the gates were reopened. The underlying dispute was between the guards and the management, but the residents caught inside a locked complex, unable to enter their own homes because of a labour dispute they had no part in, illustrate exactly the wrongful-restraint fact pattern this article opened with, even though the locking party here was contracted security staff rather than the committee itself.

The common thread across all three is that the rule or the lockout was announced or enforced without a general body resolution, without individualised justification, and applied to a category of residents (tenants, bachelors, delivery staff) rather than to a specific, demonstrated risk. That pattern is exactly what a Registrar of Cooperative Societies or a court asks about when a bye-law or a committee action is challenged: was this reasonable, proportionate and applied evenly, or was it a blanket rule dressed up as a security measure. A committee that overreaches on a gate curfew is often the same committee that resists opening its accounts, and the playbook for forcing that audit trail open is covered in forcing an RWA to open its maintenance books.

Incidents like these also tend to get argued out in the resident WhatsApp group before anyone writes a formal complaint, with names, unit numbers and accusations posted before the facts are settled. If that happens to you, the moderator and poster liability questions are separate from the lockout itself, and covered in doxxing an accused person in a group chat.


What the RWA did, and where you complain

What the RWA didIs it lawfulWhere you complain
Locked the only gate so you could not leave or enterPolice (BNS wrongful restraint/confinement), fire department, Registrar of Cooperative Societies
Set a reasonable visitor sign-in process at a staffed gateNo complaint needed unless applied unevenly
Barred delivery personnel entirely, all hoursWritten complaint to managing committee, Registrar
Fixed quiet hours for common-area amenities like the clubhouseNo complaint needed
Refused an NOC to a tenant on grounds of marital status, food or religionWritten complaint, landlord pressure, Registrar, consumer forum if fees were charged unfairly
Cut power or water to a specific flat to pressure a tenant to leavePolice complaint, civil injunction
Required a domestic worker to sign in and out at a staffed gate during normal hoursNo complaint needed unless timing is unreasonably restrictive
Padlocked a gate that is also the fire NOC’s designated emergency exitFire department, municipal corporation, Registrar

The escalation ladder

Escalation works best in the order below. Skipping straight to the police for a first-time, low-severity incident usually gets you a shrug at the station and a worse relationship with your neighbours. Skipping straight to a court for something the Registrar could fix in three weeks wastes money you did not need to spend.

StepWhat it doesTypical timeline
Written complaint to the managing committeePuts the issue on record, often enough on its own1 to 2 weeks for a response
Requisition for a special general body meetingForces the issue to a vote of all members, not just the committee21 to 45 days depending on state cooperative rules
Complaint to the Registrar of Cooperative SocietiesIndependent authority that can direct the society to comply with its own bye-laws and the Act4 to 12 weeks
Fire department or municipal complaint (where a fire NOC or egress issue exists)Fastest practical fix, since it threatens the society’s own compliance certificate2 to 6 weeks
State RERA, where the association is still the project’s handover or promoter-linked bodyRelevant if the dispute ties back to unhandled common areas or promoter obligationsVaries by state RERA backlog
Police complaint under BNS Sections 126 or 127For a genuine confinement or restraint incident, not a general grievanceImmediate FIR if cognizable facts are shown
Civil suit for injunctionRestrains the society from repeating the act, useful once other routes have failedMonths, through the district court

If you go the police route, it helps to know how FIR registration actually works and what to do if the station is reluctant, covered in what to do when police refuse to register an FIR and the zero FIR and e-FIR process under BNSS.


Drafting the first written complaint

The single most useful thing you can do before any of the above is put the incident in writing to the managing committee, by email or registered post, the same day it happens or as close to it as possible.

State the specific date, time and gate. Name the bye-law you believe was exceeded, or say plainly that no bye-law authorises what happened if that is the case. Attach a photograph or CCTV request if the gate has cameras, since most societies do. Ask for a written response within seven days and say you will escalate to the Registrar if you do not get one.

This document does three things at once. It creates the paper trail a Registrar or a court will later want to see. It puts the committee on notice, which matters if the incident repeats. And in a meaningful share of cases, it simply resolves the problem, because most committee members did not expect the specific incident to be documented and are less willing to repeat it once it is. Before you write anything, photograph the gate, note the time, and save any CCTV footage you can, since evidence collected in the first 48 hours is worth far more than a description written from memory later, a point covered in what to preserve before calling a lawyer. For the mechanics of drafting a firmer version of this once the committee has not responded, see how to draft a legal notice and, if you receive a notice back from the society instead of a fix, work out what kind of notice it actually is and whether it needs a response at all, covered in legal notice vs police notice vs summons, or how to reply to a legal notice in India.


When it becomes a police matter versus a civil one

A single, brief delay at the gate, resolved within minutes once you identified yourself, is not a police matter. It is an irritant worth a written complaint but not an FIR.

A locked gate that leaves you unable to enter or leave for a meaningful period, especially at night, especially if it happens more than once, crosses into wrongful restraint or wrongful confinement territory and is worth a police complaint under BNS Sections 126 and 127. Bring your written complaint history to the station. A pattern is a much stronger basis for a cognizable complaint than a one-off.

A dispute over bye-law interpretation, discriminatory NOC refusal, or a curfew rule you believe is unreasonable but has not physically trapped anyone, is a civil and administrative matter, best routed through the Registrar of Cooperative Societies first and a civil injunction only if the Registrar route stalls. Courts generally expect you to have tried the statutory grievance mechanism before asking for an injunction, so documenting that attempt matters as much as the injunction application itself. Where the dispute turns on whether a precedent like a High Court ruling on society bye-laws is still good law before you rely on it in a filing, that is exactly the kind of check a legal research tool like Niyam is built for, since it answers plain-English questions against Indian judgments with every answer cited back to source.

If matters do end up before a High Court, most of these disputes arrive as a civil suit rather than a writ, precisely because an RWA is not “state” for Article 226 purposes. High Courts and Article 226 and the five writs explained set out where a writ petition is actually available and where, as here, it is not the right tool.


Frequently asked questions

Can my RWA legally lock the main gate at 11 PM?

It can restrict which gate is open and staff it with a security guard for verification, but it cannot leave residents with no way to enter or exit at all. A fully sealed, unstaffed lockout is where the practice crosses from a security measure into wrongful restraint or wrongful confinement under the BNS, and often a fire-code breach as well.

Is a locked society gate a criminal offence?

It can be, under Section 126 BNS (wrongful restraint) or Section 127 BNS (wrongful confinement), if a person is actually obstructed from proceeding where they have a right to be, or confined within limits they cannot leave. A single brief delay is unlikely to meet that threshold. A repeated pattern, or a genuine period of confinement, is a different matter.

Can a society refuse to let bachelors or single tenants rent a flat?

No lawful bye-law can categorically bar a landlord from renting to a bachelor, an unmarried couple, or a tenant of a particular food habit or religion. Courts have consistently treated this as beyond what a society’s management role permits. The Zoroastrian case is sometimes cited to justify this, but it dealt only with cooperative membership transfer, not tenant occupation.

Does Article 19(1)(d) apply against my housing society?

Not directly. Fundamental rights under Part III of the Constitution bind the state, and an RWA is a private body, not the state. Article 19(1)(d) still shapes how a Registrar or a court reads the reasonableness of a restriction, but the actual legal claim against an RWA has to be framed in contract, tort, or the criminal law, not as a direct fundamental rights violation.

What is the fastest way to get a locked gate opened?

A written complaint to the fire department naming the fire NOC violation is usually the fastest route, because it threatens the society’s own compliance certificate rather than requiring you to prove intent or wait for a court date. Pair it with a written complaint to the managing committee the same day.

What can the Registrar of Cooperative Societies actually do?

The Registrar can direct a society to comply with its own registered bye-laws and the state cooperative societies act, investigate a complaint, and in some states impose penalties or supersede a non-compliant committee. It is slower than a police complaint but does not require proving a criminal offence, which makes it the right first stop for bye-law disputes.

Is my landlord responsible if the society is harassing me?

Yes, to a meaningful degree. Most rent agreements and the Model Tenancy Act frameworks adopted by several states place an obligation on the landlord to ensure peaceful possession during the tenancy. An RWA interfering with that possession puts the landlord in a position where they have a direct interest in resolving it, not just you.

Can the RWA cut my electricity or water to force me out?

No. That is not a lawful eviction method under any state rent law, and it can independently support a police complaint and a civil injunction. A landlord seeking to end a tenancy has to follow the eviction grounds and process set out in the applicable state law, not self-help through utility disconnection.

Should I go to the police first or the Registrar first?

For a discrimination or unreasonable-rule dispute with no physical confinement involved, start with the Registrar. For an actual confinement or restraint incident, especially a repeated one, the police complaint under BNS Sections 126 or 127 is the right first step, alongside, not instead of, a written complaint to the committee.

Can I get a civil injunction against my own housing society?

Yes. A civil suit asking the court to restrain the society from repeating a specific unlawful act, such as locking a gate or refusing entry, is available once you have documented the pattern and, ideally, attempted the Registrar route first. It takes longer than the other options but produces a binding, enforceable order.

Does this apply the same way if I am the owner, not a tenant?

The wrongful restraint and confinement analysis is identical regardless of whether you own or rent, since it turns on your right to be in the space, not your title to it. The discrimination and Model Tenancy Act points are specific to tenants, because they turn on a landlord-tenant relationship an owner-occupier does not have.

What evidence should I collect if this happens to me?

The date, time and duration of the incident, a photograph of the locked gate, the name of the guard or committee member involved if you can get it, and any CCTV footage you can request in writing before it is overwritten. A contemporaneous written complaint to the committee, sent the same day, is the single most useful piece of evidence you can create yourself.