Code violations don't leave when the seller does
An open violation follows the house, not the person. Here's how to find one before closing and what a city can demand when you sell.

Quick answer: In most places an open code violation attaches to the property, so the buyer inherits it, along with any fines still running. Search for violations and open permits before you're locked into the contract, and get the fix, the money or the exit in writing. Rules differ by state, city and county, so have a licensed real estate attorney read the contract.
The violation belongs to the house
A seller gets a notice from the city. Maybe it's a deck built without a permit, a fence over the height limit, or a pile of junk in the side yard. The seller ignores it, or never opens the letter, and then lists the house.
You close. The city doesn't care that you weren't there when the letter came. The address is on the notice, and you now own the address.
That's the rule of thumb. Some jurisdictions are friendlier to buyers than others, and some make the seller clear things up first. Don't count on friendly. Count on the notice being yours until somebody proves otherwise.
Three problems that sound alike
People lump these together. They aren't the same.
- An open violation. The city has cited something and it's on the record: overgrown lot, broken egress window, a missing smoke detector, a sagging porch rail.
- Unpermitted work. Someone finished the basement or added a bathroom without pulling a permit. Nobody has complained yet, so nothing is on file. It surfaces later, usually at the worst moment.
- An open permit. A contractor pulled a permit, did the work, and nobody ever called for the final inspection. The permit sits open for years. It looks like a paperwork problem. In some cities it blocks a sale or a future permit until it's closed.
The first one is the easiest to find. The other two take digging.
Find it before you're committed
Order matters. Everything below is cheaper before you've signed than after.
- Ask the seller directly. Most states require some kind of seller disclosure. Read it, then ask in writing whether the seller has received any notice from the city or county. A written "no" that turns out false gives your attorney something to work with.
- Search the city's records yourself. Many cities have an online portal for code enforcement cases and permit history. Search the address. If there's no portal, call or walk into the building department. It takes an hour.
- Look at the permit history against the house. A listing that says "finished basement, 2 bedrooms, 2 baths" with no matching permits deserves a closer look. So does an addition that isn't on the older county record.
- Order the title work and read it. Unpaid municipal fines can become liens against the property, and a title search may catch those. It won't necessarily catch an active violation that hasn't been fined yet.
- Walk the house with the inspector in mind. A home inspection won't tell you what the city has on file. It will show you the stuff that tends to draw citations, like wiring that looks homemade or a water heater with no pressure relief pipe.
What goes in the contract
If something turns up, you have four basic moves. Your agent and attorney will know which ones your state supports.
- Seller cures before closing. The seller fixes it, gets the case closed and hands you proof. This is the cleanest outcome and the one lenders like best.
- Credit or price reduction. You take the house as is and the seller pays you for the problem. This only makes sense if you know what the fix costs and the city will let you do it on your timeline.
- Escrow holdback. Money from the seller's proceeds stays with the title company until the work is done. It can protect you if the repair can't be finished before the closing date.
- Walk. If your contract has a due diligence period or an inspection contingency, this is what it's for. Walking away from a house with a surprise is a good day's work, not a failure.
Ask your agent how a violation affects your earnest money. If you're still choosing an agent, these questions will tell you quickly who's paying attention.
Your lender gets a vote
Lenders care about the condition of the collateral. An appraiser who sees a safety problem, or a lender who finds an open case, can require repairs or a cleared violation before funding. Government-backed loans tend to be stricter about condition than conventional ones, and a cash buyer has none of this friction. That's one reason some of these houses end up with investors.
Tell your lender about any open violation as soon as you know. Surprises at the table are how closings slip. The twelve steps from preapproval to keys show where the lender's checks fall.
A worked example (illustrative numbers only)
Say a city cites a house for a rotting back porch and gives the owner 60 days to fix it. The owner doesn't. The city starts a fine of, for this example, $100 a day. The owner lists the house at day 90.
By closing, that's roughly 30 days of fines at $100, or $3,000 in this example, and still climbing. Add an example repair quote of $8,000 for the porch. You'd be looking at about $11,000 of cost sitting on a house you thought was a bargain.
Now you can see the range of reasonable deals. The seller pays the fines and fixes the porch. Or the seller drops the price by something close to that total and you handle it. Or you hold back the money at closing. What you don't do is close and hope the city forgets.
Your actual numbers will differ, and so will the way your city handles fines, reductions and extensions. Some will cut fines when the work gets done. Some won't. Ask.
If you're the one selling
Cities treat sellers differently. Some run a point-of-sale inspection or require a certificate of occupancy or compliance before the deed can transfer. In those places the city is the one telling you what to fix, and the list can be longer than you expect: smoke and carbon monoxide detectors, handrails, electrical hazards, drainage, exterior maintenance. Some allow a temporary certificate with money held in escrow if the work can't be done before closing.
Other places do nothing at all at sale, and the first time anyone checks is when a buyer's attorney does.
Either way, find out early. Call the building department before you list. Pull your own permit history. If a deck went up before you bought the house and nobody permitted it, you'll want to know whether to permit it now, tear it out or disclose it and price accordingly. A few thousand dollars of cleanup done before listing is easier than a dead contract in the middle of the closing period.
Disclose what you know. Hiding a known violation is how a sale turns into a lawsuit.
What goes wrong
- Trusting the listing. "Finished basement" in the description says nothing about permits.
- Assuming a closed sale means a clean record. The previous owner's closing doesn't wipe a case.
- Fixing it without the permit. Repairs done without the right permit can create a second violation on top of the first.
- Waiting for the city. Notices get mailed to old addresses and missed. The fine doesn't care.
- Skipping the attorney because the house is cheap. A $9,000 surprise is still $9,000.
Before you commit to any house with a notice on file, talk to a licensed real estate attorney. If numbers get complicated, a CPA can speak to the tax side, and your lender can tell you what it will and won't fund. This is general education, not advice for your situation.
Buy the house, not the previous owner's paperwork.
Ray Okonkwo
Money & Business
Former commercial banker turned small-business owner. Covers salary, credit, margins and the arithmetic nobody does before signing.
Watch
Watch how it's done
Picked for this article.
From channels we rate. Plays on YouTube.
MIAMI Association of REALTORS®
Your Home Has Open Permits & Violations! What should you DO?! by Julie Sidorevskaya
Ryan G. Wright - The Investor's Edge
How To Find Out if a House Has Code Violations
Read next
