Skip to main content
RentRepairNotice.com

Can a California Landlord Evict You for Asking for Repairs?

Published
June 3, 2026
Reading
9 min
Filed under
tenant rights

The Short Answer

A California landlord cannot evict you because you asked for repairs, reported code violations, or organized with other tenants. Civil Code §1942.5 makes that retaliation unlawful, and it presumes retaliation when the adverse action comes within 180 days of your protected activity.

But "illegal retaliation" is a defense, not a shield. An eviction notice still has to be answered, on time, in court. Tenants who ignore the notice because "it's obviously retaliation" lose by default.

What Counts as Protected Activity

  • Requesting repairs for a habitability defect, in writing or otherwise.
  • Complaining to a government agency about conditions.
  • Filing a code enforcement complaint.
  • Organizing or joining a tenant association.
  • Testifying or participating in a proceeding about the landlord's conduct.
  • Exercising rights under the lease or the law.

The complaint must be made in good faith — a demand for something you are not entitled to is weaker. Which is one more reason the written notice should be specific and grounded in §1941.1.

What Counts as Retaliation

  • An eviction notice or unlawful detainer filing.
  • A rent increase.
  • A reduction in services: less heat, slower repairs, cutting amenities, removing parking or laundry access.
  • A threatened report to immigration or credit agencies used as pressure.
  • Refusal to renew a lease.
  • Harassment through repeated unannounced entry.

Within 180 days of your complaint, the law presumes the motive was retaliation. The landlord then has to show a legitimate, independent reason — chronic late rent, nuisance, lease violations, or a genuine business need.

The 180-Day Presumption, Precisely

The presumption is not "anything within 180 days is automatically illegal." It shifts the burden. The landlord can still win by producing evidence of an independent cause. Your job is to make the timeline so clear that the "independent cause" looks manufactured.

Build a one-page chronology:

  • Date you first reported the condition.
  • Date you served the formal notice, with delivery proof.
  • Date the landlord responded, or failed to.
  • Date the rent increase, eviction notice, or service cut arrived.
  • Any statement by the landlord connecting the two.

A judge who can see the sequence in one page does not need to be persuaded that retaliation is possible — the sequence does it.

How California Eviction Notices Work

An eviction usually starts with a notice to quit, then an unlawful detainer lawsuit if you do not leave. Common notice types:

  • Pay rent or quit — based on non-payment.
  • Cure or quit — based on a lease violation that can be fixed.
  • Three-day notice to quit — for nuisance, waste, or certain unauthorized acts (Code of Civil Procedure §1161).
  • Thirty, sixty, or ninety-day notice — terminating a tenancy without alleged fault, subject to any local just-cause rules.

If a lawsuit is filed, you generally have a short window to respond — often five days — and the response must be in writing. Missing it can produce a default judgment even if the landlord's motive was retaliation.

Local ordinances matter. Cities with just-cause protections, such as Los Angeles, San Francisco, and Oakland, add layers: the landlord may need a stated ground and may have to follow a specific process. A notice that ignores those requirements can be challenged.

The Day the Notice Arrives

  1. Do not ignore it and do not move out immediately. Both can hurt you.
  2. Photograph and keep the notice exactly as served, including the envelope.
  3. Note the date and method of service — posted, handed, mailed.
  4. Check the deadline. Count from the date of service, not the date you found it.
  5. Contact legal aid or a tenant attorney the same week. Many offer free consultations; unlawful detainer answers have short deadlines.
  6. Keep paying rent unless a lawyer advises otherwise. Non-payment gives the landlord a second, independent ground.
  7. Assemble the retaliation packet: repair notice, delivery proof, photos, code complaints, the notice, and the chronology.

Defending on Retaliation Grounds

A retaliation defense usually argues that the eviction is pretext for the complaint. Evidence that helps:

  • The written repair request and proof of service.
  • Photos showing the defect existed and persisted.
  • A code enforcement inspection report.
  • The landlord's messages acknowledging the complaint.
  • The proximity in time between complaint and notice.
  • A pattern: other tenants who complained and then received notices.
  • Statements by the landlord linking the two ("you called the city, so you can leave").

Courts also consider whether the landlord actually followed the required notice procedure. Procedural defects — wrong notice period, no stated ground, defective service — independently weaken the case.

What Not to Do

  • Do not stop paying rent to "prove" retaliation. It hands the landlord a non-payment case.
  • Do not skip the court date. A default judgment is enforceable regardless of motive.
  • Do not negotiate only by phone. Put every offer and response in writing.
  • Do not sign a move-out agreement under pressure without advice. "Cash for keys" deals can waive claims you did not know you had.
  • Do not post about the case online in ways that identify the landlord or witnesses; it can complicate negotiation.

If You Want to Leave

Sometimes leaving is the right outcome. If so, do it cleanly: written notice per the lease, a move-out inspection, photos, keys returned in writing, and a forwarding address for the deposit. A documented exit preserves your deposit claim and avoids a rent default.

FAQ

Is a rent increase after a repair request illegal?

It is presumed retaliatory if it comes within 180 days, but the landlord can rebut the presumption. Local rent caps may independently limit the increase.

Can the landlord evict me for complaining to code enforcement?

No. Reporting conditions to a government agency is protected activity under §1942.5.

What if the eviction notice has no reason on it?

A notice that fails to state a required ground may be defective, especially in a just-cause city. Have a lawyer or legal aid review it quickly.

Does the 180 days run from my first complaint or the formal notice?

From the protected activity. Keep both dates; the earliest complaint is the strongest anchor.

Bottom Line

Retaliation is illegal, and the 180-day presumption gives tenants real leverage — but only inside the court process. Keep the chronology, answer the notice on time, keep paying rent, and get advice within days, not weeks.

General information about California law and document procedure, not legal advice. An eviction deadline can be five days; contact a tenant rights attorney or legal aid immediately.

If the problem is already past its deadline, a dated written notice is what starts the clock and the paper trail.

Build a repair notice