Code violations do not have to stop a sale in California. Minor issues like a missing handrail or an outdated smoke detector are usually worth fixing before you list, since the repair is cheap and it clears the inspection report. Major violations, like an unpermitted addition or failing electrical, often cost more to fix than they add back in resale value, and selling as-is to a cash buyer lets you skip the repairs and the wait entirely.
TLDR
- Minor violations (missing handrails, outdated detectors) are usually worth fixing. Major ones (unpermitted additions, failing electrical or plumbing) often aren’t.
- Violations don’t disappear when you sell. California law requires you to disclose known violations on the Transfer Disclosure Statement, and that’s true even in an as-is sale.
- If the city has issued an Order to Comply, noncompliance fees can keep accruing and the city can record a lien against the property until it’s resolved.
- Cash buyers purchase properties with open violations as-is and take on the permit and repair work after closing.
A code violation notice in the mail can turn a straightforward sale into something that feels a lot more complicated overnight, and most homeowners aren’t sure whether to spend the money fixing it or just sell the house the way it sits.
If you already know you’re selling as-is and just want the step-by-step process, that’s covered in our guide on how to sell with code violations. This post is about the decision itself: fix it, or sell it as-is.
The right call depends on what the violation actually is, what fixing it costs against what it adds back to your sale price, and how much time you have. Some violations are worth ten minutes and a hundred dollars. Others aren’t worth touching before you sell.
What Counts as a Code Violation in California?
A code violation means a property doesn’t meet the local building, safety, or zoning standards that apply to it, and the range runs from cosmetic to serious.
Common examples on California homes:
- Unpermitted room additions or garage conversions
- Electrical or plumbing work that was never inspected or permitted
- Missing smoke or carbon monoxide detectors
- Illegal units or ADUs built without the required permits
- Structural issues flagged by the city, like an unsafe deck or a failing retaining wall
Los Angeles homeowners can look up open violations and permit history on a property through the LADBS Permit and Inspection Report, which is free and searchable by address.
Do Code Violations Transfer to the Buyer When You Sell?
Selling the house does not make the violation disappear. Whoever owns the property when the city comes back to check is the one responsible for resolving it, so an unresolved violation simply becomes the new owner’s problem unless the sale itself is what triggers a fix.
That’s exactly why disclosure matters so much here. California law requires sellers to disclose known material facts affecting a property’s value, and that duty applies through the Transfer Disclosure Statement under Civil Code Section 1102 and following. Selling as-is doesn’t get you out of it, and the law says so directly. In Civil Code Section 1102.1, the Legislature made clear that a TDS may not be waived in an as-is sale.
Skipping that disclosure isn’t a shortcut. It’s the fastest way to end up on the wrong end of a lawsuit after closing, once a buyer discovers something you knew about and didn’t say.
Do Fines and Fees Keep Adding Up While You’re Selling?
They can, and this is the part that catches people off guard. When a city building department identifies a violation, it typically issues an Order to Comply with a deadline. In Los Angeles, that’s an LADBS order, and missing the compliance date can trigger a noncompliance fee under the Los Angeles Municipal Code, on top of the original inspection fee.
If the fees go unpaid long enough, the city can record a lien against the property under Los Angeles Administrative Code Section 7.35.3. That lien has to be resolved, usually paid off through escrow, before the title can transfer cleanly. This is county- and city-specific, so check with your local building department for the exact process where your property sits.
When Fixing the Violations Is Worth It
Fixing makes the most sense in three situations, and they usually overlap.
The violations are minor
A missing handrail or an outdated smoke detector is inexpensive to fix and removes a flag that would otherwise show up on every buyer’s inspection report.
You’re targeting a traditional buyer with a mortgage
Most lenders require a property to meet minimum standards before they’ll fund the loan, and that’s especially true for FHA and VA loans. If your buyer pool depends on financing, unresolved violations can sink a deal at the worst possible moment, during underwriting.
You have the time and the budget
If you’re not on a deadline and repairs are affordable, fixing them ahead of listing usually widens your buyer pool and can support a higher offer.
When Selling As-Is Makes More Sense

As-is is usually the better call when the numbers or the timeline point that way.
The repairs cost more than they’re worth
Foundation issues, roof failures, and unpermitted additions can run into the tens of thousands of dollars to bring up to code. Foundation and major roof work are consistently among the most expensive home repair categories, and pouring that money into a house you’re ready to leave rarely pencils out.
You need to sell on a shorter timeline
Pulling permits, hiring a contractor, and scheduling inspections routinely takes months, not weeks. If you’re relocating, managing an estate, or dealing with a deadline of your own, that timeline may not work for you.
The property has several unrelated issues
Some older homes carry a mix of problems at once, electrical, plumbing, and structural, where the combined repair bill exceeds what any of it adds back at resale. As-is is generally the more financially sound path here.
What a Cash Sale Looks Like With Open Violations

Cash buyers purchase homes with open code violations as-is and typically handle the outstanding permits, fines, or liens as part of closing rather than requiring the seller to clear them first. Mrs. Property Solutions has purchased 150+ homes across Los Angeles County since 2016, including properties with unresolved permit and code issues on file, and factors that condition into the offer upfront rather than renegotiating after inspection.
In one Burbank sale, the property had significant foundation issues along with decades of deferred maintenance the family hadn’t had the time or budget to address from out of state. Rather than asking the sellers to fix anything first, the offer accounted for the foundation work and the property’s full condition from the start, and the amount at closing matched the original offer exactly. That’s the difference between a repair-contingent sale and one where the condition is priced in from day one.
Your Other Options
Fixing the violations yourself and listing traditionally, or selling as-is to a cash buyer, are the two main paths, and the right one depends on your repair budget and your timeline. If your main concern is the repair list itself rather than the violations specifically, our page on selling a house that needs repairs covers that broader decision. For the fuller cash-versus-agent comparison, see our full guide to selling a damaged home.
If you’ve read this far, you’re probably weighing the repair bill against the hassle of doing it yourself, or wondering whether anyone would even want a house with open violations on it.
Mrs. Property Solutions buys houses across Los Angeles County in their current condition, including homes with unresolved code violations, unpermitted work, or open city fines. Founded in 2016 by Cristina Ortega, the company has purchased 150+ homes and earned 50+ five-star reviews from sellers navigating exactly this kind of situation. No repairs required, no commissions, and the offer made is the offer honored at closing.
If you want to see what a cash offer looks like for your property as it sits, you can start with a no-obligation cash offer.
There’s no cost and no pressure to move forward.
Frequently Asked Questions
Do code violations transfer to the new owner when I sell in California?
Yes. An unresolved code violation stays attached to the property, not the person who owned it when the violation was recorded. Whoever owns the home when the city follows up is responsible for resolving it, which is why disclosing known violations to a buyer during the sale matters.
Should I fix code violations before I list my house?
It depends on the size of the violation and your timeline. Minor issues like a missing smoke detector are usually worth fixing before listing. Major structural or unpermitted-work violations often cost more to repair than they add back in resale value, which is when selling as-is tends to make more sense.
Do fines keep adding up while I’m trying to sell?
They can. Once a city issues an Order to Comply with a deadline, missing that deadline can trigger a noncompliance fee, and unpaid fees can eventually turn into a lien recorded against the property. Check with your local building department for your property’s specific status and timeline.
What does it mean if my house has been red-tagged?
A red tag means the building department has determined the property is unsafe to occupy, usually due to a serious structural, electrical, or fire hazard. It’s more severe than a standard violation notice and typically has to be resolved or addressed in the sale before anyone can legally live there again.
Do I have to disclose code violations if I sell my house as-is?
Yes. California’s Transfer Disclosure Statement law requires sellers to disclose known material facts about a property’s condition, and the law is explicit that this requirement cannot be waived just because the sale is as-is.
Can I sell a house with open code violations to a cash buyer?
Yes. Cash buyers routinely purchase homes with open violations, unpermitted work, or city fines in their current condition and handle the permit or repair process themselves after closing, rather than requiring the seller to resolve it first.
How do I find out what violations are on record for my property?
Contact your local building department directly, or in Los Angeles, use the LADBS Permit and Inspection Report, which is a free public search by property address that shows both permit history and open code enforcement activity.
How much does it typically cost to fix common violations?
It varies widely by the type of violation. Minor fixes like handrails or detectors can run under a few hundred dollars. Major issues like unpermitted additions, roof failures, or foundation work routinely run into the tens of thousands, which is the gap that usually decides whether fixing or selling as-is makes more financial sense.
Helpful Resources
- Selling without a realtor
- How to Secure a Vacant Property in California
- How to Sell a Vacant House Fast in California
- How to Sell a House With Major Repairs Needed in California
- Can You Sell a House With Foundation Problems in California?
- Should You Fix a Leaking Roof Before Selling?