Yes, you can sell a house with code violations. Many homeowners successfully sell properties that don’t meet current building codes every day. The key is knowing your options: fix the problems, sell as-is, or work with cash buyers who specialize in these situations.
This guide walks you through everything you need to know about selling a house with code violations. You’ll learn about disclosure laws, repair costs, and smart strategies that help you get the best deal possible.
What Are Code Violations and Why Do They Happen?
Code violations happen when your house doesn’t meet local building, safety, or health standards. These rules exist to keep people safe and protect property values in your neighborhood.
Common Types of Code Violations
Building codes change over time. What was legal when your house was built might not meet today’s standards. Here are the most common violations:
Electrical Problems
- Old wiring that can’t handle modern appliances
- Missing safety outlets (GFCIs) in kitchens and bathrooms
- Overloaded electrical panels
- Improper circuit sizes for different areas
Plumbing Issues
- Old pipes that leak or don’t work well
- Missing expansion tanks on water heaters
- Poor bathroom ventilation
- Water damage from faulty systems
Structural Defects
- Foundation problems
- Roof damage or wrong materials for your area’s weather
- Missing handrails on stairs
- Deck problems where it connects to your house
Unpermitted Work
- Rooms added without proper permits
- DIY projects that weren’t done to code
- Converted garages or basements used as bedrooms
- Major repairs done without inspection
Why Code Violations Are So Common
Do-it-yourself (DIY) home repairs and renovations will almost surely have code violations. “They happen all the time,” says Jared Davis, a top real estate agent who works with 80% more single-family homes than the average agent in Richmond, Virginia.
Even professional contractors sometimes create code violations. The most frequent issue is unpermitted work that gets discovered during home inspections.
Can You Legally Sell a House with Code Violations?
The short answer is yes; selling a house with active code violations is possible. However, there are steps to take to ensure a smooth sales process.
You don’t need to fix every code violation before selling. But you must be honest about known problems and understand how they affect your sale.
Legal Requirements for Disclosure
Most states require sellers to disclose any known defects of a house in writing. Some states have standard disclosure forms. Even if your state doesn’t require disclosure, it’s a good idea to inform potential buyers of any issues you know about. Doing so could protect you from a lawsuit.
What Happens if You Don’t Disclose
Not telling buyers about known code violations can lead to serious problems:
- Lawsuits after the sale
- Having to pay for repairs later
- Deal falling through during inspection
- Legal fees and court costs
State-by-State Disclosure Rules
Different states have different rules about what you must tell buyers:
California: California law mandates that sellers disclose any known violations to potential buyers
Texas: Texas law requires that you, if you’re selling a home in the Lone Star State, make certain disclosures to the prospective buyer about the property’s condition before the closing.
Florida: Florida law mandates that sellers disclose any known code violations.
How Code Violations Affect Your Home Sale
Code violations impact three main areas of your sale: price, financing, and buyer interest.
Impact on Home Value
Depending on the severity of the code violation, you have to sell at below-market value based on comparable properties. Most buyers expect a discount to cover repair costs.
Typical Price Reductions
- Minor violations: 2-5% below market value
- Major safety issues: 10-20% below market value
- Multiple serious violations: 20-30% below market value
Financing Challenges
Many lenders won’t finance homes with code violations, which can make it harder to find a buyer. This limits your buyer pool significantly.
Banks worry about:
- Property safety for their investment
- Insurance coverage problems
- Resale value if they need to foreclose
Buyer Reactions
Because many buyers include a home inspection contingency, they can walk away from a sale after discovering major code violations. “Most buyers don’t want to deal with repairs,” Davis says.
Your Options for Selling a House with Code Violations
You have three main paths when selling a house with code violations.
Option 1: Fix the Violations Before Selling
This option gives you the best chance of getting full market value for your home.
Pros of Fixing Violations First
- Higher sale price
- More buyer interest
- Easier financing for buyers
- Faster sale process
- Peace of mind
Cons of Fixing Violations First
- Upfront costs (can be expensive)
- Time delays
- No guarantee you’ll recover full repair costs
- May discover more problems during repairs
Option 2: Sell As-Is with Full Disclosure
Selling your house “as is” can be a great alternative option for sellers with code violations. This means disclosing the violations to potential buyers and selling the property without spending money or time on any repairs or updates.
Who Buys Houses with Code Violations?
- Real estate investors
- House flippers
- Contractors looking for projects
- Buyers wanting fixer-uppers
- Cash home buying companies
Option 3: Work with Cash Buyers
Cash buyers offer the simplest path for selling houses with code violations. They buy properties as-is and close quickly.
Common Code Violations and Repair Costs
Understanding repair costs helps you decide whether to fix problems or sell as-is.
Electrical Violations and Costs
Codes require a smoke detector on each level of the house and outside each bedroom. Codes require new homes to have a smoke alarm in each bedroom, hard-wired with a battery backup and interconnected so if one activates, they all go off.
Common Electrical Fixes:
- Adding GFCI outlets: $200-400 per outlet
- Upgrading electrical panel: $1,500-3,000
- Rewiring old systems: $3,000-8,000
- Installing proper smoke detectors: $300-800
Plumbing Violations and Costs
Typical Plumbing Repairs:
- Fixing leaky pipes: $300-1,500
- Water heater expansion tank: $400-800
- Bathroom ventilation upgrade: $500-1,200
- Complete plumbing overhaul: $4,000-12,000
Structural and Safety Issues
Major Structural Repairs:
- Foundation problems: $5,000-15,000
- Roof repairs: $2,000-10,000
- Deck safety fixes: $1,000-5,000
- Stair handrail installation: $300-1,000
Getting Accurate Repair Estimates
Before deciding your strategy, get quotes from licensed contractors. This helps you:
- Make informed decisions about repairs vs. selling as-is
- Price your home appropriately
- Negotiate with buyers who want repair credits
Smart Strategies for Selling with Code Violations
Price Your Home Competitively
Research what similar homes in your area have sold for. Factor in repair costs when setting your price.
Pricing Formula:
Estimated market value – Repair costs – Your profit margin = Listing price
Market to the Right Buyers
Focus on buyers who aren’t afraid of code violations:
- Investors and flippers
- Contractors and builders
- First-time buyers looking for deals
- People wanting to customize their homes
Consider Repair Credits vs. Price Reductions
Keep in mind that many loans only allow seller credits against closing costs, so technically, you cannot give a seller credit for repairs
Price reductions often work better than repair credits because:
- Buyers can use their own contractors
- No mortgage lending restrictions
- Simpler transaction process
Work with Experienced Agents
Work with an experienced real estate agent specializing in selling homes with potential code violations. They can guide you through the unique challenges and provide strategic advice
Look for agents who have:
- Experience with code violation sales
- Knowledge of local building codes
- Connections with investors and contractors
- Track record of successful problem property sales
When to Consider Selling to Cash Buyers
Cash buyers make the most sense when:
- Repair costs are very high (over $15,000)
- You need to sell quickly
- You don’t want to deal with contractors and permits
- Multiple violations make traditional financing unlikely
- You’re facing foreclosure or other time pressures
Benefits of Cash Sales
- No financing contingencies
- Fast closing (often 2-3 weeks)
- No need for repairs
- Certainty of sale
- No agent commissions
Companies like We Buy Colorado specialize in buying houses with code violations for cash. They handle all the paperwork and can close on your timeline.
Legal Protection and Disclosure Best Practices
Document Everything
Keep records of:
- When you discovered violations
- Any repair estimates you received
- Photos of problem areas
- Communication with contractors or inspectors
Use Proper Disclosure Forms
Work with a real estate attorney or experienced agent to ensure your disclosures are complete and legally sound.
Don’t Hide Known Problems
If you don’t disclose known violations, you could face legal action from the buyer after the sale. They might sue for the cost of repairs, and you could end up paying much more than if you had been upfront about the issues from the start.
Working with Inspections and Appraisals
Understanding Home Inspections
It’s important to point out that a home inspector’s job is not to find and report code violations. “Our job is to find and report defects,” Barker says.
But inspectors often find code issues while looking for defects. Be prepared for:
- Buyer requests for repairs
- Renegotiation of price
- Possible deal cancellation
Appraisal Challenges
Appraisers consider code violations when determining home value. Serious violations can lead to:
- Lower appraised values
- Mortgage lending problems
- Need for repairs before closing
Alternative Solutions for Problem Properties
Sell to Investors
Real estate investors often buy houses with code violations because:
- They have experience fixing problems
- They pay cash (no financing issues)
- They’re looking for below-market deals
- They understand renovation costs
Consider a 1031 Exchange
If you own the property as an investment, a 1031 exchange might help you avoid capital gains taxes while moving to a better property.
Rent Instead of Sell
In some cases, renting might make more sense than selling, especially if:
- Violations don’t affect habitability
- Rental income covers expenses
- Property values are rising in your area
Avoiding Common Mistakes
Don’t Try to Hide Problems
Covering up code violations is never worth the risk. Buyers almost always discover problems during inspections.
Don’t Overpay for Repairs
Get multiple quotes and consider whether repair costs make financial sense compared to selling as-is.
Don’t Work with Unlicensed Contractors
Always use licensed, insured contractors for code violation repairs. Their work needs to pass inspection.
Don’t Rush Important Decisions
Take time to understand your options. A quick decision might cost you thousands of dollars.
Resources for Homeowners
Local Building Departments
Your local building department can help you:
- Understand specific violations
- Get information about repair requirements
- Find licensed contractors
- Understand permit processes
Real Estate Professionals
Work with professionals who understand code violations:
- Experienced real estate agents
- Real estate attorneys
- Property inspectors
- Contractor referrals
Online Resources
- International Code Council for building code information
- Local government websites for specific requirements
- National Association of Realtors for disclosure guidance
Final Thoughts
Selling a house with code violations doesn’t have to be scary or impossible. You have several good options, and the right choice depends on your specific situation.
If you have time and money, fixing violations might get you the highest sale price. But if you need to sell quickly or can’t afford repairs, selling as-is can still work well.
The most important thing is being honest about problems and working with experienced professionals who understand your local market.
Remember, many buyers are looking for houses they can fix up and make their own. Your code violations might actually attract the perfect buyer who sees potential where others see problems.
If you’re dealing with code violations and need to sell quickly in Colorado, We Buy Colorado buys houses in any condition for cash. They handle all the paperwork and can close on your timeline, giving you a simple solution to a complex problem.
Don’t let code violations stop you from moving forward with your plans. With the right approach and honest communication, you can successfully sell your house and move on to your next chapter.