An owner in this position may be holding a code enforcement notice, a citation or a red tag. The property may be a rental, an inherited house, or a home with an addition or ADU that never received a final permit. That owner is trying to work out whether paying for permits and work makes sense, or whether a sale in today's condition fits better. They also want to know what the law still asks of them either way. This guide walks through the decision piece by piece. It covers what the choice means, who faces it, which California disclosure rules apply, how the main paths compare, and the records that tend to settle the question.

A California property with open code violations can either be corrected or sold in its present condition. Neither choice is right in every case. The answer turns on what the violations are, what correction would take, and the owner's money and time. Selling does not erase disclosure duties or recorded liens. The clearest way to compare the two paths is by estimated net proceeds.
On this page
What It Means for Owners
A "problem property," in the code enforcement sense, is one that carries an open code enforcement notice, a citation, a red tag, or unpermitted work that never received a final permit. A notice or citation is the city's or county's written statement that something on the property breaks a local building, housing or nuisance code. A red tag is a posted order. It usually limits use or occupancy of all or part of a building until the problem is addressed. Unpermitted work is construction done without the permits and inspections the local building department requires.
The decision in front of the owner comes down to two broad paths. The first is correction, which means bringing the property into compliance with permits, work and inspections. The second is sale, which means selling the property in its present condition with the violations disclosed. Variations sit inside each path, but those are the two directions.
No single answer fits every property, because the choice depends on several things at once:
- The nature of the violations. A missing permit for finished work is a different problem from a structure a building official has found unsafe.
- The cost and time to correct. These depend on the scope of work, what plans or engineering the building department asks for, and inspection scheduling.
- The owner's financial position. Correction requires paying up front. A sale converts the property to proceeds.
- How the property is used. An owner-occupied home, a tenant-occupied rental and a vacant house each raise different questions.
The general background is laid out under building code violations.
Who It Affects
Owner-occupants, landlords, heirs, co-owners and investors all face this decision, but each comes to it from a different place.
- Owner-occupants live in the property. A red tag or a correction order may affect where they can live while work is done.
- Landlords have tenants. Enforcement can touch the rental itself, and correction work has to be planned around the people living there.
- Heirs have inherited a property that already carried violations or unpermitted work. They often find out from paperwork after the death.
- Co-owners share title with others. One co-owner's preference does not settle the matter for the rest.
- Investors bought a property with existing violations, sometimes on purpose. They may already be counting correction costs against resale.
Heirs and co-owners face an extra question: who has the authority to sell or sign. That authority comes from how title is held, as shown in the recorded deed and, for an estate or trust, in the documents that govern it. A family agreement or the fact of living in the house does not grant it. Two siblings may agree the house should be sold, but that agreement does not give either one power to sign a deed the title does not give them.
Where co-owners disagree, or a lender or an agency is in conflict with the owner, the matter is contested. A contested matter is a different subject, and an attorney handles it.
Rules, Disclosures and Fine Print
Civil Code section 1102 sets the reach of California's seller disclosure article. In its words, "Except as provided in Section 1102.2, this article applies 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: "Any waiver of the requirements of this article is void as against public policy."
In practical terms, the disclosure duties are not switched off because a buyer pays cash, skips a loan, or agrees to take the property "as-is." As-is describes the condition a buyer accepts. It does not release the seller from the disclosure article. A clause in which a buyer agrees to give up the seller's disclosures is a waiver, and section 1102(c) makes that waiver void. Known code violations and unpermitted work are the kind of facts sellers commonly raise with an agent or attorney when preparing disclosures.
The duties do, however, depend on who the buyer is and how the transfer happens. Civil Code section 1102.2 lists transfers the article does not apply to, including:
- sales or transfers pursuant to court order, such as probate sales and foreclosure sales;
- sales or transfers by a fiduciary administering a trust, guardianship, conservatorship or decedent's estate, though this exemption does not reach a natural-person trustee of a revocable trust who is a former owner or was an occupant in possession in the preceding year;
- "Sales or transfers from one coowner to one or more other coowners";
- sales or transfers made to a spouse, or to a person or persons in the line of consanguinity of one or more of the transferors;
- sales or transfers or exchanges to or from any governmental entity;
and the list continues with other categories, such as transfers of any portion of a property that is not single-family residential property.
A property can be sold in its present condition. Any repair or correction requirement tied to a particular sale comes from the local order or the contract, not from the word "as-is." Recorded enforcement liens and notices are a separate concern. They are tied to the property's records, and a sale does not make them go away on its own terms. How a recorded code enforcement notice is handled at closing depends on its terms. A title officer or an attorney can explain it for a given property.
Options and Trade-offs
Each path trades one set of costs and risks for another. The fair comparison looks at the same property under each one.
Correct the violations, then sell or hold. Correction usually means applying for permits, often after the fact for work already built. In general terms, an after-the-fact permit follows the same sequence as any permit, applied to work that already exists: an application to the building department, plans or engineering if the department asks for them, work to do or redo what does not meet code, and inspections until the department finalizes the permit. Because the work is already built, inspectors may need to see parts of it that are covered, which is one reason correction may reveal more problems once walls are opened. A corrected property can draw a wider pool of buyers, including those using a loan. It also leaves a buyer less room to negotiate over open violations. The cost is time and money, and both depend on the scope of work and what the building department requires. No permit approval is promised in advance.
Unpermitted ADUs. An accessory dwelling unit built without a final permit is a common version of this problem, and it raises the same correct-or-sell question on a smaller scale. Legalizing it generally runs through the after-the-fact permit process described above, handled by the local building department. What that department requires for a particular unit, and whether the unit can be brought into compliance, is a question for the department and a contractor or architect. If the ADU is not legalized, it is one of the items disclosed in a sale.
Sell on the open market in present condition. The property can be listed with a real estate agent as it stands. The violations and unpermitted work are disclosed under the rules above. Buyers may offer less because of the open issues, ask for a credit, or make correction a condition of the sale. Some buyers' lenders may hesitate over a property with open violations. That can narrow the field or slow a sale. In return, the owner avoids financing the work and keeps the open market's price competition. More on this path is under selling a property as-is.
Sell directly to a buyer who pays cash and takes the property as it is. A buyer in this position prices in everything they are taking on, so a direct offer is often lower than what the same house might bring on the open market. That buyer is absorbing the correction work, the risk of hidden problems and the cost of reselling later. What the seller gets back is less preparation, fewer showings, and less reliance on a buyer's loan being approved. The disclosure article, any recorded lien and any enforcement order still apply as they would in any other sale.
The way an owner tells which path fits is by comparing written offers and estimated net proceeds. Net proceeds means the price less commissions, repairs, carrying costs such as taxes, insurance and loan payments while work is done, loan payoffs, and closing costs. An appraiser can address value, and a contractor can price the work. The comparison itself shows which path fits; no rule decides it.
Mistakes to Avoid
Ignoring a code enforcement notice tends to make every path harder. Enforcement can escalate when a notice goes unanswered. The order and timing of the steps, and any amounts, are set by the local ordinance and the order itself, so they differ from one place to the next. Fines may grow. The agency may record a lien or notice against the property. The matter may be referred to the city attorney or a prosecutor. Each of those steps follows the property into either path.
Several other mistakes come up often:
- Treating a cash or as-is sale as the end of disclosure. The disclosure duties belong to the seller under the article and do not depend on how the buyer pays. Civil Code section 1102(c), covered above, voids a waiver.
- Assuming correction is always faster or cheaper. The scope of work, building department review times and contractor availability all shape both time and cost. Some problems grow once work begins.
- Transferring title to a relative to escape enforcement. Code enforcement obligations run with the property, not only with the owner of record. A new owner takes the property along with its open notices and recorded liens. A transfer to a relative may also raise property-tax reassessment and income tax questions. A CPA or a tax attorney reviews the tax side.
- Deciding before checking title. Recorded liens, unpaid taxes and prior enforcement orders affect correction and sale alike. They can change the net proceeds on either side of the comparison.
Each of these mistakes involves acting on an assumption before the records are in hand. That is understandable when a notice has a deadline on it. The records, though, are what show the real shape of the decision.
What to Do Next
The code enforcement notice or citation is the first document that matters. It names the specific violation, sets a correction deadline, and identifies the issuing department, whether that is a city's code enforcement division or building department or a county agency. That deadline is the one that governs, and it is stated in the document itself. Local procedures differ from one city to the next. Pages such as code violation help and San Diego code violation help describe how enforcement works in particular places.
Two other records fill in the picture:
- A current title report or property profile. A title company can provide one. It shows recorded liens, prior enforcement orders and anything else attached to title.
- The building department's permit history. It shows what was permitted and finaled, what was left open, and where unpermitted work, including an unpermitted ADU, may sit.
Where co-owners, a lender or an agency are in dispute with the owner, an attorney or the California Courts self-help resources are where that contested side is handled.
Reading the notice side by side with the property's permit history is usually where it becomes clear which path is realistic. That comparison shows what has to be corrected, what was never permitted, and what a buyer would see in the records.
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
Can a property with code violations be sold in California?
Yes. A property can be sold in its present condition. The disclosure article in Civil Code section 1102 still applies to covered transfers of single-family residential property, and section 1102(c) voids any waiver. Paying cash or buying as-is does not change those duties. Only the exemptions in section 1102.2 do.
Do seller disclosure duties apply when selling to a cash buyer?
Generally, yes. How the buyer pays does not remove the duties. The duties are not identical whoever the buyer is, however. Civil Code 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 or from a governmental entity.
What happens to a code enforcement lien when a property is sold?
A recorded enforcement lien is tied to the property's records and does not disappear because the property changes hands. Whether it is paid from the sale proceeds or stays on title depends on its terms. A title report shows any recorded lien, and a title officer or attorney can explain how it is handled.
What is the difference between correcting violations and selling as-is?
Correcting means getting permits, doing the work and passing inspections. Selling as-is means a buyer accepts the property in its current condition, with the violations disclosed. Each path differs in cost, time and effect on price, and neither is better in every case.
Does transferring a property to a relative stop code enforcement?
No. Enforcement obligations run with the property, so an open notice or recorded lien stays with it after the transfer. A transfer to a relative may also raise reassessment and tax questions, which a CPA or tax attorney reviews.
How does a property owner compare the correction path against the sale path?
The owner sets written offers against estimated net proceeds under each path, using the same cost items described in the Options and Trade-offs section above. The result depends on the scope of the violations, the cost to correct them and the market for the property.