Code violations are more common than most people think. Homeowners add a room without a permit. A previous owner did electrical work under the table. The city sends a notice about an overgrown lot or a deteriorating structure. An inherited home hasn't been maintained to current standards.
Whatever the source, code violations create real problems when you try to sell — but they're not necessarily deal-killers. This guide explains what code violations are, how they affect your ability to sell, and what options you have.
What Are Code Violations?
Building and property codes are rules set by local governments (cities and counties) that establish minimum standards for construction, property maintenance, and land use. In Texas, most cities adopt versions of the International Building Code, International Residential Code, and National Electrical Code, with local amendments.
Common types of code violations include:
- Unpermitted construction: Additions, garage conversions, room additions, covered patios, or structural changes done without a permit
- Electrical violations: Outdated wiring (knob-and-tube, aluminum wiring in wrong applications), panels without breakers, improper grounding
- Plumbing violations: Non-permitted plumbing changes, improper venting, connections that don't meet current code
- Structural violations: Work that was done wrong or that doesn't meet current standards
- Property maintenance violations: Overgrown vegetation, dilapidated structures (fences, sheds, outbuildings), trash accumulation, inoperable vehicles
- Zoning violations: Using property in a way not allowed by the zoning designation (e.g., running a business in a residential zone)
- Swimming pool violations: Pools without proper fencing, permits, or safety equipment
- Accessory structures: Non-permitted sheds, guest houses, or work-from-home additions
How Code Violations Affect a Traditional Sale
Here's why code violations complicate traditional sales:
Financing
Lenders (especially for FHA and VA loans) require the home to meet minimum property standards. An active code violation — or evidence of unpermitted work that fails inspection — can cause a lender to decline the loan or require repairs before closing. This kills deals.
Disclosure Requirements
Texas requires sellers to disclose known code violations on the Seller's Disclosure Notice. If you know about an issue and hide it, you're exposed to legal liability. You can't pretend it doesn't exist.
City Liens
If a city has issued fines for code violations that went unpaid, those fines may have become liens on the property — which must be paid at closing before title can transfer. These liens don't disappear just because you sell.
Buyer Concerns
Even if financing isn't an issue, a conventional buyer presented with a list of violations is likely to either ask for a significant price reduction, demand repairs before closing, or simply walk away. Most buyers want certainty, not a project.
Types of Violations: What's Actually Serious?
Not all violations are equal. Understanding the severity of what you're dealing with helps you make a realistic decision.
Minor / Nuisance Violations
Overgrown grass, junk in the yard, non-permitted shed, broken windows, peeling paint. These are annoying and will generate city notices, but they're relatively easy and cheap to resolve.
Unpermitted Work
An addition built without a permit is trickier. You either: (1) pull a retroactive permit and get the work inspected — which may require opening walls to verify what's inside, or (2) disclose and sell as-is. Retroactive permits are possible in many Texas cities, but they require the work to actually meet current code, which unpermitted work often doesn't.
Electrical and Plumbing Violations
These can be serious safety issues and significant repair costs. Knob-and-tube wiring in an older home might cost $8,000–$20,000 to replace. Improper gas connections can be hazardous. These types of violations often make traditional sales very difficult without repair.
Active City Enforcement Actions
If the city has issued formal orders to repair or demolish, there's a timeline attached. Ignoring these can result in the city making repairs and billing you (with a lien) — or in extreme cases, demolishing the structure. Don't ignore city enforcement orders.
What Are Your Options?
Option 1: Resolve the Violations Before Selling
For minor violations, this is often practical. Clear the yard, fix the fence, get a retroactive permit on the shed. This opens up the buyer pool significantly and often makes financial sense when violations are truly minor.
For significant violations (unpermitted additions, electrical work), resolve-then-sell can be expensive and complicated. The cost and uncertainty of bringing a non-code-compliant addition up to current standards often exceeds what you'd recover in a higher sale price.
Option 2: Disclose and Price Accordingly
Disclose the violations, price the home below market to compensate, and hope to find a buyer who can handle them. This works best when violations are disclosed, the buyer pool is informed, and you're targeting cash buyers or sophisticated investors rather than owner-occupants with conventional financing.
Option 3: Sell As-Is to a Cash Buyer
A cash buyer doesn't need lender approval, won't be scared off by violations, and will handle the resolution process after closing. The price reflects the issue — but you avoid months of fighting with contractors, city inspectors, and lenders. You sell once and you're done.
City Lien Payoffs
If there are city fines or liens attached to the property, they'll need to be resolved at closing. This isn't necessarily a problem — the title company handles the payoff from proceeds — but the amount needs to be factored into your net. Contact your city's code enforcement department to get a full accounting of any outstanding fines or liens before you go under contract.
Unpermitted Additions: The Specific Challenge
An unpermitted addition — a garage converted to living space, a sunroom added in the backyard, a bathroom added to a garage — is one of the most common and most complicated violations. The problem is that you can't always know what's inside the walls. If an addition was built without a permit, it may have:
- Undersized or improper structural framing
- Missing insulation or vapor barriers
- Electrical work that doesn't meet code
- Plumbing that's not properly vented or sized
- HVAC connections that aren't permitted or sized correctly
Getting a retroactive permit on an unpermitted addition often requires opening walls and demonstrating code compliance — which is expensive and uncertain. Many experienced contractors will tell you that retroactive permitting on older additions is often not worth the cost compared to simply selling the property as-is to someone who will deal with it.
Texas Disclosure: What You Must Tell Buyers
Texas's Seller's Disclosure Notice (TREC Form OP-H) asks specifically about code violations, city notices, and unpermitted work. Answer these honestly. If you know about a violation and don't disclose it, the buyer may have legal remedies against you after closing. Disclosure isn't just the right thing to do — it's your legal protection.
Selling a House with Code Violations in Texas?
We specialize in properties with code violations. We understand the situation, work through the issues, and offer a clear path to closing — no repairs required on your part.
Get a Free Consultation → 📞 (830) 264-9899Common Questions
Can I sell a house with an active city enforcement order?
Yes — you can sell a house even with an active enforcement action. The buyer takes on the responsibility of resolving it. A cash buyer who knows what they're buying can handle this. The key is full disclosure so there are no surprises at closing.
Do city liens survive the sale?
Recorded city liens typically must be paid at closing before title transfers. The title company will find these in a title search and require payoff as a condition of closing. Make sure you know the full amount before you agree to a sale price.
What if I don't know if there are violations?
You only need to disclose what you know. But if you've received any notices from the city, have had inspections, or suspect there may be issues, investigate before listing. Undisclosed issues that come out later are much worse than issues you disclosed upfront.
Can I get a permit retroactively on old work?
Yes — most Texas cities allow "after-the-fact" permits. The process typically involves an inspection to verify the work meets current code. If it doesn't, you'll need to bring it up to code before the permit is issued. The feasibility and cost depends heavily on what was built and when.
What if the violations are from a previous owner?
As the current owner, you're responsible for the property meeting current code — even if you didn't create the problem. You can disclose the history, but you're still the one who needs to address it or sell to a buyer who will.