California’s implied warranty of habitability is a legal guarantee built into every residential lease in the state, whether the lease mentions it or not. Your landlord must keep the rental safe and fit to live in for the entire tenancy, and no clause in the lease, including “as-is” language, can waive that duty.1California Department of Justice. Know Your Rights as a California Tenant The warranty applies to apartments, single-family rentals, and other residential dwellings, and it gives you concrete remedies when the landlord falls short.
What Your Landlord Must Provide
California Civil Code Section 1941.1 sets the baseline. A unit that “substantially lacks” any of the listed features is legally untenantable.2California Legislative Information. California Civil Code 1941.1 The required features are:
- Effective weatherproofing of the roof, exterior walls, windows, and doors.
- Plumbing and gas systems that work and met code when installed.
- Hot and cold running water connected to approved sewage disposal.
- A working heating system that meets applicable codes.
- Electrical wiring, lighting, and equipment in working order and up to the code that applied at installation.
- Clean, sanitary building and grounds, free of debris, rodents, and insect infestations.
- Adequate garbage and recycling receptacles in good condition.
- Floors, stairs, and railings kept in good repair.
For leases entered into, amended, or extended on or after January 1, 2026, the law adds two more: a working stove capable of safely generating heat for cooking, and a working refrigerator capable of safely storing food. An appliance under a manufacturer or government recall doesn’t count. The tenant and landlord can agree in writing that the tenant will supply their own refrigerator, but only if the specific conditions in the statute are met.2California Legislative Information. California Civil Code 1941.1
Security hardware sits in a separate statute but belongs to the same baseline. Under Civil Code Section 1941.3, every main swinging entry door needs a working deadbolt with a bolt that extends at least 13/16 of an inch beyond the door’s edge. Older half-inch deadbolts are grandfathered until they need repair or replacement. Windows designed to open must have working locks, with narrow exceptions for louvered and casement windows and for windows well above ground level.3California Legislative Information. California Code Civil Code CIV 1941.3 Carbon monoxide detectors are required in units with fossil-fuel appliances, attached garages, or fireplaces, and in each unit of multifamily buildings with a central fossil-fuel heating system.
Mold, Dampness, and Other Substandard Conditions
Section 1941.1 cross-references Health and Safety Code Section 17920.3, which defines “substandard” more broadly. If a condition endangers the health or safety of occupants, the landlord has to fix it.4California Legislative Information. California Health and Safety Code 17920.3 The conditions that catch tenants off guard:
- Visible mold growth beyond the minor accumulation you’d expect on shower tile. A health officer or code enforcement officer makes the call on whether it’s significant.
- Persistent dampness in bedrooms, living rooms, or other habitable spaces.
- Inadequate ventilation or natural light.
- Structural hazards: deteriorated foundations, defective flooring, walls that buckle or lean.
- Faulty wiring that creates a fire hazard, or plumbing that causes unsanitary conditions.
There is no federal mold standard, but the EPA recommends drying water-damaged areas within 24 to 48 hours.5US EPA. A Brief Guide to Mold, Moisture and Your Home If a leak is spreading mold and the landlord hasn’t acted, document it with photos the day you notice it. Delay weakens the claim.
What You Have To Do as a Tenant
The warranty runs both ways. Civil Code Section 1941.2 requires you to:
- Keep your part of the unit as clean and sanitary as its condition allows.
- Dispose of trash and garbage properly.
- Use electrical, gas, and plumbing fixtures correctly and keep them clean.
- Avoid damaging or removing any part of the structure, equipment, or fixtures.
- Use each room for its intended purpose.
If your own neglect or misuse caused the problem, the landlord’s duty to fix it may be excused.2California Legislative Information. California Civil Code 1941.1 A drain clogged with improper materials is the classic example. The same photos that prove a violation can also show whether tenant conduct contributed, so your documentation needs to be honest.
Giving the Landlord Notice
Before you can use any remedy, you have to tell the landlord about the problem. The statute accepts oral or written notice, but written is what you want: a text, email, or letter describing the defect, where it is, and when you first noticed it.1California Department of Justice. Know Your Rights as a California Tenant Take photos and video at the same time. Save screenshots of texts and keep a log of phone calls with dates. If this ends up in front of a judge, you’ll be glad you did.
The landlord then has a reasonable time to act. Under Civil Code Section 1942(b), waiting at least 30 days after notice is presumed reasonable before you use the repair-and-deduct remedy.6California Legislative Information. California Code CIV 1942 It’s a rebuttable presumption. A complex repair might reasonably take longer; a broken heater in winter or a complete loss of water calls for far less. The California Department of Real Estate suggests one to two days may be reasonable for urgent heating failures when a repair person is available.7California Department of Real Estate. Landlords and Tenants Rights Guide
Repair and Deduct
If the landlord doesn’t act within a reasonable time, Civil Code Section 1942 lets you hire someone to fix the problem and deduct the cost from your next rent payment. The repair can’t exceed one month’s rent, and you can use this remedy no more than twice in any 12-month period.6California Legislative Information. California Code CIV 1942
Keep every receipt. When you deduct, send the landlord a written explanation with copies of the invoices. The statute doesn’t technically require that, but skipping it invites a nonpayment notice, and then you’re fighting about paperwork in court instead of habitability.
Withholding Rent
The California Supreme Court held in Green v. Superior Court that a landlord’s failure to maintain habitable conditions directly affects whether rent is owed, and that a tenant can raise the warranty as a defense against eviction for nonpayment.8Justia. Green v Superior Court The obligation to pay full rent is, in the court’s words, “necessarily diminished” when the landlord fails to deliver what the tenant is paying for.9vLex United States. Green v Superior Court
In practice, you reduce your rent by an amount that reflects the lost use of the unit. Set the withheld portion aside in a separate account to show good faith and prove you can pay if the court disagrees with your number. Courts generally measure damages by the gap between what the unit should rent for and what it’s worth in its defective state, and some use a “percentage reduction of use” approach keyed to how much the defect interfered with your ability to live there.10Stanford Law – Supreme Court of California Resources. Green v Superior Court There’s no formula. Your documentation drives the result, so withholding without strong evidence is one of the fastest ways to lose an eviction case.
Moving Out
When conditions are severe enough that the unit is genuinely unlivable, Section 1942 also lets you vacate and be “discharged from further payment of rent” as of your move-out date.6California Legislative Information. California Code CIV 1942 This is sometimes called constructive eviction, and it ends the lease without penalty.
The bar is high. Cosmetic problems don’t justify leaving. A sewage backup flooding the apartment or a roof collapse exposing living space to the weather likely would. If the landlord disputes your decision, you’ll need to prove in court that the conditions were truly untenantable, so preserve every photo, repair request, and non-response before you leave.
Statutory Damages After a Code Inspection
Civil Code Section 1942.4 adds a remedy that applies once a government inspector has gotten involved. If all four conditions below are met, the landlord cannot demand or collect rent, raise the rent, or serve a three-day pay-or-quit notice:11California Legislative Information. California Code CIV 1942.4
- The unit substantially lacks a Section 1941.1 habitability feature or qualifies as substandard under Section 17920.3.
- A public housing inspector has inspected the property and notified the landlord in writing of the obligation to repair.
- At least 35 days have passed since that written notice, and the landlord hasn’t corrected the conditions without good cause.
- The conditions weren’t caused by the tenant violating maintenance obligations.
A landlord who violates this section is liable for actual damages plus special damages between $100 and $5,000, and the court awards reasonable attorney’s fees and costs to the prevailing party.11California Legislative Information. California Code CIV 1942.4 It also strips the landlord of eviction leverage: no pay-or-quit notice can issue while the conditions sit uncorrected.
Reporting to Code Enforcement
Filing a complaint with your local code enforcement office, building department, or health department is one of the most effective moves available, and many tenants skip it. The city or county will send an inspector who can order the landlord to fix the violations.1California Department of Justice. Know Your Rights as a California Tenant If you don’t know which agency handles complaints where you live, dialing 211, or 311 in cities that offer it, will get you to the right office.
An inspection does more than pressure the landlord. It creates an official record of the violations, which becomes strong evidence if you later withhold rent, sue for damages, or defend an eviction. It also starts the 35-day clock under Section 1942.4. If an agency orders you out because the conditions are dangerous, ask about relocation assistance. Under Health and Safety Code Section 17975, the city or county may require the landlord to pay those costs.1California Department of Justice. Know Your Rights as a California Tenant
Protection Against Retaliation
Civil Code Section 1942.5 protects you from landlord retaliation for 180 days after you give repair notice, file a complaint with a government agency, or use the repair-and-deduct remedy. During that window the landlord cannot evict you, raise your rent, or cut services in response.12California Legislative Information. California Civil Code 1942.5 Each new protected act resets the 180 days.
Protection also covers organizing or participating in a tenants’ association, exercising any rights under the law, and filing court papers related to habitability. Threatening to report a tenant to immigration authorities is specifically identified as prohibited retaliatory conduct.12California Legislative Information. California Civil Code 1942.5
If the landlord retaliates, you can sue for actual damages plus punitive damages between $100 and $2,000 per retaliatory act when the landlord acted with fraud, oppression, or malice. The court must award attorney’s fees to the prevailing party if either side requests them at the start of the case. You can only invoke the anti-retaliation presumption once in a 12-month period, so if you’re in an ongoing dispute, think about which filing you want the presumption attached to.12California Legislative Information. California Civil Code 1942.5