How to Sell a House with Code Violations (2026 Guide)

Unpermitted additions, failed inspections, condemned notices — here's how to sell without spending months and thousands fixing things first.

Blog  ·  Code Violations  ·  May 5, 2026  ·  7 min read

A code violation notice from the city. An unpermitted addition the previous owner built decades ago. A failed inspection from a buyer who wanted the house but now wants $40,000 in repairs. An abandoned property that the county is threatening to condemn. Code violations come in many forms and at many points in the selling process, and they create real complications — especially when you're trying to move quickly. This guide explains what you're dealing with, what you legally have to disclose, and how to sell without spending a year and your entire budget on remediation.

What Counts as a Code Violation

Building codes cover everything from electrical panel capacity to smoke detector placement to the height of deck railings. Common violations that surface during home sales include: unpermitted additions or conversions (a basement finished without a permit, a garage converted to living space), electrical work that doesn't meet current code (often work done by previous owners or DIY projects), plumbing modifications without permits, structural issues that violate safety codes, zoning violations (like an ADU or rental unit that isn't legally permitted), and health and safety violations like inadequate ventilation, missing egress windows, or lead paint in pre-1978 homes. The violation doesn't have to be something you caused — you can buy a house with existing code issues and inherit the legal responsibility for them.

Your Disclosure Obligations

This is non-negotiable: you must disclose known material defects, including known code violations and unpermitted work, to any buyer. The specific form and timing of disclosure varies by state, but the principle is universal — if you know about it, you have to tell the buyer. Trying to hide a code violation is the kind of thing that leads to lawsuits after closing. The good news: cash buyers who specialize in distressed properties already expect to find issues like this and won't be spooked by disclosure. Traditional buyers and their lenders, however, may walk away when violations come up in inspection.

The lender problem: Most mortgage lenders won't approve financing on a property with open building code violations or unpermitted work. This is why traditional listings often fall apart when violations surface in the inspection — the buyer's financing evaporates. Cash buyers don't have this constraint, which is often the decisive advantage.

Do You Have to Fix the Violations Before Selling?

In most cases, no — you can sell a property with code violations as-is. The obligation to cure violations typically transfers to the new owner (who will need to address them to eventually sell or refinance the property themselves). There are exceptions: if the property has been condemned or is subject to an active enforcement order from the city, you may need to resolve the legal status before transfer of title is possible. Your title company or real estate attorney can confirm what's required in your specific situation. Proactively resolving violations before sale makes sense financially only if the cost to cure is significantly less than the discount a buyer will apply to the price — which isn't always the case.

Unpermitted Additions: The Most Common Issue

An unpermitted addition — a room addition, a finished basement, a converted garage — is one of the most common code issues in older homes. The options to address it are: Retroactive permit ("as-built" permit): In many jurisdictions, you can pull a permit after the fact by submitting plans and passing inspections. Cost is typically $1,000–$5,000 plus any required modifications. Timeline: 2–6 months. Remove the addition: Rarely worth it. Sell as-is and disclose: Let the buyer know the work was done without permits. Price accordingly. Many buyers, especially cash buyers and investors, regularly purchase homes with unpermitted additions — it's a known variable, not a dealbreaker.

Get a no-obligation cash offer

We buy houses in any condition. Cash in hand, close in as few as 19 days.

Call (423) 600-5682

Active Code Enforcement: What to Do When the City Is Involved

If you've received a code enforcement notice with a deadline, or if there are fines accumulating, the situation requires more urgency but is still manageable. Fines and liens typically need to be resolved at closing — they're paid from the sale proceeds, similar to how a mortgage is paid off. An experienced cash buyer will know how to work with local code enforcement offices to negotiate payoffs or payment plans, and can sometimes close even while violations are still technically open, with funds held in escrow to cover resolution costs. If the property has been condemned (meaning it's been declared unsafe for habitation), the title process becomes more involved, but we've closed on condemned properties before — it's not a permanent barrier to sale.

Selling to a Cash Buyer: Why It's Different

The combination of no lender (no financing contingencies), no inspection contingency, and experience with exactly these situations is why cash buyers are often the right solution when code violations are present. We'll review any known violations upfront, factor them into our offer honestly, and move forward without the back-and-forth that typically happens when a traditional buyer's lender or inspector gets involved. You get a clean close, the violations are disclosed properly, and you move on.

Frequently asked questions

Can I sell a house with an open permit?

Yes, in most cases, though some jurisdictions require open permits to be closed before title can transfer. Your title company will flag any open permits during the title search. We deal with these regularly — often the simplest solution is to close the permit (finalize the inspection on the work that was started) before closing on the sale.

What if the violation was caused by a previous owner?

The violation is attached to the property, not the person who caused it. As the current owner, you're responsible for disclosure and technically responsible for resolution. However, you may have a claim against the previous owner depending on what was disclosed (or not disclosed) when you bought the house.

Will a code violation show up on a title search?

Active code enforcement liens and judgments will typically appear in a title search. Unpermitted work that was never reported to the city may not — but it can be discovered during buyer inspections or when you pull permits for other work.

How much does a code violation reduce the sale price?

It depends on the severity and cost to cure. Minor violations (smoke detectors, handrail height) may reduce the price by $2,000–$5,000 or be fixed cheaply by the buyer. Major structural or electrical violations can reduce price by $20,000–$50,000+. We calculate this based on the estimated cost to bring the property into compliance, plus the hassle factor for the buyer.

Ready to talk through your situation?

No pressure, no obligation. Just a quick conversation and a fair cash offer within 24 hours.

Call (423) 600-5682

We Buy Houses in Cities Like Yours

Trusty House Buyers purchases homes for cash nationwide — no repairs, no fees, no waiting.

Sell My House Fast Chicago, IL Sell My House Fast Cleveland, OH Sell My House Fast Baltimore, MD Sell My House Fast Memphis, TN Sell My House Fast Columbus, OH Sell My House Fast Indianapolis, IN

View all locations we serve →