A landlord cannot collect full rent on a unit that does not meet the legal standard for human habitation. If your unit has serious defects, failing plumbing, no heat, water intrusion, mold, infestation, broken appliances, electrical hazards, structural problems, the rent you actually owe is the rent reduced by the diminution in value those defects caused.
This is not a moral argument. It is California law. Civil Code §§ 1941.1, 1941.2, and 1942.4 set the habitability standard. Green v. Superior Court (1974) 10 Cal.3d 616 made the implied warranty of habitability a complete defense in unlawful detainer. Hyatt v. Tedesco (2002) 96 Cal.App.4th Supp. 62 cleaned up how the offset is calculated.
If the habitability offset reduces the alleged rent delinquency to zero, the eviction fails. We only represent tenants. We have run this defense often, when the evidence is there, it wins.
Quick Answer
California Civil Code §§ 1941.1 and 1942.4 require landlords to maintain rental units to specific habitability standards. When they fail, the tenant can offset rent owed by the diminution in value caused by the defects (Green v. Superior Court (1974) 10 Cal.3d 616). In an unlawful detainer for nonpayment, if the offset reduces the alleged delinquency to zero, the case fails. The tenant must document defects, give notice, and assert the defense in the Answer.
Key Takeaways
- Civil Code § 1941.1 lists the specific habitability standards landlords must meet (effective plumbing, heating, sanitation, etc.).
- Civil Code § 1942.4 prohibits a landlord from demanding rent on a unit cited by a code enforcement agency where defects remain unrepaired for 35+ days.
- The implied warranty of habitability is a complete affirmative defense to nonpayment unlawful detainer (Green v. Superior Court).
- Damages are calculated by the diminution in value, what the unit was worth with the defect vs. what it would have been worth without.
- Tenant must have given the landlord notice and a reasonable opportunity to repair before relying on the defense.
- Photographs, repair-request texts/emails, code-enforcement complaints, and contractor estimates are the core evidence.
- For LA City rentals, the LA Housing Department (LAHD) investigates habitability complaints and issues Substandard Order notices that are persuasive evidence.
- A landlord cannot retaliate against a tenant for asserting habitability (CC § 1942.5).
What “habitable” means under California law
Civil Code § 1941.1 lists the conditions a residential unit must meet to be habitable. Failure of any one of the following is a violation:
- Effective waterproofing and weather protection of roof and exterior walls, including unbroken windows and doors.
- Plumbing facilities in good working order, connected to an approved sewage disposal system.
- A water supply approved under applicable law, capable of producing hot and cold running water.
- Heating facilities in good working order.
- Electrical lighting, wiring, and equipment in good working order.
- Building, grounds, and appurtenances kept clean and free of debris, garbage, rodents, and vermin.
- Adequate garbage receptacles in good repair.
- Floors, stairways, and railings in good repair.
- A working deadbolt on each main swinging entry door and locking devices on all windows.
The most common winning fact patterns
- Mold and water intrusion. Visible mold, recurring leaks, water-stained ceilings, peeling paint above plumbing, particularly with documented respiratory issues.
- Heat failure. Especially during cold months (LA Municipal Code § 91.1208 requires heating capacity).
- Pest infestation. Roaches, bedbugs, rats. Photos + pest control records carry the day.
- Plumbing failures. Persistent backups, low water pressure, no hot water, sewage smell.
- Electrical hazards. Exposed wiring, repeated breaker trips, outlets that spark, no GFCI in wet areas.
- Structural issues. Sagging floors, cracked walls, doors that don’t close, broken windows.
- Security failures. Broken locks, broken exterior doors, broken gate.
The notice requirement, and the 35-day rule (CC § 1942.4)
The tenant must have given the landlord notice of the defect and a reasonable opportunity to repair. Written notice is the rule, texts, emails, and certified-mail letters all count. Verbal notice is hard to prove. Knight v. Hallsthammar (1981) 29 Cal.3d 46 holds the landlord is on notice once the condition is reported.
If a code enforcement agency has cited the property and the defect remains unrepaired 35+ days after the citation, CC § 1942.4 bars the landlord from collecting any rent during the noncompliance period, and authorizes the tenant’s attorney fees on top.
How the offset is calculated
California courts use the diminution-in-value method (sometimes called the “percentage diminution” approach). The fact-finder determines:
- What was the fair rental value of the unit AS WARRANTED (without the defects)?
- What was the fair rental value AS IS (with the defects)?
- The difference, multiplied by the months the defect existed, is the offset.
Common ranges courts and juries award: 10-25% diminution for moderate problems (no hot water, single broken appliance); 25-50% for serious chronic problems (mold, infestation, partial unit loss of use); 50-100% for fully uninhabitable conditions (no heat in winter, sewage backups, structural unsafe).
Evidence checklist
- Photographs and videos with date stamps (camera roll metadata is admissible).
- Written repair requests, texts, emails, certified mail.
- LA Housing Department (LAHD) complaint history and any Substandard Order Notices.
- LA County Health Department complaints (mold, vermin, water issues).
- Contractor estimates or repair quotes.
- Medical records (respiratory issues consistent with mold, lead exposure for kids).
- Witness statements from neighbors, repair workers, prior tenants.
- Rent ledger showing the period the defect existed.
The LA City advantage, LAHD
For LA City rentals, complaints to the Housing Department trigger inspections. An Order to Comply or a Substandard Order Notice is powerful evidence, it is a government-issued finding that the unit failed code. LARSO units carry the additional registration requirement, lapsed registration combined with habitability violations is a strong defense combination.
What to do right now
- Photograph and video every defect. Date-stamped, multiple angles.
- Send a written repair request to the landlord (text or email is fine). Save the message and any response.
- File a complaint with LAHD (LA City) or the appropriate county/city housing agency. Get the complaint number.
- If you have already paid full rent despite the defects, that does not waive the defense, you can still seek a refund and offset.
- If you have received an eviction notice for nonpayment, the habitability defense gets pleaded in your Answer (Item 3a on Form UD-105).
Related pages
- Eviction Defense overview
- 3-Day Notice to Pay or Quit
- Retaliatory Eviction Defense
- How to Answer (UD-105)
- Disability & Reasonable Accommodation
- Looking for a Los Angeles eviction defense attorney? Our main tenant defense page covers the full eviction defense playbook.
- Eviction Defense Information Hub: comprehensive topic index for California tenants.
- What Happens After You File Your Answer
- How Long Does an Eviction Case Take in LA
- Neighborhood guides: Santa Monica, West Hollywood, Long Beach, Hollywood, Downtown LA
Frequently asked questions
What counts as uninhabitable under California law?
Civil Code § 1941.1. A unit fails when it lacks effective waterproofing, plumbing, heating, hot or cold water, electrical lighting, working appliances, structural integrity, or has substantial vermin, mold, or unsafe conditions.
Do I have to give the landlord a chance to fix the problems?
Yes. The landlord must have received notice of the condition and had a reasonable opportunity to repair. Written notice is the strongest evidence.
How do I document habitability problems?
Photos and video with timestamps. Written communications with the landlord. Code enforcement complaints and inspection reports. Witness statements. Medical records if conditions caused illness.
Can I withhold rent?
Yes, but with care. California allows rent withholding when conditions render the unit unfit. The withheld rent should be deposited in a separate account, not spent. Improper withholding can be used against you.
What is the rent rebate calculation?
The court calculates the diminished value of the unit based on severity and duration of defects. Tenants can recover the difference between rent paid and the actual rental value, often 30 to 60 percent depending on conditions.