If your house is not up to code, the consequences usually start with a written violation notice giving you a deadline to fix the problem, and escalate from there into daily fines, a lien against the property, trouble selling or refinancing, insurance complications, and in the worst cases condemnation or demolition. How far it goes depends on the severity of the violation, how quickly you respond, and the enforcement practices where you live.
The First Thing That Happens: A Violation Notice
Once a code inspector confirms a problem, the property owner receives a formal document, often titled a Notice of Violation or Notice of Non-Compliance. It is a warning, not a fine. The notice identifies the specific problems found, cites the code sections involved, and spells out exactly what corrective action is required.
It also sets a deadline. Non-hazardous issues might give you 30 to 90 days. Conditions that pose an immediate danger to life or health may require action within 24 hours. The notice names the assigned inspector, explains how to request an extension, and describes the re-inspection process that follows the deadline.
Treat this document seriously. It creates a formal record attached to the property, and it starts the clock on everything that follows.
Fines That Stack by the Day
Miss the deadline and the first penalty is money. Most jurisdictions impose daily fines that accrue for every day the violation remains uncorrected. Amounts vary, but fines commonly run from $100 to $500 per day and go higher for repeat offenders or hazardous conditions. Each day the violation persists is typically treated as a separate offense, so a $250-per-day fine becomes $7,500 after a month of inaction.
That math is the main reason inspectors emphasize communication. A short extension requested before the deadline costs nothing. The same delay taken silently can produce a four- or five-figure bill.
Liens on Your Property
Unpaid fines don’t just sit on a ledger. The local government can place a lien on the property for the amount owed. A lien is a legal claim against your home for the debt, and it clouds the title, meaning you generally cannot sell or refinance until the lien is satisfied.
In some jurisdictions, the municipality can also add the cost of any emergency repairs it performed to the lien amount. These liens attach to the property itself, so they follow the home even if ownership changes. A buyer who takes title with a lien still attached inherits the debt.
Condemnation and Forced Demolition
For the most serious violations, the municipality can condemn the property, declaring it legally unfit for habitation. The process typically begins with a formal unsafe-structure determination, followed by notice to the owner, a hearing before a code enforcement board, and an order specifying what must happen next. That order might require the building to be vacated, repaired within a set timeframe, or demolished entirely.
If the owner doesn’t comply, the city can hire contractors to demolish the structure and bill the owner for the cost, often securing a lien for that amount as well. Owners generally have the right to appeal a condemnation order to a court within 30 days of the hearing.
Criminal Charges in Extreme Cases
In some jurisdictions, persistent code violations are classified as misdemeanors, with each day a violation continues chargeable as a separate offense. Criminal prosecution is rare for ordinary homeowners. It becomes a real possibility when an owner has repeatedly ignored notices and fines, or when a landlord is knowingly renting out a dangerous property. Penalties can include probation or even jail time.
What It Does to a Sale or Refinance
A code violation won’t make a home unsellable, but it narrows your buyer pool and weakens your position in negotiations. Disclosure is the first hurdle. The vast majority of states require sellers to inform potential buyers of known material defects, and an outstanding code violation qualifies. Concealing a known violation and letting the buyer discover it after closing exposes you to a fraud or misrepresentation lawsuit.
Financing is the second hurdle. Most mortgage lenders require homes to meet minimum safety and habitability standards before approving a loan. For FHA-insured mortgages, a property with defective conditions is considered unacceptable until the defects have been corrected and the risk of further damage eliminated.1U.S. Department of Housing and Urban Development. HUD Handbook 4150.2 – Valuation Analysis for Single Family One-to-Four Unit Dwellings The appraiser conditions the loan on repairs, and the property must be re-inspected before closing. If the lender rejects the property outright, your buyer pool collapses to cash purchasers and investors, who will expect a steep discount.
Sellers in this position generally choose among three paths: fix the violations before listing, price the home to account for repair costs, or offer a repair credit at closing. Fixing the issues first usually produces the best sale price, but it demands upfront cash and delays the listing.
What It Does to Your Homeowners Insurance
Insurers view properties with known code violations as higher risk, especially when the violations involve electrical, structural, or fire-safety systems. If your insurer learns about a violation, the consequences range from inconvenient to severe.
At the mild end, your insurer may decline to renew your policy at the next renewal and send you shopping for coverage elsewhere. At the severe end, if damage occurs and it’s connected to a non-compliant part of the home, the insurer may deny the claim entirely, arguing that failure to maintain the property to legal standards constitutes negligence. A fire traced to the same faulty wiring that was cited in a code violation is the textbook example. A denied claim means you pay for the damages yourself.
One policy feature worth knowing about is ordinance or law coverage, an endorsement available on most homeowners policies. After a covered loss, rebuilding often triggers current-code requirements that make repairs significantly more expensive than restoring what was there before. Standard policies don’t cover that extra cost. Ordinance or law coverage pays for the additional expense of bringing the rebuilt portions up to current code. It won’t help with routine compliance or voluntary upgrades, but it can matter a great deal after a major loss. Check whether your policy includes the endorsement and whether the limit is adequate.
When an Older Home Gets Pulled Into Current Code
Older homes are generally grandfathered under the codes in effect when they were built or last legally permitted. You don’t have to tear out 1960s wiring because the code changed in 2024. But that protection has limits, and several events can force part or all of the home up to current standards:
- Major renovations. Remodeling a significant portion of the home typically requires the renovated area to meet current code. Many jurisdictions set a threshold based on the project’s cost relative to the building’s assessed value.
- Change of use. Converting a garage into a living space, or a single-family home into a duplex, triggers current-code compliance for the affected areas.
- New equipment. A new furnace, electrical panel, or water heater generally has to meet current code even if the rest of the house doesn’t.
- Unpermitted past work. Officials have full authority to require that work be brought up to whatever code is currently in effect, not the code that applied when the work was originally done.
- Substantial damage. When a home is damaged beyond a certain percentage of its value by fire, flood, or similar event, rebuilding often triggers full current-code compliance.
Administrative and maintenance-related code changes, such as updated smoke detector or carbon monoxide detector requirements, are often applied retroactively because they don’t require altering the structure.
Unpermitted Work You Inherited
Unpermitted work is one of the most common ways homeowners end up in code trouble, and it often isn’t their doing. A previous owner finished a basement, added a bathroom, or enclosed a porch without pulling permits. Everything looks fine until you try to sell, refinance, or do your own permitted renovation. At that point the old work surfaces and becomes your problem.
The consequences can be harsh. The building department can issue a stop-work order on your current project until the earlier unpermitted work is addressed. You may have to open up finished walls so an inspector can verify what’s behind them. In some cases, the municipality can order unauthorized structures demolished. Fines for unpermitted work can also run substantially higher than the original permit fee would have been.
If you are buying, ask whether all major improvements were permitted. Open permits and unpermitted additions sometimes appear in title searches and city records, but not always. A good home inspector will flag work that looks unpermitted based on quality, layout, or absence of inspection stickers.
How to Clear a Violation
Most violations are fixable, and acting quickly prevents nearly every penalty above.
Start by reading the notice carefully. It tells you exactly what is wrong and what the inspector expects. If anything is unclear, call the inspector listed on the notice. Code officers are usually willing to explain what is needed, and that conversation can save you from spending money on the wrong repair.
For anything beyond simple fixes like installing smoke detectors, you will likely need a building permit before starting work. Pulling a permit signals that you are taking the violation seriously and puts you on the schedule for a follow-up inspection. Depending on the scope, you may need a licensed contractor, particularly for electrical, plumbing, or structural work.
Once repairs are complete, schedule a re-inspection. If the work passes, the violation is cleared from the record. If it falls short, you will get another chance to correct it, though some jurisdictions charge a re-inspection fee for each additional visit. If you need more time than the original deadline allows, contact the inspector before the deadline passes to request an extension. Extensions are easier to secure when you can show progress, such as an active permit or a signed contractor agreement.
If You Rent, the Rules Are Different
If you rent your home, building code compliance is overwhelmingly the landlord’s responsibility. Across most of the country, landlords are legally required to maintain rental properties in habitable condition, which includes compliance with applicable building, housing, and health codes. That duty covers structural integrity, electrical and plumbing systems, heating, pest control, and other essential services.
Tenants dealing with a violation generally have several options. You can report the issue to the landlord in writing and request repairs. If the landlord ignores the request, you can file a complaint with the local code enforcement or health department to trigger an inspection. Landlords cannot legally retaliate against tenants for reporting code violations to the government.
Depending on state law, tenants in habitability disputes may be able to withhold a portion of rent until repairs are made, hire a contractor and deduct the cost from rent, or terminate the lease entirely if conditions are serious enough. These remedies vary significantly by state, so check your local rules before acting. The important point for a tenant reading this: you are not responsible for the cost of bringing a building up to code unless you caused the damage.