Tenant's Rights Library

Implied Warranty of Habitability in California: Civil Code § 1941.1 and Your Eviction Defense

How substandard conditions become an affirmative defense to an unlawful detainer.

Call (657) 510-6534

Every residential lease in California carries an unwritten promise that the landlord will keep the unit fit to live in. That promise is the implied warranty of habitability. Its minimum standards appear in Civil Code section 1941.1. When a landlord substantially breaches it, a tenant sued for nonpayment of rent may raise that breach as an affirmative defense in the unlawful detainer answer. A tenant who proves the defense defeats the landlord's claim to possession, has the rent reduced to the unit's reasonable rental value in its defective condition, and may recover costs and attorney's fees.

What Is the Implied Warranty of Habitability in California?

The implied warranty of habitability is a promise the law reads into every residential lease: the landlord warrants that the dwelling is, and will remain, maintained in a condition meeting minimum standards of habitability. The tenant need not negotiate for it, and no written lease term is required to create it.

California courts adopted the doctrine in two decisions. In Hinson v. Delis (1972) 26 Cal.App.3d 62, a tenant refused to pay rent until serious housing-code violations were repaired — among them a malfunctioning toilet and a hole rotted through the bathroom floor. The Court of Appeal held that residential rental contracts contain an implied warranty of habitability, and that the tenant could be compelled to pay only the reasonable rental value of the unit while the defects persisted.

Two years later, the California Supreme Court approved that reasoning in Green v. Superior Court (1974) 10 Cal.3d 616. Green is the controlling authority. It held three things that matter to a tenant facing eviction today:

  • The repair-and-deduct remedy in Civil Code sections 1941 through 1942.5 is not the tenant's only remedy. Those statutes cap the deduction at one month's rent and limit its use to twice in twelve months, making them useful only for minor repairs.
  • The old rule of independent covenants — under which a tenant's duty to pay rent stood entirely apart from the landlord's duty to maintain — no longer applies to residential leases.
  • Breach of the warranty may be raised as a defense in an eviction action based on nonpayment of rent, for the period during which the warranty was breached.

The doctrine is also embodied, in part, in Code of Civil Procedure section 1174.2, which governs what a court must do once a tenant proves the defense at trial. The common-law doctrine recognized in Green appears to be somewhat broader than the version captured in the statutes.

Why Did the Supreme Court Create This Rule?

The Green court traced the old no-repair rule to medieval agricultural leases, where the land mattered and any structure on it was incidental. Modern urban tenants, the court reasoned, have neither the skills nor the money to build a habitable dwelling themselves; they contract with a landlord who supplies one.

In reaching that conclusion the Supreme Court weighed four considerations: the scarcity of adequate low-cost housing, which leaves tenants little bargaining power to demand proper maintenance; the widespread enactment of comprehensive housing codes over the prior fifty years; the general growth of consumer-protection law, including implied warranties in real estate transactions; and the adoption of the same doctrine by the highest courts of seven other states and the District of Columbia Court of Appeals.

Which Conditions Make a California Rental Unit Legally Uninhabitable?

Civil Code section 1941 requires a landlord to put a rental unit into a condition fit for human occupation and to repair later dilapidations that render it untenantable. Section 1941.1 supplies the checklist of what "untenantable" means.

What Does Civil Code Section 1941.1 Require?

Section 1941.1 deems a dwelling untenantable if it substantially lacks any one of a list of basic features — weatherproofing, working plumbing, hot and cold running water, heat, safe electrical service, sanitary grounds free of vermin, adequate trash receptacles, and floors and stairways in good repair.

Minimum habitability standards under Civil Code § 1941.1
Required Feature What a Breach Looks Like in Practice
Waterproofing and weather protection of roof and exterior walls, including unbroken windows and doors Leaking roof; rain intrusion; rotted window frames; broken or boarded windows; exterior doors that will not seal
Plumbing and gas facilities in good working order Sewage backup; chronic drain blockage; leaking or non-functioning toilet; gas leaks
Water supply producing hot and cold running water, connected to an approved sewage system No hot water; intermittent water service; water heater not repaired
Heating facilities in good working order No heat in one or more rooms; inoperative thermostat; broken furnace
Electrical lighting, wiring, and equipment in good working order Exposed or faulty wiring; dead outlets; unsafe fixtures; recurring loss of power
Building, grounds, and appurtenances kept clean, sanitary, and free of debris, filth, rubbish, garbage, rodents, and vermin Rat or roach infestation; accumulated garbage in common areas; bedbugs
Adequate receptacles for garbage and rubbish Too few bins for the building; no collection service
Floors, stairways, and railings maintained in good repair Dry rot; holes in flooring; missing or loose handrails; collapsing steps

The standards in section 1941.1 apply directly to the implied warranty of habitability defense, not merely to the repair-and-deduct remedy. Knight v. Hallsthammar (1981) 29 Cal.3d 46. A jury instruction in an implied warranty case may include these standards even where the tenant never used repair-and-deduct.

Do Broken Locks and Missing Security Devices Count?

Yes. Civil Code section 1941.3 separately requires deadbolt locks on main entry doors, operable locking devices on windows, and functioning locks on exterior doors. Its standards, like those of section 1941.1, apply to the implied warranty of habitability.

Courts have also treated a landlord's failure to provide reasonable security against criminal intrusion as a possible breach of the warranty. In Kwaitkowski v. Superior Trading Co. (1981) 123 Cal.App.3d 324, a tenant was attacked in a dimly lit lobby after tenants had complained about a defective door lock and after a recent attack on another tenant; the court relied expressly on the warranty of habitability implicit in the lease. The appellate department reached similar reasoning in Secretary of HUD v. Layfield (1978) 88 Cal.App.3d Supp. 28, an unlawful detainer case in which the tenant raised the landlord's failure to supply promised security as an affirmative defense.

A caution on security-based claims

Security claims are harder to prove than plumbing or heating claims. Penner v. Falk (1984) 153 Cal.App.3d 858 casts doubt on whether inadequate security alone breaches the warranty, and most of the leading cases in this area were personal-injury suits rather than eviction defenses. A tenant must generally show the landlord owed a duty, breached it, and that the breach materially affected habitability.

Is Mold a Habitability Violation in California?

Visible mold growth that endangers health can render a unit untenantable. But under Civil Code section 1941.7, the landlord's duty to repair a mold-related dilapidation is not triggered until the landlord has notice of it.

California has no numerical exposure limit for indoor mold. The Legislature originally directed the state health department to set permissible exposure limits, but in its April 2005 report the California Department of Public Health concluded that scientifically sound limits for indoor molds could not be established. The department's position is that indoor dampness, water intrusion, and fungal growth should always be eliminated safely and efficiently. In practice, a contested mold claim usually turns on competing expert testimony about the extent of the growth and its effect on health.

How Serious Must the Defect Be to Breach the Warranty?

The defect must be serious enough to affect habitability. Minor reductions in service, cosmetic problems, or the inconvenience of ongoing repair work do not entitle a tenant to a rent reduction. Where the claim rests on code violations, the tenant must show the landlord substantially failed to meet standards that materially affect health and safety.

That substantiality requirement comes from Green v. Superior Court, is restated in Smith v. David (1981) 120 Cal.App.3d 101, 109, and is codified at Code of Civil Procedure section 1174.2(c). Whether a breach is "substantial" is a question of law, which means an appellate court may make its own finding and reverse a trial court judgment for the landlord when the evidence about the defects is undisputed. Hyatt v. Tedesco (2002) 96 Cal.App.4th Supp. 62.

Conditions California and out-of-state courts have found serious enough to breach the warranty include:

  • Collapsed bathroom ceiling, continued vermin, no heat in four rooms, plumbing blockages, exposed and faulty wiring, and an illegally installed stove. Green v. Superior Court, 10 Cal.3d at 621.
  • Leaking roof, missing bathtub tiles, rotted window frames, holes in carpeting, cracked walls, security bars without release latches, water damage to walls and carpets, inoperative thermostat, and plumbing that would not drain. Hyatt v. Tedesco, 96 Cal.App.4th Supp. 62.
  • Dry rot in the bathroom floor causing a tenant and child to fall through, a leaking toilet producing foul odors, and improperly fitted glass in the front door admitting a constant draft. Hinson v. Delis, 26 Cal.App.3d at 64.
  • Rodent infestation severe enough to keep a family from sleeping for three nights.
  • Sustained loss of heat, hot water, or elevator service, together with a broken front-door lock and irregular garbage collection.
One statutory exception

Under Health and Safety Code sections 19210 through 19216, a tenant may not be evicted merely because the unit does not comply with the seismic requirement to strap or anchor the water heater.

Can I Use the Warranty of Habitability as a Defense to My Eviction?

Yes, in an unlawful detainer based on nonpayment of rent. If the landlord breached the warranty during the rental period stated in the three-day notice, the tenant may allege those facts in the answer as an affirmative defense. The defense goes to the right of possession, which is why the court must hear it.

The procedure contemplated by Green and Hinson runs in a familiar sequence. The tenant notifies the landlord of defects. The landlord fails to remedy them. The tenant withholds rent until they are corrected, at which point the obligation to pay the contract rent resumes. If the landlord then sues to evict for nonpayment, the tenant pleads the breach in the answer. The same path is available where the tenant made repairs and deducted the cost, and the landlord sues for the unpaid balance.

Under certain conditions the court may issue a protective order requiring the tenant to deposit rent as it comes due — not the rent already withheld — into court. Money paid in under a protective order is distributed to the parties according to the verdict.

An unchecked box is not fatal

A tenant must be permitted to introduce evidence of a habitability breach if the landlord is apprised of the defense through statements in the answer or documents attached to it — even if the corresponding box on the Judicial Council form answer was never checked. Boyd v. Carter (2014) 227 Cal.App.4th Supp. 1. Courts have given this defense wide scope. That is a safeguard, however, not a filing strategy: the correct box should always be checked.

What Will the Jury Be Told About This Defense?

The jury is read CACI No. 4320, "Affirmative Defense — Implied Warranty of Habitability." It places the burden on the tenant to prove the landlord failed to provide one or more of the habitability elements, and instructs that the failure must be substantial before the property is deemed uninhabitable.

CACI No. 4320 is the operative instruction whenever a tenant raises the warranty defensively in an unlawful detainer. Its companion, CACI No. 4350, governs an affirmative suit for breach and expressly directs users to No. 4320 where the warranty is raised as a defense instead. The corresponding verdict form is VF-4301.

The elements the instruction lists track the standards of Civil Code section 1941.1 closely: effective waterproofing and weather protection, including unbroken windows and doors; compliant plumbing and gas facilities maintained in good working order; a water supply producing hot and cold running water connected to a sewage disposal system; compliant heating facilities in good working order; compliant electrical lighting, wiring, and equipment in good working order; building and grounds within the landlord's control kept clean, sanitary, and free of debris, filth, rubbish, garbage, rodents, and vermin; an adequate number of clean garbage containers in good repair; and floors, stairways, and railings maintained in good repair. The instruction also permits the court to insert any other applicable habitability standard, which leaves room for the broader common-law doctrine recognized in Green.

A timing limitation every tenant should know

CACI No. 4320 instructs that a condition arising only after the tenant failed or refused to pay rent and was served with a notice to pay rent or quit cannot serve as a defense to that earlier nonpayment. The defects must have existed during the rental period the three-day notice covers. A tenant who withholds rent first and begins documenting conditions afterward may find the defense unavailable for precisely the period at issue. Document conditions and notify the landlord before withholding rent, not after.

The instruction's Directions for Use also address the notice question discussed below. They observe that in a case not involving unlawful detainer and nonpayment of rent, the Supreme Court has said the warranty reaches only conditions the landlord knew of or should have discovered through reasonable inspection, citing Peterson v. Superior Court (1995) 10 Cal.4th 1185, 1206 — while noting that the law on a landlord's notice in the unlawful detainer context remains unsettled under Knight v. Hallsthammar, 29 Cal.3d at p. 55, fn. 6. The instruction states plainly that a landlord's duty to maintain habitable premises exists regardless of whether the tenant knew about a particular condition.

Where the landlord contends the warranty does not apply because of the tenant's own misconduct, the court selects the applicable reasons from the instruction. Two of those reasons do not apply if the landlord expressly agreed in writing to perform the acts in question. Civil Code section 1941.2(b).

Does the Defense Work Against a 30-Day or 60-Day No-Fault Notice?

Generally, no — not as a defense to possession. Where the eviction rests on a 30-day or 60-day notice terminating a month-to-month tenancy rather than on a rent default, the implied warranty ordinarily will not defeat the landlord's right to possession. Evidence of breach may still reduce the holdover damages the landlord recovers.

The governing statement appears in North 7th Street Associates v. Constante (2001) 92 Cal.App.4th Supp. 7, 11 n.1. Boyd v. Carter, discussed above, contains language suggesting both retaliatory eviction and breach of the implied warranty may be raised against a 30-day termination notice, but that case involved two different notices and unusual facts — the landlord's complaint was premised primarily on a three-day notice for a prorated partial month's rent. Read in context, Boyd is solid authority on retaliation and on holdover damages; its application to possession in a pure no-fault case is uncertain.

The reason for the distinction is structural. Green held that performance of the implied warranty is a condition precedent to the tenant's duty to pay rent. Where no rent is at issue, that link is absent. If your notice was a 30-day or 60-day no-fault termination, the stronger defenses are usually just cause, retaliation, or a defect in the notice itself.

Does It Matter Whether My Landlord Caused the Problem?

No. A landlord is responsible for breach of the implied warranty even when the landlord did not cause the defect and was not at fault in failing to discover it. The duty to maintain the premises in a reasonably safe condition is nondelegable — it cannot be shifted to a contractor, a manager, or a prior owner.

See Srithong v. Total Investment Co. (1994) 23 Cal.App.4th 721 on the nondelegable duty, and Erlach v. Sierra Asset Servicing, LLC (2014) 226 Cal.App.4th 1281, 1295, holding that new owners of rental property must address outstanding code violations even where the previous owner caused them.

Is My Landlord Entitled to a "Reasonable Time" to Repair?

Not as a defense to the implied warranty claim, where the landlord knew about uninhabitable conditions the tenants did not cause. Knight v. Hallsthammar (1981) 29 Cal.3d 46 squarely rejected a jury instruction conditioning breach on the landlord's having been allowed a reasonable time to correct the defects.

This is one of the most consequential distinctions on this page. Most statutory habitability remedies do build in a repair period: the repair-and-deduct remedy under Civil Code section 1942(a) requires prior notice to the landlord; the rent-withholding protection of section 1942.4 requires that a code-enforcement agency first give notice and that 35 days elapse; and the mold provision at section 1941.7(a) requires notice of the dilapidation. The common-law implied warranty defense carries no equivalent grace period once the landlord has notice.

What If the Unit Was Already Substandard When I Moved In?

The doctrine still applies. A tenant's knowledge of the defects before taking possession does not defeat the warranty, and remaining in the unit after learning of the defects is not a waiver. Knight v. Hallsthammar, 29 Cal.3d at 59.

The Knight court rejected a jury instruction requiring that the defective condition be unknown to the tenant at the time of occupancy. In Smith v. David, the court approved an instruction telling the jury that a tenant's remaining in premises claimed to be uninhabitable does not mean the premises were therefore habitable — and held that the jury should have been told about California's legislatively recognized housing shortage to explain why a tenant would stay.

What If I Caused the Damage?

Then there is no breach as to that condition. Courts have consistently held that a tenant cannot benefit from a defect the tenant caused through wrongful action or abnormal use. Civil Code section 1941.2 sets out the tenant's own affirmative maintenance obligations.

Do I Have to Tell My Landlord About the Defects First?

California law is not fully settled on whether notice is a prerequisite to the common-law defense, and Knight v. Hallsthammar expressly left the question open. Because the point is unresolved, a tenant should always give the landlord dated written notice and keep a copy.

Actual notice may be unnecessary in some circumstances. A landlord has a duty to inspect the building on acquiring it and when renting out a unit, so a defect discoverable through such an inspection may charge the landlord with constructive notice. Becker v. IRM Corp. (1985) 38 Cal.3d 454, 468 (overruled on other grounds by Peterson v. Superior Court (1995) 10 Cal.4th 1185, which rejected Becker's imposition of strict liability on landlords; the duty-to-inspect holding relied on here was not disturbed). The Directions for Use accompanying CACI No. 4320 confirm the tension: outside the unlawful detainer context the warranty reaches conditions the landlord knew of or should have discovered through reasonable inspection, but within it the notice question remains unsettled. If the premises were unfit at the inception of the tenancy, that circumstance may itself constitute notice.

Certain statutory remedies do require notice outright. Under section 1941.7(a), a landlord's obligation to repair a mold-related dilapidation does not arise until the landlord has notice.

Practical guidance

Send written notice of every defect by certified mail, return receipt requested, and keep the receipt. Text messages and e-mail are acceptable and often more readily proved. Oral notice will suffice if it can be established at trial, but it invites a credibility contest a tenant does not need to have.

Is There a Legal Presumption That Helps Me?

Yes. Under Civil Code section 1942.3, a landlord's failure to correct defects specified in a written notice from a code-enforcement official within 60 days of issuance creates a rebuttable presumption that the landlord breached the habitability standards of section 1941.1.

The presumption affects the burden of producing evidence, and it does not apply to defects caused by the tenant's own lack of due care. For a tenant whose city or county inspector has already cited the property, this presumption is often the single most valuable piece of the case.

Can My Landlord Make Me Waive the Warranty in the Lease?

No. Civil Code section 1942.1 declares any agreement by which a tenant waives rights under sections 1941 or 1942 void as contrary to public policy. A lease clause purporting to disclaim habitability is unenforceable.

The Green court explained the reason: because of the housing shortage, tenants have little bargaining power and frequently must accept premises with obvious defects, expecting the landlord to repair them. The court left open the narrow possibility that a waiver arrived at through genuine arm's-length bargaining might be valid, but that is an unusual circumstance.

Two limits are worth knowing. Section 1942.1 does permit the parties to agree that the tenant will improve, repair, or maintain stipulated portions of the dwelling as part of the consideration for rent. It also permits the parties to agree in writing that a tenantability dispute will be resolved by binding arbitration. Separately, a court has held that a lease waiver may be valid as to amenities a landlord provides beyond housing itself — a fitness room, for example. Lewis Operating Corp. v. Superior Court (2011) 200 Cal.App.4th 940.

Read the entire lease before relying on this defense.

What Happens If I Win the Habitability Defense at Trial?

The court must take four specific actions under Code of Civil Procedure section 1174.2. These steps are mandatory, not discretionary. The tenant keeps possession, conditioned on paying the reduced rent the court determines.

Mandatory findings when a tenant proves breach — CCP § 1174.2(a)
The Court Must Authority and Effect
Determine the reasonable rental value of the premises in its untenantable condition through the date of trial CCP § 1174.2(a)(1). The jury instruction is CACI No. 4342. The reduced figure replaces the contract rent for the period of breach.
Deny possession to the landlord and adjudge the tenant the prevailing party CCP § 1174.2(a)(2). Conditioned on the tenant's payment of the adjusted rent accrued to the date of trial.
Limit the monthly rent to the reasonable rental value until repairs are complete CCP § 1174.2(a)(4). The reduction continues prospectively, not merely retroactively.
Award the tenant costs and attorney's fees where provided by contract or statute CCP §§ 1174.2(a)(5), 1174.21.

The court may also order the landlord to make the repairs and correct the offending conditions; if it does, it must retain jurisdiction over the matter to ensure compliance. CCP § 1174.2(a)(3).

Espinoza v. Calva (2008) 169 Cal.App.4th 1393 confirms that these procedures are compulsory: once the tenant establishes the defense, the court is required to make the section 1174.2 findings and to give the tenant five days from the date of judgment to pay the back rent at the rate the court sets.

How Long Do I Have to Pay the Adjusted Rent?

Five days after judgment. If the court's determination is served by mail within California, Code of Civil Procedure section 1013 extends that period by five days. Shorter extensions apply to overnight mail, electronic service, and facsimile transmission.

This deadline decides cases. In Magnolia v. Fields (1987) 191 Cal.App.3d Supp. 1, 6, a conditional judgment was entered in the tenant's favor; because the tenant failed to pay the rent as the judgment required, possession went to the landlord, who was then held the prevailing party and awarded attorney's fees under the rental agreement. A tenant who intends to raise this defense should plan, in advance, how the adjusted rent will be paid within five days of a favorable ruling.

What Happens If I Lose?

Judgment is entered for the landlord, who is deemed the prevailing party for purposes of costs and attorney's fees where a statute or the lease allows them, and who receives any money the tenant deposited with the court. CCP § 1174.2(b).

Am I Entitled to a Jury?

Yes. California tenants have a statutory right to a jury trial on the question whether the warranty of habitability was breached. Guttman v. Chiazor (2017) 15 Cal.App.5th Supp. 57, 62.

How Do I Raise the Habitability Defense in My Unlawful Detainer Case?

You assert it in a written answer filed with the court before your deadline expires, check the corresponding affirmative-defense box on the Judicial Council form, state the supporting facts, and gather documentary proof of the conditions and of the landlord's notice.

  1. Calculate your deadline first. A tenant served with an Unlawful Detainer Summons and Complaint in California generally has 10 court days to file a responsive pleading. Court days exclude weekends and court holidays, so the calendar date is not obvious. Missing it invites a default judgment and a lockout.
  2. Confirm the eviction is based on nonpayment of rent. The implied warranty is at its strongest against a three-day notice to pay rent or quit. Against a 30-day or 60-day no-fault notice it will generally not defeat possession, though it may reduce holdover damages.
  3. Identify each defective condition and the date it began. Match every condition to the corresponding item in Civil Code section 1941.1 or 1941.3 where possible.
  4. Establish that the landlord had notice. Locate the date and form of every complaint you made — text, e-mail, letter, phone call — and any inspection or citation the landlord received.
  5. Check the habitability box on Judicial Council Form UD-105 and state the supporting facts in the space provided, or on an attached Form MC-025 if you need more room.
  6. Assemble your evidence before the trial date. Unlawful detainer is a summary proceeding; there is very little time between answer and trial. See the evidence table below.
  7. Request a code-enforcement inspection if none has occurred. An official inspection report is the strongest single piece of evidence available to most tenants, and it may trigger the 60-day presumption under Civil Code section 1942.3.
  8. Prepare for the five-day payment requirement. If you prevail, the court will set an adjusted rent figure and you must pay the accrued amount within five days to keep possession.
On filing fees

A tenant who cannot afford the filing fee may request a waiver using Form FW-001, filed together with the answer so the deadline is not missed. Orange, San Diego, and San Bernardino Counties also require Form FW-003. Both forms are available in the Tenant's Rights Library.

What Evidence Proves a Breach of the Warranty of Habitability?

The strongest evidence is an official record of inspection by a city or county code-enforcement agency. Photographs, dated written complaints, repair invoices, and testimony from anyone who observed the conditions all corroborate the claim. Documentary proof beats recollection in every instance.

Evidence checklist for a habitability defense
What You Need to Prove Evidence to Gather
The conditions existed Dated photographs and video; code-enforcement inspection reports and citations; testimony from you, household members, neighbors, or repair technicians
The conditions violate code The applicable housing code, certified as a true copy by the city or county clerk or by the publisher before it is offered into evidence
The landlord had notice Certified mail receipts; dated letters, texts, and e-mails; maintenance request records; the inspector's notice to the landlord
The landlord failed to repair Follow-up complaints; reinspection reports; absence of any work order or invoice; your own contemporaneous log
The breach was substantial Evidence of the effect on health and safety; the duration of the conditions; medical records where illness resulted
The reduced rental value Comparable rents for habitable units; the proportion of the unit rendered unusable; the length of each service interruption

Code-enforcement records are public and may be obtained from the local agency office or its website. Because they are official records, they are admissible notwithstanding their hearsay character. Evidence Code section 1280. If the inspector would make a favorable witness, serve a subpoena to testify and a subpoena duces tecum for the records as far ahead of trial as possible.

If the defects still exist at the time of trial, the judge may personally view the premises, or may order the jury to do so. Code of Civil Procedure section 651. Few things impress a finder of fact more than seeing the condition firsthand.

Once a habitability defense is properly pleaded, the trial court must permit the tenant to introduce evidence of the breach and may not confine the tenant to an offer of proof. Espinoza v. Calva, 169 Cal.App.4th 1393.

What Other Habitability-Based Defenses Does California Law Provide?

The implied warranty is one of several. A tenant may also rely on the rent-collection bar of Civil Code section 1942.4, on retaliation under Civil Code section 1942.5, on a landlord's express promise to repair, and — since January 1, 2026 — on two new disaster-related statutes.

What Is the Civil Code Section 1942.4 Defense?

Civil Code section 1942.4 forbids a landlord from demanding or collecting rent where a code-enforcement agency has cited the property, the landlord has failed to correct the conditions within 35 days, and the other statutory criteria are met.

The distinction from the implied warranty matters at judgment. Where a tenant defends successfully under section 1942.4, the reasonable-rental-value calculation of section 1174.2 presumably applies only to the period before the 35-day correction window expired — because after that point the landlord may not demand or collect any rent at all. A prevailing tenant is also entitled to reasonable attorney's fees and costs under CCP section 1174.21.

What Do the New 2026 Disaster Statutes Provide?

Effective January 1, 2026, Civil Code section 1941.8 imposes a duty on landlords to remove disaster debris or mitigate disaster hazards, and section 1941.9 discharges the obligation to pay rent during a mandatory evacuation order.

  • Disaster debris. Until a local public health agency declares that debris from a disaster contains no toxic substances, the presence of that debris at the rental unit is presumed to render the unit untenantable under Civil Code section 1941. The tenancy remains in effect, and the tenant has the right to return at the same rental rate as soon as it is safe and practicable to do so.
  • Mandatory evacuation. For any period during which a tenant cannot occupy the unit because of a mandatory evacuation order, the obligation to pay rent is discharged, and prepaid rent must be returned within 10 calendar days after the order is lifted. Parallel language applies to mobilehomes under Civil Code section 798.64.

A tenant may therefore plead a landlord's failure to comply with either statute where the landlord demands rent without removing or mitigating disaster damage, or demands rent for a period covered by a mandatory evacuation order. Given the wildfire history of Los Angeles, Riverside, San Bernardino, and San Diego Counties, these provisions are likely to see frequent use.

Does Being "Red-Tagged" End My Tenancy?

No. The red-tagging of a property by a code-enforcement agency does not terminate the tenancy. Erlach v. Sierra Asset Servicing, LLC (2014) 226 Cal.App.4th 1281, 1295. The lease survives, and the tenant's right to return after repairs remains intact even where the unit cannot presently be occupied.

Are There Local Programs in Los Angeles That Help Prove My Case?

Yes. The City of Los Angeles operates two administrative programs — the Rent Escrow Account Program (REAP) and the Urgent Repair Program (URP) — that generate official records of substandard conditions. Placement in either program is powerful evidence in an unlawful detainer defense.

Under Los Angeles Municipal Code sections 162.03 through 162.13, the city's housing department may place a private residential rental property into REAP when a landlord fails to repair health, safety, or habitability violations. Once a property is in REAP, tenants pay a reduced rent calculated by the department according to the severity of the violations, and may pay that reduced rent either to the landlord or into a department-maintained escrow account. Funds in escrow may then be applied toward repairs. The program provides for an award of attorney's fees to the prevailing party.

The Urgent Repair Program exists to alleviate substandard conditions in the city's worst properties. It does not bring a building up to code; it addresses uninhabitable conditions identified under Civil Code section 1941.1 and the municipal fire code.

A tenant facing eviction anywhere in the City of Los Angeles should determine whether the property is subject to REAP or URP. Records generated through either process are key evidence, and it is arguable that a property placed in REAP or URP violates the implied or statutory warranty of habitability as a matter of course. Placement in the program may also support a separate retaliation defense where the eviction followed the tenant's complaint.

Can I Sue My Landlord Instead of Only Defending?

Yes. Breach of the implied warranty of habitability supports an affirmative lawsuit for damages, independent of any eviction case. A tenant may pursue contract damages measured by the difference between rent paid and the unit's actual rental value while it was unfit, and may add tort claims where the facts support them.

The doctrine may be used in three distinct ways: as a defense to an unlawful detainer (Green v. Superior Court); as the basis of a declaratory judgment action (Hinson v. Delis); and as the basis of an affirmative suit for contract or tort damages (Stoiber v. Honeychuck (1980) 101 Cal.App.3d 903). The Los Angeles Superior Court appellate department has also allowed an affirmative claim for retroactive rent abatement. Quevedo v. Braga (1977) 72 Cal.App.3d Supp. 1.

Potential tort causes of action arising from uninhabitable conditions include private nuisance, negligence per se, intentional or negligent infliction of emotional distress, and, in some circumstances, liability for the criminal acts of third parties.

Protect your claims when you settle

If you settle the unlawful detainer separately, make certain the settlement does not contain a general release with a Civil Code section 1542 waiver of all known and unknown claims. Such a release can extinguish your habitability damages claim entirely. The better practice is to include language expressly reserving your rights and claims against the landlord. Where the settlement is silent, a stipulated judgment generally will not bar a later affirmative suit. Landeros v. Pankey (1995) 39 Cal.App.4th 1167, 1170–1171.

Tenant Eviction Defense prepares and files responsive pleadings in unlawful detainer actions. We do not file affirmative lawsuits. If your circumstances suggest an affirmative claim, we can explain how the two proceedings relate so that you can decide how to proceed.

Which Southern California Counties Does This Guide Cover?

The implied warranty of habitability is a matter of California statewide law and applies in every county. Tenant Eviction Defense prepares and electronically files responsive pleadings for tenants named as defendants in unlawful detainer actions in five Southern California counties.

Service area
County Local Habitability Considerations
Orange County Form FW-003 required alongside a fee-waiver request; municipal code enforcement varies substantially by city
Los Angeles County REAP and URP records available within the City of Los Angeles; numerous municipalities maintain independent rent-stabilization and habitability ordinances
Riverside County Wildfire-related disaster provisions of Civil Code sections 1941.8 and 1941.9 of particular relevance
San Bernardino County Form FW-003 required alongside a fee-waiver request; extreme summer heat makes cooling and ventilation defects consequential
San Diego County Form FW-003 required alongside a fee-waiver request; coastal moisture intrusion and mold claims common

Detailed procedural guidance for each county appears on our Eviction Defense Resources by County page.

Frequently Asked Questions About the Warranty of Habitability

Can I stop paying rent in California if my landlord will not make repairs?

You may withhold rent where the landlord has substantially breached the implied warranty of habitability, but doing so exposes you to an unlawful detainer action in which you must prove the breach. If you prevail, the court reduces the rent to the unit's reasonable rental value in its defective condition and denies the landlord possession — conditioned on your paying that reduced amount within five days of judgment. Withholding rent without documented defects and documented notice to the landlord is a serious risk.

What is the difference between the implied warranty of habitability and repair-and-deduct?

Repair-and-deduct is a limited statutory self-help remedy under Civil Code section 1942: you pay for a repair yourself and subtract the cost from rent, capped at one month's rent and usable twice in any twelve-month period. The implied warranty of habitability is a broader common-law doctrine that operates as a defense in court. Green v. Superior Court held expressly that the repair-and-deduct statutes are not the tenant's exclusive remedy.

Does the habitability defense work if my landlord is evicting me with a 60-day notice?

Generally it will not defeat possession. The implied warranty operates as a condition precedent to the duty to pay rent, so it is strongest against a three-day notice to pay rent or quit. Against a no-fault 30-day or 60-day termination, evidence of breach may still reduce the holdover damages the landlord recovers, and other defenses — just cause, retaliation, or a defect in the notice — are usually stronger.

How long does a California landlord have to fix a habitability problem?

For the common-law implied warranty defense, a landlord who knows of uninhabitable conditions the tenant did not cause is not entitled to a "reasonable time" to repair. Knight v. Hallsthammar (1981) 29 Cal.3d 46. Statutory remedies are different: repair-and-deduct requires prior notice; the rent-collection bar of Civil Code section 1942.4 requires a code-enforcement citation and 35 days; and a failure to correct cited defects within 60 days creates a rebuttable presumption of breach under Civil Code section 1942.3.

Primary Sources for This Guide

Eviction Defense & Tenant's Rights Rapid Response Phone Line

(657) 510-6534

Monday through Friday, 8:30 a.m. to 6:00 p.m. All calls are confidential.