Can You Sell a House With Code Violations? Disclosure and Financing

You can legally sell a house with code violations in most situations, but the violations will shape the price, the buyer pool, and the paperwork. Disclosure is mandatory, financed buyers may not be able to close, and unpaid enforcement fines can attach to the title. The real question is which path costs you least: fixing the problems, discounting the price, or selling to someone who buys with cash.

Find Out What’s Actually on File

Before you list, call your local building or code enforcement department and ask whether any open violations or permits are recorded against the property. Many municipalities keep a searchable online database of permit history and enforcement actions. If prior work was done without a permit, or a permit was pulled but never closed out with a final inspection, it will surface later during the buyer’s due diligence and can kill a deal at the worst possible moment.

Walk the house against its permit record. A finished basement, converted garage, or added bathroom that doesn’t appear in the file is a warning sign that an appraiser or inspector will catch. Finding these issues yourself gives you time to decide whether to repair, pursue retroactive permits, or price the home to reflect them.

What You Have to Disclose

Nearly every state requires sellers to complete a property condition disclosure form before or at closing. These forms ask directly about known defects, unpermitted work, alterations that don’t comply with building codes, zoning violations, and any citations or notices of abatement against the property. If you know about a violation and don’t disclose it, you’re inviting a fraud or misrepresentation claim later.

Selling “as-is” does not eliminate this duty. As-is tells the buyer you won’t make repairs; it does not let you hide known problems. Courts have consistently refused to let as-is language shield sellers who concealed a material defect. As-is shifts repair responsibility, not disclosure responsibility.

Some jurisdictions go further and require sellers to hand over copies of any pending code enforcement pleadings, along with written notice that the buyer will inherit compliance obligations. If enforcement is active against your property, ask a local real estate attorney exactly what documents must change hands before closing.

Why Financing Is the Biggest Obstacle

Code violations create their worst problems when the buyer needs a mortgage. Lenders care about the collateral, not just the borrower, and a home with health, safety, or structural deficiencies may not qualify for financing at all. That eliminates most of the buyer pool in one stroke.

FHA Loans

The Federal Housing Administration requires every insured property to meet minimum property standards based on nationally recognized building codes.1U.S. Department of Housing and Urban Development. Minimum Property Standards Resources If an FHA appraiser identifies a health or safety deficiency, it has to be fixed before the loan can close. Faulty electrical wiring, inadequate heating, missing handrails, and lead paint hazards in pre-1978 homes are common deal-breakers. Unpermitted conversions, like a garage turned into a bedroom without proper egress or ventilation, can also block approval.

VA Loans

The Department of Veterans Affairs applies its own minimum property requirements. VA appraisers check that mechanical systems are safe, that the home has adequate heating, potable water, proper sewage disposal, and a roof that keeps moisture out.2U.S. Department of Veterans Affairs. VA Basic MPR Checklist Any nonresidential use of the property can’t exceed 25 percent of the total floor area or impair the home’s residential character. A violation touching any of those areas has to be resolved before a VA-backed buyer can close.

Conventional Loans

Conventional mortgages sold to Fannie Mae rate property condition on a scale, and homes with substantial damage affecting safety or structural integrity are ineligible for purchase. Any deficiency affecting safety, soundness, or structural integrity must be repaired before the loan can be delivered.3Fannie Mae. Property Condition and Quality of Construction of the Improvements When an appraiser flags physical deficiencies in those categories, the property is appraised “subject to” completion of the repairs, and the lender may require a follow-up inspection before funding.

The pattern is consistent across loan types. If a violation touches safety, structural soundness, or basic habitability, most financed buyers can’t purchase your home until you fix it. Minor cosmetic issues or zoning technicalities are less likely to trigger rejection, but they still weigh on the appraisal and the buyer’s confidence.

Liens and Title

Unpaid code enforcement fines don’t just sit in a file. In most jurisdictions, the municipality can record a lien against your property for accumulated fines, and that lien will appear in the title search. A buyer’s title company or attorney will flag it, because the title must be clear for closing to happen.

When a lien turns up late in a deal, none of the fixes are free. You can pay it off before closing, deduct the amount from your proceeds at the closing table, or hold funds in escrow to settle the debt. Once it’s paid, the municipality issues a release or satisfaction document, which gets recorded with the county. A surprise lien discovered a week before closing is one of the most common ways a clean-looking sale falls apart.

Standard title insurance generally excludes government regulations and code violations from coverage unless a formal notice of violation has been recorded. A buyer’s policy may not protect them against unrecorded violations discovered after closing, which is one more reason informed buyers push hard to resolve everything before signing.

Your Realistic Selling Paths

Fix the Violations Before Listing

Repairing violations and closing out open permits before you list is usually the best financial outcome if you can afford the upfront cost. A home with a clean code history qualifies for every loan type, attracts the widest buyer pool, and avoids the steep discount a problem property carries. The work typically means hiring a licensed contractor, pulling the correct permits, getting inspected, and obtaining a final sign-off from the building department.

Retroactive permits are an option for unpermitted work that actually meets current standards. A licensed contractor or inspector assesses the work, you apply for the permit, an inspection is scheduled, and if the work passes, the permit is closed. If it fails, you’ll need to bring the work up to code first. Retroactive permitting can be simple for something like a water heater swap and expensive and slow for something like an unpermitted second-story addition.

Sell As-Is With Full Disclosure

If repair costs are prohibitive or you need to move quickly, listing as-is with complete disclosure is a legitimate route. You’ll draw fewer traditional buyers, but investors, flippers, and experienced landlords actively look for fixable problems. The trade-off is price. Buyers who take on violations expect a discount that covers their repair costs, their risk, and their profit margin.

Sell to a Cash Buyer or Investor

Cash buyers avoid the financing problem entirely, since no lender is involved to reject the property. Most cash investors work from a simple formula: they estimate the after-repair value, subtract expected repair costs, subtract a profit margin (typically 10 to 20 percent of the after-repair value), and subtract holding costs. The offer will land well below what a violation-free home would fetch, but the sale closes fast and with few contingencies. This path fits when violations are severe, the enforcement timeline is short, or you simply don’t have the money to repair.

Negotiate Repair Credits or Price Reductions

If a traditional buyer stays interested despite the violations, expect negotiation. Buyers commonly ask for a price cut equal to the estimated repair cost, a closing credit earmarked for repairs, or a requirement that specific violations be cured before closing. Your leverage depends on how many competing offers you have and how serious the violations are. A missing smoke detector barely registers; an unpermitted addition that has to be torn out is another matter.

Local Requirements That Can Block a Sale

Some municipalities require a certificate of occupancy, a point-of-sale inspection, or a code compliance certificate before a residential property can change hands. In those places, you may not be able to transfer title at all until the home passes inspection or specific violations are cured. Practice varies: some cities apply these rules to every sale, some only to certain property types or neighborhoods, and many have no such requirement. Check with your local building department before listing if you don’t already know your city’s rule.

What Happens If You Hide Violations

Buyers who find undisclosed violations after closing have several ways to come after the seller. The most common is a misrepresentation or fraud claim seeking the cost of repairs the buyer wasn’t warned about. Courts routinely award those damages, and the numbers get large when the violation involves structural or environmental work.

Damages aren’t the ceiling. A court can order rescission, which reverses the sale and returns both parties to where they started. Rescission is an extreme remedy, but courts have applied it when concealment was intentional and the defect was serious enough that the buyer wouldn’t have purchased at all. Some states also allow punitive damages in cases of deliberate concealment, awarded to punish the conduct rather than to compensate the buyer.

Honest disclosure on the front end costs nothing and eliminates the most expensive risk in the transaction. Whatever the violations are, the cheaper move is almost always to put them on the disclosure form and price the house accordingly.