Quick Sell Solutions
Back to Blog

Code Violations and Liens: Can You Still Sell a House With Problems?

Angela Ruiz
Angela Ruiz

Paralegal, Probate & Estate Background · July 30, 2026

An older house showing signs of deferred maintenance

One of the most common calls I fielded as a paralegal was from someone who'd just learned their property had an open code violation or a lien they didn't know about, and assumed that meant they were stuck — unable to sell until it was somehow fixed. Almost always, that's not actually true. It changes the process, sometimes significantly, but it rarely eliminates your ability to sell entirely.

What a Code Violation Actually Is

A code violation is a formal notice from your local municipality that something on the property doesn't meet current building, safety, zoning, or property maintenance codes — anything from an unpermitted addition or deck, to overgrown vegetation, to a structural issue flagged during an inspection, to something as mundane as a broken fence the city considers a nuisance. Violations are typically tied to the property itself in local records, not erased just because ownership changes hands, which is exactly why they surface during a title search or municipal lien search before closing.

What a Lien Actually Is

A lien is a legal claim against the property securing a debt — it can come from unpaid property taxes, an unpaid contractor who filed a mechanic's lien after work wasn't paid for, an HOA for unpaid dues, a municipality for code enforcement fines, or a court judgment. Liens generally need to be paid off (satisfied) before or at closing, because they attach to the property, not to you personally — a new owner would otherwise inherit that same claim.

Does This Mean You Can't Sell?

No — but it does mean the path to closing has an extra step: identifying exactly what's outstanding and how it gets resolved. In practice, this usually plays out one of a few ways:

Paying It Off From Sale Proceeds

Most liens and fines can simply be paid off at closing directly from your sale proceeds, the same way an existing mortgage balance is handled — the title company calculates what's owed, pays it from the funds due to you, and you receive the net amount. This is the most common resolution and doesn't require you to come up with cash upfront.

Negotiating the Amount

Some liens, particularly older municipal fines that accumulated daily penalties over years, can sometimes be negotiated down through the code enforcement office, especially if you're actively working toward resolving the underlying issue or selling the property. This takes direct communication with the municipality and sometimes an attorney's help, but it's genuinely worth exploring before assuming the full amount is fixed.

Selling As-Is to a Buyer Who Will Handle It

Some buyers — particularly investors experienced with distressed or problem properties — will factor known liens and violations into their offer and handle resolving them after closing, rather than requiring it be cleared beforehand. This is often the most realistic path if the violation involves significant, unpermitted work that would need to be brought up to code (which can be expensive) or if you don't have the cash on hand to resolve things before selling.

What You're Required to Disclose

In most states, known liens and code violations need to be disclosed to a buyer — this isn't something an as-is clause gets you around, and trying to hide it tends to create bigger legal problems than the underlying issue itself. A serious buyer, especially an investor buyer, isn't going to be scared off by a disclosed violation they can price into their offer; they're going to be far more concerned by one they discover on their own after the fact.

What If the Liens Add Up to More Than Your Equity?

This is the harder scenario, and it's worth naming directly rather than glossing over: if the combined total of your mortgage balance, tax debt, and any liens exceeds what the property would actually sell for, you're in a position similar to being underwater on a mortgage, and a straightforward sale won't fully satisfy everyone owed. A few realistic paths in this situation: negotiating with lienholders to accept less than the full amount (sometimes called a lien settlement or release for partial payment, which municipalities and some creditors will genuinely consider rather than collecting nothing if a property sits unsold indefinitely); pursuing a structured short-sale-style approach where each creditor agrees to a reduced payoff as part of closing; or, in some cases, deciding the numbers don't work yet and the smarter move is waiting or pursuing a different resolution to the underlying debt first. An experienced buyer or a real estate attorney can help you figure out realistically whether the math closes before you invest significant time in the process.

A Reasonable First Step

If you know or suspect there's an open violation or lien:

  1. Request a copy of your municipal code enforcement history and a title search to get a complete, accurate picture — don't rely on memory or assumption
  2. Get the exact payoff amount for any lien, in writing, from the lienholder or municipality
  3. Ask a real estate attorney whether negotiation is realistic for your specific situation
  4. Decide whether to resolve it yourself before selling, or find a buyer willing to purchase with the issue disclosed and priced in

A lien or violation is a solvable problem, not a locked door. The sooner you know the exact scope of it, the more options you actually have for dealing with it.

Avoid This Common Mistake: Ignoring the Notices

A pattern I saw often was homeowners letting municipal notices pile up unopened, usually out of embarrassment or feeling overwhelmed, which almost always makes the situation worse — many code enforcement fines accrue daily while the violation remains unresolved, so time genuinely costs you money here. Opening the notice, even without an immediate solution, and contacting the code enforcement office to explain you're actively working toward a sale is sometimes enough to pause further fine accrual while you move forward.

This article is for general informational purposes only and isn't legal or financial advice. Lien resolution, disclosure requirements, and code enforcement processes vary significantly by state and municipality — consult a licensed real estate attorney for guidance specific to your property.