Can I Collect Rent From an Illegal Basement Apartment in NYC?
Generally, no. If a basement apartment is not legally permitted for residential use, NYC law sharply limits an owner's ability to recover rent for it. In some situations a tenant who paid rent for an illegal unit may even have a claim to recover what they paid. If you own a property with an unpermitted basement apartment, this is one of the first realities to understand.
At Nacmias Law Firm we counsel homeowners through exactly this problem. Here is what the law expects of you.
Why You Generally Cannot Collect Rent
New York's Multiple Dwelling Law and related principles tie an owner's right to collect rent to the legal status of the unit. A residential unit is expected to be covered by a proper certificate of occupancy (CofO) for that use. When a basement apartment was never approved for residential occupancy, it is not legally a dwelling unit, and the law does not treat rent for an illegal unit the way it treats rent for a lawful one.
The practical result: an owner's ability to recover rent for a unit with no proper CofO is restricted, and a tenant may have grounds to challenge or recover rent paid. Statutory details vary with the specific property and circumstances, which is why the firm's attorney reviews each situation directly, but the general rule is consistent. An illegal unit is not a reliable source of legal rental income.
What You Must Not Do
This is the part that gets owners into the most trouble. Whatever frustration you feel about an illegal unit you may have inherited, you cannot remove a tenant through self-help. The following are illegal in NYC:
- Changing the locks to keep a tenant out
- Shutting off utilities, heat, hot water, electricity, or gas, to force a tenant to leave
- Removing the tenant's belongings or the unit's doors, windows, or appliances
- Threatening or pressuring a tenant to vacate
Self-help measures are unlawful regardless of whether the apartment is legal. With an illegal unit, they are especially risky: they can expose you to harassment claims, money damages, and penalties, turning one problem into several. A tenant in an illegal unit still has rights, and a court will enforce them.
Vacate Orders
Sometimes the city, not the owner, controls the timeline. If the DOB or HPD deems a basement unit unsafe, the agency can issue a Vacate Order directing that the unit be emptied and not occupied. A Vacate Order changes the picture entirely: occupancy must end because the city ordered it, and there may be relocation obligations and follow-up requirements. Knowing whether your property is at risk of a Vacate Order is one of the first things to check.
The Tenant's Rights
A tenant living in an illegal basement apartment is not without protection. Depending on the circumstances, a tenant may be able to remain until occupancy is lawfully ended, may have claims tied to rent paid for an illegal unit, and is protected against self-help removal and against harassment. These rights exist even though the unit itself is not legal. That is why ending the occupancy is a legal process, not a decision you can make and execute on your own.
It is worth understanding why the law works this way. The protections against self-help and harassment are not about the unit, they are about the person living in it. A court does not want owners deciding for themselves who gets to keep a roof over their head, even when the underlying tenancy is in a unit that should never have existed. The remedy the law provides is a lawful proceeding, where a judge decides, not a lock change.
Is This a DOB Problem, an HPD Problem, or Both?
It is often both. The Department of Buildings enforces the Construction Codes, which govern permits, structure, and the certificate of occupancy, the documents that determine whether a basement is a legal dwelling at all. The Department of Housing Preservation and Development enforces the Housing Maintenance Code, which governs heat, repairs, and habitability for occupied units. An illegal basement apartment can generate violations from both agencies at the same time, adjudicated separately. Sorting out which agency is involved, and what each one is asking you to do, is part of building a sensible plan.
Your Realistic Options
There is no single answer, but for most owners the path comes down to two choices.
- Legalize the unit where feasible. If the basement can be brought up to code, through permitted work, adequate ceiling height, proper egress, light, and ventilation, you may be able to amend the certificate of occupancy so the unit becomes a lawful, rentable dwelling. Feasibility depends heavily on the property, and not every basement can be legalized.
- End the occupancy lawfully. Where legalization is not possible, the occupancy needs to end through the proper legal process, and any DOB or HPD violation needs to be corrected. This is done with counsel, on a lawful timeline, not through self-help.
Where to Start
Pull your certificate of occupancy and permit history, identify any DOB or HPD violations and any Vacate Order risk, and do not collect rent or attempt to remove a tenant before getting advice. The order in which you act protects you, or exposes you.
For a fuller walkthrough, see our guide for homeowners with an inherited basement unit. Nacmias Law Firm represents NYC property owners in illegal-unit and landlord-tenant matters across all five boroughs.
Attorney Advertising. This article is general information, not legal advice, and does not create an attorney-client relationship.

