Selling a House With Code Violations
The city says something needs to be fixed. That doesn't necessarily mean you have to be the one who fixes it before the house is sold.
Often, yes. A code violation does not automatically prevent a property from being sold.
However, local rules may require inspections, disclosures, escrow arrangements, certificates, correction plans, or other steps before or after transfer. Existing fines or municipal liens may also need to be resolved through closing.
Understanding Your Situation
Code violations can turn ordinary homeownership problems into deadlines, notices, inspections, fines, and a growing list of things the city or county expects you to correct.
Some violations are minor. Others involve electrical hazards, structural problems, unpermitted work, unsafe occupancy, exterior deterioration, or conditions serious enough that the property cannot legally be occupied until repairs are completed.
You can often sell a house with code violations. The real questions are whether the violations must be corrected before transfer, whether fines or liens have attached, what the buyer is willing to assume, and what local law requires.
What a Code Violation Actually Means
A code violation generally means a local enforcement authority believes the property does not comply with an applicable building, housing, property-maintenance, zoning, safety, or related ordinance.
The notice matters. Read exactly what condition is cited, which ordinance applies, what correction is required, and what deadlines or appeal rights exist.
How Selling a House With Code Violations Works
-
1Gather Every Notice and Record
Inspection reports, citations, permit records, and communications from the municipality.
-
2Confirm What's Still Open
Which violations remain open, whether fines are accumulating, and whether any lien has been recorded.
-
3Assess Condition and Value
Estimate the cost and practicality of correction.
-
4Compare Repairing vs. Selling As-Is
Weigh the cost of compliance against the likely increase in net proceeds.
-
5Brief the Buyer Before Accepting an Offer
Make sure the buyer and closing professional understand the open violations and any transfer requirements.
Common Types of Code Violations
- Unsafe electrical work
- Plumbing defects
- Structural deterioration
- Roof problems
- Broken windows
- Missing handrails
- Peeling exterior surfaces
- Excessive debris
- Overgrown lots
- Abandoned vehicles
- Unsafe porches or stairs
- Unpermitted additions
Some are inexpensive to fix. Others expose a much larger underlying repair problem.
Your Main Options
Start With the Actual Violation Notice
Do not rely on a neighbor's description or a contractor's guess. Obtain the official notice and confirm whether it is still active.
Ask the enforcement office what must happen to close the case, whether reinspections are required, whether permits are needed, and what happens if ownership changes.
Fines, Penalties, and Municipal Liens
Some jurisdictions assess daily or periodic fines. Others may place costs, assessments, or liens against the property.
A recorded municipal claim can affect title and may need to be paid or otherwise resolved at closing. Determine the amount early rather than discovering it after a buyer is under contract.
Determine the exact fine or lien amount early. A recorded municipal claim can affect title and needs to be resolved before a buyer expects to close.
Unpermitted Work
Finished basements, additions, decks, converted garages, electrical upgrades, plumbing, and other work may have been completed without required permits.
The solution can range from obtaining a permit after the fact to opening walls, correcting work, removing improvements, or obtaining professional plans. Local rules control.
Unsafe or Uninhabitable Properties
Serious violations can result in unsafe-building designations, condemnation proceedings, occupancy restrictions, or orders to repair or demolish.
Do not allow people into areas the municipality or qualified professionals have identified as unsafe. A sale may still be possible, but the buyer needs to understand the legal status and deadlines.
Vacant Property and Code Enforcement
Vacant houses can attract enforcement for grass, snow, debris, broken windows, unsecured openings, exterior deterioration, and local vacant-property registration requirements.
If you live elsewhere, arrange reliable property checks so a minor notice does not turn into a larger enforcement problem.
Should You Make the Repairs Before Selling?
Compare the cost of compliance with the likely increase in net sale proceeds. Include permits, professional fees, contractor work, reinspections, carrying costs, and the possibility that opening one repair exposes another.
If the violation is inexpensive and removes a major buyer objection, fixing it can make sense. If compliance requires a large rehabilitation, selling as-is may be more practical.
There is no universal discount for code violations. A $500 exterior violation is not economically equivalent to a structural order requiring tens of thousands of dollars in work.
Dealing With an Open Violation?
We buy houses with code violations regularly — let's talk about yours.
"(Required)" indicates required fields
How Code Violations Affect Value
There is no universal discount. The effect depends on repair cost, severity, financing impact, municipal deadlines, buyer risk, and the property's value after correction.
Financing and Insurance
Some code conditions can interfere with mortgage financing or insurance, particularly when they affect habitability, safety, utilities, structural integrity, or occupancy approval.
Cash buyers avoid mortgage-lender property standards, but they still account for the cost and risk of bringing the property into compliance.
Disclosure and Buyer Due Diligence
Known violations and material property defects may be subject to state disclosure requirements. Local transfer inspections or municipal reports may also reveal open issues.
Do not assume an as-is clause allows you to hide a known enforcement problem.
What If You Disagree With the Violation?
Notices may provide an administrative appeal, hearing, correction conference, or other review process.
If the citation is wrong or the required remedy is unclear, use the municipality's formal process rather than simply ignoring the notice.
When Repairing and Listing May Make More Sense
Repairing may be worthwhile when the violations are clearly defined, affordable, and likely to restore access to the retail buyer pool without a long delay.
This is especially true when the house is otherwise in good condition.
When an As-Is Direct Sale May Make More Sense
A direct sale can make sense when violations overlap with major repairs, the property is vacant, fines are accumulating, the owner lacks funds or time, or the rehabilitation is better suited to an experienced buyer.
The transaction still has to comply with local transfer and enforcement requirements.
Questions to Ask Before You Decide
- What violations are open? What exactly must be corrected?
- Are fines accumulating? Is there a lien? See Fines, Penalties, and Municipal Liens.
- Is the property legally occupiable? Are permits required?
- Can the violations transfer to a buyer?
- What will compliance cost?
- What is the property worth as-is and after correction?
- How long will the work take?
Common Mistakes
- Ignoring official notices.
- Assuming the violation disappears when the property is sold.
- Repairing without obtaining required permits.
- Paying contractors before confirming what the municipality actually requires.
- Hiding known violations.
- Waiting until closing to investigate liens.
- Assuming every buyer can obtain financing.
- Spending heavily to make a property perfect when correcting a few specific barriers would have produced nearly the same net result.
Code enforcement is highly local. Building codes may be based on broader model codes or state rules, but inspections, property-maintenance ordinances, vacant-property programs, transfer requirements, enforcement practices, and fines are commonly administered by cities, townships, counties, or other local authorities.
This is a situation where city-level guidance can matter more than the state-level overview.
How We Can Help

Dennis Buys Houses purchases properties as-is when repairs, timing, occupancy, title issues, or other complications make a traditional sale difficult. There is no obligation to sell to us. We can explain what we would offer, how the transaction would work, and how it compares with your realistic alternatives — and if another route is likely to leave you materially better off, we'll tell you that too.
Get a No-Obligation Offer
We'll factor in the violations so there are no surprises later.
"(Required)" indicates required fields
Frequently Asked Questions
Often yes, but local transfer requirements and the status of fines, liens, or unsafe-building orders can affect the transaction.
Not always. Some jurisdictions allow a buyer to assume correction responsibilities, while others require specific work or arrangements before transfer.
They can in some jurisdictions. Confirm the property's municipal and title status early.
Potentially, but serious safety orders, demolition requirements, and local transfer rules can substantially affect the sale.
It depends on the violations, property condition, insurer, lender, and loan program.
Often yes, subject to local rules, disclosure requirements, and the buyer accepting the condition.
That depends on local law and the closing arrangement. Never assume ownership transfer automatically closes the case.
Compare the likely increase in net proceeds with the full cost, time, and risk of compliance.
Local authorities determine what is required to legalize, correct, or remove unpermitted work.
The code, building, housing, or other enforcement department identified on the official notice is the best starting point.
Final Thoughts
A code violation is a solvable problem, not a dead end. Get the official notice, find out exactly what's required and what it will cost, and compare that against selling as-is. Once you know the real numbers, the path forward is usually a lot clearer than the notice made it feel.
Have an Open Code Violation and Need to Sell?
Dennis Buys Houses purchases properties with open violations in their current condition. We'll explain how we evaluate the property, what our offer accounts for, and which closing costs we'd pay — and if correcting the violation and listing is likely to leave you materially better off, we'll tell you that too.
"(Required)" indicates required fields