Under California Health and Safety Code Section 17920.3, a residential building is legally “substandard” when any condition on the statute’s list exists to a degree that endangers the life, limb, health, property, safety, or welfare of the occupants or the public.1California Legislative Information. California Health and Safety Code 17920.3 – Substandard Building One serious condition is enough. The law reaches any structure used for living, sleeping, cooking, or dining, whatever its zoning, and it drives both government enforcement against landlords and several strong remedies tenants can pursue on their own.
What Counts as Substandard
The threshold is severity, not quantity. A minor cosmetic defect won’t qualify; a single serious deficiency can. The designation can attach to the whole building, the land it sits on, an individual dwelling unit, a guestroom, or any portion of the structure, independent of the rest.1California Legislative Information. California Health and Safety Code 17920.3 – Substandard Building
One boundary worth knowing: a condition that would only fail current height, length, or width requirements for rooms or units does not by itself make a building substandard, unless the building was constructed or altered in violation of the standards that applied at the time.
The Conditions on the List
The statute groups substandard conditions into categories, and each category is written as inclusive rather than exhaustive.
Inadequate Sanitation
- No working toilet, tub or shower, lavatory, or kitchen sink in a dwelling unit
- No hot and cold running water to plumbing fixtures
- Inadequate heating
- Missing or broken ventilation, or insufficient natural light and ventilation
- Dampness in habitable rooms
- Visible mold growth, as identified by a health officer or code enforcement officer (minor mold on surfaces that naturally get wet with normal use is excluded)
- Insect, vermin, or rodent infestations confirmed by a health officer or qualified code enforcement officer2California Legislative Information. California Code HSC 17920.3 – Substandard Buildings
Structural Hazards
Deteriorated or inadequate foundations, defective flooring or floor supports, and floors too weak to bear their loads all qualify. So do walls, partitions, or vertical supports that split, lean, or buckle, and sagging or deteriorated ceilings, roofs, or roof supports. Inadequate resistance to horizontal forces (the kind imposed by earthquakes or high winds) is its own listed condition.1California Legislative Information. California Health and Safety Code 17920.3 – Substandard Building
Defective Systems and Weather Protection
Defective wiring, plumbing, and mechanical equipment each independently trigger the designation. A narrow grandfather clause spares systems that met code at installation and have been kept in good, safe, working condition, though whether that’s still true is a judgment the inspector makes on site.
Faulty weather protection covers deteriorated or ineffective waterproofing of exterior walls, roofs, foundations, and floors, along with broken windows and doors and crumbling or loose plaster.2California Legislative Information. California Code HSC 17920.3 – Substandard Buildings
Fire, Safety, and Catch-All Conditions
- Any condition that, in the fire chief’s opinion, could cause a fire or explosion or fuel its spread
- Inadequate exits (subject to a grandfather clause for buildings that met the law at construction and have been maintained and expanded as occupancy grew)
- Missing fire-resistive construction or fire suppression systems required by code, with a similar grandfather provision
- Accumulations of weeds, junk, dead organic matter, garbage, stagnant water, or combustible materials that create fire, health, or safety hazards
- Construction materials not allowed by code or not maintained safely
- A building deemed unsafe due to inadequate maintenance under the Uniform Building Code
- Space occupied for living, sleeping, cooking, or dining that was never designed or intended for those uses
- Any nuisance as defined under California law2California Legislative Information. California Code HSC 17920.3 – Substandard Buildings
What Happens After a Building Is Cited
Enforcement is local. City or county building departments respond to complaints, inspect, and decide whether any listed condition is present at a severity that endangers health or safety. When violations substantially endanger occupants, the agency can issue a repair-or-abate order under Section 17980.6.3California Legislative Information. California Health and Safety Code 17980.6 – Actions and Proceedings
The owner picks between repair and demolition, and the agency sets a reasonable schedule. State law favors keeping housing standing: the agency must prefer repair whenever it is economically feasible without rebuilding more than 75 percent of the dwelling, and must consider local housing needs. The agency cannot order a residential building vacated unless it simultaneously requires the owner to demolish or promptly repair it.4California Legislative Information. California Health and Safety Code 17980
If the owner misses deadlines, refuses to choose, or picks an option that cannot realistically be finished on time, the agency can take over the process, including ordering vacation and demolition.
The most serious escalation is receivership. When an owner fails to comply within a reasonable time with a Section 17980.6 order, the enforcement agency, a tenant, or a tenant association can petition the court to appoint a receiver over the property.5California Legislative Information. California Health and Safety Code 17980.7 Once in place, the receiver collects rent, manages the building, hires licensed contractors to do the work, and can borrow money for repairs secured by a court-approved lien on the property. The owner is barred from collecting rent, interfering, or transferring or encumbering the building. Civil penalties and daily fines can accrue alongside, and agencies often recover their administrative costs.
What Tenants Can Do
Tenants don’t have to wait for code enforcement. Two remedies stand on their own.
Repair and Deduct
If the landlord fails within a reasonable time after written or oral notice to fix conditions that make the premises uninhabitable, the tenant can hire someone to do the repairs and deduct the cost from rent. The deducted amount cannot exceed one month’s rent, and the remedy is available at most twice in any 12-month period.6California Legislative Information. California Code CIV 1942 Waiting 30 days after notice is presumed reasonable; a shorter wait may be justified when the circumstances demand it. A tenant can instead simply vacate and stop paying rent as of the move-out date. Neither option is available to a tenant who caused the problem.
Rent Blocked, Damages Available
Civil Code Section 1942.4 works directly off HSC 17920.3. A landlord may not demand or collect rent, raise the rent, or serve a three-day pay-or-quit notice when all of the following are true:7California Legislative Information. California Civil Code 1942.4
- The dwelling is substandard under HSC 17920.3, or substantially lacks the habitability standards in Civil Code 1941.1
- A code enforcement officer has inspected and notified the landlord in writing to fix the conditions
- At least 35 days have passed since that written notice without correction, and the delay is without good cause
- The tenant did not cause the conditions
A landlord who breaks this rule owes actual damages plus special damages of $100 to $5,000. The prevailing party recovers attorney’s fees. The court can order repairs and keep jurisdiction to make sure they happen. Claims small enough for small claims court can be brought there.
Protection From Retaliation
Reporting a substandard condition triggers a shield. For 180 days after a tenant complains to code enforcement, reports habitability issues to the landlord, or files a habitability-related legal proceeding, the landlord cannot evict, raise the rent, or cut services. The clock restarts from whichever triggering event happened most recently.8California Legislative Information. California Civil Code 1942.5
Threatening to report a tenant or their associates to immigration authorities counts as prohibited retaliation. So does retaliating against a tenant for taking part in a tenants’ association or exercising any legal right. A tenant may invoke the formal presumption of retaliation once per 12-month period, but the underlying ban on retaliatory conduct is not limited that way.
Relocation Money If You’re Displaced
When repairs make a unit unsafe to occupy, the owner (or the receiver, if one has been appointed) must pay the tenant relocation benefits in two parts.5California Legislative Information. California Health and Safety Code 17980.7
The first part covers actual moving costs: transportation of personal property to a nearby location, packing and unpacking, insurance in transit, replacement of property lost or damaged during the move when insurance isn’t available, and reconnection of utilities and equipment. The second part is relocation compensation equal to the difference between the tenant’s current rent and the HUD fair market rent for a comparable unit in the area, for the duration of repairs, up to 120 days.
A tenant who substantially caused or contributed to the substandard conditions doesn’t get these benefits. Local ordinances that provide more generous relocation assistance are not preempted.
Lead-Safe Rules for Pre-1978 Buildings
Many buildings cited under HSC 17920.3 predate 1978 and may contain lead-based paint. When repair work will disturb painted surfaces in those buildings, the EPA’s Renovation, Repair, and Painting (RRP) Rule applies: the firm must be EPA-certified, workers must be trained in lead-safe practices, and the work area must be contained to keep dust and debris from spreading.9U.S. Environmental Protection Agency (EPA). Renovation, Repair and Painting Program: Work Practices Open-flame burning and uncontrolled power tool use on lead paint are prohibited. Cleanup and a verification procedure are required at the end of the job, and firms must keep training, testing, and pre-renovation disclosure records for three years. Skipping these steps creates health risk for occupants and separate legal exposure for the landlord and contractor on top of the underlying substandard-housing case.