An owner in this position may be holding a notice that a lien is about to be recorded. A tax bill may show an abatement charge the owner does not recognize. A title report on an inherited house or a property under contract may list a city's claim. The questions are the same in each case: what the charge is, whether it can grow, and what it takes to clear the title. This guide covers what California's Government Code says about these liens, how they affect owners, heirs and sellers, and the paths an owner can compare when a lien sits on a property with code violations.

If a California city abates a nuisance on a property and the owner does not pay, the city can collect the cost in two ways: record a lien against the parcel, or add the cost to the property tax bill as a special assessment. Either way the debt stays with the property until it is paid and the release is recorded, or it is otherwise resolved.
On this page
What a Code Enforcement Lien Means for Owners
A lien is a legal claim against a property that secures a debt. Until it is paid or released, the property cannot pass to a new owner free of it. A code enforcement lien usually begins with abatement, which means the city corrects a nuisance itself or orders it corrected and then charges the owner for the work and the related administrative costs.
California's Government Code gives a city two ways to collect those costs. Under Government Code section 38773.1, the city council may adopt an ordinance that lets the city collect abatement and related administrative costs through a nuisance abatement lien. The lien is recorded with the county recorder in the county where the parcel sits. From the date it is recorded, it has "the force, effect, and priority of a judgment lien." Under Government Code section 38773.5, the city may instead make the abatement cost a special assessment against the parcel. A special assessment is a charge collected on the property tax bill.
Both forms attach to the parcel itself and not only to the person who owned it at the time. Selling, gifting or inheriting the property does not erase the debt on its own.
Administrative fines are a separate tool. Government Code section 53069.4 lets a local agency make an ordinance violation subject to an administrative fine. Its ordinance sets the procedures for imposing, collecting and reviewing those fines. How a particular city or county collects an unpaid fine depends on its own ordinance.
Who a Code Enforcement Lien Affects
The owner of record is the person the city has to notify before it records a lien. The owner of record is the owner named in the county's property records. Section 38773.1 ties that notice to the owner shown on "the last equalized assessment roll or the supplemental roll, whichever is more current."
The effect reaches past that one owner:
- Heirs and successors. A recorded lien or a special assessment stays on the parcel, so a person who later takes title takes a property that carries it. Who has the authority to pay it, sell or sign depends on how title passes and who holds it. It does not depend on agreement among relatives or the people living in the house.
- Co-owners. A lien on the parcel affects the whole property. How title is held decides who can act on it.
- Buyers. A recorded lien appears in the county recorder's index, which section 38773.1 says is the grantor-grantee index. A special assessment appears in the county's tax records.
- Lenders. A lien with the priority of a judgment lien, or a charge collected like property taxes, can affect refinancing and how a lender views the property. How it ranks against a particular loan depends on recording dates and the documents involved.
A seller also has disclosure duties, which are covered in the next section. Owners who are still at the notice stage can find more on reading a code enforcement notice.
Rules, Disclosures and Fine Print
Notice and recording rules for a lien (section 38773.1)
Section 38773.1 requires notice before a lien is recorded. The notice goes to the owner of record and is served "in the same manner as summons in a civil action." If the owner cannot be found after a diligent search, the notice may be served by posting a copy in a conspicuous place on the property for 10 days and publishing it in a newspaper of general circulation in the county.
The recorded lien has to state all of the following:
- the amount
- the agency imposing it
- the date of the abatement order
- the street address, legal description and assessor's parcel number
- the recorded owner's name and address
When the lien is discharged, released or satisfied, the agency records a notice of discharge that contains the same information. The statute also says the lien "may be foreclosed by an action brought by the city for a money judgment." The county recorder may charge the city a fee for processing and recording the lien and giving notice to the owner. The city may recover those costs from the owner as part of a foreclosure action.
The statute itself does not set a fixed timeline from abatement order to recording; the steps and their timing come from the city's own ordinance.
Special assessment rules (section 38773.5)
Section 38773.5 sets different rules for a special assessment. The owner gets notice by certified mail if the owner can be identified from the county assessor's or county recorder's records. That notice must say the property "may be sold after three years by the tax collector for unpaid delinquent assessments." The assessment is collected the same way as ordinary municipal taxes, with "the same penalties and the same procedure and sale in case of delinquency." The tax collector's power of sale is not affected if the owner never received the notice.
The statute includes an exception. If the property was transferred to a bona fide purchaser for value before the first tax installment would become delinquent, the cost does not become a lien. In plain terms, a bona fide purchaser for value is a buyer who pays real value for the property in good faith. The same applies if a bona fide lender's lien attached to the property before that date. In either case the cost moves to the unsecured roll for collection, meaning it is pursued as a debt rather than as a charge on the parcel. Section 38773.5 also allows a city ordinance to award attorneys' fees, but only to the prevailing party, not just to the city.
Interest and penalty rates are set by the city's or county's own ordinance or resolution and the tax laws that apply. That document states the figure, and administrative cost amounts likewise vary by city.
Seller disclosure duties (Civil Code sections 1102 and 1102.2)
On disclosure, Civil Code section 1102 applies the state's disclosure article to sales and certain other transfers of single-family residential property, except as section 1102.2 provides. Under section 1102(c), "any waiver of the requirements of this article is void." A cash buyer or an as-is sale does not change these duties. Civil Code section 1102.2 exempts some transfers based on who the buyer is. The exempt transfers include "sales or transfers from one coowner to one or more other coowners," transfers to a spouse or to a person "in the line of consanguinity" of a transferor, and transfers to or from a governmental entity. The section also exempts court-ordered and foreclosure sales and certain fiduciary sales, and its list continues beyond these.
An owner who believes a lien was recorded in error has a contested matter, which is generally handled by an attorney.
Options and Trade-offs
The choice usually comes down to a few categories. Each one involves a trade-off, and the sales paths are described more fully in the guide on selling a property with code violations.
Pay the lien. Under section 38773.1, once the lien is satisfied, the agency records a notice of discharge. A special assessment is paid through the tax collection process. Paying in full ends the claim but requires the full amount.
Contest it. When the amount or the process is in dispute, an administrative appeal or a court action may be available. That is an attorney's work. The same is true when co-owners or a lender disagree with the owner about how to resolve the lien.
Correct the violation, then resolve the debt. Section 53069.4 requires a local fine ordinance to give a reasonable period to correct a continuing building, plumbing, electrical, structural or zoning violation before fines are imposed, where the violation does not create an immediate danger to health or safety. Correcting a violation is still a separate step from clearing a lien already recorded. Owners dealing with building code violations often do both.
Sell on the open market. A recorded lien is commonly paid from escrow at closing, which reduces what the seller receives.
Sell as-is to a buyer who pays cash. A buyer who takes the property in its present condition usually offers less than an open-market price. That buyer takes on the repairs, the risk and the cost of reselling. In exchange, the seller does less preparation, has fewer showings and depends less on whether a buyer's loan gets approved. The lien and the disclosure duties stay the same in an as-is sale.
Comparing written offers and estimated net proceeds is how an owner tells which path fits. Net proceeds are the price less the lien payoff, repairs, commissions, carrying costs, loan payoffs and closing costs.
Mistakes to Avoid
Several errors come up often:
- Setting the notice aside. Under section 38773.5, an unpaid special assessment carries the same penalties and sale procedure as delinquent municipal taxes. Under section 38773.1, a recorded lien can be foreclosed by a city action.
- Treating correction as release. Fixing the violation does not remove a recorded lien. A recorded discharge does.
- Missing a hearing. Many local procedures include a hearing, and the ordinance sets its terms. An owner who misses it may lose the chance to dispute the amount.
- Assuming a sale wipes it out. A lien is paid at closing or stays with the property. A title company generally looks for a payoff or a recorded release.
- Relying on a spoken assurance. Section 38773.1 has the agency record the discharge notice. A phone call does not clear title.
- Mixing up lien types. A mechanic's lien, a judgment lien and an abatement lien follow different rules for priority and release.
What to Do Next
The documents behind a lien are spread across three offices. The county recorder's index shows a recorded lien and any discharge. The county tax collector's records show a special assessment. The city's code enforcement or building department keeps the file: the abatement order, the notices and any resolution confirming the amount. Local procedures differ from city to city. For example, the guide to San Diego code violation help describes how one city's process works.
With the amount and the recording details in hand, an owner can weigh the options above. A common next step is locating the recorded document or the tax-bill entry by parcel number, then requesting the current payoff amount in writing from the agency named on it.
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 does a lien mean in simple terms?
A lien is a legal claim against a property that secures a debt. With a code enforcement lien, the city is the party owed, and the claim must be paid or released before the property can pass free of it.
Can you lose your property to a code enforcement lien?
It is possible. Section 38773.1 allows a city to foreclose a recorded abatement lien through an action for a money judgment. For a special assessment, section 38773.5 requires the owner's notice to say the property may be sold after three years by the tax collector for unpaid delinquent assessments.
How do I find out if there is a lien on my property?
A recorded lien appears in the county recorder's grantor-grantee index, where it can be searched by owner name or parcel information. A special assessment appears on the property tax bill and in the county tax collector's records. The city's code enforcement file holds the underlying order and notices.
Does correcting the violation remove the lien?
No. Correction can stop new fines under a local ordinance, but a recorded lien stays on record until the agency records a notice of discharge, as section 38773.1 describes. A special assessment stays on the tax roll until it is paid.
What happens to a code enforcement lien when a property is sold?
It is commonly paid from escrow at closing. A cash buyer or an as-is sale does not change that.
Who is responsible for a code enforcement lien on inherited property?
The heir takes the parcel along with the lien. The person able to pay, sell or sign is determined by how title passes and who ends up holding it, not by a family agreement.
Does a seller have to disclose a code enforcement lien?
Civil Code section 1102 applies disclosure duties to most sales of single-family residential property, and section 1102(c) voids any waiver of them. An as-is sale or a cash buyer does not change that. Section 1102.2 exempts some transfers from the disclosure article, including sales between co-owners and transfers to a spouse or "to a person or persons in the line of consanguinity of one or more of the transferors."
How much does it cost to resolve a code enforcement lien?
The amount is the one stated in the recorded lien or the assessment, plus whatever penalties and costs the ordinance and tax laws add. Section 38773.1 lets a city recover its recording and notice costs as part of a foreclosure action. The city or county gives the current payoff amount.