SACRAMENTO | LOS ANGELES
Call our Offices: 877-770-7379

Selective Code Enforcement in California: Can a City Target One Property Owner?

selective code enforcement CaliforniaA homeowner receives a notice to fix a fence that violates a setback rule. Two doors down, a similar fence has stood for years without a citation.

Situations like this can raise questions about selective code enforcement in California. Cities and counties have discretion over how they enforce local rules, but they cannot use that authority to engage in unconstitutional discrimination. Different treatment alone does not prove a legal violation.

The key questions are whether the properties are genuinely comparable, why the city treated them differently, and whether the evidence supports a legal claim.

Can a California City Selectively Enforce Property Codes?

Cities and counties enforce a wide range of local rules, including land use and zoning regulations. Common subjects include:

  • Building permits and unpermitted construction
  • Zoning and property use
  • Setbacks, fences, and accessory structures
  • Property maintenance and nuisance conditions
  • Business operations and land-use restrictions

Agencies set enforcement priorities. A city may prioritize complaints, focus on safety risks, respond to new information, or use different procedures for legitimate reasons. Different treatment does not prove unfairness.

An owner may have grounds to question the agency when the pattern of enforcement does not track any legitimate factor. Examples include materially similar conditions that the city ignores, an unexplained shift in enforcement, or signs of improper motive. Courts do not require identical treatment of every neighboring property in every circumstance.

When Can Selective Code Enforcement Violate Equal Protection?

The Equal Protection Clause of the Fourteenth Amendment bars a state from denying any person the equal protection of the laws. The clause applies to state and local governments. Article I, section 7 of the California Constitution contains its own guarantee against being denied equal protection of the laws. The state and federal claims are separate. Owners should not assume that federal class-of-one decisions define state law. For background on the doctrine itself, see the firm’s discussion of equal protection under California law.

Two broad routes exist. The first involves discrimination against a protected class, such as race, religion, or national origin. The second is a “class of one” claim, which does not depend on group membership.

The Class-of-One Theory

In Village of Willowbrook v. Olech (2000) 528 U.S. 562, a village demanded a 33-foot easement from one homeowner for a water connection. It required only 15 feet from other owners. The Supreme Court held that the owner stated a claim. She alleged she was “intentionally treated differently from others similarly situated” and that there was “no rational basis for the difference in treatment.”

Olech did not hold that every difference in treatment is unconstitutional. Justice Breyer’s concurrence warned against turning ordinary zoning errors into constitutional claims. He noted that the case involved an added factor, alleged vindictive ill will.

The Court later drew a limit in Engquist v. Oregon Department of Agriculture (2008) 553 U.S. 591. It held that the class-of-one theory has no place in public employment. The Court reasoned that some government decisions rest on individualized judgment, and treating similar people differently is part of that discretion. Its example was a traffic officer who tickets one speeder among many.

Where a particular enforcement decision falls on that spectrum depends on the facts. Courts apply rational basis review, which is deferential to the government.

What a Property Owner Generally Must Show

A claimant generally must show more than a similar-looking violation next door. Courts look at several questions:

  • Whether the owner was treated differently from similarly situated owners
  • Whether the comparison properties had materially similar conditions and circumstances
  • Whether the difference had a legitimate explanation
  • Whether the evidence supports intentional singling out or another recognized basis

These questions are not a formula, and the required showing depends on the type of claim. Some claims rest on retaliation for protected activity, such as a prior lawsuit or public complaint. Those claims follow different elements.

The Ninth Circuit’s decisions show the range. In Gerhart v. Lake County (9th Cir. 2011) 637 F.3d 1013, a county denied an owner’s permit for a road approach. The owner presented testimony that at least ten neighbors had built approaches without permits and that the commissioners knew of them. The court held that the equal protection claim against the individual commissioners could go to trial. It did not decide the merits. It also said the owner did not need to prove ill will.

In North Pacifica LLC v. City of Pacifica (9th Cir. 2008) 526 F.3d 478, the court reversed a finding of an equal protection violation because the record showed no evidence that the city had singled out the developer.

What Does Selective Code Enforcement Look Like in Practice?

The following hypotheticals are illustrations only. None shows a violation on its own facts.

Example one: a fence and setback. A city repeatedly cites one homeowner for a fence condition while similar fences nearby go unchallenged. Additional facts would matter. They include the actual heights and locations and whether each fence was permitted or predates the rule. They also include whether anyone complained about the others, whether the city knew of them, and what explanation the city gave.

Example two: enforcement after a neighbor dispute. An owner faces enforcement soon after a feud with a neighbor. Code enforcement is often complaint-driven, so a neighbor’s complaint can lead to a legitimate citation. The timing alone does not prove retaliation. Further facts might include whether the violation is real and who contacted city staff. They might also include whether staff expressed hostility and whether the city ignored complaints about comparable properties.

Example three: a business and zoning citations. A business receives zoning citations while other businesses are not cited. The comparison may fail if the others hold different permits, operate under different conditions, or have different complaint or violation histories. Differences in use approvals, operating hours, and safety concerns matter.

Legitimate enforcement priorities, differences in property conditions, permit status, complaint history, and safety concerns can all explain unequal outcomes. Arbitrary or discriminatory treatment, by contrast, lacks a legitimate explanation.

What Evidence Can Help Prove Selective Code Enforcement?

Evidence helps establish a pattern of unequal treatment. Useful materials include:

  • Notices of violation, inspection reports, and enforcement correspondence
  • Photographs and dated records of comparable properties
  • Zoning classifications, permits, and property conditions
  • Publicly available code enforcement records
  • Complaint histories and inspection dates, where available
  • Emails, letters, meeting records, or statements suggesting improper motives
  • Records showing how the city justified its enforcement decision

The comparison properties must be genuinely comparable. Differences in permits, zoning, prior violations, or safety risks can weaken a comparison. Gerhart relied on testimony about specific neighbors in a similar position.

The California Public Records Act is one way to seek public records. An agency must decide within 10 days whether a request seeks disclosable records (Gov. Code, § 7922.535). Disclosure still depends on exemptions and other legal restrictions.

How Can You Challenge a City Code Enforcement Action?

Property owners can consider these practical steps:

  1. Read the notice carefully. Identify the cited ordinance, the alleged violation, the deadlines, and the appeal procedures.
  2. Preserve photographs, correspondence, inspection records, permits, and other documents.
  3. Document potentially comparable properties from public vantage points, without trespassing or interfering with others.
  4. Request the city’s explanation and relevant public records when appropriate.
  5. Use the administrative appeal or hearing process under the applicable local rules.
  6. Consult a California real estate or constitutional rights attorney if the enforcement appears discriminatory, retaliatory, arbitrary, or otherwise unlawful.

Deadlines can be short, and they apply even when an owner believes the city acted unfairly. Local ordinances set the procedures. As examples, a person contesting a final order under Government Code section 53069.4 may appeal to superior court within 20 days after service. A petition for administrative mandate challenging a covered local agency decision generally must be filed within 90 days after the decision becomes final. See Code of Civil Procedure section 1094.6. Which rule applies depends on the ordinance and the type of decision.

Owners should not ignore a notice. A selective-enforcement argument does not automatically suspend compliance obligations.

Can You Sue a California City for Selective Code Enforcement?

Litigation may be possible in some circumstances. The available claim and remedy depend on the facts, the applicable law, and procedural requirements. Constitutional claims and state-law claims can follow different procedural rules.

A federal claim usually arises under 42 U.S.C. § 1983. The statute reaches a person who, “under color of any statute, ordinance, regulation, custom, or usage,” deprives another of federal constitutional rights.

Individual officials and the municipality are different defendants. In Monell v. Department of Social Services (1978) 436 U.S. 658, the Supreme Court held that a local government cannot be liable under section 1983 solely because it employs a wrongdoer. A policy or custom must cause the violation. In Gerhart, the claim against the commissioners survived while the judgment for the county was affirmed on other grounds.

Individual officials may assert qualified immunity. In Gerhart, the court rejected that defense because Olech had clearly established the right on closely similar facts.

Courts may grant injunctive or declaratory relief where the law allows it. Damages are possible in some cases, subject to legal limits and defenses.

Procedure varies by claim. A federal section 1983 plaintiff generally need not exhaust state administrative remedies (Patsy v. Board of Regents (1982) 457 U.S. 496). The California government claim requirement does not apply to a section 1983 action in state court (Williams v. Horvath (1976) 16 Cal.3d 834). California courts apply a two-year limitations period to these claims under Code of Civil Procedure section 335.1. State-law challenges and damages claims may face different exhaustion, claim, and filing requirements.

A lawsuit does not always succeed. A claim can fail for lack of comparable properties, the presence of a legitimate explanation, or insufficient evidence of intent.

When Should You Speak With a California Real Estate Attorney?

Legal advice may be particularly useful when:

  • A notice imposes a short deadline or threatens substantial penalties
  • Enforcement could affect the property’s use, value, sale, or planned development
  • Multiple records suggest materially different treatment of comparable properties
  • The owner suspects retaliation or discriminatory motives
  • Administrative appeals have failed or the owner is considering litigation

These disputes sit where California property rights, local land-use rules, and constitutional protections meet. An attorney can evaluate the notice, the procedures, and the evidence. No attorney can guarantee a result.

Resolving Selective Code Enforcement Disputes in California

Inconsistent enforcement can raise legitimate questions. A successful legal challenge still requires evidence and a legally recognized basis.

Owners facing significant penalties, disputed land-use restrictions, or potentially discriminatory enforcement may want advice. That advice can cover the notice, the administrative remedies, and whether the facts support a challenge.

Kassouni Law’s California real estate law practice represents private property owners in disputes with local governments. The firm represents private parties and does not represent government agencies. No dispute is guaranteed a particular result, and not every code enforcement dispute supports a lawsuit.

Call (877) 770-7379 or use the firm’s contact page. Submitting a contact form does not create an attorney-client relationship.

Frequently Asked Questions

Is selective code enforcement illegal in California?

Not automatically. A claim depends on the circumstances, the reason for the different treatment, and whether the facts satisfy the applicable legal standard.

Can I challenge a city for enforcing a rule against me but not my neighbors?

A challenge may be possible. The owner needs evidence of materially comparable circumstances and a legally sufficient basis for challenging the difference in treatment.

What evidence helps prove selective code enforcement?

Helpful evidence includes notices, inspection records, comparable property conditions, permits, public records, and any material that reveals the agency’s reasons or motives.

Can I sue a city for discriminatory code enforcement?

A constitutional or other legal claim may be possible, subject to the legal requirements, defenses, and deadlines. Municipal liability standards and immunities can limit recovery.

Should I comply with a code enforcement notice if I believe the city is targeting me?

Owners should review the notice and deadlines promptly, consider the available appeal procedures, and obtain legal advice. Ignoring the notice can forfeit appeal rights.

The information provided here is for general informational purposes and does not constitute legal advice. Outcomes depend on the facts and the applicable law. Readers should consult a qualified attorney about their specific circumstances.

Tags: , , , , ,