Skip to content

Process, Comparisons and FAQs

How a California Code Enforcement Case Unfolds

Updated November 17, 2026

Stepping stones leading to a porch, one step after another like an enforcement case.
Immediate answer

A California code enforcement case usually follows the same path. A complaint or an inspection comes first. A written notice follows, naming the violation and a correction deadline. Then the owner either corrects the problem or requests a hearing. If the violation stays open, penalties can grow, and the city or county can record a lien. The case closes once the property passes inspection.

On this page
  1. What It Means for Owners
  2. Who It Affects
  3. Rules, Disclosures and Fine Print
  4. Options and Trade-offs
  5. Mistakes to Avoid
  6. What to Do Next
  7. Frequently asked questions
  8. Sources

A notice taped to the door, a citation in the mail, or a red tag on a garage conversion leaves an owner with plain questions. What happens next? How long is there to act? Can the property still be sold? The paper in hand may come from a city building department or a county code office, and its wording rarely explains the larger process. This guide walks through that process stage by stage. It shows where an owner can respond and what correcting the violations, legalizing unpermitted work, or selling the property in its present condition each involves.

What It Means for Owners

Code enforcement is run by local government. In California, cities and counties enforce their own codes day to day, not a single state agency. A case usually starts in one of three ways: a neighbor complains, another department refers the property, or an officer notices a condition during a routine inspection.

The case asks the owner of record to bring the property into compliance. The owner of record is the person or entity named on title. That is a different role from an occupant or a tenant, and the notice goes to the owner of record even when someone else lives in the house. A violation is a condition the local code prohibits, or work that needed a permit the owner never obtained. It might break a building code, a zoning rule, a housing standard, or a health and safety rule.

Each city and county adopts its own ordinances and sets its own timelines and fee schedules. An owner who holds a notice from Los Angeles, San Diego County or a small inland city is looking at that jurisdiction's rules. The notice itself is the clearest statement of them.

Who It Affects

Code enforcement reaches more than neglected properties. Many owners in an open case did not create the problem. They inherited it, bought it, or found it in a unit they rent out.

  • Heirs and estate representatives. A person who inherits a property with open violations steps into the owner-of-record role, and the compliance obligation comes with it.
  • Buyers. A person who purchases a property with existing violations or unpermitted work takes on the open case, unless the case is resolved before or at closing.
  • Landlords. Rental owners can face enforcement when the city follows up on a tenant's complaint, and from direct inspections of rental units.
  • Investors. Distressed or neglected properties often come with several open violations at once.
  • Co-owners. When more than one person holds title, the notice goes to every owner of record. A dispute among co-owners is a contested matter, and an attorney handles it.

For any of these owners, a sale also raises the question of seller disclosure. Civil Code section 1102 applies the disclosure article to transfers of single-family residential property, including transfers by sale, by exchange, by real property sales contract, and by lease with an option to purchase, along with other listed forms. A cash price or an as-is agreement does not switch those duties off: Civil Code section 1102(c) says any waiver of the article's requirements "is void as against public policy." What can matter is the type of transfer, because Civil Code section 1102.2 exempts some transfers, listed in the next section.

Rules, Disclosures and Fine Print

State law generally gives California cities and counties broad authority to adopt and enforce local codes. The ordinance that governs a case is the one that jurisdiction has adopted. Several kinds of document can appear in a case, and each does something different:

  • Notice of violation. Some places call it a notice and order or a correction notice. It identifies the condition and sets a correction deadline, and it is the document that formally starts the owner's compliance clock.
  • Administrative citation. This usually carries a monetary penalty.
  • Red tag or stop-work order. This stops construction, or stops people from occupying a structure.

The hearing or appeal stage

Reading code enforcement notices closely matters because the appeal steps are often printed on them. An owner generally has the right to request an administrative hearing or appeal before a penalty becomes final. The local ordinance sets the deadline and the procedure, including how the request is made and how the matter is heard. In plain terms, the hearing is the owner's opportunity to respond to the notice or citation before the penalty locks in. If no request is made within the window, the penalty generally becomes final and collectible, and a case that stays open may move on to a hearing officer or to abatement. Because those steps vary so much from place to place, the notice and the jurisdiction's posted procedures are the documents that describe what a hearing there involves.

Liens and how they are cleared

If the owner neither corrects the violation nor pays the penalties, the jurisdiction may record a lien. A lien is a recorded claim against the property, and it generally has to be resolved before title can transfer cleanly. If a jurisdiction finds a property is a public nuisance, it may also abate the condition itself and charge the cost to the owner. That cost can become a lien too. Penalty amounts, rates and recording charges come from each jurisdiction's ordinance and fee schedule. Code enforcement fines and code enforcement liens each depend on those local figures.

Because a lien is recorded, it stays on the property's record until it is resolved. It follows the property rather than the seller, so a sale does not clear it on its own. That is why a lien typically comes up at closing, where it is resolved at or before the transfer unless the buyer expressly agrees to take it. The jurisdiction's ordinance and the county recorder's records are where the specific steps for resolving a lien show up.

Disclosure exemptions

On a sale during or after a case, the disclosure article in Civil Code section 1102 applies unless an exemption fits. Civil Code section 1102.2 lists exempt transfers, including:

  • sales pursuant to court order
  • foreclosure sales
  • certain transfers by a fiduciary administering a trust or estate, with a stated exception for some revocable-trust trustees
  • "Sales or transfers from one coowner to one or more other coowners"
  • transfers to a spouse, or to a person or persons in the line of consanguinity of one or more of the transferors
  • transfers to or from any governmental entity

Options and Trade-offs

An owner facing an open case has several paths. Each has real costs, and none is right for every property.

Correcting the violation. The owner hires a contractor, pulls the required permits, completes the work and passes inspection, and the case closes. This path is the most direct one when the work is feasible and the owner plans to keep the property.

Legalizing unpermitted work. Some building departments allow an after-the-fact or "as-built" permit for work that was done without one. The department reviews the work, may require changes, and issues a permit and a final inspection if the work passes. Approval is not assured. Some cases need stamped drawings or calculations. Whether a particular project does is a call the building department makes during its review, and when it does, that is the point where an architect or engineer comes in.

Selling the property in its present condition. A property with open violations can be sold, and the buyer takes on the compliance obligation. The disclosure question here is the one under Civil Code section 1102 described above: whether the transfer falls within an exemption in section 1102.2, not whether the buyer is willing to overlook the violations. A buyer who pays cash and accepts the property as it is often offers less than an open-market price, because that buyer absorbs the repairs, the risk and the cost of reselling. In return, the seller gets less preparation, fewer showings, and less dependence on a buyer's loan.

Listing with a real estate agent. An agent can list a property with open violations, and both the seller and the agent disclose them. Buyers may ask for a lower price or require correction before closing.

Comparing written offers and estimated net proceeds is how an owner tells which path fits. Net proceeds are the price less commissions, repairs, carrying costs, loan payoffs and closing costs. No sale changes a notice, a lien or an enforcement order. Those stay in place whatever the buyer pays or accepts.

Doing nothing. This path has consequences of its own, covered in the hearing and lien sections above: accruing penalties, growing liens, and possible abatement. A dispute with the agency, a lender or a contractor is a contested matter for an attorney. A lawyer for code enforcement handles those questions.

Mistakes to Avoid

Most of these trip up owners who are acting in good faith. They come from timing and paperwork rather than from neglect.

  • Missing the notice deadline. The compliance clock runs from the date on the notice. Missing it usually triggers the next enforcement step, or turns a warning into a citation with penalties.
  • Letting a citation pass without a hearing request. Once the appeal window closes, the penalty generally becomes final and collectible.
  • Assuming a sale clears the violations. A recorded lien follows the property, not the seller. It must be resolved at or before closing unless the buyer expressly agrees to take it.
  • Starting repairs without permits. Unpermitted work on a property already under enforcement can create new violations.
  • Treating a red tag like a notice of violation. A stop-work order halts work right away, and continuing after one is posted is a separate violation.
  • Assuming every city works the same way. Each jurisdiction's ordinance sets its own timelines, fees and hearing steps.

What to Do Next

The notice or citation is the starting document. It names the violation, the correction deadline, the appeal procedure, and the contact person at the issuing department. The jurisdiction's code enforcement or building department page states the current ordinance, fee schedule and hearing procedures. A title search, or a check with the county recorder's office, shows whether a lien has already been recorded against the property.

Before choosing a path, an owner has three documents to gather: the notice, the department's posted procedures, and the recorder's lien record. Together they answer the first practical question, which is what has to happen by when, and whether anything is already recorded.

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 property

Free · You decide

Not sure where to start?

Tell us about the notice and your goals. We'll help you understand correction and sale options — you decide.

Get help with my property Call (888) 599-6621

Verify before you hire

Confirm any contractor's license and status with the state before signing a contract.

CSLB license lookup ↗

Frequently asked questions

What triggers a code enforcement case in California?

A case usually begins with a neighbor's complaint, a referral from another city or county department, or an officer's own observation. The city or county decides which conditions count as violations under its own local ordinance.

What is a notice of violation and what does it require?

A notice of violation identifies the condition, sets a correction deadline, and explains how to respond or appeal. An administrative citation is different because it usually carries a monetary penalty. A red tag or stop-work order is different again, because it halts work or occupancy.

Can a property owner appeal a code enforcement citation in California?

Generally, yes. An owner can usually request an administrative hearing before a penalty becomes final, and the local ordinance sets the deadline and procedure. Once the window closes, the penalty generally becomes final and collectible. A contested dispute with the agency is a matter for an attorney.

What happens if a code violation is not corrected?

Penalties can grow. The jurisdiction can record a lien, which is a recorded claim against the property that generally has to be resolved before title transfers cleanly. It may also abate the condition itself and charge the owner. The exact consequences depend on the local ordinance.

Does a code enforcement lien have to be paid before a property can be sold?

A recorded lien follows the property, so it generally has to be resolved at or before closing unless the buyer expressly agrees to take it. Separately, the sale may carry disclosure duties under Civil Code section 1102, depending on whether an exemption in Civil Code section 1102.2 fits.

Can unpermitted work be legalized after the fact in California?

Some jurisdictions offer an after-the-fact or as-built permit. The building department reviews the work, may require changes, and issues a permit and final inspection if the work passes. Approval is not assured, and it depends on the local ordinance and the nature of the work.

How does code enforcement work differently across California cities and counties?

The general pattern is common across California: complaint, inspection, notice, deadline, appeal, then a lien if the violation stays open. Each city and county sets its own ordinances, timelines, fees and hearing procedures. The jurisdiction's official code enforcement or building department page states the rules that apply.

Does selling a property as-is resolve an open code enforcement case?

No. A sale does not by itself close a case or remove a recorded lien, and the buyer takes on compliance. An as-is or cash sale also does not waive disclosure: Civil Code section 1102 still governs unless the transfer falls within an exemption in section 1102.2.

Call Get help with my property