What Does a Code Violation Mean for Your Sale?
It depends less on the words "code violation" and more on exactly what's on record. Before you pick a way to sell, find out what was issued, by which agency, and what's still open.
A repair problem isn't the same as a violation
A home inspection report can list a defect without any agency ever issuing a violation. A complaint, an open permit and a formal violation are also three different things in the city's records. An open permit doesn't close itself when the contractor finishes, and a complaint on file doesn't mean a violation was ever issued.
| Record or condition | What to find out | Document to get |
|---|---|---|
| Inspection defect | Is it just a repair issue, or was a violation actually issued? | Inspection report and the agency's records |
| Complaint | Did an inspector come out, and was anything issued? | Current complaint and enforcement status |
| Open permit | Which inspections or sign-offs are still missing? | Permit history and what's needed to close it |
| Issued violation or order | What has to be corrected, documented or paid? | The full notice, its number and its deadlines |
| Charge, judgment or possible lien | How much is owed, and is it recorded against the property? | Current balance, payoff or title report |
Find out which agency, and what status
In NYC, records can come from the Department of Buildings (DOB), Housing Preservation and Development (HPD), or OATH, which handles hearings and penalties on many DOB summonses. Each has its own rules for clearing a violation. DOB's resolution guidance ↗ explains its process; HPD's is separate.
For each item, write down the violation number, issue date, what the condition is, the next deadline and the current status. If a database entry is unclear, pull the actual notice or call the agency. A one-line database entry rarely tells you what you actually have to do.
How to Check the Records Before Accepting an Offer
Do this before you agree to a price or a closing date, not after. Save each search as a PDF or screenshot with the date on it, so your attorney and the title company are working from the same information.
NYC: building, housing, summons and financial records
| Where to look | What it shows | What it won't tell you |
|---|---|---|
| DOB BIS and DOB NOW | Violations, permits and certificate of occupancy records | Whether the house's current use is legal, or what title will require |
| HPD Online | Housing complaints and violation history | Whether every issue was fixed or every charge paid |
| OATH/ECB summons search | Summonses, hearing results and penalties | Whether the underlying condition was corrected |
| Title report and financial records | Unpaid charges, judgments and recorded liens | Whether the work was done or the agency signed off |
Start with DOB BIS, DOB NOW, HPD Online ↗ and the OATH/ECB summons finder. They're free and public. Your title company will run its own municipal searches before closing; ask your attorney to order them early rather than at the last minute.
Outside NYC: find the right local department
Outside the city, building codes are enforced locally under the state's Uniform Code, as the Department of State explains ↗. In Nassau, that means your town, village or city building department.
The Town of Hempstead Buildings Department is one example, but it doesn't cover every Nassau address, so confirm which office has your property first. Then ask them for permit history, open permits and any violations.
Which Issues Can Delay or Block Closing?
Your attorney, the buyer's attorney, the title company and the buyer's lender may each care about a different part of the record. A buyer being fine with a violation doesn't mean their lender or title insurer will be.
Legal use and unpermitted work
The most common one in Queens and Brooklyn is a house used differently from what the records allow, like a basement apartment in a house approved as a one- or two-family. That needs a review by an architect or engineer, not just a repair estimate. Don't advertise an extra unit as legal, or promise it can be legalized, unless you have a real basis.
A missing Certificate of Occupancy isn't automatically a problem. Under NYC's occupancy rules ↗, many buildings built before 1938 don't need one, unless later changes affected their use, exits or occupancy. Ask whether your house needs a CO, or a Letter of No Objection instead.
Unpaid charges, judgments and liens
Money owed is a separate issue from the physical condition. If HPD made emergency repairs and the bill went unpaid, those charges can become a tax lien ↗ on the property. Fixing the condition doesn't erase the bill.
On the other hand, not every unpaid fine is a lien on the house. An unpaid penalty can become a judgment, and a judgment becomes a lien on property once it's docketed with the county, as New York Courts explains ↗. Your title report will show exactly what's recorded and what has to be paid off at closing.
Safety orders
A vacate order, stop-work order or immediately hazardous violation is in a different league. Deal with it right away, with the agency and a qualified professional. Planning to sell doesn't pause an enforcement deadline, and you can't keep working on or living in a space the city has ordered closed.
Ask the buyer's side early what their lender and title insurer will require. What worked on someone else's sale is no guarantee for yours.

Do You Need to Fix Violations Before Selling?
Not always. Here are the main ways sellers handle it, and what each one depends on.
| Option | Upside | What has to work out |
|---|---|---|
| Fix before listing | Buyers see a cleaner record | Scope of work, funding, permits and agency sign-off |
| Fix during the contract period | You can sign a contract while the work happens | Realistic deadlines, proof of completion and what happens if it runs late |
| Sell as-is to a buyer who'll take it on | Less work and less cash out of your pocket | Buyer acceptance, plus any agency, debt or title issues that still have to be resolved |
| Credit or escrow at closing | Splits the cost between you and the buyer | Approval from attorneys, lender and title company, and clear release conditions |
Fixing before listing or during the contract
Fixing first gives buyers a cleaner record to look at. If you go this route, budget for more than the contractor: permits, filings, inspections and the agency accepting your proof of correction. If work will continue after you sign a contract, the contract should spell out the deadline and what happens if it's missed.
Selling as-is, with a credit or an escrow
A cash buyer may take on violations that a buyer with a mortgage can't. That doesn't remove the violation, the fines or any lien. It just changes who deals with them, so get the split of costs and responsibilities in writing.
A credit, or an escrow (money held back at closing until the work is done), can work. But your attorney, the buyer's lender and the title company may all need to approve it. Ask what releases the money and who pays if the work costs more than planned. A private deal between you and the buyer doesn't change what the agency requires.
For the bigger repair-or-sell decision, see our guide to selling a house that needs repairs. Our as-is selling guide explains how condition terms work in a contract.
Comparing Your Selling Options?
Get a written cash offer and compare it with the cost, timing and requirements of fixing the violations first.
Who Pays, and What Still Has to Be Cleared?
Track four things separately: the physical condition, the agency record, the money owed and what closing requires. Finishing one doesn't finish the others.
| What to clear | Proof to get | Common mistake |
|---|---|---|
| The physical condition | Work records and inspection results | "The contractor's done, so the violation must be closed." |
| The agency record | Accepted correction or a status confirmation from the agency | "I sent the paperwork, so it's cleared." |
| Money owed | Current balances, payment receipts and any lien releases | "Fixing it cancels the fines." |
| Closing requirements | Confirmation from your attorney, the title company and the lender | "The buyer agreed, so nothing can stop closing." |
Paying the fine and fixing the violation are separate steps
With DOB violations, you can pay the OATH penalty and the violation will still show as open in BIS until DOB accepts proof that the condition was corrected, usually a certificate of correction. Dismissed summonses are handled differently. Check the steps for your specific violation.
Put responsibilities in the contract
Before signing, have your attorney spell out who handles each violation, which costs are covered by the price and which are paid separately, and what, if anything, stays your responsibility after closing.
If a buyer says "we'll handle the violations," ask what that means in writing. Does it cover the repair work, clearing the record, existing fines, professional fees and closing requirements? Who gets each document, and what happens if the agency doesn't accept the fix?
Comparing Costs, Timing and What You'll Keep
Use estimates for your actual house. Online averages can't tell you what it costs to legalize a basement apartment or how much one specific violation will cost to clear.
Run both routes through the same worksheet
| Item | Fix first, then sell | Sell as-is |
|---|---|---|
| Expected sale price | Your best supported estimate | The written offer |
| Your repair and professional costs | Real estimates | Anything you still have to pay |
| Permits, filings and fines owed | Confirmed totals | Who pays what, per the offer |
| Selling costs and mortgage payoff | Figures for your property | Figures for your property |
| Carrying costs until closing | Based on the longer timeline | Based on the shorter timeline |
| What you keep | Price minus everything above | Price minus everything above |
Don't count the same cost twice. If an offer is already lower because the buyer plans to do the repairs, don't subtract those repairs again on your side. Only count costs you'll actually pay. For a full closing-cost worksheet, see our guide to seller closing costs.
Plan around steps, not a date
The steps are: pull the records, figure out how to correct each item, line up funding, do the permitted work, submit proof, get the agency to sign off, settle any money owed, and confirm what closing requires. Get time estimates from the people actually doing each step.
Keep hearing dates, agency deadlines and contract dates in one list. A closing date in your contract doesn't make the agency move any faster.
Three common situations
- Queens basement: The owner finds out the basement apartment isn't on the approved records. The next step is having a professional assess whether it can be legalized, not promising buyers it will be.
- Brooklyn repair: The work is finished, but the violation still shows open. The owner needs to find out what proof DOB requires and whether any fines are separately unpaid.
- Nassau permit: An old renovation permit was never signed off. The owner asks the town which inspections and records are needed to close it.
These are illustrations, not real cases.
What to Disclose and What to Keep on File
Selling as-is doesn't get you out of disclosure. Keep everything you know about the violations organized and available for your attorney.
New York's disclosure rules
If your house is covered by New York's disclosure law (RPL 462) ↗, you give the buyer the state disclosure form before they sign a contract, answered based on what you actually know. Have your attorney check whether one of the exemptions in RPL 463 ↗ applies to your sale.
The old option of giving the buyer a $500 credit instead of the form is gone; the current law (RPL 465) ↗ no longer offers it. The Department of State also released a revised form effective July 1, 2025 ↗, so make sure you're using the current one. Our as-is guide covers disclosure in more detail.
Keep notices, permits and lead records together
Give your attorney everything needed to describe known conditions accurately: notices, plans, permits, contractor invoices, inspection results, correspondence, correction submissions and status confirmations.
For most houses built before 1978, federal lead-disclosure rules ↗ also apply. Selling for cash doesn't exempt you.
If a buyer comes back after an inspection with a list of repairs, see our guide to handling buyer repair requests.

Checklist Before Accepting an Offer
The goal is to find the open issues before everyone is counting on a closing date. Share one complete set of records with everyone working on the sale.
Check the buyer and the terms
- Who exactly is buying, and can they show proof of funds or financing?
- The deposit, inspection rights, cancellation terms and whether the contract can be assigned
- The price, minus your costs, credits, payoffs and other adjustments
- Who handles each notice, record, correction and amount owed
- Which items have to be resolved before closing, and what proof is needed
- Access, occupancy and move-out, without promising a vacant or legal-use outcome you can't back up
- Deadlines, who's responsible for delays and the terms of any escrow
Assemble the document packet
- Every notice, case number, agency contact and current status
- Permits, plans and occupancy records
- Professional assessments and estimates for your property
- Correction submissions, inspections and agency confirmations
- Current balances, payoff information and the title report
- Disclosures and supporting records
- The full written offer and proposed contract
Our cash-selling guide covers the broader offer review. A cash offer gives you another option to compare, but it doesn't replace clearing the agency records or your attorney's review.
Before you commit, list every open item, who's responsible for it and what has to happen next. A clear written plan beats a general promise that "everything will be handled."
CashForHousez is a direct home buyer and may make an offer on your property. Compare complete written offers before deciding.




