An owner holding a hearing notice, a lien letter or a court petition about a house or rental is looking at a case that has moved past a simple fix-it request. The question in front of that owner is not only what the city wants repaired, but whether the next step needs someone who can appear, argue and protect the owner's rights. This guide walks through how a code case escalates, which owners face the heavier stakes, the California rules that matter, and the paths open from here.

A routine code enforcement notice asking an owner to correct a violation can often be handled by fixing the problem and getting it signed off. A California code case usually calls for an attorney once it moves past that point: a formal hearing, a recorded lien, a receivership petition, a criminal citation, a tenant dispute, or a question about who has authority to act for the property.
On this page
What It Means for Owners
A code enforcement case starts when a local agency finds a condition it believes breaks a building, housing, health or zoning rule. In California, the agency is usually a city's or county's code enforcement division, its building department, or its health department, depending on the violation and on how that city or county organizes the work.
The ordinary path is a notice. It names the violation, asks the owner to correct it by a set date, and often requires a permit and an inspection to close the case. A guide to reading code enforcement notices covers what those notices contain. Many cases end there.
The escalated path looks different. When a correction is not finished, or the owner disputes that a violation exists, the agency has other tools. One is an administrative citation: a written penalty, usually a fine, issued by the city or county itself rather than by a court, which the owner can generally contest at a hearing under the local ordinance. Another is nuisance abatement: the agency's process for ending a condition it treats as harmful to the public, which can include the agency doing the work itself and then seeking its costs from the owner. Further along, an agency can ask a court to act, and some violations can be charged as crimes.
Each step raises the stakes. A notice asks for a repair. A hearing produces a decision that can become final. A lien attaches to the property's title. A court petition can take control of the building out of the owner's hands. The point at which an attorney becomes relevant usually tracks those steps.
Who It Affects
Owners whose case has reached one of these stages are the ones for whom legal counsel tends to matter:
- A formal administrative hearing. A hearing notice means a hearing officer will decide the citation or order, and that decision carries consequences.
- A lien or a notice of intent to lien. These concern unpaid fines or the agency's abatement costs, and they reach the property's title.
- A receivership petition. A receivership is a court process in which a judge appoints a neutral third party, the receiver, to take control of a substandard building and manage its repair. California Health and Safety Code section 17980.7 authorizes it in the cases that section describes.
- A criminal citation or a referral to the city or county attorney. A criminal matter carries rights and risks that differ from an administrative one.
- A landlord with tenants involved. Rent withholding, a habitability claim, or a tenant who filed the original complaint all change the picture, and Health and Safety Code section 17980.7 lets a tenant or tenant association seek a receiver too.
- Heirs and co-owners. Where authority to act for the property is unclear or disputed, the question of who can sign comes before the question of what to repair.
- A buyer or heir who took title with open violations. The new owner of record can become the named respondent on violations that existed before.
Where co-owners, a lender or tenants are in conflict with the owner, or a lawsuit has been filed, that contested matter is a different subject handled by an attorney.
Rules, Disclosures and Fine Print
Three areas of law tend to decide how much is at stake: appeal rights, liens and receivership, and seller disclosure.
Appeal rights. An owner generally has a right to contest an administrative citation or a hearing officer's decision. The deadline and the process are set by the local ordinance of the city or county that issued it, so they differ from place to place; the citation or decision itself usually states them.
Liens. Depending on the local ordinance, a city or county may record a lien against the property for unpaid fines or the cost of abatement work. A recorded lien is a claim against the property's title, and it is generally resolved before or at a sale.
Receivership. Under California Health and Safety Code section 17980.7, the rules apply "if the owner fails to comply within a reasonable time with the terms of the order or notice issued pursuant to Section 17980.6." The enforcement agency, a tenant, or a tenant association or organization may then seek a receiver. The petition must include proof that notice was posted on the building and mailed first-class to everyone with a recorded interest in the property "not less than three days prior to filing the petition." In deciding, the court "shall consider whether the owner has been afforded a reasonable opportunity to correct the conditions cited in the notice of violation."
If a receiver is appointed, the owner and the owner's agent are barred from collecting rents, interfering with the receiver, and "encumbering or transferring" the building or the land under it. The receiver's powers run in a set order of priority unless the court permits otherwise, beginning with taking full control of the property, managing it and paying its expenses, getting a cost estimate and construction plan from a contractor, and contracting for the repairs, and the list continues in the statute. The same section also lets a court order the owner not to claim certain state tax deductions tied to the cited structure; a CPA or tax attorney reviews what that would mean for a particular owner.
Seller disclosure. California Civil Code section 1102 makes the state's seller disclosure article apply, "except as provided in Section 1102.2," to transfers of single-family residential property by sale, exchange, real property sales contract, lease with an option to purchase, other option to purchase, or ground lease coupled with improvements. Civil Code section 1102(c) states that "any waiver of the requirements of this article is void as against public policy." Civil Code section 1102.2 lists transfers the article does not cover, including "sales or transfers from one coowner to one or more other coowners," transfers to a spouse or to a relative in the line of consanguinity, transfers to or from a governmental entity, sales pursuant to court order, and others. So whether the duties apply depends on the kind of transfer and who the buyer is, but not on whether the buyer pays cash.
Options and Trade-offs
An owner whose case has escalated still has choices, and each one carries a cost.
Correcting the violations. When the violations are clear and the owner has the money and time to act, correcting them, pulling any needed permits and passing final inspection is the most direct way to close a case. A guide to code violation correction covers how that work proceeds. The trade-off is the repair cost and the owner's own effort, and correction does not by itself erase fines or liens already imposed.
Appealing. Where an owner believes a citation is wrong or the process was flawed, an appeal is the route the ordinance provides, and an attorney can represent the owner at the hearing. The trade-off is legal cost and the chance the decision stands.
Negotiating a compliance timeline. Some agencies will agree on a schedule for the work, sometimes before a lien is recorded or a receivership is sought. Whether that is available depends on the agency and the stage of the case, and it is not assured.
Selling. An owner may sell a property with open violations, and a guide to selling a property as-is covers that path. "As-is" describes the condition a buyer accepts; it does not change the seller's disclosure duties under Civil Code section 1102, and a lien or enforcement order does not disappear because the property changes hands. Where a receiver has already been appointed, the court's order bars transfer, so a sale at that stage runs through the court.
A sale can be listed with a real estate agent on the open market or made directly to a buyer who pays cash and takes the house in its present condition. A direct offer is often lower than an open-market price, because that buyer takes on the repairs, the risk and the cost of reselling. In return the seller usually gets less preparation, fewer showings and less dependence on a buyer's loan. Comparing written offers by their estimated net proceeds, meaning the price less commissions, repairs, carrying costs, loan payoffs and closing costs, is how an owner can weigh one path against another.
A contested matter, such as a co-owner dispute, a lender conflict or tenant litigation, is a different subject handled by an attorney.
Mistakes to Avoid
Missed appeal deadlines account for many hard-to-undo outcomes. Once the window the local ordinance sets has closed, a citation or hearing decision typically becomes final, and the owner loses the chance to contest it.
Ignoring a receivership petition is another. A receivership petition is a court filing served on the owner, and a court can act on it whether or not the owner responds. Health and Safety Code section 17980.7 already requires the court to consider whether the owner had a reasonable opportunity to correct the conditions; an owner who does not appear leaves that question to others.
Assuming a cash sale ends disclosure duties causes trouble later. The duties follow the type of transfer and the identity of the buyer, as Civil Code sections 1102 and 1102.2 state them, and Civil Code section 1102(c) voids any waiver.
Acting on a co-owned or inherited property without authority creates its own problem. Who can sign a repair contract, an agreement with the agency or a sale depends on how title is held and what any trust, court order or estate documents say, not on what relatives or occupants agree among themselves.
Treating the permit and the code case as one process also confuses owners. A permit from the building department may be needed to correct a violation, but the permit and the enforcement case often run on separate tracks, each with its own dates. A guide to building code violations explains how those offices divide the work. As a hypothetical, an owner could hold an open permit and still face a hearing on the enforcement case, because the agency is tracking a different deadline.
What to Do Next
The documents already in hand say the most. A notice, citation or hearing notice names the agency, the violation, the response the agency expects and the date it expects it.
If a lien has been recorded, the county recorder's office holds the recorded document, and the county assessor's or tax collector's office can say whether abatement charges have been added to the property tax bill. If a receivership petition has been filed, it is a court case, and the superior court in the county where the property sits holds the record.
For an owner at this stage, the practical next step is to gather the notice, any citation or hearing notice, and any recorded lien or court papers in one place, then check the response date each one states. That set of papers is what an attorney looks at first when deciding whether the case needs representation.
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 lawyer do in a code enforcement case?
An attorney can represent the owner at an administrative hearing, file an appeal of a citation or hearing decision, respond to a receivership petition, and advise on the owner's rights and the agency's authority. In a criminal matter, an attorney defends the owner in court. This site does not provide legal representation or legal advice.
Do I need a lawyer for a code enforcement notice?
A routine notice asking for correction by a set date does not always call for counsel; many owners close those by making the repair. Legal help becomes more relevant at the escalation points this guide describes: a formal hearing, a lien, a receivership petition, a criminal citation or a tenant dispute.
What is a receivership in a code enforcement case?
It is a court process under Health and Safety Code section 17980.7 in which a judge appoints a receiver to take control of a substandard building and oversee its repair. The owner keeps title but, while the receiver serves, is barred from collecting rents, interfering with the receiver, or encumbering or transferring the property.
Can a city put a lien on my property for code violations?
Yes, depending on the local ordinance, a city or county may record a lien for unpaid fines or abatement costs. A recorded lien is a claim against title and is generally resolved before or at a sale. The county recorder's office holds the recorded document.
Does selling the property get rid of a code enforcement case?
No. A sale does not by itself close the case or remove a recorded lien, which follows the property until resolved. The seller's disclosure duties under Civil Code section 1102 still apply to covered transfers, a waiver is void under section 1102(c), and paying cash does not change that.
What is an administrative citation appeal in California?
It is the process for contesting a citation issued by a city or county agency. The local ordinance sets the deadline and the steps, and missing the deadline typically makes the citation final. An attorney can represent the owner at the appeal hearing.
What happens if I ignore a code enforcement case?
Fines may build, a lien may be recorded, and for substandard buildings the agency or tenants may petition a court for a receiver. A court can rule on that petition without the owner's participation if the owner does not respond.