Defending Against a Retaliatory Eviction
Understanding Civil Code Section 1942.5 and Retaliatory-Eviction.
Call (657) 510-6534Civil Code section 1942.5 shields a California tenant from eviction when a landlord's true motive is retaliation for the tenant's lawful exercise of a protected right — complaining about habitability, contacting a code-enforcement agency, or joining a tenants' association. If the landlord acts within 180 days of that protected activity, the law presumes retaliation, and the burden shifts to the landlord to prove a legitimate, good-faith reason unrelated to retaliation. A tenant who is current on rent may raise this rebuttable presumption as an affirmative defense in the unlawful detainer answer, defeat the landlord's claim to possession, and recover statutory damages plus attorney's fees.
What Is a Retaliatory Eviction Under California Law?
A retaliatory eviction occurs when a landlord invokes an otherwise lawful eviction procedure — a notice to quit, a rent increase, a cut in services — not for a legitimate purpose but to punish a tenant for exercising a legally protected right.
California recognizes two independent sources for this defense. The first is statutory: Civil Code section 1942.5 codifies specific protected activities, a 180-day presumption period, and a remedy for damages. The second is a "parallel and independent" common-law doctrine, first recognized by the California Supreme Court in Schweiger v. Superior Court (1970) 3 Cal.3d 507 and confirmed in Barela v. Superior Court (1981) 30 Cal.3d 244. A tenant may invoke the statutory defense, the common-law defense, or both in the same case.
How Does the 180-Day Presumption Work Under Civil Code 1942.5?
If a landlord serves a notice to quit, raises the rent, cuts services, or files an unlawful detainer action within 180 days after the tenant engages in a protected activity, the law presumes the landlord acted out of retaliation, and the burden shifts to the landlord to prove otherwise.
The 180-day clock begins to run from whichever of the following dates occurred most recently, under Civil Code section 1942.5(a):
- The date the tenant gave a good-faith notice of a habitability defect under Civil Code section 1942, gave notice of a suspected bedbug infestation, or made an oral complaint to the landlord about tenantability;
- The date the tenant filed a written complaint — or an oral complaint that was recorded in writing — with a government agency responsible for enforcing housing codes, and the landlord had notice of that complaint;
- The date of a resulting inspection or citation, if the landlord did not already have notice of the underlying complaint;
- The date the tenant filed a judicial or arbitration proceeding involving the habitability of the dwelling; or
- The date judgment was entered, or an arbitration award signed, against the landlord on the issue of habitability.
This presumption is what lawyers call a rebuttable presumption — the law assumes retaliation as a starting point, but the landlord may overcome it with sufficient evidence of a legitimate, good-faith motive. See "Can a Landlord Overcome the Presumption of Retaliation?" below.
What Tenant Activities Does Civil Code 1942.5 Protect?
Civil Code section 1942.5 protects a tenant who complains about habitability, contacts a code-enforcement agency, exercises the repair-and-deduct remedy, joins a tenants' organization, or otherwise lawfully and peaceably exercises any right under the law.
Under subdivision (d), it is independently unlawful for a landlord to raise the rent, cut services, force a tenant to quit, or bring an unlawful detainer action for the purpose of retaliating against a tenant who has:
- Lawfully organized or participated in a tenants' association or an organization advocating tenants' rights; or
- Lawfully and peaceably exercised any right afforded to the tenant under the law.
Civil Code section 1942.5 also expressly forbids a landlord from reporting, or threatening to report, the tenant or anyone associated with the tenant to immigration authorities as a form of retaliation. Civil Code § 1942.5(c), (e).
Beyond the statute, the common-law doctrine has been applied to protect a tenant's refusal to commit a crime at the landlord's request, and a tenant's report to police of a landlord's own criminal conduct. Barela v. Superior Court, 30 Cal.3d at 251–252.
What Landlord Conduct Counts as Retaliation?
Civil Code section 1942.5 prohibits four specific acts when they are motivated by retaliation: recovering possession of the unit, forcing the tenant to quit involuntarily, raising the rent, or decreasing services.
A landlord who commits any of these acts within the 180-day window — without a lawful, good-faith, independent reason — exposes the landlord to both a defense to eviction and a separate claim for damages.
What Limits Apply to the Statutory Retaliation Defense?
Three limits govern the statutory defense: the tenant must not be in default on rent, the presumption applies only within 180 days of the protected activity, and a tenant may invoke the statutory defense only once in any 12-month period.
The Tenant Must Be Current on Rent
A tenant who is in default on the payment of agreed rent cannot claim the statutory defense under Civil Code section 1942.5(a), even if the tenant has separately complained about habitability. Western Land Office, Inc. v. Cervantes (1985) 175 Cal.App.3d 724, 733, 740.
The Presumption Runs for 180 Days Only
The statutory presumption applies only to landlord conduct occurring within 180 days of the tenant's protected activity. A landlord may lawfully serve an eviction notice at any point during that period, provided the tenancy is not actually terminated before the 180 days expire.
The Statutory Defense May Be Used Once Per Year
A tenant may not invoke the statutory presumption under Civil Code section 1942.5(a) more than once in any 12-month period. Civil Code § 1942.5(b). This numerical limit does not apply to the separate common-law defense discussed below. Glaser v. Meyers (1982) 137 Cal.App.3d 770, 774.
Who Bears the Burden of Proof in a Retaliatory Eviction Defense?
The tenant bears the initial burden of producing evidence that the landlord's conduct was, in fact, retaliatory; once that evidence establishes the 180-day presumption, the burden shifts to the landlord to prove a legitimate, non-retaliatory reason by a preponderance of the evidence.
This structure follows directly from the statute. If the tenant's notice of termination states a specific, lawful ground for the eviction and the tenant disputes that stated ground, the landlord must establish the truth of that ground at trial. Civil Code § 1942.5(g). In every instance, the applicable standard of proof is a preponderance of the evidence — meaning it is more likely than not that the landlord's stated reason is either true or pretextual.
Does the Common-Law Retaliatory-Eviction Defense Still Apply?
Yes. California recognizes a common-law retaliatory-eviction defense that exists independently of Civil Code section 1942.5 and is not subject to the statute's 180-day window or its once-per-year limit.
Under the common-law approach, a court weighs the public policy favoring protection of a tenant who has exercised a legal right against the state's interest in keeping unlawful detainer proceedings summary and efficient. A tenant may raise the statutory defense, the common-law defense, or both together in the same unlawful detainer case. Unlike the statutory habitability defense, the common-law retaliatory-eviction defense is available to commercial tenants as well as residential tenants.
Can a Landlord Overcome the Presumption of Retaliation?
Yes. A landlord defeats the presumption by proving, in good faith, a lawful and independent reason for the notice, rent increase, or lawsuit that has nothing to do with the tenant's protected activity.
Civil Code section 1942.5(f) preserves a landlord's right to act for any lawful cause. Under section 1942.5(g), the landlord may prevail — even within the 180-day window — if the notice of termination, the rent increase, or the complaint states the ground on which the landlord, in good faith, seeks to act, and the landlord proves that ground is true at trial.
The California Supreme Court applied this same principle to a landlord invoking the Ellis Act, holding that a landlord's bona fide intent to exit the rental business defeats a retaliatory-eviction defense, even where a retaliatory motive is also present. Drouet v. Superior Court (2003) 31 Cal.4th 583, 593–600.
What Damages Can a Tenant Recover for Retaliatory Eviction?
A tenant who proves retaliatory eviction may recover actual damages, punitive damages of $100 to $2,000 per retaliatory act, and mandatory attorney's fees if fees were requested at the start of the case.
Any landlord or landlord's agent who violates Civil Code section 1942.5 is liable to the tenant for actual damages sustained, plus punitive damages of not less than $100 nor more than $2,000 for each retaliatory act, where the landlord or agent has been guilty of fraud, oppression, or malice. Civil Code § 1942.5(h). The court must award reasonable attorney's fees to the prevailing party in a damages action if either party requested fees when the case began. Civil Code § 1942.5(i). These remedies exist in addition to — not instead of — any other remedy available under statute or case law. Civil Code § 1942.5(j).
How Do I Plead and Prove Retaliatory Eviction in My Unlawful Detainer Case?
A tenant asserts retaliatory eviction by checking the correct box on the Answer, stating the supporting facts, and producing evidence that ties the protected activity to the landlord's later conduct.
- Confirm you are current on rent. If the eviction is based on nonpayment, the statutory defense is unavailable unless the alleged default itself arises from a legally protected act, such as a proper repair-and-deduct deduction.
- Identify the protected activity and its exact date. Locate the date of your habitability complaint, agency report, inspection, bedbug notice, or prior tenantability judgment.
- Calculate the interval. Compare that date to the date the landlord served the notice to quit, raised the rent, cut services, or filed the unlawful detainer complaint. If 180 days or fewer have passed, the statutory presumption applies.
- Assert the defense on your Answer. Check the retaliatory-eviction box on Judicial Council Form UD-105 and state the supporting facts in the space provided, or on an attached Form MC-025.
- Gather corroborating evidence. Collect written complaints, repair requests, agency correspondence, inspection reports, texts, e-mails, and any notice of termination or rent increase, matched by date. See the evidence checklist below.
- Prepare to meet the elements at trial. The elements of the statutory defense are set out in CACI No. 4321 and CACI No. 4322, the standard jury instructions a California court uses in an unlawful detainer trial involving this defense.
- Anticipate the landlord's rebuttal. Be ready to respond if the landlord offers a stated, good-faith, lawful ground for the action — you may need to show that the stated ground is pretextual.
- Consider a separate civil action for damages. If you have already vacated, or wish to pursue damages beyond the unlawful detainer case, Civil Code section 1942.5(h) authorizes an independent lawsuit for actual and punitive damages and attorney's fees.
What Evidence Supports a Retaliatory Eviction Defense?
Evidence should tie a specific, dated, protected activity to the landlord's later notice, rent increase, service reduction, or lawsuit, and should be documentary wherever possible.
| Protected Activity | Supporting Evidence to Gather |
|---|---|
| Oral or written habitability complaint to the landlord (Civ. Code § 1942) | Text messages, e-mails, letters, call logs, or a witness who heard the complaint |
| Bedbug infestation notice | Copy of the written notice and date of delivery or mailing |
| Written or recorded oral complaint to a code-enforcement or health agency | Agency complaint number, date-stamped copy, or confirmation e-mail |
| Inspection or citation resulting from a complaint | Inspection report or citation bearing the agency's date |
| Repair-and-deduct notice and deduction (Civ. Code § 1942) | Written notice to the landlord, repair invoices or receipts, and the rent ledger showing the deduction |
| Filing of a judicial or arbitration proceeding on tenantability | Court or arbitration filing stamped with the date |
| Judgment or arbitration award against the landlord on tenantability | Certified copy of the judgment or award |
| Participation in a tenants' association | Membership records, meeting sign-in sheets, or correspondence with the association |
| The landlord's retaliatory act | The 3-day/30-day/60-day notice, rent-increase notice, or Unlawful Detainer Complaint, each showing its date of service |
Do Not Wait — Call Tenant Eviction Defense Now
If you believe your landlord is retaliating against you for exercising a legally protected right, time is critical. California tenants generally have as little as 10 court days to respond to an Unlawful Detainer Summons.
Call our Eviction Defense Rapid Response Line at (657) 510-6534, Monday through Friday, 8:30 a.m. to 6:00 p.m.
Primary Sources for This Guide
- California Judges Benchguide 31: Landlord-Tenant Litigation — Unlawful Detainer (rev. 2020), §§ 31.38–31.43, published by the Center for Judicial Education and Research, Judicial Council of California. On file with Tenant Eviction Defense.
- California Civil Jury Instructions (CACI), Series 4300 — Unlawful Detainer and Other Landlord-Tenant Claims, specifically CACI No. 4321 and CACI No. 4322.
- California Civil Code § 1942.5, the statutory retaliatory-eviction protection.
Frequently Asked Questions
What counts as retaliation under California law?
Retaliation occurs when a landlord raises the rent, cuts services, forces a tenant to quit, or files an eviction lawsuit because the tenant exercised a legally protected right — such as complaining about habitability, contacting a code-enforcement agency, or joining a tenants' association — rather than for a legitimate, independent reason.
How soon after a complaint must the landlord act for the 180-day presumption to apply?
The presumption applies if the landlord serves a notice, raises the rent, cuts services, or files suit within 180 days of the tenant's protected activity, measured from the most recent qualifying date under Civil Code section 1942.5(a).
Can a tenant who owes back rent still raise retaliatory eviction?
Generally, no. The statutory defense under Civil Code section 1942.5(a) is unavailable to a tenant who is in default on rent, though a tenant may separately argue the amount claimed is not actually owed — for example, because of a proper repair-and-deduct deduction.
Is retaliatory eviction only a defense, or can a tenant also sue for damages?
Both. A tenant may raise retaliatory eviction as an affirmative defense to remain in possession, and may separately bring a civil action for actual damages, punitive damages of $100 to $2,000 per act, and attorney's fees under Civil Code section 1942.5(h) and (i).
Published August 11, 2026.
Eviction Defense & Tenant's Rights Rapid Response Phone Line
(657) 510-6534Monday through Friday, 8:30 a.m. to 6:00 p.m. All calls are confidential.

