The notice on your kitchen table may name a garage conversion, a deck, wiring or a rental unit, and it probably gives you a date. Before deciding whether to correct the work, legalize it or sell the property as it stands, it helps to have a realistic sense of what correction involves in your city or county. This guide covers what drives that cost, who carries it, how an estimate is put together piece by piece, the California disclosure rules that follow a sale, and how owners compare their options.

If you hold a code enforcement notice or own a property with unpermitted work, the cost to fix it comes from four places: any fines or penalties, permit and plan-check fees, the repair or construction work, and abatement charges if the city or county does the work. Each one is set locally, so no single California figure applies.
On this page
What It Means for Owners
A correction obligation is the duty, set out in a notice or citation, to bring the property into line with the code that was cited. Meeting it usually involves up to four kinds of cost.
- Fines and administrative penalties. These are the amounts a city or county charges under its own ordinance for the violation itself.
- Permit and plan-check fees. These are what the local building department charges to review drawings and issue a permit for the correction work.
- Construction or repair work. This is what a contractor charges to do the work, and it is often the largest piece.
- Abatement and lien costs. These arise only if the owner does not correct and the agency does the work itself.
The total turns on a few facts: the type of violation, the jurisdiction that cited it, whether unpermitted work is involved, and how long the violation has stayed open. Each California city and county sets its own fee schedule and fine amounts, so two similar violations in neighboring cities can carry very different costs. A clear reading of the code enforcement notice is where the real number starts.
How the Pieces Usually Compare
Without a local fee schedule and a contractor estimate in hand, no dollar figure is reliable. The relative size of the lines is more predictable. The construction or repair work is often the largest piece of the total. Permit and plan-check fees are set by a published schedule and can rise with the size or valuation of the work, so they tend to track the construction line rather than stand apart from it. Fines are the line most tied to time, because they can grow while the violation stays open. Abatement costs are zero when the owner corrects and appear only when the agency steps in. That ordering gives a practical anchor while the actual figures are gathered.
Who It Affects
Picture four owners holding the same kind of paperwork for different reasons.
The owner of record, meaning the person or people whose names appear on the recorded deed, may have just received a notice of violation or an administrative citation. That owner is the one the agency looks to for correction.
An heir or estate representative may have inherited a house with old violations or unpermitted work that no one in the family knew was there. The cost question then sits alongside settling the estate.
A buyer or investor may have bought a property with open violations. The obligation runs with the property, not with the person who did the work, so the new owner of record becomes the one responsible for correction and for any lien recorded against the property.
A landlord may have a rental cited under housing or health codes, where correction can involve habitability items as well as permits.
Each situation shapes which costs apply. An heir, for instance, may face both older fines and current permit fees, while a recent buyer may be starting from a fresh notice.
How an Estimate Comes Together
An estimate is easier to build, and to compare, when it is assembled one cost bucket at a time from documents the owner can actually hold. Because every figure is local, the method matters more than any single number.
Fines and penalties. The starting point is the amount stated on the notice or citation and the local ordinance it cites. The open question is time: the enforcement process generally allows further fines if the work is not done by the re-inspection, so the fine line of an estimate depends on how long correction is expected to take. An estimate that assumes the work is finished by the deadline and one that assumes it is not can look quite different.
Permit and plan-check fees. These come from the local building or code enforcement department's published fee schedule, a public document that states the fees for the type of work cited. Each department sets its own structure, and the schedule shows which applies. Some fees may be a flat charge for a type of work, while others may depend on the size of the work or on the project's valuation. Where a fee depends on valuation, the contractor's estimate and the fee schedule feed into each other. Whether plans are needed, and whether an after-the-fact or as-built permit is available, also changes this line.
Construction or repair work. A written contractor estimate is the core of this line. For comparison purposes, an estimate is more useful when it ties each item to the specific code section and correction named in the notice, separates labor and materials, states whether the contractor will pull the permits, and notes what happens if opening a wall or ceiling reveals more work. Unpermitted work carries that last risk in particular, because inspections can uncover items that must be redone.
Abatement and lien costs. This line is zero if the owner corrects. It becomes real only if the agency does the work itself, in which case its charges are added to the property as a lien rather than negotiated with a contractor of the owner's choosing.
Laid side by side, these four lines give a working total, and the parts most likely to move, such as accruing fines or discoveries during inspection, are visible rather than hidden.
Rules, Disclosures and Fine Print
California's seller disclosure rules sit in a single article of the Civil Code. Under Civil Code section 1102, the article applies, "Except as provided in Section 1102.2," to "any transfer by sale, exchange, real property sales contract as defined in Section 2985, lease with an option to purchase, any other option to purchase, or ground lease coupled with improvements of any single-family residential property." Subdivision (c) adds that "Any waiver of the requirements of this article is void as against public policy." In plain terms, a seller and buyer cannot agree to set the duties aside.
Those duties do not change because a buyer pays cash or agrees to take the property as it is. "As-is" describes the condition the buyer accepts. It does not erase what the seller owes.
The article does not reach every transfer, though. Civil Code section 1102.2 lists exempt transfers, including "Sales or transfers from one coowner to one or more other coowners," sales or transfers to a spouse or to a person in the line of consanguinity of a transferor, sales or transfers "to or from any governmental entity," and transfers by court order or by a fiduciary administering a trust or estate, with a stated exception for certain revocable-trust trustees. For an owner, the practical meaning is that the exemptions mostly turn on who the parties are and how the transfer happens: a sale between certain family members or co-owners may sit outside the article, while an ordinary sale to an unrelated buyer generally does not. The section names other exempt transfers as well, and whether a particular sale fits one is a question a real estate attorney can review.
On the enforcement side, the process generally runs from a notice to a correction deadline, then a re-inspection, with further fines possible if the work is not done. If an owner does not correct, a city or county may do the work itself and record a lien for its cost. A recorded lien is a claim against the property that stays with it; it does not go away because the property is sold.
Options and Trade-offs
Once the likely cost is in view, an owner usually faces a choice among three paths, or a mix of them.
Correct the violations and obtain permits. This means hiring a contractor, pulling the required permits and passing inspections until the agency closes the violation. It keeps the property and can restore its full market appeal, but it requires money up front, time and attention. More about how this works appears in the guide to code violation correction.
Legalize unpermitted work. Some jurisdictions offer an after-the-fact or as-built permit, where the owner applies for a permit on work already built. Others may require non-conforming work to be removed or rebuilt. The outcome depends on local rules and the nature of the work, and no permit is assured.
Sell in present condition. A house can be sold in its present condition, and the buyer who takes it as-is takes on the correction obligation, while the seller's disclosure duties described above remain. A buyer who pays cash and takes the property as it is often offers less than an open-market price, because that buyer is absorbing the repairs, the risk of what the permit process uncovers and the cost of reselling. In return, the seller usually prepares less, hosts fewer showings and depends less on whether a buyer's loan comes through. Listing with a real estate agent instead may bring a higher price but more preparation. The guide to selling a property as-is covers that path in more depth.
Comparing written offers and estimated net proceeds, meaning the price less commissions, repairs, carrying costs, loan payoffs and closing costs, is how an owner tells which path fits. The four-line estimate above supplies the repair side of that comparison.
Mistakes to Avoid
Delay tends to cost more than any single line item. An ignored notice can lead to further fines at each re-inspection and, eventually, to agency abatement and a lien.
Treating a cash or as-is sale as a way around disclosure is a related error; because section 1102(c) voids a waiver, the only route outside the duties is a section 1102.2 exemption.
Starting repairs without the required permits can turn a fix into a new violation, leaving the owner to pay twice.
Expecting a violation to stay hidden is also risky. Recorded liens and recorded notices are public records and can appear in a title report when a buyer's title company searches the property.
Finally, a disagreement with a co-owner, a contractor or the agency is a contested matter. That is a different subject, handled by an attorney.
What to Do Next
The notice or citation itself is the first document to read closely. It typically names the code section cited, the correction required and the deadline the agency set, and it may describe how to request a hearing.
The local permit fee schedule and a written contractor estimate together give the clearest picture of correction cost before any decision is made. For unpermitted work, the local building department can say whether an after-the-fact permit process exists for that work type. The guide to building code violations explains which local office usually enforces which code.
In practice, owners often begin by locating the original notice, pulling the city's or county's published fee schedule for the cited work, and asking the building department whether the work can be permitted as built.
Ready to talk through your options?
Share the details of your notice. You choose whether contractors or a sale consultant may contact you.
Get help with my propertyFrequently asked questions
What is the deadline to fix a code violation?
The deadline is set by the city or county that cited the property and is stated in the notice or citation itself. It varies by violation type and local ordinance. The notice and the local code enforcement office are where the deadline for a particular citation comes from.
Can I fight a code enforcement violation?
Many California cities and counties offer an administrative appeal or hearing, and the notice or citation commonly explains how to request one and by when. A dispute with the agency, a co-owner or a contractor is a contested matter, which is handled by an attorney.
What happens if I don't fix a code violation?
Further fines may follow each re-inspection. If the owner still does not correct, the city or county may do the work and record a lien against the property for its cost. That lien stays with the property and does not disappear when it is sold.
Does a code violation have to be disclosed when selling a property in California?
Civil Code section 1102 sets seller disclosure duties for transfers of single-family residential property, and subdivision (c) voids any waiver. Section 1102.2 exempts certain transfers, including co-owner to co-owner, to a spouse or "to a person or persons in the line of consanguinity of one or more of the transferors," and to a government entity, so the answer for a given sale depends on who the parties are.
Can I sell a house with open code violations in California?
Yes, a house can be sold in its present condition, and the buyer takes on the correction obligation. Disclosure duties still apply. A buyer taking on correction risk often prices it into a lower offer, so comparing written offers and estimated net proceeds shows which path fits.
What does it cost to get a permit for unpermitted work in California?
Each local building department sets its own after-the-fact or as-built permit fees in a public fee schedule, and they vary by jurisdiction, work type and project valuation. The total also depends on whether plans are needed, what inspections reveal and whether any work must be redone.
What is an abatement lien and how does it affect my property?
An abatement lien is a claim a city or county records against a property after doing correction work the owner did not complete. It covers the agency's cost of that work, can appear in a title report and must be resolved; it does not go away because the property changes hands.