Under California Health and Safety Code Section 17920.3, a building is “substandard” when it contains any of a specific list of conditions — sanitation failures, structural hazards, faulty weather protection, defective wiring or plumbing, fire hazards, or dangerous property conditions — to an extent that endangers the health, safety, or welfare of its occupants or the public. Once a local enforcement agency makes that finding, the owner is legally required to repair, rehabilitate, vacate, or demolish the building, and refusal opens the door to criminal penalties, denial of state tax deductions, court-appointed receivership, and a rent freeze that stops income from the property.1California Legislative Information. California Health and Safety Code 17920.3
The statute applies regardless of the building’s zoning or approved use. A single-family home, an apartment complex, and a hotel room are all covered by the same list of conditions.
What Counts as a Substandard Building Under Section 17920.3
The statute groups substandard conditions into several categories. A building only needs one qualifying condition, and only to the degree that it endangers occupants or the public, to be declared substandard.
Inadequate Sanitation
This is the broadest category. It covers missing or broken plumbing fixtures (no working toilet, sink, bathtub, or shower in a dwelling unit, or too few fixtures for hotel guests), no hot and cold running water to those fixtures, lack of adequate heating, insufficient ventilation, natural light, or electrical lighting, rooms that fall below required minimum sizes, dampness in habitable rooms, general neglect or poor maintenance, no connection to a required sewage system, and inadequate garbage storage or removal.1California Legislative Information. California Health and Safety Code 17920.3
Pest infestations and visible mold growth also fall in this category, but with a procedural condition. Both findings require a determination by a health officer or by a code enforcement officer who has completed specialized training in the relevant subject. The mold provision expressly excludes minor mold on surfaces designed to handle moisture during normal use, so a small amount of mold around a shower vent is not automatically a violation.
Structural Hazards
Deteriorated foundations, defective flooring or floor supports, and vertical supports (walls, partitions, columns) that split, lean, or buckle qualify as structural hazards. Damaged ceilings, roofs that cannot carry normal loads, and fireplaces or chimneys that have shifted or deteriorated are also on the list.
Faulty Weather Protection
This category captures anything in the building envelope that lets weather penetrate. Broken windows or doors, deteriorated exterior walls, and similar defects all count.
Defective Wiring, Plumbing, and Mechanical Equipment
Electrical wiring, plumbing systems, and mechanical equipment (including heating systems) support a substandard finding either if they didn’t meet code at the time of installation or if they haven’t been properly maintained since.
Fire Hazards and Dangerous Property Conditions
A building or its surrounding property can be declared substandard when the fire chief or deputy determines that conditions create a fire or explosion risk, or would fuel the spread of a fire. Accumulations of weeds, junk, dead organic matter, stagnant water, or combustible materials on the premises qualify as health, fire, or safety hazards under the statute.2California Legislative Information. California Health and Safety Code 17920.3
Lead Hazards Are Governed by a Separate Section
Lead is not on the 17920.3 list. Health and Safety Code Section 17920.10 treats lead hazards as a standalone code violation. A building violates that section when it contains deteriorated lead-based paint, lead-contaminated dust or soil, or evidence that someone disturbed lead-based paint without proper containment, provided the contamination meets or exceeds the thresholds in state regulations and is likely to endanger occupants or the public.3California Legislative Information. California Health and Safety Code 17920.10 Enforcement can proceed under Section 17920.10 even if the rest of the property is in reasonable condition, which matters most for older housing stock.
What Happens After a Building Is Declared Substandard
Once an enforcement agency inspects a building and finds it substandard, the statute says the agency “shall commence proceedings” to abate the violation through repair, rehabilitation, vacation, or demolition.4California Legislative Information. California Health and Safety Code 17980 This is framed as mandatory, not discretionary.
The typical starting point is a 30-day notice to abate the violation, though the agency can shorten that timeline when conditions pose an immediate threat to health or safety. The owner gets to choose between repairing the building and demolishing it. If the owner chooses repair, the agency sets a reasonable and feasible schedule for completing the work, and the statute directs agencies to favor repair over demolition whenever repair is economically feasible and would not require fixing more than 75 percent of the dwelling. The agency generally cannot force residents to vacate unless it simultaneously requires expeditious demolition or repair.
If the owner misses the deadline, refuses to choose, or picks an option that cannot realistically be finished in a reasonable period, the agency can step in directly. It can vacate the building, make repairs itself, order demolition, or initiate any other appropriate legal action. The agency can also record a lis pendens against the property, which clouds the title and effectively prevents a sale until the violations are cleared.
Criminal, Financial, and Property-Level Consequences
The penalty structure is layered, and the criminal fine is usually the smallest piece of it.
Misdemeanor Liability
Maintaining a substandard building is a misdemeanor. A person who violates the building standards or rules adopted under this part of the Health and Safety Code faces a fine of up to $1,000, up to six months in county jail, or both.5California Legislative Information. California Health and Safety Code 17995 These penalties can follow a court order obtained by the enforcement agency under Section 17980.7.6California Legislative Information. California Health and Safety Code 17980.7
Loss of State Tax Deductions
Revenue and Taxation Code Section 17274 denies owners of substandard housing the ability to deduct interest, property taxes, depreciation, or amortization for the property during the period of noncompliance. The disallowance begins on the date the regulatory agency records a notice of noncompliance and runs until the agency determines the property is back in compliance. If the noncompliance period does not cover a full tax year, deductions are denied at a rate of one-twelfth for each full month of violation.7California Legislative Information. California Revenue and Taxation Code 17274
The penalty follows the property, not just the owner. Anyone who acquires title after the notice of noncompliance is recorded also loses those deductions until the violations are cured. For a multi-unit rental, losing mortgage interest, property tax, and depreciation deductions for even a few months can absorb the entire cash flow from the building. A court can also order the tax deduction denial directly as part of an enforcement action under Section 17980.7.
Court-Appointed Receivership
When an owner ignores enforcement orders, a court can appoint a receiver to take over the property. The enforcement agency, individual tenants, or a tenant association can initiate the receivership.6California Legislative Information. California Health and Safety Code 17980.7 Before appointing anyone, the court must consider whether the owner had a reasonable opportunity to fix the cited violations, and the proposed receiver must show expertise in developing and carrying out both a financial plan and a construction plan. Nonprofits and community development corporations can serve as receivers and may apply for grants to help fund rehabilitation.
Once appointed, the receiver takes full control of the property, manages operations, pays operating expenses (taxes, insurance, debt service), obtains cost estimates from licensed contractors, and hires contractors to make repairs. The owner is simultaneously barred from collecting rent, interfering with the receiver’s work, or selling or encumbering the property. The receiver’s costs and fees are charged against the property and can become a lien that survives a change of ownership.
What Tenants Can Do
Tenants have independent tools that don’t depend on the enforcement agency acting first.
Every residential lease in California carries an implied warranty of habitability. Civil Code Section 1941.1 sets the minimum standards, and a dwelling is “untenantable” if it substantially lacks any of them: working plumbing, hot and cold running water, heating, electrical lighting, weatherproofing, sanitary conditions, or floors and stairways in good repair. A dwelling also qualifies as untenantable if it meets the definition of a substandard building under Section 17920.3 or has lead hazards under Section 17920.10.8California Legislative Information. California Civil Code 1941.1
After giving the landlord notice and waiting a reasonable time, a tenant can hire someone to make the repair and deduct the cost from future rent, as long as it doesn’t exceed one month’s rent. The tenant is presumed to have waited a reasonable time after 30 days. The remedy can be used up to twice in any 12-month period, and the tenant can instead choose to vacate and stop paying rent.9California Legislative Information. California Civil Code 1942
Civil Code Section 1942.4 is stronger. A landlord cannot demand or collect rent, issue a rent increase, or serve a three-day pay-or-quit notice when all four of the following are true: the dwelling substantially lacks Section 1941.1 habitability standards, violates the lead hazard provisions, or has been declared substandard under Section 17920.3; a housing enforcement officer has inspected and given the landlord written notice of the obligation to abate; at least 35 days have passed since that notice and the conditions remain unrepaired without good cause; and the tenant did not cause the conditions.10California Legislative Information. California Civil Code 1942.4 When those four conditions line up, the landlord is carrying the property with no legal right to collect rent until the building is fixed.
Defenses and Ways Owners Can Push Back
Owners facing a substandard designation have several angles.
The most effective defense is documented, active compliance. An owner who receives a notice and immediately begins repairs on a written schedule sits in a different legal position than one who ignores the notice. The statute itself requires enforcement agencies to set “a reasonable and feasible schedule for expeditious repair” rather than demand instant fixes, and agencies generally weigh good-faith repair efforts heavily.4California Legislative Information. California Health and Safety Code 17980
Owners can also challenge the inspection findings directly. If the cited conditions do not actually meet the statutory definitions in Section 17920.3, the building shouldn’t carry the designation. The mold carve-out is a clear example: minor mold on surfaces that accumulate moisture in normal use is excluded by the statute itself.
Against tenant remedies, the law provides built-in limits. Repair and deduct is unavailable if the tenant caused the condition through their own neglect or misuse.9California Legislative Information. California Civil Code 1942 The Section 1942.4 rent freeze similarly requires that the tenant did not cause the substandard conditions.10California Legislative Information. California Civil Code 1942.4 Evidence that the tenant damaged plumbing, created pest-attracting conditions, or otherwise produced the problem can defeat both remedies.
Direct negotiation with the enforcement agency often produces the best outcome. Agencies generally prefer compliance to punishment, and an owner who enters a voluntary compliance agreement with a realistic timeline may avoid criminal prosecution, receivership, and the tax deduction denial entirely. That option narrows sharply once a receiver petition is filed or a lis pendens is recorded, so the practical window for negotiation is early.