Yes, you can often sell a property before a code enforcement hearing, but the case usually does not disappear when the deed changes hands. Depending on your city or state, you may have to disclose the case in writing, notify the city, or get written permission to transfer. The buyer may also inherit the violation and its deadlines. The sale only works cleanly when the buyer knows about the case, the city is told, and the closing is planned around it.
This guide explains what the hearing decides, what the rules look like in different places, and the steps to take in the weeks before you appear. It is written for owners who want out of a problem property, not for owners planning a traditional listing.
TL;DR
- A code enforcement hearing decides whether a violation exists and can lead to compliance deadlines or fines. Selling does not automatically end the case.
- Local rules vary widely. Some places require disclosure and notice, some require the city's approval, and some pass the correction duty straight to the new owner.
- Before any sale, get a municipal lien search and a written status from the issuing agency. A standard title search can miss unrecorded city debts.
- Gather ownership papers, permits and photos of any work done, and try to resolve what you can before the hearing date.
- A direct cash sale of the property as-is is one way to leave the repairs and the process behind, as long as the buyer is told everything.
Table of Contents
- What a code enforcement hearing decides
- Can you sell while a case is pending?
- Who is responsible after the sale
- What to do before the hearing
- What to confirm with the city and the title company
- Your main options compared
- Our perspective
- Get a cash offer on a property with violations
- FAQ
- Sources
What a code enforcement hearing decides
A code enforcement hearing is a local administrative process. In West Chicago, for example, an independent hearing officer decides whether a violation exists, and may set compliance deadlines or fines. Other cities use a magistrate, a board or a special hearing officer, but the basic shape is the same: the city presents the alleged violation, you respond, and a decision follows.
The notice to appear is the start of a clock. Typical outcomes in many cities include an order to fix specific conditions by a date, a fine that grows if the date is missed, and in some places a recorded lien against the property. The exact penalties are set by your local code, so read the notice for the ordinance sections cited and the name of the department.
A few points matter for sellers:
- The case is tied to the property and to you. Even when you sell, an order already issued may follow the building.
- Fines can keep growing. If the order sets daily or periodic penalties, delay costs money.
- The hearing date is a decision point. Whatever you can resolve, document or disclose before it puts you in a stronger position.
Can you sell while a case is pending?
The honest answer is that it depends on where the property sits. Rules fall into a few patterns, and the examples below show how far apart they can be.
Sale allowed, with disclosure and notice
Florida is a clear example. Under Florida Statutes §162.06(5), an owner who transfers property after the initial pleading has been served but before the hearing must do four things:
- Disclose the proceeding to the buyer in writing.
- Give the buyer the pleadings and related materials.
- State in writing that the new owner will be responsible for code compliance and any orders.
- Notify the code enforcement official within 5 days after the transfer.
If you own in Florida, our guide on selling a house as-is in Florida covers the wider rules around that kind of sale.
Sale allowed only with a signed assumption
Some local codes are stricter. In Carroll County, Maryland, an owner who has received a notice or order may not sell, transfer, mortgage or lease the premises unless the notice has been complied with, or the new owner receives a true copy and gives the county a signed, notarized assumption of responsibility.
Sale requires written permission
Some places go further. Ashtabula, Ohio's housing code says a person who has not complied with a housing-code order may not sell or lease the premises unless the Housing Inspector, the Appeals Board or a court permits it in writing. Skipping that step could create a separate problem on top of the original one.
Sale does not end the case
In California, a sale does not moot an enforcement action already started against the record owner, and a person who acquires an interest after a recorded notice stays subject to the correction order and its deadlines.
The takeaway: read your own city and state rules before you sign a contract. A call to the code office, or to a real estate attorney in your state, should come before the listing or the purchase agreement, not after.
Who is responsible after the sale
The buyer often takes on the problem. Napa County, California, tells new owners in the unincorporated county that they are responsible for correcting violations created by previous owners, and notes that the county focuses on compliance and abatement rather than settling who reimburses whom between private parties.
That is why serious buyers ask for the full file. An attorney writing about New York closings describes a "quiet category" of violations that do not stop a closing but persist afterward, and warns that buyers may inherit an obligation they were never told about. For a seller, the lesson is simple: tell the buyer everything. Full disclosure protects the deal and protects you from a dispute later.
Who pays what is a matter for the purchase contract. Fines, liens and repair costs can be handled through the price, a payoff at closing or a written agreement. Ask your closing attorney or title company how it will be set out.

What to do before the hearing
Whether you plan to sell or not, the hearing preparation is similar. New Orleans' administrative hearing office advises owners to bring ownership papers, permit information, other compliance records and photos of work done to fix the violations, and to try to resolve violations before the hearing.
A practical sequence:
- Read the notice line by line. Note the address, case number, ordinance sections cited, the hearing date and any cure deadline.
- Contact the inspector or the code office. Ask what exactly must be corrected, what counts as compliance and whether the case can be closed after re-inspection.
- Collect documents. Deed, permits, contractor invoices, dated photos, and any correspondence with the city.
- Fix what is cheap and quick. Debris, overgrowth, broken fences and similar items can sometimes be resolved before you appear. Take dated photos.
- Attend the hearing, or send an authorized representative if your local rules allow it. Missing it can leave the city's version of the facts unchallenged.
- Decide on your exit. If repairs are large, permits are open or the cost is more than you want to carry, plan the sale in parallel instead of waiting for the outcome.
If you do hire help to cure violations, vet the people you bring in. A guide to contractor background checks lists what to verify before you hire, which matters when a city deadline limits your time and unlicensed work can create new permit problems.
Two related situations come up often. If the problem is work done without a permit, see how to sell a house with unpermitted work. In New Jersey, open permits and condemned property each have their own path, and our NJ code violation guide walks through selling when the city has already cited you.
What to confirm with the city and the title company
Most closings that stall do so because someone found a violation or a city charge late. Check these items early.
Run a municipal lien search
A standard title search may not show everything. Industry reporting notes that a municipal-lien search should be done alongside the title search because conventional searches can miss unrecorded municipal debts, including code enforcement and permitting charges. Ask your title company whether it includes this, and which departments it covers.
Ask the city for a written status
Public records are a starting point. Compliance specialists point out that records do not definitively settle liability or the scope of what a buyer must cure, so you should verify with the issuing agency directly for every transaction. Get the status of every open case, the unpaid fines, and what would close each one.
Learn your local sale procedure
Many cities attach their own steps to a sale:
- Dayton, Ohio tells sellers to contact the city 7 to 10 business days before closing for violation information and pending bills, to list any open violation on the disclosure form, and notes that the city may invoice other charges.
- Philadelphia's property certification form says sellers must disclose known conditions revealing zoning or property-maintenance violations, and the certificate lists uncorrected building, safety, property-maintenance and fire-code violations, including those with unpaid fines.
Neither of these is a template for your town. Search your city's website for "resale inspection," "certificate of occupancy on sale" or "point of sale" to see what applies.
Plan for judgments and back taxes
City fines can turn into liens, and liens sit next to other debts. If you also face a court judgment or tax debt, our guides on selling a house with a judgment and selling land with back taxes explain how payoffs are handled at closing.
Your main options compared
| Option | What it usually involves | Fits best when |
|---|---|---|
| Cure, then sell | Repairs, permits and re-inspection before listing | Violations are small, cheap and quick to fix |
| Sell with disclosure on the open market | Agent, showings, buyer financing, disclosure of the case | Property is in decent shape and you have time |
| Sell as-is for cash | Direct sale, no repairs, buyer takes the property with the case disclosed | Repairs are large, time is short or you want out |
No option removes the duty to disclose. What changes is who carries the repair work, the timeline and the uncertainty. Financing can be a hurdle on the open market: buyers who need a mortgage often cannot close on a property with unresolved safety or habitability issues, while a cash buyer can take the property as it stands.
Our perspective
Owners with a hearing date coming often feel they have to fix everything first, or lose. In our experience that is not the only road. A property with violations, liens or heavy repairs can still be sold, as long as the sale is honest and the numbers are clear.
We buy houses, land and small apartment buildings for cash, as-is, including properties with code violations and liens. That means you do not have to coordinate contractors, re-inspections and an agent while a deadline runs. We explain our offer numerically, charge no fees or commissions, and set the closing timeline around your situation, not ours.
The most important thing we tell every seller is to put the case on the table at the start. The buyer, the title company and the city all need the same facts. When they have them, closings move faster and nobody is surprised.
Alek
Get a cash offer on a property with violations
If repairs, fines or a pending hearing are making the property harder to keep than to sell, we can look at it as it is. We buy houses, small apartment buildings and land directly from owners, with no agent fees or commissions, and our Cash Offer Program is built for owners under time pressure. You can see the steps on our how it works page. Your conversation with us is confidential and we do not pressure sellers with urgency.

We buy nationwide, with a strong focus on New Jersey, Texas, Florida and Tennessee.
FAQ
Will selling the house make the code violation go away?
Not automatically. In some states a sale does not end an action already started, and the new owner remains bound by the correction order and its deadlines. Check your local code and ask the code office what happens to an open case on transfer.
Do I have to tell the buyer about a pending code case?
In many places, yes. Florida, for example, requires written disclosure and delivery of the case papers when a property transfers after the initial pleading is served and before the hearing, and the city must be notified within 5 days after transfer. Even where the law is quieter, full disclosure is the safest way to close.
Can a code violation lien stop a closing?
It can, if it is recorded or turns up in a municipal lien search. Fines and city charges are typically paid or settled at or before closing, and the title company should confirm the payoff amounts. Order the search early so nothing appears in the last week.
Should I skip the hearing if I plan to sell?
No. Missing a hearing can leave the city's claims unchallenged, and fines may continue. Attend, or send an authorized representative if your rules allow it, and bring ownership papers, permits and photos of any work done.
Who should I talk to before I sign a sale contract?
Start with the code enforcement office that issued the notice, then a title company and, for questions about your state's transfer rules, a real estate attorney licensed there. Each can confirm a different piece: the case status, the liens and the legal duties.
Sources
- Understanding Code Enforcement, Administrative Hearings (West Chicago)
- Prepare for an Administrative Hearing (New Orleans)
- Florida Statutes §162.06 (2026)
- Carroll County, MD §171.204 Transfer of Ownership
- Ashtabula, OH 1361.19 Selling or Purchasing Property in Violation of Code
- California Health and Safety Code §17060.5
- Correcting Code Violations for New Owners (Napa County)
- Open Violations and Your NYC Closing
- Property Certification form (Philadelphia)
- Need title searches? Don't forget hidden municipal liens (The Title Report)
- Do Code Violations Transfer to a New Owner? (ViolationNet)
