Sometimes tenants find out a rental was unpermitted in the worst possible way.
Not through a disclosure.
Not through an honest conversation.
Not even through a repair dispute.
They find out because a city or county inspector shows up, posts a notice, and suddenly everyone is talking about whether the tenant has to leave.
That is a very different situation than simply discovering that a garage conversion, back house, or informal unpermitted unit may not have been properly approved. Once code enforcement is involved, and especially once there is an order to vacate, the problem can move from “this place may be illegal” to “where is this tenant supposed to sleep next week?”
That distinction matters.
Because at that point, the landlord’s permit problem may have become the tenant’s displacement problem.
And the law does not always treat that as the tenant’s burden alone.
A Red Tag Is Not Just a Sticker
People use the term “red tag” loosely.
Sometimes they mean the city has found a code violation. Sometimes they mean a correction notice was issued. Sometimes they mean the unit cannot legally be occupied. Those are not all the same thing.
In plain English, the question is this:
Did the government merely identify a problem, or did it order people out because the condition is dangerous enough that the unit cannot be occupied?
That difference can change the legal conversation.
A notice of violation may support a repair demand, habitability claim, rent dispute, or evidence file. But an actual order to vacate can raise separate questions about relocation benefits, timing, responsibility, and whether the landlord can simply push the tenant out without dealing with the consequences.
The paperwork matters.
Not because paperwork is magical.
Because it tells you what the government actually decided.
The Landlord’s Problem Does Not Automatically Become the Tenant’s Emergency
Here is where tenants need to be careful.
A landlord may say something like:
“The city says you have to leave.”
Or:
“The unit was never permitted, so the lease is over.”
Or:
“I can’t rent this anymore, so you need to be gone by Friday.”
Not so fast.
Maybe the tenant does need to leave for safety reasons. If the electrical work is dangerous, the structure is unsafe, there is no proper exit, or the unit has been declared unfit for occupancy, health and safety come first.
But that does not mean the tenant should simply disappear, hand over the keys, and hope the landlord does the right thing later.
The legal issue is not just whether the unit can continue being occupied.
The issue is also who created the problem, what the landlord knew, what the government ordered, whether relocation benefits apply, what rent was collected, what notices were served, and whether the tenant is being pressured into giving up rights.
That is where the case starts to take shape.
Relocation May Be Part of the Conversation
California has a relocation-benefit framework, found in Health and Safety Code section 17975, for certain tenants displaced by a local enforcement agency’s order to vacate when the violation is serious enough to endanger immediate health and safety.
That sentence sounds technical because it is.
Put more simply: if the government orders a tenant out because the rental is unsafe, the owner may have to pay relocation benefits.
There are exceptions. A tenant who caused the dangerous condition may not qualify. And a unit made unsafe by something like a fire, flood, or earthquake beyond the owner’s control is treated differently.
But notice what the benefit does not require. It does not turn on proving the landlord was careless. It turns on the order and the severity of the violation.
That does not apply to every code issue. It does not mean every permit problem triggers a payment. And it does not mean the tenant automatically wins a lawsuit because a unit was informal or unapproved.
But if a tenant is being displaced by an actual government order to vacate, that is not something to shrug off.
The tenant should get the order. Read it. Save it. Ask whether the local agency made a relocation determination. Ask whether local rules add more protection. And most importantly, do not rely on the landlord’s summary of what the notice supposedly means.
The landlord may be correct.
The landlord may also be trying to move the tenant out as quickly and cheaply as possible.
Those are very different things.
Rent Can Get Complicated Fast
Another issue is rent.
If the landlord collected rent for a unit that was not legally approved, unsafe, or later ordered vacated, tenants often want to know whether they can get money back.
That is a fair question.
But it is also fact-specific.
California law can limit a landlord’s ability to demand or collect rent when serious substandard conditions have been inspected by a government official, cited in writing, noticed to the landlord, and left uncorrected past the statutory window. Civil Code section 1942.4 is one example. In some cases, that can also connect to damages, rent abatement, and attorney’s fees.
The unpermitted piece has its own line of authority.
California courts have recognized that when a unit was never legal to rent, the tenant is not automatically stuck paying for it. In Carter v. Cohen, a tenant was allowed to recover rent paid on an unpermitted unit, and the court refused to treat the unit’s illegality as a shield for the landlord. In North 7th Street Associates v. Constante, a court reasoned that the rent owed on an illegal unit could be treated as zero, which sank the landlord’s attempt to evict for nonpayment.
Do not over-read those cases. They turned on their own facts and their own local rules, and no tenant should assume the same outcome.
But the direction is worth knowing. An illegal unit is not automatically a free pass for the landlord.
But again, do not flatten the issue.
A missing permit by itself is not always the same thing as a cited, dangerous, uncorrected habitability condition. A correction notice is not always the same thing as an order to vacate. A bad rental is not always the same thing as a complete rent refund.
The facts matter.
They always do.
What matters most is building the record before the dispute turns into an eviction, security deposit fight, or rushed move-out.
Watch for the Quiet Pressure Campaign
The most concerning cases are not always the loud ones.
Sometimes the landlord does not change the locks or scream at the tenant to leave. Sometimes the pressure is quieter.
“Don’t talk to the inspector.”
“Tell them you are just staying here temporarily.”
“Move your bed out before they come back.”
“I’ll give you a few hundred dollars if you are gone by the weekend.”
“I can’t put anything in writing because the unit is not official.”
That kind of communication matters.
If a landlord rented a unit as housing, collected rent, and then tries to make the tenant vanish once the permit issue surfaces, the tenant should preserve every message.
Screenshots. Texts. Emails. Voicemails. Photos of posted notices. Photos of the unit. Rent receipts. The original listing. The lease. Payment records. Utility bills. Any message describing the space as a studio, guest house, ADU, back unit, converted garage, or rental.
This is how a tenant turns a chaotic situation into evidence.
And evidence is what changes leverage.
Do Not Let an Eviction Notice Distract From the Bigger Problem
Sometimes, after code enforcement gets involved, the landlord serves an eviction notice.
That can happen for different reasons. Maybe the landlord claims nonpayment. Maybe they claim the tenancy has to end because the unit cannot be occupied. Maybe they try to frame the tenant as the problem.
If that happens, slow down.
An eviction notice is not just a piece of paper. It starts a clock. And once a formal unlawful detainer is filed, the deadlines move fast.
But the existence of a code order, habitability citation, relocation issue, or landlord pressure campaign may matter in that case. It may affect defenses. It may affect damages. It may affect settlement value. It may affect whether the landlord complied with the law before trying to remove the tenant.
And if the eviction is built on unpaid rent for a unit that was never legal to rent, the amount the notice demands may itself be open to question.
Do not assume the eviction notice tells the whole story.
It usually tells the landlord’s version of the story.
Your job is to preserve the rest of it.
What Tenants Should Save Immediately
If your rental has been cited, red-tagged, or ordered vacated, start with the basics.
• The lease or rental agreement
• The rental listing
• Proof of every rent payment
• The security deposit receipt or move-in records
• Photos and videos of the unit before anything is changed
• Every notice posted by the city or county
• Inspection reports, correction notices, emails, cards, letters, and envelopes
• Every message from the landlord about permits, inspections, moving out, rent, repairs, or what you should tell code enforcement
And if the landlord tells you to leave quickly, get legal advice before you agree to anything in writing.
That does not mean you ignore safety. If the unit is dangerous, get yourself safe.
But do not confuse protecting your body with abandoning your legal rights.
Those are not the same thing.
Final Thoughts
California’s housing shortage has pushed tenants into all kinds of informal rentals.
Converted garages. Back houses. Divided single-family homes. Unapproved ADUs. Units that look finished enough to live in, but were never properly cleared for occupancy.
Some of these situations stay quiet for years.
Then one inspection changes everything.
When that happens, tenants should not be left holding the bag for a rental arrangement they did not create. If a landlord collected rent on a unit that cannot legally or safely be occupied, the tenant may have more than a moving problem.
They may have a relocation issue.
They may have a rent issue.
They may have a habitability issue.
They may have an eviction defense.
But only if the facts are preserved early enough to use them.
So if the city or county posts a notice on your rental, do not just panic-pack and hope for the best. Get the paperwork. Save the messages. Document the condition of the unit. Find out exactly what the agency ordered.
Then talk to someone who can help you understand what that order actually means.
Because when a rental was never legal to occupy, the tenant should not be the only one paying the price.
If you are renting in Ojai or anywhere in Ventura County and a city or county notice has put your home in question, I am glad to look at it with you. You can read more about how I handle habitability cases, or reach out for a free consultation.
Alex Murad, Esq.

