Can I Be Evicted from an Illegal or Unpermitted Apartment?

Finding out your apartment was never legally permitted can be unsettling, especially if your landlord starts hinting that you have to leave. Maybe the unit is a basement conversion with no certificate of occupancy, an attic studio that was never approved, or a garage that someone wired up and called a rental. A common fear is that because the unit is illegal, you have no rights at all and can be tossed out at any moment. That is almost never how the law actually works. In most places, the fact that a unit is unpermitted does not erase your protections as a tenant, and in some cities it can actually give you extra rights, including money to help you move.

Because landlord-tenant law varies a great deal by state and even by city, the details here are general information rather than legal advice. The big themes below hold up in most places, but the specifics, including any relocation payments and the exact eviction steps, depend on where you live. When real money or your housing is on the line, it is worth confirming your local rules or talking to a tenant attorney or legal aid office.

An Illegal Unit Does Not Mean You Have No Rights

The first thing to understand is that you can be a real tenant even if the apartment itself was never legally approved. In most states, a tenancy is created by the relationship and the conduct of the parties, not by whether the building inspector signed off. If you pay rent, the landlord accepts it, and you live there as your home, courts will usually treat you as a tenant with the normal bundle of protections. The illegality is generally the landlord's problem with the city, not a loophole that strips you of standing.

That matters because of how eviction works. A landlord almost never has the legal power to simply force you out. To remove a tenant, the landlord typically has to go to court and win an unlawful detainer case (the formal name for an eviction lawsuit in many states). You are entitled to notice, a chance to respond, and a hearing before a judge or sheriff can lawfully make you leave. The fact that the unit is unpermitted does not let the landlord skip those steps.

Self-Help Eviction Is Illegal Even Here

Some landlords assume that because a unit is off the books, they can use shortcuts to push a tenant out. They might change the locks, shut off the water or power, remove your belongings, or threaten to call the city unless you leave. This is called self-help eviction, and it is illegal in nearly every state regardless of whether the apartment was permitted.

If a landlord locks you out or cuts utilities to force you to go, you often have the right to sue for damages, sometimes substantial ones, and to get back into the unit. Threatening to report the unit to authorities specifically to make you move can also cross the line into illegal retaliation in many jurisdictions. None of these tactics become legal just because the apartment lacks a permit. If any of this is happening to you, that is a strong signal to contact legal aid quickly, because there are often time-sensitive remedies.

Habitability and Quiet Enjoyment Still Apply

In most states, every residential lease carries an implied warranty of habitability, meaning the landlord must keep the place reasonably safe and livable. Renting out an unpermitted unit does not waive that duty, and in fact illegal units are sometimes in worse condition precisely because they were never inspected. You generally still have the right to working heat, safe wiring, no serious health hazards, and similar basics.

Real answers, made simpleSkip the confusion. Chat with a lawyer online and get guidance you can actually use. Chat With Someone → An ad we trust

You also usually keep the covenant of quiet enjoyment, which protects your right to live in the unit without the landlord substantially interfering with your use of it. So a landlord cannot legally harass you out by entering without notice, disrupting essential services, or making the place unlivable to pressure you to leave. Documenting problems in writing, with dates and photos, helps protect you if a dispute ends up in front of a judge.

When the City Shuts the Unit Down

Sometimes the bigger threat is not the landlord but the local government. If a building inspector or code enforcement officer discovers the illegal unit, the city may order it vacated because it does not meet safety codes. This feels like an eviction, but it is a different process, and how it plays out depends heavily on local law.

Here is the part many tenants do not realize: a number of cities require the landlord to pay relocation assistance when a tenant is displaced because the landlord rented out an illegal or substandard unit. The idea is that the landlord, not the innocent tenant, created the problem and should bear the cost of finding you a new place. Where these rules exist, relocation payments can be significant and may cover moving costs and the gap to a comparable rental. Whether you qualify, and how much, varies widely by city and state, so this is a specific point to confirm locally. If a vacate order shows up, do not just walk away assuming you get nothing, because you may be leaving real money on the table.

Rent, Lease Terms, and the Duty to Mitigate

Illegal units raise some tricky money questions. In some states, courts limit how much rent a landlord can collect on an unpermitted unit, and a tenant may even be able to recover certain rent that was paid for an illegal space. The flip side is that some courts treat the lease itself as harder to enforce, which can cut in unexpected directions. Because outcomes here are so state-specific and fact-specific, this is an area where a quick consultation with a tenant lawyer or legal aid can pay off.

If you do end up leaving and your landlord claims you owe rent for the rest of a lease term, remember that landlords in most states have a duty to mitigate damages, meaning they have to make reasonable efforts to re-rent rather than letting the bill pile up against you. That duty applies broadly, and you should not assume you owe a full year of rent just because you moved out early.

Other Protections That Still Cover You

Your other tenant protections do not disappear in an illegal unit either. The Fair Housing Act still bars eviction or harassment based on race, religion, national origin, sex, disability, familial status, and other protected characteristics. If you are a survivor of domestic violence, protections under VAWA may apply in covered housing. And if you are an active-duty servicemember, the Servicemembers Civil Relief Act (SCRA) provides eviction-related safeguards. A landlord cannot use the unit's unpermitted status as cover to violate these laws.

The practical takeaway is to slow down before reacting. Keep copies of your lease, rent receipts, texts, and any notices. Do not move out simply because a landlord says the apartment is illegal and you have to go, and do not ignore an official vacate order either. Find out what your specific state and city require, since the rules on eviction procedure and relocation money are exactly where the variation lives. A short conversation with a local tenant attorney or legal aid organization can tell you whether you are owed relocation help, whether the landlord is breaking the rules, and what your safest next step is.

Frequently asked questions

Can my landlord evict me just because the apartment is unpermitted?

Usually not without going through the normal legal process. In most states, an unpermitted unit can still create a real tenancy, so the landlord typically must serve proper notice and win an unlawful detainer (eviction) case in court before you can be made to leave.

Am I owed money if the city shuts down my illegal unit?

Possibly. Many cities require landlords to pay relocation assistance when a tenant is displaced from an illegal or substandard unit the landlord rented out. Eligibility and amounts vary a lot by location, so confirm your local rules before assuming you get nothing.

Is it legal for my landlord to change the locks or shut off utilities?

No. That is self-help eviction, which is illegal in nearly every state even for unpermitted units. You often have the right to sue for damages and to get back into the unit, so it is worth contacting legal aid quickly if this happens.

Do I still have a right to a livable apartment if it was never permitted?

In most states, yes. The implied warranty of habitability and the covenant of quiet enjoyment generally still apply, so the landlord must keep the unit reasonably safe and cannot harass you out by cutting services or making the place unlivable.

Can my landlord threaten to report the unit to the city to make me leave?

Using that threat to push you out can amount to illegal retaliation in many jurisdictions. The unit's illegal status is generally the landlord's problem with the city, not a tool to force you out without proper legal process.

Do I really owe rent for the rest of my lease if I move out?

Often less than a landlord claims. Most states impose a duty to mitigate, so the landlord must make reasonable efforts to re-rent. Rent rules for illegal units are also very state-specific, which is a good reason to ask a tenant attorney or legal aid.

This article is general legal information, not legal advice, and may not reflect the most current law or the law in your jurisdiction. Laws vary by state and change over time. For advice about your specific situation, consult a licensed attorney.

Knowing your rights is the first step

Join thousands committing to calmly and consistently exercise their constitutional rights.

Take the Pledge