Key Takeaways
In a habitability defense eviction California case, the tenant claims the unit was not fit to live in. On that theory, the full rent was never owed. Civil Code 1941.1 lists the conditions that make a unit untenantable. Civil Code 1942.4 can bar a 3-day notice to pay rent or quit. Its key condition is a code officer's repair notice left unfixed 35 days without good cause. Under CCP 1174.2, a proven substantial breach lets the tenant stay by paying a reduced rent.
A habitability defense eviction California tenants raise can turn a simple nonpayment case into a trial about your building. The tenant doesn't deny the rent went unpaid. Instead, the tenant argues the full rent was never owed, because the unit fell below the legal minimum. This article explains what Civil Code 1941.1 and Civil Code 1942.4 require, how a court rules, and how Los Angeles County landlords should prepare.
Our firm has practiced landlord-tenant law for more than 20 years and represents only landlords and owners. Read more about our firm or our landlord defense work.
What Is the Habitability Defense in a California Eviction?
The habitability defense is a tenant's claim that the landlord breached the duty to keep a rental fit to live in, so the rent demanded was not fully owed. Civil Code 1941 imposes that duty on the lessor, and CCP 1174.2 tells the court how to rule when a tenant raises it in a nonpayment eviction.
Under Civil Code 1941, the lessor must make the building fit to live in and fix later decay that makes it unfit. However, damage the tenant must repair under Civil Code 1929 is the exception. The defense also rests on case law. In Green v. Superior Court (1974), the California Supreme Court held that a warranty of habitability is implied in residential leases. A breach may be raised in an unlawful detainer action. However, the warranty requires only that "bare living requirements" be maintained.
Tenants raise the defense on the Answer form. Specifically, the California Courts self-help guide on eviction defenses tells tenants to check box 3a on form UD-105. In effect, it shows what the other side will try to prove.
What Does Civil Code 1941.1 Require of a Rental Unit?
Civil Code 1941.1 treats a California rental as untenantable if it substantially lacks any item on the statute's list, such as weatherproofing, plumbing, hot water or heat. For instance, a tenant's attorney builds the defense from this list. Therefore, walk the unit against it before you file.
Under Civil Code 1941.1, subdivision (a), a unit must have:
- Effective waterproofing and weather protection of the roof and exterior walls, including unbroken windows and doors.
- Plumbing or gas facilities that met the law when installed, kept in good working order.
- An approved water supply with hot and cold running water, connected to an approved sewage system.
- Heating facilities that met the law when installed, kept in good working order.
- Electrical lighting, wiring and equipment that met the law when installed, kept in good working order.
- Building, grounds and areas under the landlord's control kept clean, sanitary, and free of debris, rubbish, garbage, rodents and vermin.
- An adequate number of appropriate garbage and rubbish receptacles.
- Floors, stairways and railings in good repair.
- A locking mail receptacle for each unit in a residential hotel.
The New Stove and Refrigerator Standards
Civil Code 1941.1 now adds two appliances. A unit needs a stove in good working order that can safely generate heat for cooking. It also needs a refrigerator in good working order that can safely store food. Both rules apply only to a lease entered into, amended or extended on or after January 1, 2026.
A recalled stove or fridge does not count. In fact, the landlord must repair or replace it within 30 days of receiving notice of the recall. On the other hand, a tenant may agree at signing to supply their own refrigerator, but only if the lease contains the statement the statute prescribes and lets the tenant switch back on 30 days' written notice. You also can't make it a condition of renting. Some housing types are exempt, such as single-room occupancy units. Check every kitchen.
How Can Civil Code 1942.4 Block a 3-Day Notice?
Civil Code 1942.4 bars a California landlord from demanding rent or serving a 3-day notice to pay rent or quit once four conditions exist. The key one is an inspector's written repair notice left unabated 35 days after mailing. The delay must also lack good cause.
Under Civil Code 1942.4, subdivision (a), the bar applies when:
- The dwelling substantially lacks a Civil Code 1941.1 standard, or falls within the other substandard-housing grounds the section lists.
- A public officer who enforces housing law inspected the premises. The officer then notified the landlord or the landlord's agent in writing to abate the nuisance or make repairs.
- The conditions still exist 35 days after service of that notice, and the delay is without good cause. Service is complete when the notice is deposited in the United States mail.
- The tenant did not cause the conditions in violation of Civil Code 1929 or 1941.2.
The exposure is real. For example, a landlord who violates the section owes actual damages plus special damages of not less than $100 and not more than $5,000. The prevailing party also recovers reasonable attorney's fees and costs. As a result, treat a code enforcement letter as a deadline. Count the 35 days from the mailing date, not from the day you opened the envelope.
How Do Courts Decide a Habitability Defense Eviction California Landlords Face?
Under CCP 1174.2, a California court hearing a residential nonpayment case decides whether the landlord committed a substantial breach. A substantial breach means a failure to comply with building and housing code standards that materially affect health and safety. In other words, cosmetic problems don't meet the test.
If the court finds a substantial breach, CCP 1174.2 directs it to set the reasonable rental value of the unit in its untenantable state to the date of trial. It then denies the landlord possession if the tenant pays that adjusted rent within a reasonable time, not exceeding five days from judgment, or longer under CCP 1013 if the judgment is served by mail. In addition, the rent stays at the reduced value until repairs are done. That isn't the end of the case, though. If the tenant fails to pay on time, the court must award possession to the landlord. Likewise, with no substantial breach, the landlord wins and is the prevailing party. So be ready to show the court that any defect was minor, or that you fixed it. Bring the repair log, the photos and the invoices to court, in date order.
The 60-Day Presumption in Civil Code 1942.3
Under Civil Code 1942.3, an unlawful detainer court presumes a breach of Civil Code 1941 in certain cases. Specifically, an inspector's written notice must have gone unabated 60 days without good cause, and the other conditions must be proven. That said, a tenant who can't prove every element can still pursue the defense.
| Question | Civil Code 1942.4 | Civil Code 1942.3 |
|---|---|---|
| Trigger after inspector's written notice | 35 days unabated, without good cause. | 60 days unabated, without good cause. |
| Effect | Landlord may not demand or collect rent, issue a rent increase notice, or serve a 3-day notice to pay rent or quit. | Rebuttable presumption that the landlord breached Civil Code 1941. |
| Money exposure | Actual damages plus $100 to $5,000 special damages, and prevailing-party fees. | None stated in the section. |
| Tenant-caused conditions | Excluded. | Excluded. |
When Does a Habitability Claim Fail?
A habitability claim fails when the tenant caused the problem. Therefore, under Civil Code 1941.2, no repair duty arises under Civil Code 1941 or 1942 if the tenant substantially violates listed duties. Notably, that violation must contribute substantially to the defect or interfere substantially with repairs. In particular, Civil Code 1941.2 lists the tenant's duties: keeping their part of the unit clean, disposing of garbage, using fixtures properly, and not damaging the unit. Similarly, Civil Code 1929 makes the tenant repair damage caused by a lack of ordinary care. From our work with San Fernando Valley landlords, we advise writing a short, dated note each time a tenant blocks entry or damages the unit. A note made at the time is easier to prove than a memory at trial.
Watch for a repair-and-deduct claim, too. Repair and deduct is a tenant remedy under Civil Code 1942. It lets a tenant make repairs costing no more than one month's rent and deduct the cost, after notice and a reasonable time to repair. In fact, acting after the 30th day following notice is presumed reasonable. However, the remedy is limited to twice in any 12-month period.
Can a Habitability Complaint Lead to a Retaliation Claim?
Yes. Civil Code 1942.5 bars a California landlord from retaliating against a tenant who complained about the unit's condition. Subdivision (a) blocks a retaliatory recovery of possession within 180 days of that complaint when the tenant is not in default on rent. For that reason, habitability and retaliation defenses often arrive together. Under Civil Code 1942.5, the 180 days run from the latest of several events, such as an agency complaint or an inspection. Even so, subdivision (g) lets a landlord proceed if the notice and pleading state the good-faith ground for the action. If the tenant disputes it, the landlord must prove that ground at trial. Before you serve any notice, write down your good-faith ground in one plain sentence. If you cannot, talk to counsel first.
How Should Landlords Prepare for a Habitability Defense?
A landlord prepares for a habitability defense by building the repair record before serving a 3-day notice to pay rent or quit under CCP 1161. Check for inspector notices under Civil Code 1942.4. Walk the unit against Civil Code 1941.1. Then collect dated repair records. In our experience, the repair file is where these cases are won or lost.
- Check for inspector notices. Search your mail and your property manager's files. If one exists, find the mailing date. Then confirm repairs were finished within 35 days, or document good cause for any delay.
- Walk the unit against Civil Code 1941.1. Include the stove and refrigerator for leases entered, amended or extended on or after January 1, 2026.
- Pull every repair request. Collect texts, emails, portal tickets and letters, with your responses, work orders and invoices.
- Photograph conditions. Keep date-stamped photos at move-in, at each repair, and before filing.
- Document tenant-caused damage. Note facts that fit Civil Code 1941.2 or 1929, such as blocked repair access.
- Check the retaliation calendar. List any complaints or inspections from the past 180 days.
For example, suppose a city inspector mails you a notice about a leaking roof, and the roofer can't start for six weeks. You'd want a written record of the bids and the delay. Why? Civil Code 1942.4 turns on good cause. Later, fact-check every date in the tenant's Answer against your file. An eviction attorney can review it before any notice goes out.
Frequently Asked Questions
Does a habitability defense mean the tenant pays no rent?
Not usually. If a court finds a substantial breach, CCP 1174.2 has it set the reasonable rental value of the unit in its untenantable state. The tenant keeps possession only by paying that adjusted rent within the court's deadline: no more than five days from judgment, plus the CCP 1013 extension if the judgment is served by mail.
What is the 35-day rule in Civil Code 1942.4?
Suppose a housing inspector notifies you in writing to repair substandard conditions. If they remain unabated 35 days after mailing without good cause, Civil Code 1942.4 bars you from demanding rent or serving a 3-day notice to pay rent or quit.
Can I evict if the tenant caused the damage?
Tenant-caused conditions are excluded. Specifically, Civil Code 1941.2 removes the repair duty when the tenant's substantial violation contributes substantially to the defect. Civil Code 1942.4 also excludes conditions caused in violation of Civil Code 1929 or 1941.2. You'll need evidence.
Do the new appliance rules apply to existing tenancies?
The stove and refrigerator standards in Civil Code 1941.1 apply only to a lease entered into, amended or extended on or after January 1, 2026. As a result, a renewal or amendment can bring an older tenancy under the new rules.
Bottom Line
This defense comes down to proof. Civil Code 1941.1 sets the standards, Civil Code 1942.4 can block your notice, and CCP 1174.2 can cut the rent. In our experience, landlords who check for inspector notices and document every repair are in the strongest position. See our full list of landlord services.
Has a tenant in Los Angeles County or the San Fernando Valley raised habitability? Or do you want your file reviewed before serving a notice? Call the Law Office of Richard Jacobs at (818) 538-6684 for a free consultation, or use our contact page.
This article is general information about California law, not legal advice for your situation. Statutes cited: Civil Code 1929, Civil Code 1941, Civil Code 1941.1, Civil Code 1941.2, Civil Code 1942, Civil Code 1942.3, Civil Code 1942.4, Civil Code 1942.5, CCP 1161, CCP 1174.2, CCP 1013.