Houses Needing Repairs

Can You Sell a House With Code Violations in New York?

Open violations don't automatically kill a sale, but they can stall one. Here's how to find out what's on record, what has to be cleared, and how it affects your offers.

Updated October 8, 2026•By The CashForHousez Team
Quick Answer

Usually, yes. Open violations don't stop you from selling, but they can delay closing, scare off buyers who need a mortgage and lower your price. What matters is which agency issued the violation, whether it's a fine, a repair order or both, and what the buyer's attorney, title company and lender will require. Selling as-is or for cash doesn't make a violation go away.

Homeowners reviewing property documents and a floor plan with a real estate professional
1

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.

What you might find, and what to do about it
Record or conditionWhat to find outDocument to get
Inspection defectIs it just a repair issue, or was a violation actually issued?Inspection report and the agency's records
ComplaintDid an inspector come out, and was anything issued?Current complaint and enforcement status
Open permitWhich inspections or sign-offs are still missing?Permit history and what's needed to close it
Issued violation or orderWhat has to be corrected, documented or paid?The full notice, its number and its deadlines
Charge, judgment or possible lienHow 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.

2

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 in NYC
Where to lookWhat it showsWhat it won't tell you
DOB BIS and DOB NOWViolations, permits and certificate of occupancy recordsWhether the house's current use is legal, or what title will require
HPD OnlineHousing complaints and violation historyWhether every issue was fixed or every charge paid
OATH/ECB summons searchSummonses, hearing results and penaltiesWhether the underlying condition was corrected
Title report and financial recordsUnpaid charges, judgments and recorded liensWhether 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.

3

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.

Homeowner and building professional examining peeling paint and damaged plaster near a window
4

Do You Need to Fix Violations Before Selling?

Not always. Here are the main ways sellers handle it, and what each one depends on.

Four ways to handle violations in a sale
OptionUpsideWhat has to work out
Fix before listingBuyers see a cleaner recordScope of work, funding, permits and agency sign-off
Fix during the contract periodYou can sign a contract while the work happensRealistic deadlines, proof of completion and what happens if it runs late
Sell as-is to a buyer who'll take it onLess work and less cash out of your pocketBuyer acceptance, plus any agency, debt or title issues that still have to be resolved
Credit or escrow at closingSplits the cost between you and the buyerApproval 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.

Tell Us About Your Property
5

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.

Four things to clear, one at a time
What to clearProof to getCommon mistake
The physical conditionWork records and inspection results"The contractor's done, so the violation must be closed."
The agency recordAccepted correction or a status confirmation from the agency"I sent the paperwork, so it's cleared."
Money owedCurrent balances, payment receipts and any lien releases"Fixing it cancels the fines."
Closing requirementsConfirmation 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?

6

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

Fill this in for your own house
ItemFix first, then sellSell as-is
Expected sale priceYour best supported estimateThe written offer
Your repair and professional costsReal estimatesAnything you still have to pay
Permits, filings and fines owedConfirmed totalsWho pays what, per the offer
Selling costs and mortgage payoffFigures for your propertyFigures for your property
Carrying costs until closingBased on the longer timelineBased on the shorter timeline
What you keepPrice minus everything abovePrice 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.

7

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.

Homeowner reviewing property paperwork and a closing checklist with a real estate professional
8

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.

Know what's still open

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.

Common Questions

Code Violations and Home Sale FAQs

Can a cash buyer buy a house with open violations?

Yes, many will. But cash doesn't erase the violation, the fines or any lien. Your attorney and the title company will still need to sort out what has to be cleared before closing.

Does paying an OATH fine clear a DOB violation?

Not by itself. DOB keeps the violation open until it accepts proof that the condition was corrected. Check the steps for your specific summons.

Can I sell if the repair is done but the record is still open?

Possibly. Finishing the work and closing the record are separate steps. Find out what paperwork is still missing and whether the buyer, lender or title company needs the record closed before closing.

Is an open permit the same as a code violation?

No. They're different records, though a house can have both. An open permit needs its remaining inspections or sign-offs; a violation needs correcting and often a fine paid.

Can a credit or escrow solve the problem at closing?

Sometimes. It needs approval from the right parties and clear terms, and it doesn't override an agency order or a required closing condition.

Can a missing Certificate of Occupancy affect the sale?

It can. Some older NYC buildings don't need one, depending on what's been changed since. Have an architect or expediter confirm what your house requires.

Does the buyer automatically become responsible for every fine?

No. Existing fines, liens and future responsibilities need to be spelled out in the contract, and a private agreement with the buyer doesn't change who the agency holds responsible.

Where should I check a property outside NYC?

Your town, village or city building department. Ask them for permits, inspections and any violations on your property. NYC's systems don't cover Nassau.

Considering Selling a House With Code Violations?

Tell us about your New York property and compare a cash offer with your other options. Review the price, costs, responsibilities and closing conditions before deciding.

Tell Us About Your Property

Any questions or concerns?

Please let us know

We will get back to you promptly