I found out my landlord is renting an illegal apartment. Can I stop paying rent without getting evicted?

I found out my landlord is renting an illegal apartment. Can I stop paying rent without getting evicted?


January 21, 2026 | Marlon Wright

I found out my landlord is renting an illegal apartment. Can I stop paying rent without getting evicted?


Illegal ApartmentAntonio Guillem, Shutterstock

A surprise like discovering your apartment isn’t legal hits hard. The hallway feels a little colder, the pipes seem louder, and suddenly every creak raises questions you never had before. Plenty of renters learn the truth only after a city inspector stops by or a neighbor casually mentions zoning rules. Once you know the place isn’t registered or doesn’t meet safety codes, the big question surfaces fast: Can you stop paying rent without getting kicked out? Renters across the country face this tense scenario, and understanding your legal footing matters more than ever. 

The Legal Line Between “Illegal Unit” And Your Rent Rights

Many cities treat illegal apartments very differently from standard rentals, especially in places like New York, Los Angeles, Chicago, and parts of New Jersey, where local housing codes require official certificates of occupancy. An illegal unit typically lacks approval for people to live in it, often because it doesn’t meet fire-safety requirements, ceiling-height rules, ventilation standards, or has been carved out of a basement or attic without authorization. Those details matter because in jurisdictions like New York and California, courts may rule that a landlord barred from legally collecting rent can’t force tenants out simply for withholding payment, though this varies by state.

Your rights don’t stop here. In certain jurisdictions, such as New York and California, landlords may be blocked from filing standard eviction cases while the unit remains unlawful. Renters sometimes gain additional leverage when inspectors document violations. In some cities, like San Francisco, agencies may effectively freeze rent collection until repairs or legalization occur through violations. However, each state handles this differently, so local laws determine how far your protections go. For example, some states allow rent withholding under specific conditions. Others require placing rent in escrow. A few may permit tenants to stay without immediate payment until legalization, but often with court involvement. These rules prevent property owners from benefiting from unsafe spaces while giving renters breathing room during disputes. More importantly, they prevent retaliation disguised as an eviction notice. In other words, the gap between what’s legal and what’s livable becomes even more important once the city gets involved. 

The Legal Line Between “Illegal Unit” And Your Rent RightsKathleen Austin Kuhn, Pexels

Advertisement

What Happens After The City Confirms The Unit Is Illegal

Once an inspector documents a unit as illegal, a chain reaction follows. A city agency may issue violations, block landlords from leasing the space, or order it vacated if the conditions pose a safety risk. In many cases, especially in states like California and New York, landlords can’t collect rent going forward until the unit complies with the code. In certain states, withholding rent may become legally protected at this point because the landlord lacks the right to charge you in the first place. Nevertheless, this doesn’t erase unpaid amounts automatically, but many courts refuse to award back rent for the period the apartment was unlawful. 

However, renters should be ready for a potential curveball. A city can order the unit cleared out if it poses immediate hazards. Think exposed wiring or ceiling heights under the required 7 feet. In those cases, you might receive a short timeline to move. Some states, such as California and New Jersey, require the landlord to pay relocation fees—often 2-6 months' rent—when an illegal status forces displacement, which helps renters transition without shouldering the financial burden created by the owner’s decisions. These relocation payments vary, but they exist to prevent renters from being stranded. Renters who follow a clean paper trail protect themselves far more effectively than those who stop paying without documentation. That brings the conversation to the tactical part of safeguarding your position.

Smart Steps That Keep You Safe While Standing Your Ground

You gain a stronger footing by documenting everything. That means saving texts, emails, or repair requests proving the unit wasn’t up to code. Written communication shows you acted responsibly. If your city offers anonymous housing complaints, use them. If not, prepare a dated written notice to the landlord explaining the violations. You can also request a certificate of occupancy; many illegal units fail this test instantly. Keeping these records gives you leverage if a landlord claims ignorance or tries to file a retaliatory eviction. Next, renters should check whether their state requires rent to be placed in escrow instead of stopping payments altogether. Some local courts dismiss eviction cases automatically if a tenant follows escrow rules correctly. Others prohibit eviction filings entirely until legalization occurs. Local tenant-rights clinics or legal-aid groups publish clear checklists for each region. Stopping rent without a legal foundation can put you at risk, but stopping rent with documented violations and city confirmation places the risk squarely back on the landlord.

Smart Steps That Keep You Safe While Standing Your GroundNataliya Vaitkevich, Pexels

Advertisement

READ MORE

AI-generated image of a man concerned about his roof damage and insurance..

My roof was damaged by a storm, but my insurance company says the issue was due to lack of maintenance and won’t cover it. What can I do?

A storm rolls through, and afterward you notice damage to your roof. You file a claim expecting your insurance to step in, but instead they come back and say the damage wasn’t really from the storm. According to them, it’s due to “lack of maintenance”. Now you’re left staring at a denial and a repair bill you didn’t see coming. This kind of pushback happens more often than people expect. The good news is a denial isn’t always the final answer, and there are ways to challenge it if something doesn’t feel right.
April 27, 2026 Peter Kinney
AI-generated image of a man concerned about his upstairs neighbor accumulating trash on their balcony.

My neighbor lets trash pile up on his balcony and it’s starting to stink. Building management isn’t taking the issue seriously, what can I do?

At first, it’s just clutter. A few bags, maybe some boxes. Then it turns into piles of garbage sitting out on your neighbor’s balcony and over time, the smell starts creeping in. You report it to building management, expecting them to deal with it, but nothing really changes. Now you’re stuck dealing with the smell, the mess, and the feeling that no one’s doing anything about it. The good news is you’re not stuck with it, even if it feels that way right now.
April 27, 2026 Peter Kinney
Man and Woman and box of valuable coins

We found a box of valuable coins hidden in the basement of our new house—we moved in 6 months ago, so when do they legally become ours?

Moving into a new home comes with all kinds of surprises—but finding a hidden box of valuable coins feels like a great one. However, despite what we all learned as kids on the playground, “finders keepers” doesn’t always apply. In reality, situations like this can quickly turn into legal gray areas.
April 27, 2026 Jesse Singer
AI-generated image of a woman concerned about her neighbor renting their apartment as an AIrbnb.

My neighbor is running an Airbnb from their apartment and it’s causing disruptions, but management isn’t enforcing the rules. What can I do?

You moved into your apartment expecting a normal routine and some sense of stability but lately, it feels like your building has turned into a mini hotel. After a bit of digging, you realize your neighbor is running an Airbnb out of their unit. You bring it up to management, expecting them to step in, but nothing really changes. So, where do you go from here?
April 27, 2026 Alex Summers

I found out that one of our remote workers is working two other full-time remote jobs, but they’re for non-competing companies. Is this acceptable?

Some remote workers are doing multiple jobs from home without their employers being aware of it.
April 27, 2026 Sammy Tran

I want to use our $3,000 tax refund to pay our property tax, but my husband wants us to splurge and "treat ourselves" instead. What do I tell him?

Whether you put your tax refund toward your property taxes or a vacation, it's a matter of your priorities.
April 27, 2026 Peter Kinney


Disclaimer

The information on MoneyMade.com is intended to support financial literacy and should not be considered tax or legal advice. It is not meant to serve as a forecast, research report, or investment recommendation, nor should it be taken as an offer or solicitation to buy or sell any securities or adopt any particular investment strategy. All financial, tax, and legal decisions should be made with the help of a qualified professional. We do not guarantee the accuracy, timeliness, or outcomes associated with the use of this content.





Dear reader,


It’s true what they say: money makes the world go round. In order to succeed in this life, you need to have a good grasp of key financial concepts. That’s where Moneymade comes in. Our mission is to provide you with the best financial advice and information to help you navigate this ever-changing world. Sometimes, generating wealth just requires common sense. Don’t max out your credit card if you can’t afford the interest payments. Don’t overspend on Christmas shopping. When ordering gifts on Amazon, make sure you factor in taxes and shipping costs. If you need a new car, consider a model that’s easy to repair instead of an expensive BMW or Mercedes. Sometimes you dream vacation to Hawaii or the Bahamas just isn’t in the budget, but there may be more affordable all-inclusive hotels if you know where to look.


Looking for a new home? Make sure you get a mortgage rate that works for you. That means understanding the difference between fixed and variable interest rates. Whether you’re looking to learn how to make money, save money, or invest your money, our well-researched and insightful content will set you on the path to financial success. Passionate about mortgage rates, real estate, investing, saving, or anything money-related? Looking to learn how to generate wealth? Improve your life today with Moneymade. If you have any feedback for the MoneyMade team, please reach out to [email protected]. Thanks for your help!


Warmest regards,

The Moneymade team