US-California

Is my landlord required to keep my apartment habitable in California?

Civil Code § 19
Governing statute
30 days
Typical repair window
Withhold rent
Tenant remedy
Repair & deduct
Allowed remedy
The Short Answer

Yes, your landlord is legally required to keep your apartment habitable in California under the implied warranty of habitability.

What the Law Says

California law imposes a legal duty on landlords to keep rental units fit for human occupation — known as the 'implied warranty of habitability.' This duty applies automatically to all residential leases, even if not written into the lease agreement.

Under California Civil Code § 1941, a landlord must keep a dwelling unit in a condition that substantially complies with state and local building and health codes that materially affect tenants’ health and safety.

The law lists specific conditions that make a unit uninhabitable if they exist and are not promptly fixed — including lack of effective waterproofing, nonfunctioning plumbing or gas, broken heating, electrical hazards, infestations, and structural defects.

Importantly, this warranty cannot be waived by lease language — any clause attempting to waive it is void under Civil Code § 1942.1.

Statutory Text

The lessor of a dwelling unit is under a duty to keep the premises in a habitable condition.

Civil Code § 1941 — Duty to keep premises habitable
Statutory Text

A dwelling unit is untenantable if it substantially lacks any of the following: (a) Effective waterproofing and weather protection… (b) Plumbing and gas facilities… (c) Heating facilities… (d) Electrical lighting… (e) Clean and sanitary buildings… (f) Working elevators… (g) Adequate trash receptacles… (h) Floors, stairways, and railings maintained in good repair.

Civil Code § 1941.1 — Conditions making dwelling untenantable

What Courts Have Said

California courts have consistently reinforced the strength and scope of the implied warranty of habitability, emphasizing tenant protections and limiting landlord defenses.

Green v. Superior Court
California Supreme Court · 1974

Established the implied warranty of habitability as a matter of public policy, holding it cannot be waived and applies to all residential leases regardless of lease terms.

Barela v. Superior Court
California Supreme Court · 1981

Confirmed that tenants may withhold rent when habitability breaches are substantial and landlord fails to act after proper notice.

What to Do

1

Document the problem (photos, videos, dates, and descriptions).

2

Give written notice to your landlord describing the issue and requesting repairs — keep a copy.

3

Allow a reasonable time (usually 30 days, or less for urgent issues like no heat in winter).

4

If unaddressed, you may legally withhold rent, repair and deduct (up to one month’s rent), or move out without penalty — consult a lawyer before acting.

5

For serious or repeated violations, contact your local code enforcement agency or file in Small Claims Court.

Sources

Not legal advice. This article is general information based on publicly available sources, written for educational purposes. Laws change and individual situations vary. Consult a licensed attorney in your jurisdiction before acting on anything you read here. Last reviewed: 2026-06-08.