Selling a House With Open Code Violations
From a first complaint to a recorded lien, here's how code enforcement works for houses in the Central Valley. City code violations are one of the title and code issues we buy houses with, as-is.
- ✓Zero fees, zero commissions
- ✓Any condition — leave the repairs to us
- ✓You choose the closing date
- ✓Local, family-owned team
Under California's State Housing Law, a house is legally substandard when conditions on a statutory list, such as deteriorated foundations, hazardous wiring or plumbing, rotted roof coverings or general dilapidation, exist to an extent that endangers the occupants, neighbors or the public (H&S Code 17920.3). In Fresno, enforcement can run from a warning notice to citations, City abatement at the owner's expense and a recorded lien that stays on the property until it is paid. Violations don't simply drop off at a sale: the state's remedies reach a later owner who knew, or is legally charged with knowing, about an order (H&S Code 17980.7(f)), and Hanford says plainly that violations run with the property. A California real estate attorney can tell you what an open case means for your house.
When a House Counts as Substandard
H&S Code 17920.3 lists the conditions that make a building, or the premises it stands on, a legally substandard building, but a listed condition qualifies only when it exists to an extent that endangers the people living there, nearby residents or the public.
The list runs from inadequate sanitation, such as no hot and cold running water or inadequate heating, to structural hazards like deteriorated foundations, hazardous wiring, plumbing or mechanical equipment, broken or rotted roof and wall coverings, fire hazards, inadequate exits, general dilapidation and any nuisance.
Age by itself doesn't land a house on the list: wiring that met the law when it was installed is excluded as long as it is still in good, non-hazardous condition and working properly, and plumbing and mechanical equipment have similar exceptions. A California real estate attorney can tell you whether a cited condition fits the statute.
How Eight Valley Cities Describe Their Code Enforcement
We buy houses in each of these cities, and each one describes its code enforcement program on its own website.
| City | Who handles it | What the City says about the process |
|---|---|---|
| Fresno | Code Enforcement Division, City Attorney's Office | Inspects when a potential violation is reported through the City's FresGO reporting system, takes the most dangerous cases first, and aims for voluntary compliance before tools such as citations, abatement by contractor, receivership and liens |
| Clovis | Police Department code enforcement (Neighborhood Preservation) | Officers notify property owners of code violations; the work covers substandard housing, code violations, parking and neighborhood preservation |
| Hanford | Code Compliance Section | Works mainly from complaints; owners usually get 15 to 30 days to fix a violation or apply for permits, and a case clears only after permits are approved, fees are paid and every inspection, the final included, is approved |
| Corcoran | Code Enforcement Division | Owners get 3 to 30 days to correct, depending on the violation; administrative citations start at $100, and the City may hire a contractor and bill the owner |
| Tulare | City code enforcement | Investigations are complaint-based, and the City has partnered with Habitat for Humanity on a home repair program that helps low-income homeowners correct code violations |
| Modesto | Code Enforcement Unit | Usually allows voluntary compliance after a Notice of Violation, then citations of $100, $250 and $500, civil penalties of up to $2,500 per violation per day for major violations, or prosecution or an injunction |
| Stockton | Police Department, Neighborhood Services Section | Enforces the 2024 International Property Maintenance Code (in effect since April 3, 2025), doesn't take anonymous complaints, and lets anyone request a property's active or prior code cases and any liens or fines due |
| Merced | Police Department code enforcement | Enforces City and state codes for dangerous, substandard or vacant structures, and owners must keep buildings up to the City's Housing, Dangerous Building and Property Maintenance Codes |
Summaries of each city's own code enforcement pages.
Fresno's Steps, From Warning Notice to Lien
Fresno's public nuisance ordinance gives the City several ways to proceed: a notice of violation, which is a warning with direction to correct that can't be appealed; a notice and order; summary abatement of an imminent danger; an administrative citation; or a lawsuit by the City Attorney. Failing to obey a final notice and order is a misdemeanor, and the City may abate the problem at the owner's expense.
When a notice and order is served, the City may record a notice of pending administrative action with the County Recorder; once the order is final, it records a certificate stating that a public nuisance exists on the property, and later a new certificate when the nuisance is abated or the order rescinded.
The City can recover its enforcement and abatement costs even when the owner ends up fixing the problem, as a lien, a special assessment or a personal obligation of the owner. A recorded Fresno code-enforcement lien stays on the property until paid, carries the priority of a judgment lien, can't be foreclosed on an owner-occupied home and is canceled by a recorded Notice of Satisfaction.
Under the Master Fee Schedule effective July 1, 2026, complaint response costs $146 an hour, with no charge when a verified complaint is resolved by the owner within 18 days, and a notice of violation or a notice and order is also billed at $146 an hour. A California attorney can review a Fresno notice and order with you.
This is general information about how the process works, not legal or tax advice. Every situation is different — talk with a California attorney (and a tax professional) about yours.
The State Housing Law's Heavier Tools
An enforcement agency may order repairs or abatement when violations substantially endanger residents or the public (H&S Code 17980.6), and if the owner doesn't comply within a reasonable time, a court can appoint a receiver, at which point the owner is barred from encumbering or transferring the property (H&S Code 17980.7).
Those remedies define the owner as both the owner when the first notice or order went out and any later successor in interest with actual or constructive knowledge of the notice, order or prosecution (H&S Code 17980.7(f)). The agency also has to record a notice of pendency with the county recorder when it brings a State Housing Law case, which has the effect of a lis pendens; under CCP 405.24, anyone who later buys or lends against the property is charged with notice of the case.
A California real estate attorney can explain what a recorded notice means for a sale.
Do Violations Follow the House?
Hanford's code compliance FAQ answers that directly: violations run with the property, not with the person who created them, so someone who buys a property with violations is responsible for abating them.
State law's version is narrower: its remedies reach a buyer who knew about an order or is legally charged with knowing, and a recorded notice of pendency is what supplies that notice.
Recorded liens stay put as well: Fresno's code-enforcement lien remains on the property until it's paid, and Stockton issues payoff demands, on request from the owner, a title or escrow company or the listing agent, so recorded code notices and liens can be removed once the balance is paid.
Even a county tax sale doesn't wipe the slate clean: San Joaquin County's tax-sale page warns that code violations may be outstanding on auctioned properties and that the auction doesn't postpone or affect enforcement. A California real estate attorney can tell you what would happen to your open case at a sale.
What the Buyer Is Told
When a home with one to four units is sold, the seller generally has to deliver California's Real Estate Transfer Disclosure Statement, and the form asks whether the seller is aware of any notices of abatement or citations against the property, and of room additions, structural modifications or other alterations or repairs made without necessary permits.
Selling 'as is' doesn't excuse that delivery, since the Legislature declared it can't be waived in an as-is sale, and a seller's separate duty to disclose facts that materially affect the property's value and desirability, including its physical condition, continues. A California real estate attorney can help you work out what your disclosure has to cover.
This is general information about how the process works, not legal or tax advice. Every situation is different — talk with a California attorney (and a tax professional) about yours.
Selling a House With Violations to Spark Home Offers
City code violations are one of the title and code issues our homepage lists among the situations we buy in. We buy houses as-is, so the place can come to us with an old roof, foundation issues or outdated everything, and you can leave the repairs to us.
Anything you don't want to keep can stay behind; the cleanout and the repairs are ours to handle after closing. There are no inspections or appraisals and no financing contingency, and we close at a reputable local title company on the date you choose.
A sale to us, like any sale, doesn't close a code case by itself. Our offer is free and there's no obligation.
Three Simple Steps to Sold
Listing a house can mean months of repairs, open houses, and buyers backing out. Here's how selling to Spark Home Offers works instead.
Tell Us About Your House
Fill out the short form or call/text us. We'll reach out within 24 hours to learn your situation and schedule a quick walkthrough.
Start Here →Get a Fair Cash Offer
After a 5-minute walkthrough, we look at the home's condition and recent nearby sales, then give you a clear cash offer and explain how we got there.
Close When You're Ready
We close at a reputable local title company on the date you choose. We cover the closing costs and you walk away with cash.
Keep Reading
Code Violation Questions
Is an older house automatically out of code?
No. Wiring that met the law when it was installed and is still in good, non-hazardous working condition is excluded from the substandard list, and plumbing and mechanical equipment have similar exceptions (H&S Code 17920.3).
How long do cities give an owner to fix a violation?
It depends on the city and the violation: Hanford says owners usually get 15 to 30 days to fix it or apply for permits, and Corcoran allows 3 to 30 days. In Fresno, there's no complaint-response charge if a verified complaint is resolved by the owner within 18 days.
Will a code violation show up when I sell?
It can be on the public record: Fresno may record a notice of pending administrative action, a nuisance certificate and cost liens, and a State Housing Law case requires a recorded notice of pendency that gives later buyers constructive notice. The seller's disclosure form also asks about notices of abatement and citations.
Does a buyer take over the violations?
Hanford says so in its own words: violations run with the property, and a buyer becomes responsible for abating them. Under state law, the remedies reach a successor who knew, or is legally charged with knowing, about the order.
Can the city put a lien on my house?
Yes. California lets cities collect abatement costs through a recorded nuisance abatement lien with the priority of a judgment lien, and Fresno's code-enforcement liens stay on the property until paid, though Fresno can't foreclose one on an owner-occupied home.
Do you buy houses with open code violations?
Yes. City code violations are among the title and code issues our homepage lists, and we buy houses as-is. The offer is free and comes with no obligation.
Got a Notice From the City?
Tell us about the house and the notice, and we'll reach out within 24 hours to learn your situation and schedule a quick walkthrough. Call (559) 420-7887 or fill out the form to get started.