Illegal Apartments: Basement Units, C of O Issues, and Your Rights

Illegal apartments are common in NYC and risky for tenants. Here's how to spot one, what rights you still have, and what happens if the city gets involved.
Tony InJe Yeo's avatar
Nov 17, 2026
Illegal Apartments: Basement Units, C of O Issues, and Your Rights

An "illegal apartment" is a unit being used as a residence in a way the building isn't legally approved for. They're common — basement and cellar conversions, attics, units carved out of a two-family home to make three, SROs turned into studios — and they are cheap for a reason.

How units become illegal

The Certificate of Occupancy (C of O) states what a building is legally approved for: how many units, what use, which floors. If the C of O says two dwelling units and three families live there, the third is illegal — regardless of how nice it looks.

Common categories:

  • Cellar apartments. Legally, a cellar is more than half below curb level and generally cannot be used as a dwelling. A basement (less than half below grade) can be legal, but only with proper egress, ceiling height, light, air, and permits.

  • Illegal conversions — one unit chopped into two or three

  • Attic and commercial-space conversions without permits

  • Units lacking required egress — no second exit, windows too small or absent

How to check — before you sign

  1. Look up the C of O. NYC's Buildings Information System (BIS) and DOB NOW are public. Search the address; compare the approved unit count and use to what you're being shown. Many older buildings have no C of O (pre-1938), in which case the I-Card or other records govern — a more complicated check worth asking about.

  2. Check HPD and DOB violations and complaints for the address. Illegal conversion complaints are public.

  3. Physical warning signs: a separate side or rear entrance to a "garden" unit, low ceilings, windows at or below sidewalk level, bedrooms without windows, a kitchen that looks added, a unit number that doesn't appear on the building's buzzer panel, mail delivered to a different unit designation.

  4. Ask directly, in writing: "Is this unit a legal dwelling unit under the building's Certificate of Occupancy?" The answer — or the dodge — tells you a lot, and creates a record.

Why it matters

Vacate orders. If the city discovers the condition, DOB or HPD can issue a vacate order, and you may have to leave — sometimes with very little notice. This is the core risk and it is not theoretical.

Safety. Egress is the reason these rules exist. Units without a proper second exit, adequate window size, or fire separation are genuinely dangerous. Basement and cellar units also carry flooding risk — a danger NYC has seen with lethal consequences during heavy rain events.

Services and repairs. Illegal units are often outside normal maintenance systems, and landlords operating outside the law tend to behave accordingly.

Insurance and liability. Your renters insurance claim may be complicated by the unit's status.

Your rights if you're already in one

This surprises people: you have substantial rights even in an illegal unit.

  • You cannot be locked out. Self-help eviction is illegal in New York. Even a tenant in an illegal unit who has occupied for 30+ days generally must be removed through a court proceeding. Changing the locks, removing your belongings, or shutting off utilities is unlawful, and you can seek emergency relief.

  • The warranty of habitability still applies. Heat, hot water, and basic habitability obligations don't evaporate because the unit is illegal.

  • You may have rent recovery claims. New York courts have, in various circumstances, limited a landlord's ability to collect rent for an illegal unit, and tenants have in some cases recovered rent paid. This is fact-specific and absolutely requires a tenant attorney.

  • Relocation assistance. If the city issues a vacate order, displaced tenants may be eligible for relocation services through HPD, and in some circumstances the owner bears relocation obligations.

  • Anti-retaliation protections apply if you complain to 311 or HPD.

What to do if you suspect your unit is illegal

  1. Don't panic and don't move out impulsively. Your rights are stronger than you think, and leaving voluntarily can forfeit claims.

  2. Talk to a tenant attorney or a tenant organization first. Free and low-cost legal help is available in NYC, and the right sequence of steps matters.

  3. Document everything — the unit's condition, your lease, rent payments, all communication.

  4. Understand the trade-off before filing a complaint. A 311/DOB complaint may trigger enforcement that ultimately results in a vacate order affecting you. Sometimes that's the right call, especially where conditions are dangerous; sometimes a negotiated exit with relocation assistance is better. Get advice before you file.

The honest advice

The discount on an illegal unit is real, and so is the risk — including the risk of losing your home on short notice and the safety risk that produced the rules in the first place. Check the C of O before you sign. It takes five minutes on your phone, and it is the single most consequential thing a budget-conscious NYC renter can do.


This article is for general informational purposes only and does not constitute legal advice. Rights regarding illegal units are highly fact-specific. Consult a tenant attorney, Housing Court Answers, or a legal services organization. Sources: NYC Building Code; NYS Multiple Dwelling Law; NYC Admin. Code (unlawful eviction); NY Real Property Law (warranty of habitability). As of October 2026.

Want to stay up to date on NYC real estate?

Follow @tonyinjeyeo on Instagram for more market insights, tips, and updates.

Buying, selling, renting, or exploring NYC real estate?
Yeo Real Estate assists with all aspects of NYC real estate, from residential and commercial transactions to market guidance and property searches.

Schedule a consultation:
📧 hello@yeonyc.com
📞 +1 646-940-0166

Yeo Real Estate
135 W 50th St, Suite 200
New York, NY 10020

REBNY Member

Share article