California Code Enforcement: Fines, Liens, and Appeals

California code enforcement is how cities and counties make property owners comply with building, zoning, health, and safety rules. State statutes set the floor, local ordinances fill in the rest, and enforcement agencies can inspect properties, order repairs, and impose fines that start around $130 and climb to $2,500 per violation.1California Legislative Information. California Government Code 36900 If you received a notice, ignoring it is the mistake that turns a fixable problem into a lien on your title.

Where the Rules Come From

Two layers of law drive enforcement. At the state level, the Health and Safety Code and the California Building Standards Code set minimum construction, maintenance, and occupancy requirements.2California Department of General Services. California Building Standards Code Cities and counties then adopt their own ordinances on zoning, land use, nuisances, and property maintenance, which can go further than state law but cannot conflict with it.

Government Code Section 53069.4 lets any local agency make ordinance violations subject to administrative fines and set the procedures for imposing, collecting, and reviewing them.3California Legislative Information. California Government Code 53069.4 Government Code Section 36900 gives cities the separate power to prosecute ordinance violations as misdemeanors or infractions.1California Legislative Information. California Government Code 36900

What Gets Enforced

Most enforcement action falls into three categories.

Building and housing standards. Unpermitted construction, illegal room conversions, and dangerously deteriorated buildings sit here. California defines a “substandard building” as one with conditions that endanger the health, safety, or welfare of occupants or the public, a definition broad enough to cover faulty wiring, broken plumbing, missing smoke detectors, and inadequate ventilation.4California Legislative Information. California Health and Safety Code 17920.3 These get the fastest response because they directly threaten people.

Zoning and land use. Running a commercial business from a residential home, converting a garage into a rental unit without approval, or building past required setbacks. Short-term rental enforcement has grown as cities layer on registration and licensing rules.

Nuisances and property maintenance. Accumulated junk, overgrown vegetation, stored inoperable vehicles. This category produces the highest complaint volume, and while it feels low-stakes, unresolved nuisances lead to the same escalation path as everything else.

What Happens After a Complaint

Agencies triage by severity. Exposed wiring, raw sewage, or structural collapse risk jumps the line. An unpermitted fence might wait weeks.

A code enforcement officer inspects to confirm the violation. If one exists, the agency issues a Notice of Violation identifying the specific code section and setting a correction deadline. The goal at this stage is voluntary compliance, not revenue, and most owners resolve the issue during this window without paying anything.

When the deadline passes, enforcement escalates. The agency can issue an administrative citation with financial penalties, issue a formal abatement order, or for serious building violations begin proceedings under Health and Safety Code Section 17980, which requires at least 30 days’ notice before the agency can seek court orders to compel repair, vacancy, or demolition.5California Legislative Information. California Health and Safety Code 17980 The owner picks between repair and demolition, but if neither happens on schedule the agency can force the outcome.

Fine Amounts and How They Escalate

Penalty size depends on whether the violation is charged as an infraction, prosecuted as a misdemeanor, or handled through administrative fines.

Infractions

City ordinance violations default to misdemeanors, but most cities reclassify routine violations as infractions. For building and safety code infractions, fines increase with repeat offenses of the same ordinance:

  • First violation: up to $130
  • Second violation within one year: up to $700
  • Third or additional violation within one year: up to $1,300
  • Commercial property refuse or unauthorized use violations: up to $2,500 for additional violations within two years

For infractions outside the building and safety category, the tiers are $100, $200, and $500.1California Legislative Information. California Government Code 36900

Misdemeanors

When a city hasn’t reclassified a violation, or the conduct is serious, the city can prosecute it criminally. A misdemeanor conviction under Section 36900 can carry up to six months in county jail and a fine of up to $1,000.1California Legislative Information. California Government Code 36900 Criminal prosecution is rare for routine violations but sits in the toolkit for flagrantly noncompliant owners.

Administrative Fines

Separately, local agencies impose administrative fines under Government Code Section 53069.4. Local ordinance sets the amounts, but for conduct that would qualify as an infraction, the fines cannot exceed the infraction caps above.3California Legislative Information. California Government Code 53069.4 For misdemeanor-level conduct, some jurisdictions impose daily penalties that accumulate into thousands of dollars quickly.

When It Becomes a Lien on Your Property

If an owner ignores an abatement order and the city cleans up the nuisance itself, the city can recover its costs by recording a nuisance abatement lien. Under Government Code Section 38773.1, the lien is recorded with the county recorder and has the same force and priority as a judgment lien from the date it’s recorded.6California Legislative Information. California Government Code 38773.1

The lien must list the amount owed, the property address and assessor’s parcel number, and the date of the abatement order. The city must serve notice on the owner before recording it, and can foreclose through a court action if the debt goes unpaid. A lien clouds title, which usually blocks a sale or refinance until it’s resolved. This is the point where a code enforcement matter stops being a nuisance and starts costing real money.

Can a Code Officer Enter Your Property

Not without consent or a warrant. If you refuse access, the officer can apply for an inspection warrant under Code of Civil Procedure Sections 1822.50 through 1822.60. The warrant needs a sworn statement describing the property, the purpose of the inspection, and either that consent was sought and refused or that the situation justifies skipping the request.7Justia. California Code of Civil Procedure 1822.50 Through 1822.60

The standard is lower than for a criminal search warrant. A judge can issue one when routine inspection standards apply to the area or when there is reason to believe a violation exists. Inspections under a warrant can’t happen between 6:00 p.m. and 8:00 a.m. unless the judge specifically authorizes it, and the warrant expires after 14 days. Forcible entry requires an additional showing that the suspected violation poses an immediate threat. Refusing an inspection rarely makes a case go away; it usually just delays it by a few days.

How to Appeal a Citation

You have two levels of appeal: an administrative hearing, then superior court.

Administrative Hearing

The first level is a hearing before a neutral officer. Deadlines and procedures come from each local agency’s ordinance rather than state law, so timelines vary, though most require a written request within 10 to 30 days of the citation. Many ordinances require you to deposit the full fine before the hearing. Some jurisdictions offer a hardship waiver for appellants who can’t afford the deposit, but that’s a local policy, not a statewide guarantee. Check your specific city or county ordinance.

Both sides present evidence at the hearing. The officer either upholds or overturns the citation. If overturned, any deposit is refunded. If upheld, the decision becomes final, and the clock starts on the next appeal.

Superior Court

Government Code Section 53069.4 gives you 20 calendar days from the date the final order is served to appeal to superior court. The court hears the case de novo, reviewing the evidence independently rather than checking the agency’s procedures. The agency’s file is admitted as evidence, and the citation itself acts as preliminary proof of the facts it describes.3California Legislative Information. California Government Code 53069.4

You pay a filing fee regardless of outcome, but the agency must reimburse you if you win. If you miss the 20-day window, the administrative order is confirmed automatically and becomes final.3California Legislative Information. California Government Code 53069.4 For decisions not covered by Section 53069.4, you may instead file a petition for a writ of mandate under Code of Civil Procedure Section 1094.6, which allows up to 90 days after the decision becomes final.8California Legislative Information. California Code of Civil Procedure 1094.6

Substandard Buildings and Receivership

For badly deteriorated buildings, the law goes well past fines. When an owner fails to correct substandard conditions within a reasonable time, the enforcement agency, a tenant, or a tenant association can ask a court to appoint a receiver to take control of the property and manage the repairs.9California Legislative Information. California Health and Safety Code 17980.7

Courts can also strip tax benefits. A judge can order the owner to forgo deductions for interest, taxes, depreciation, and other expenses on the cited property for the year the correction was ordered, plus the following year if the owner still hasn’t complied.9California Legislative Information. California Health and Safety Code 17980.7 The court must also order the owner to pay all of the agency’s costs, including inspections, investigations, and attorney’s fees. The exposure from a substandard building case is far larger than the underlying code fines.

Tenant Protections

Tenants are often most affected by violations, and California gives them two protections worth knowing.

Anti-Retaliation

If a tenant reports a habitability problem to a government agency, the landlord cannot evict them, raise rent, or cut services in retaliation. Civil Code Section 1942.5 creates a 180-day protected window after a complaint is filed, after an inspection resulting from the complaint, or after a citation issues.10California Legislative Information. California Civil Code 1942.5 If the landlord acts within that window, the burden shifts to the landlord to prove the action wasn’t retaliatory. Threatening to report a tenant to immigration authorities also counts as prohibited retaliation. A tenant can invoke this protection once per 12-month period.

Relocation Benefits

When enforcement orders make a unit uninhabitable and repairs displace tenants, the owner must provide relocation benefits: actual moving and storage costs, plus compensation equal to the difference between current rent and HUD’s fair market rent for a comparable unit for the length of repairs, up to 120 days.9California Legislative Information. California Health and Safety Code 17980.7

Payment must be made within 10 days of the date the vacate order is mailed and posted, or at least 20 days before the vacancy date, whichever is later.11California Legislative Information. California Health and Safety Code 17975.1 If fewer than 10 days remain between posting and vacancy, benefits must be paid within 24 hours. The local agency is required to notify tenants of these rights.