Can you sell a house with code violations in Sacramento County?

By the ClearPath Homebuyers team · 2026-10-08 · 6 min read

A notice from code enforcement is stressful, especially when fines are running and you're not sure you can afford the fixes. The short answer is that you often can still sell, but how you go about it matters.

What counts as a code violation

Violations range from cosmetic to serious. Common ones include overgrown yards and trash, inoperable vehicles, unpermitted additions or garage conversions, unsafe wiring or plumbing, habitability complaints at rentals, and neglected vacant properties. Enforcement is handled locally, so the specific rules and process depend on whether the property is in a city or in unincorporated county territory.

The most common violations are simple ones: inoperable or unregistered vehicles, cars parked on the lawn, tall dry grass, trash buildup, and fire or safety hazards. Bigger issues like unpermitted additions are less common but cost more, and they can surface at the worst time. Sellers who don't mention one up front often end up renegotiating the price once it comes to light, sometimes by tens of thousands of dollars. Raising it early saves everyone time.

How violations affect a sale

Option 1: Fix the violations first

If the fixes are small, such as clearing the yard or hauling away junk, doing the work yourself and getting the case closed may be the cheapest path, and it can open up the full market. Contact the code enforcement office for the exact steps and ask for confirmation in writing when the case is closed.

Option 2: Sell as-is with the violations

When the fixes are expensive or you can't take them on, a direct buyer can purchase the property as it is. They account for the cost of correcting the violations in their price, handle the work and the city afterward, and any recorded fines or liens are typically paid from your proceeds at closing. You still disclose what you know. The tradeoff is price, which is usually below what a compliant, repaired home would bring.

Option 3: Bring it into compliance in stages

Some cities will work with owners who show good-faith progress. It's worth asking code enforcement whether a timeline or payment plan is possible, particularly if you're also trying to sell.

Practical steps

  1. Collect every notice and note the deadlines.
  2. Ask the code enforcement office what's needed to close the case and whether fines are still accruing.
  3. Check for recorded liens against the property, as in our guide to liens when you sell in California.
  4. Compare the cost of fixing against a direct offer.

If you've got a property with open violations, see how we handle them or send us the notices and address. We'll give you a plain answer on whether a sale makes sense.

This article is general information, not legal advice. Local code rules vary, so confirm details with the code enforcement office and a California real estate attorney.

Related

Talk it through, no pressure

Not sure if a cash sale is right for you? Tell us about the property. There's no obligation, and we'll tell you honestly if another route would serve you better.