US-California

Can my landlord retaliate against me for reporting code violations?

180 days
Retaliation window
$2,000
Min. civil penalty
3x rent
Damages cap
90 days
Lease renewal protection
The Short Answer

No, California law prohibits landlords from retaliating against tenants for reporting code violations, and such retaliation is illegal within 180 days of the complaint.

What the Law Says

California law explicitly protects tenants who report unsafe or illegal conditions to government authorities. It presumes retaliation if certain adverse actions occur shortly after a complaint.

Under California Civil Code § 1942.5, it is unlawful for a landlord to increase rent, decrease services, file an eviction lawsuit, threaten eviction, or otherwise harass a tenant because the tenant has reported housing code violations to a public agency.

The law creates a rebuttable presumption of retaliation if the landlord takes adverse action within 180 days of the tenant’s complaint — meaning the court will assume retaliation occurred unless the landlord proves a legitimate, non-retaliatory reason.

If retaliation is found, the tenant may recover actual damages, statutory penalties of at least $2,000, and in some cases up to three times the amount of rent due under the lease (Civil Code § 1942.5(d)).

Statutory Text

It shall be unlawful for any lessor… to increase rent, decrease services, cause the lessee to quit involuntarily, bring an action to recover possession, or threaten to do any of these things, because the lessee has given notice… of a violation of the building, housing, or health laws.

Civil Code § 1942.5(a) — Retaliatory acts prohibited
Statutory Text

There shall be a rebuttable presumption affecting the burden of producing evidence that the lessor’s conduct… was in retaliation for the lessee’s exercise of rights under this section if the conduct occurs within 180 days after the lessee has given notice…

Civil Code § 1942.5(c) — Presumption of retaliation
Statutory Text

A lessee who proves a violation… shall recover… not less than two thousand dollars ($2,000)… and may recover… up to three times the amount of rent due under the lease.

Civil Code § 1942.5(d) — Remedies

What Courts Have Said

California courts have consistently enforced the anti-retaliation protections in Civil Code § 1942.5, emphasizing the importance of tenant safety and transparency in housing enforcement.

Schweiger v. Superior Court
California Supreme Court · 1972

Established that tenants have standing to sue for retaliatory eviction and affirmed the public policy behind protecting complaints about substandard housing.

Green v. Superior Court
California Supreme Court · 1974

Held that the right to complain about habitability issues is fundamental and that retaliatory evictions violate public policy, reinforcing the protections in § 1942.5.

What to Do

1

Document everything: save copies of your complaint (e.g., to Code Enforcement or Health Department), dates, and any communication with your landlord.

2

If your landlord takes adverse action (e.g., rent increase, eviction notice, service reduction) within 180 days, consult a tenant rights organization or attorney immediately.

3

File a response in court if served with an eviction lawsuit — raise retaliation as an affirmative defense using § 1942.5.

4

You may also file a civil lawsuit seeking damages, injunctive relief, and statutory penalties.

5

Contact your local rent board (if in a rent-controlled city) or the California Department of Consumer Affairs for free resources.

Sources

Same Question, Other Jurisdictions

Not legal advice. This article is general information based on publicly available sources, written for educational purposes. Laws change and individual situations vary. Consult a licensed attorney in your jurisdiction before acting on anything you read here. Last reviewed: 2026-06-08.