Sell House With Code Violations: Your Complete Guide to a Fast Cash Sale

Trying to sell house with code violations can feel like you're stuck between a rock and a hard place. Maybe it's unpermitted work from the previous owner, or an old electrical panel that no longer meets current standards. Either way, you're stuck wondering if anyone will even buy the place.

The good news: you can absolutely sell a house with code violations. You don't have to fix every single issue before listing. In fact, thousands of homeowners across the country sell houses with code violations every year - many of them to cash buyers who specialize in buying properties as-is. Here's what you need to know before making your next move.

Don't Want to Deal With Code Violations?

Skip the repairs and sell your house as-is. Get a free, no-obligation cash offer today.

Get Your Free Cash Offer

What Are Building Code Violations?

Building code violations happen when part of your home doesn't meet the current local building standards. These codes cover everything from electrical wiring and plumbing to structural work and fire safety. They exist to protect the people living in the home.

Some violations are minor - like a missing handrail on a staircase. Others are more serious, like faulty electrical wiring or an unpermitted addition that changes the home's footprint. The severity of the violation directly affects how much it costs to fix and how much buyers will discount their offer.

Here are some of the most common code violations that come up during home sales:

  • Unpermitted additions or renovations - Finished basements, converted garages, and room additions done without permits are extremely common. According to the National Association of Home Builders, unpermitted work is one of the top issues that derails home sales.
  • Electrical problems - Outdated panels (like Federal Pacific or Zinsco brands), aluminum wiring, missing GFCI outlets in kitchens and bathrooms, and overloaded circuits.
  • Plumbing issues - Improper drain venting, old galvanized pipes, and water heaters installed without permits.
  • Structural concerns - Foundation cracks, load-bearing walls that were removed without engineering approval, and improper deck construction.
  • Safety violations - Missing smoke detectors, blocked egress windows, and inadequate stairway railings.

Can You Sell a House With Code Violations?

Yes. There's no law that prevents you from selling a house with code violations in most states. The catch is that you're typically required to disclose known violations to potential buyers. Hiding them can open you up to legal trouble down the road.

Disclosure laws vary by state, but the general rule is straightforward: if you know about a code violation, you need to tell the buyer. This includes violations that were flagged during previous inspections, open permits that were never closed, and any work you did (or a previous owner did) without pulling the right permits.

Some states like California have very strict disclosure requirements with detailed property condition forms. Others, like Alabama, have more relaxed rules. But playing it safe and disclosing everything is always the smarter move. A lawsuit from a buyer who discovers hidden violations after closing will cost you far more than any repair would have.

How Code Violations Affect Your Home's Value

Code violations almost always reduce your home's market value. How much depends on the type and severity of the violations. Here's a rough breakdown of what to expect:

Minor violations (missing smoke detectors, cosmetic issues, minor railing problems): These typically reduce offers by $1,000 to $5,000. Many buyers won't even blink at these.

Moderate violations (outdated electrical panels, plumbing issues, unpermitted bathroom additions): Expect a discount of $5,000 to $25,000 depending on the scope of work needed.

Major violations (structural problems, unpermitted additions, foundation issues): These can reduce your home's value by $25,000 to $75,000 or more, depending on the local market and the cost to bring things up to code.

The discount usually tracks with the estimated repair cost, plus a buffer for the buyer's risk. If fixing an electrical panel costs $3,000, a buyer might discount their offer by $5,000 to $8,000 to account for their time, hassle, and uncertainty about what else might be wrong.

House exterior with visible repair needs

Your Three Options When Selling With Code Violations

Option 1: Fix the Violations Before Selling

This is the most straightforward approach. Pull the necessary permits, hire licensed contractors, get the work inspected, and close out any open violations. Once everything passes inspection, you can sell your home at full market value with no asterisks.

The downside? It takes time and money. Getting permits approved can take weeks. Contractor schedules might push the timeline out even further. And if you're in a situation where you need to sell quickly - maybe you're facing foreclosure or going through a major life change - waiting months to fix violations might not be realistic.

Option 2: List on the Open Market As-Is

You can list your home on the MLS and disclose the code violations upfront. Some traditional buyers will still make offers, but they'll almost certainly offer less than asking price. Many will want to negotiate after their home inspection turns up the violations (even if you already disclosed them).

This approach works best when violations are minor and your home is otherwise in good condition. It gets harder with serious violations because most buyers using traditional mortgages need the home to pass an appraisal, and significant code violations can cause appraisals to come back low - or lenders to refuse financing entirely.

Option 3: Sell to a Cash Buyer

Cash buyers - including companies that buy houses for cash - are often the best option when you're dealing with code violations. Here's why:

  • They don't need bank financing, so there's no appraisal to worry about.
  • They buy properties in as-is condition, code violations included.
  • Most can close in 7 to 14 days instead of the typical 30 to 60 day timeline.
  • You skip repair costs, permit headaches, and contractor scheduling.

The trade-off is that cash offers typically come in below full market value. But when you factor in the money you'd spend on repairs, the months of waiting, realtor commissions, and holding costs (mortgage payments, insurance, taxes), selling for cash often puts a similar amount in your pocket - just much faster.

Wondering What Your Home Is Worth As-Is?

Code violations don't have to stop your sale. We buy homes in any condition - no repairs, no hassle.

Get Your Free Cash Offer

How Cash Buyers Handle Code Violations

When a cash home buying company evaluates a property with code violations, they typically follow a straightforward process:

  1. Assessment: They estimate the after-repair value (ARV) of the home - what it would be worth if all violations were fixed and the home was in good condition.
  2. Repair estimate: They calculate the cost to fix all violations and bring the property up to code.
  3. Offer calculation: Their offer is usually the ARV minus repair costs, minus their profit margin and holding costs.

A typical formula might look like this: if your home would be worth $300,000 fully repaired, and it needs $30,000 in code-related repairs, a cash buyer might offer somewhere between $200,000 and $230,000 depending on the market and other factors.

Is that less than what you'd get on the open market after making all the repairs yourself? Yes. But it's also money in your pocket within two weeks instead of six months. For many sellers, that speed and certainty is worth the difference.

Person reviewing home documents at desk

What to Do Before Selling a House With Code Violations

Regardless of which selling route you choose, there are a few steps worth taking first:

Get a pre-sale inspection. Hiring a licensed home inspector before you list helps you understand exactly what you're dealing with. No surprises during the buyer's inspection means a smoother transaction.

Research your local codes. Building codes vary by city and county. What's a violation in one jurisdiction might be perfectly fine in another. Your local building department can tell you exactly what violations are on file for your property.

Check for open permits. Open permits (permits that were pulled but never had a final inspection) are a common deal-killer. Check with your local building department to see if any permits on your property are still open.

Gather documentation. If you have any records of past repairs, inspections, or permits, organize them. Buyers and their agents will ask for this information, and having it ready makes you look more trustworthy and speeds up the process.

Talk to a real estate attorney. If you're dealing with serious violations, a quick consultation with a real estate attorney can help you understand your disclosure obligations and protect yourself legally.

Common Questions About Selling With Code Violations

Will a buyer's lender refuse to finance a house with code violations?

It depends on the violation. Minor issues usually won't affect financing. But major safety violations - like faulty electrical, structural problems, or unpermitted additions that affect square footage - can cause lenders to decline the loan or require repairs before closing. FHA and VA loans are especially strict about property condition. This is one of the biggest reasons sellers with code violations end up working with cash buyers instead.

Can the city force me to fix code violations before selling?

In some cases, yes. If there are active code enforcement actions against your property, the city may require you to resolve them. This is more common with health and safety violations. Some cities also require a certificate of occupancy or a point-of-sale inspection before a home can transfer ownership.

What if I didn't cause the code violations?

It doesn't matter who caused them. If you own the property, the violations are your responsibility. This is frustrating when you inherited the house or when a previous owner did unpermitted work. But from a legal standpoint, the current owner is on the hook.

Ready to Move On?

Get a fair cash offer for your house - code violations and all. No repairs, no waiting, no stress.

Get Your Free Cash Offer

The Bottom Line

Selling a house with code violations isn't as complicated as it sounds. You have options - fix them, sell as-is on the market, or sell to a cash buyer. The right choice depends on your timeline, budget, and how much energy you want to put into the process.

If you're dealing with code violations and want to skip the repair headaches, getting a cash offer is usually the fastest way to move forward. You'll know within days what your home is worth, and you can close on your schedule.

Disclaimer: This article is for informational purposes only and does not constitute legal or financial advice. Building codes and disclosure requirements vary by location. Consult a licensed real estate attorney or local building department for guidance specific to your situation.

Scroll to Top