How to Sell a House With Code Violations (Permits, Fines, As-Is Options) – 2026 Guide

Selling a house with code violations feels like trying to sell a car with the check-engine light on. Buyers get nervous, lenders get strict, and timelines slip.

Yes, you can sell a house with code violations. Most issues can be handled by fixing them, getting permits finalized, negotiating credits, or selling as-is with full disclosure. The key is documenting the violations early so your closing is not derailed at the last minute.

What counts as a “code violation” when you’re selling

A code violation is any condition that doesn’t meet local rules for safety, health, zoning, or property maintenance. Most local rules are based on model codes from the International Code Council, including the International Building Code, which it says is in use or adopted across all U.S. states and several U.S. territories.

In real life, code violations usually fall into these buckets:

1) Health and safety issues

These are the issues that scare buyers and often trigger lender repair requirements:

  • Exposed wiring, missing GFCI outlets in wet areas
  • Active leaks, mold-like conditions, roof failure
  • Broken handrails, missing smoke/CO detectors
  • Lack of heat, unsafe water heater setup, blocked egress windows

2) Unpermitted work and open permits

This is one of the most common “surprise” problems in escrow:

  • A finished basement without permits
  • Garage conversion or added bathroom without inspections
  • An open permit that never got final inspection

Open permits are frequently treated as a risk by purchasers and lenders, especially if discovered late.

3) Municipal/property maintenance violations

These can be “minor” but still cause fines or compliance deadlines:

  • Overgrown yard, junk/debris, graffiti
  • Fence issues, exterior paint, broken windows
  • Illegal signage or zoning/use violations

4) Certificate of Occupancy (CO) issues

Some jurisdictions require inspections or documentation tied to occupancy compliance. For example, NYC Department of Buildings describes a CO as confirming work complies with laws, paperwork and fees are complete, and relevant violations are resolved.

Why code violations can blow up a closing

Code violations don’t automatically make a home “unsellable.” The real problem is friction:

Buyers worry about three things

  1. Safety and hidden cost
  2. Whether the city will fine them after closing
  3. Whether they can insure or finance the home

Lenders worry about “minimum property standards”

If your buyer uses an FHA loan, the appraisal focuses on safety, security, and soundness, and certain issues can trigger required repairs before funding.

That’s why code violations hit financed offers harder than cash offers. A financed buyer may love your house, but their lender can still say “no” until the repairs are done.

First move: get clear on what violations exist

Most sellers lose time because they don’t “name the problem” early.

Step 1: Pull your records

  • Any letters or citations from code enforcement
  • Permit history (open/closed)
  • HOA notices (if applicable)
  • Contractor invoices and scope of work
  • Photos of the affected areas

Step 2: Do a permit and violation search

Start with your local building department and municipal record system (often online). If you want it faster and cleaner, order a title/municipal search through a closing professional.

Step 3: Decide if you want an inspection upfront

A pre-listing inspection can be a smart move when you suspect safety issues. It reduces surprises and helps you price accurately.

Disclosure: what you should do to protect yourself

Disclosure rules vary by state, but the consistent theme is this: material issues and known defects should be disclosed. The National Association of Realtors notes seller disclosures are often required in most states and advises checking state and local guidance.

Also, selling “as-is” usually doesn’t erase disclosure duties. Legal resources commonly warn that “as-is” doesn’t automatically remove a seller’s obligation to disclose material defects.

Unpermitted work deserves special attention. A common best practice is to disclose known unpermitted improvements to buyers and explain what was done, when, and what you know about permits

Practical rule: if you have a notice, a citation, an open permit, or you know work wasn’t permitted, disclose it in writing and keep your documentation organized.

Your three main strategies to sell with code violations

Almost every situation fits one of these playbooks.

Option A: Fix the violations before listing

Best when:

  • Repairs are affordable
  • You want top-of-market buyer demand
  • Your likely buyers will use financing

Pros:

  • Strongest buyer pool
  • Fewer lender obstacles
  • Cleaner negotiations

Cons:

  • You carry the repair risk and timeline
  • Permits and inspections can move slowly

Option B: Sell “as-is” but make it easy for the buyer

Best when:

  • You need speed
  • The home needs significant work
  • You want to avoid managing contractors

Pros:

  • Faster, simpler path
  • You avoid repair logistics
  • Often fits cash buyers/investors

Cons:

  • Smaller buyer pool
  • Buyers will expect a discount
  • You still must disclose known issues

Option C: Hybrid: negotiate credits or escrow solutions

Best when:

  • The violation is fixable, but timing is tight
  • Buyer is willing, but needs certainty

Common tools:

  • Price reduction
  • Seller credit for repairs
  • Contractor bids attached to the contract
  • Escrow holdback (where allowed and accepted)

Decision table: choose the best route fast

Use this to stop guessing.

Your reality Best route Why
Small fixes, no permit drama Fix before listing Maximizes buyer pool
Major safety issues (electrical/roof/structure) Fix critical items first Helps financed offers pass
Open permits or unpermitted additions Resolve permits or disclose and price accordingly Prevents last-minute shock
Large scope rehab needed As-is sale Buyers factor repairs into price
You must close quickly As-is or hybrid Time becomes the priority

How to sell a house with code violations step by step

This is the “smooth closing” sequence.

1) Identify and document the violations early

Get the paperwork and photos in one folder. Buyers trust clarity.

2) Price with the violation in mind

Don’t guess. Get:

  • 1–2 repair estimates for major items
  • A permit legalization estimate if applicable
  • A realistic timeline from contractors

3) Choose your buyer lane

  • Financed buyers: require a cleaner path and fewer safety concerns
  • Cash buyers/investors: can accept more issues, but want a discount and clear information

4) Write the listing and disclosures clearly

Avoid vague phrases like “needs TLC.” Instead, be specific:

  • “Open permit for bathroom remodel, final inspection pending”
  • “Electrical panel needs updating, quote available”
  • “Rear addition built prior to purchase, permit history unknown”

5) Pre-negotiate the pain points

If you know buyers will ask, answer it upfront:

  • Provide estimates
  • Provide permit history
  • Provide a clear plan: fix, credit, or as-is

6) Manage the financing risk

If your buyer is FHA-financed, be aware that the appraisal can call out safety/security/soundness issues and require repairs before closing.
This is why many sellers fix the “health and safety” items even if they sell as-is otherwise.

7) Keep permits and open items moving

If permits are open, schedule inspections early. Late discovery is what causes extensions or cancellations.

Common real-world scenarios (and what usually works)

Scenario 1: Unpermitted conversion

A seller in Phoenix converted a garage to a bedroom years ago without permits.

Best approach:

  • Pull permit history
  • Get a contractor quote to legalize or modify
  • Disclose clearly
  • Expect buyers to ask for a credit or price drop

Unpermitted work can be sold, but disclosure and documentation matter.

Scenario 2: Safety violations that trigger lender repairs

A seller in Dallas has exposed wiring and a roof leak.

Best approach:

  • Fix the safety issues first
  • Keep receipts and photos
  • Re-list with confidence, especially for FHA buyers

Scenario 3: City maintenance fines and notices

A seller in Los Angeles has a notice for yard debris and exterior maintenance.

Best approach:

  • Pay attention to deadlines
  • Clear the visible items quickly
  • Keep proof of compliance so the buyer doesn’t inherit a mess

Costs and timeline: what to expect without fake numbers

Code violation costs vary wildly. A simple compliance fix can be small, while structural, electrical, or permit legalization can become expensive.

What actually drives cost:

  • Severity (cosmetic vs safety vs structural)
  • Whether permits are needed
  • Speed (rush jobs cost more)
  • Local inspection availability
  • Fines, reinspection fees, and contractor scheduling

Timeline reality check:

  • Minor compliance fixes: often the fastest
  • Permit legalization and re inspection: slower, depends on your city
  • Open permits discovered late: commonly delay closing

“Near me” help: who to involve and when

Even if you’re selling country-wide, this topic turns local fast. You may end up searching:

  • “building department near me”
  • “permit expeditor near me”
  • “licensed electrician near me”
  • “real estate attorney near me”
  • “title company near me”

When to involve pros:

  • Title/closing professional: early, to spot municipal and permit problems
  • Licensed contractor: when repairs need permits or inspections
  • Real estate attorney: when you have disputes, fines, or complicated compliance

Common mistakes that cost sellers the most

  • Hiding violations and hoping inspection won’t find them
  • Assuming “as-is” means “no disclosure”
  • Ignoring open permits until escrow, then scrambling
  • Doing “quick fixes” without licensed trades, creating new violations
  • Providing no estimates, forcing buyers to assume worst-case costs

If you want a simpler as-is sale

If your goal is speed and fewer moving parts, an as-is sale can make sense, especially when repairs or permits are too time-consuming.

If you’re considering a direct sale, you can request an as-is offer through Buy Your Properties. For most sellers, it’s still smart to gather your notices, permit history, and any known violation details first so the process stays clean.

And if your violations are tied to liens or fines that became liens, you may also want to review your lien cleanup steps

1) Can I legally sell a house with code violations?

In many cases, yes. Homes sell with violations every day, but you should disclose known material issues and plan for how violations will be handled before closing.

2) Do I have to fix code violations before I list?

Not always. Some sellers fix critical safety items and sell the rest as-is. Others sell entirely as-is with clear disclosure and pricing that reflects the risk.

3) Can a buyer get a mortgage if the house has code violations?

Sometimes. It depends on the violation and the loan type. FHA appraisals focus on safety/security/soundness and can require repairs before closing.

4) What if the work was done without permits by a previous owner?

Unpermitted work is common. Document what you know, disclose it, and consider getting an estimate for legalization or correction so buyers can price the risk.

5) What are “open permits” and why do they matter?

An open permit means work was started under a permit but never finalized with inspections. Many lenders and sophisticated buyers prefer open permits be closed before purchase or financing.

6) Does selling “as-is” protect me if I don’t disclose violations?

Usually not. “As-is” often doesn’t remove disclosure obligations for known material defects, and nondisclosure can create legal risk later.

7) How do I find out if I have code violations?

Check your city/county building department and code enforcement records. A title or municipal search through a closing professional can also reveal issues tied to the property.

8) Will code violations reduce my sale price?

Often, yes. Buyers typically discount for repair cost, time, permit risk, and uncertainty. The more documentation and estimates you provide, the more controlled the negotiation becomes.

9) What’s the fastest way to sell with major violations?

If repairs and permits are too slow, an as-is sale (often to a cash buyer) can be faster. You’ll usually trade speed for a lower price, so compare offers against repair time and holding costs.

Conclusion

You can sell a house with code violations in 2026, but you need a clear plan. Identify the violations early, document everything, decide whether to fix, credit, or sell as-is, and stay realistic about financing and permit timelines. The smoother you make the “unknowns,” the smoother your closing will be.

💬