Blog

Can You Sell a House With Open Code Violations?

A city notice does not mean your house cannot be sold. Here is what open violations really change, what they can cost while you wait, and how to sell without making the repairs yourself.

Published October 26, 2026 by Divine Good Offers

Can you sell a house with open code violations?

Yes, you can sell a house with open code violations. A violation is a problem with the property, not a ban on selling it. The open case stays with the house after closing until someone fixes the work and the city approves it, so the buyer takes on that job.

Common violations include an overgrown yard, a broken fence, peeling paint, a leaking roof, unsafe wiring, and work done without a permit, such as a garage turned into a room. Small items scare few buyers. Big items, such as structural damage or unpermitted additions, narrow the buyer pool a lot.

Tell the buyer what you know in writing. List every notice, every case number, and every fine you know about. A buyer who learns the full picture at the start is far more likely to close than a buyer who finds a surprise during an inspection.

What do code violations cost while you wait?

They can keep costing you money until the work is fixed. Many cities charge a fee when a notice is issued, add late charges when a deadline passes, and add daily fines while the case stays open. Unpaid fees can grow into a lien recorded against the house.

That growth can be steep. One Los Angeles report described a single unpaid inspection fee growing past $1,200 once late charges and other fees were added, according to the Mrs. Property Solutions guide to code violation sales. Your city will have its own fee schedule, so ask your code office for the exact payoff on your case.

The good news is that you rarely need cash up front to clear a recorded lien. Like a tax lien, it is usually paid from your sale proceeds at closing. Read our guide on selling a house with a tax lien to see how payoffs at closing work.

Why do regular buyers often back out?

Regular buyers often back out because their lender will not approve the loan. Most mortgage lenders require the house to meet safety standards before they fund the loan. If the roof, wiring, or structure fails that test, the lender can stop the deal even after the buyer agreed to buy.

That is why a house with serious violations often sits on the market while cleaner houses sell. It is not that no one wants the house. It is that most buyers need a loan, and the loan rules screen the house out.

A cash buyer does not need lender approval, so an open violation is not a deal breaker in the same way. See how we buy houses to learn how a cash purchase works from first call to closing.

Should you fix the violations first or sell as is?

It depends on how big the fix is and how much time you have. If the list is short and cheap, such as a smoke detector, a handrail, or a yard cleanup, fixing it first can open the house back up to every kind of buyer and may bring a higher price.

If the fix is large, such as rewiring, foundation work, or legalizing an unpermitted addition, get a real repair quote before you decide. Big repairs often cost more than they add to the sale price, and permits and inspections can take months. In that case, selling as is can leave you with more money and far less stress, even if the sale price is lower.

What happens at closing when you sell to a cash buyer?

At closing, the title company searches the public record and lists every recorded lien on the house. Recorded liens are paid from your sale proceeds, and the buyer takes the house with the open code case still on record. You do not make repairs, host showings, or wait on a lender.

Before you accept any offer, ask the buyer to explain the number in plain terms: what repairs and fines they counted, and what they plan to do after closing. A fair offer should make sense once you see that math.

If you have a folder of city notices and you are not sure what to do next, call (516) 331-1907 and talk it through with a real buyer. Tell us what the city has on record, and we will give you a fair cash offer with no pressure and no obligation. You can also start online at get a cash offer.

Free Cash Offer

Call Us Today for a Free Cash Offer

Talk to a real buyer in minutes. Tell us about your house and get a fair cash offer with no pressure and no obligation.