Building code violations are formal citations issued by a local building department when a property fails to meet the construction, safety, or permitting standards your jurisdiction has adopted. They can be triggered by something as small as a missing smoke alarm or as serious as a cracked foundation, and they carry consequences that compound quickly: daily fines, liens recorded against the property, stop-work orders, blocked sales, and in severe cases, orders to vacate the building entirely. Every state uses some version of the International Building Code as its baseline, and local inspectors enforce it through notices, hearings, and the courts.1International Code Council. International Building Code
If you’ve received a notice, found unpermitted work on a property you’re buying, or inherited a building with open issues, what matters now is understanding what kind of violation you’re dealing with, how fast the penalties grow, and what it takes to clear it.
What Gets Cited
Violations fall into two broad groups. Physical violations are conditions in the building itself. Administrative violations are about the paperwork. Both carry real consequences, and the administrative ones catch owners off guard more often than the structural ones do.
Physical Conditions
Inspectors prioritize conditions that create immediate risk of fire, collapse, or injury. The most frequently cited include:
- Electrical hazards such as ungrounded outlets, overloaded circuits, exposed wiring, and panels without proper clearance. Faulty electrical work is one of the leading causes of residential fires.
- Missing or non-functional smoke alarms and carbon monoxide alarms. Smoke alarms are required on every level, outside sleeping areas, and inside each bedroom; CO alarms are required on each level and outside sleeping areas.2U.S. Consumer Product Safety Commission. CO Alarms
- Structural deficiencies such as rotting support beams, cracked foundations, sagging floors, and deteriorated load-bearing walls. These can trigger immediate enforcement action because they risk partial or full collapse.
- Egress problems: bedroom windows too small to escape through, blocked exits, missing handrails, and stair risers with inconsistent heights.
- Plumbing and sanitation failures, including cross-connected water lines, missing backflow preventers, improperly vented drains, and non-functioning sewage connections.
Cosmetic issues usually won’t draw a citation. Peeling paint on an interior wall isn’t a code matter. Peeling lead paint in a pre-1978 home is, because it crosses into a health hazard.
Permit and Paperwork Problems
Work without a permit is the most common administrative violation. Removing a structural wall, adding a bathroom, replacing a water heater, or running new electrical circuits typically requires one. When the department discovers unpermitted work, the owner must apply for a retroactive permit, which often means opening walls so an inspector can verify what’s behind them.
Expired permits are a close second. A permit has a limited window for completion, often six months to a year depending on the jurisdiction. If the final inspection never happens, the permit expires and shows as “open” on the property record. That becomes the current owner’s problem regardless of who originally pulled it.
Illegal conversions, like a garage turned into living space or a single-family basement split into a rental apartment, violate both building and zoning codes at once. They are dangerous because they typically lack required fire separation, egress, and ventilation. Changing a building’s use category (retail to restaurant, office to daycare, warehouse to event space) requires a new certificate of occupancy, since each use carries different fire protection, accessibility, and structural load requirements.
Administrative violations tend to snowball. An expired permit feels like a technicality until you try to sell and the buyer’s lender refuses to close without it resolved.
What a Violation Will Cost You
The penalty structure is built to escalate until the owner acts.
Daily Fines
Most jurisdictions impose fines that accrue every day the violation remains uncorrected. Expect anywhere from $100 to $1,000 per day depending on severity and location. A blocked fire exit draws steeper penalties than an expired deck permit. These are not symbolic numbers. A violation left unaddressed for six months at $250 a day produces a $45,000 debt.
Stop-Work Orders
If an inspector finds active construction that violates the code or lacks a permit, the department can halt work on the site immediately. Continuing after a stop-work order can mean license suspension or revocation for the contractor, additional fines, and in some jurisdictions criminal charges against the owner or builder.1International Code Council. International Building Code
Liens
Unpaid fines don’t just sit in a file. Municipalities routinely record a lien against the property title for outstanding code enforcement debt. A lien prevents you from selling or refinancing until the fines are paid and the violation is resolved. In many jurisdictions, code enforcement liens attach with priority similar to tax liens, meaning they get paid before your mortgage lender in a forced sale.
Condemnation and Vacate Orders
For the most serious violations (imminent structural collapse, no running water, no heat in winter, severe fire hazards) the building official can declare a structure unsafe and order it vacated. Occupants must leave immediately, and the owner faces the full cost of either demolishing the structure or bringing it back to habitable condition before anyone can legally occupy it again. The department can also revoke a certificate of occupancy when the actual use doesn’t match what was permitted.
Court Action
If fines and liens don’t produce results, the municipality can escalate to housing court or civil court. A judge can impose additional civil penalties, order repairs by a specific date, or authorize the municipality to perform emergency repairs at the owner’s expense. Repeated or willful violations can carry criminal misdemeanor charges in some jurisdictions.
How Violations Affect a Sale
Open violations and unpermitted work create real obstacles when you try to sell, and not all of them show up where you’d expect.
Open permits and open violations typically do not appear on a standard title search. Title companies examine ownership records, liens, judgments, and easements. Building department records are kept separately. A buyer can get a clear title report and still inherit unresolved permit issues. The only way to catch them is a separate search with the local building department, which some buyers and lenders require and others skip.
Fines that have been recorded as liens do appear on title, and must be cleared before closing. A buyer’s lender will not fund a mortgage with an unresolved municipal lien on the property.
Nearly every state requires sellers to disclose known material defects, and open code violations fall squarely within that obligation. If you know about a violation or unpermitted work and fail to disclose it, the buyer can pursue legal action after closing for misrepresentation or concealment. Damages typically include the cost of correction plus any reduction in property value. Selling “as-is” doesn’t eliminate the duty to disclose known defects; it just means you aren’t agreeing to make repairs.
For buyers, the key point is that open violations transfer with the property. Close on a home with an unresolved code issue and that violation is now yours to fix, no matter who caused it.
Insurance and Landlord Exposure
Standard homeowners insurance covers damage from named perils like fire, wind, and water. What it does not automatically cover is the increased cost of rebuilding to current code when the original construction was built to an older standard. If a fire destroys part of your roof and today’s code requires upgraded framing or fire-resistant materials, you may be responsible for the cost difference unless you carry “ordinance or law” coverage, which has to be purchased as a separate endorsement in most policies.
Insurers can also push back on claims where the damage results from a condition the owner knew about and failed to correct. If an insurer learns that a fire started because of wiring you knew was deficient, expect a coverage dispute built on “failure to maintain” language.
Landlords face a more direct form of risk. When a tenant is injured because of a condition that violates the building code (a defective staircase, missing smoke detectors, inadequate electrical systems) the landlord’s exposure is substantial. In most states, a code violation is strong evidence of negligence, and some courts treat it as negligence per se, meaning the violation alone establishes fault without the tenant needing to prove carelessness. Lease clauses that attempt to shift habitability duties to the tenant are unenforceable in the vast majority of states. If the code says the landlord must maintain working smoke alarms, a lease provision pushing that onto the tenant doesn’t hold up in court.
Grandfathered Buildings Are Not Permanently Safe From Code
A building that met code when it was constructed generally doesn’t have to be upgraded every time the code changes. This is commonly called grandfathering, and the legal term is “legal non-conforming use.” The protection is narrower than most owners assume.
Major renovations, additions, or a change in use typically trigger a requirement to bring all or part of the structure up to current code. Even a relatively modest alteration can force you to upgrade fire alarms, add sprinklers, or widen doorways in parts of the building you weren’t planning to touch. Abandonment also ends the protection: if a non-conforming use is discontinued for an extended period, most jurisdictions treat it as forfeited, and the old use can’t resume without meeting current requirements. And a structure that was never code-compliant to begin with was never legally grandfathered. If the original construction violated the code in effect at that time, no later code change retroactively legitimizes it.
Challenging a Violation Notice
Not every notice is correct, and you have the right to contest one. The challenge usually takes the form of an administrative appeal, or in some cases a request for a variance.
Appeals to the Board of Appeals
The IBC provides for a board of appeals in every adopting jurisdiction. You can appeal a building official’s decision on three grounds: the code was interpreted incorrectly, the provisions don’t fully apply to your situation, or you’re proposing an alternative construction method that is equally safe or better than what the code requires.3International Code Council. Appendix B Board of Appeals The board hears evidence from both sides and can modify or reverse the original decision.
Filing deadlines are strict, often 30 days from the date of the decision, though this varies. Missing the deadline usually forfeits the right to appeal, so the clock starts the day you receive the notice, not the day you decide to fight it.
Defenses That Work
The arguments that succeed at hearing tend to be concrete: the cited condition didn’t actually exist at the time of inspection, the inspector identified the wrong property or the wrong code section, or the violation has already been corrected by the time of the hearing. Landlords sometimes argue that a tenant caused the condition despite reasonable maintenance, or that a tenant refused access for repairs. Each of these lives or dies on documentation: photos, maintenance records, written communications with tenants, and contractor receipts.
Variances
A variance is different. Instead of arguing the code was misapplied, you’re asking for permission to deviate from it. Variances are typically granted only when strict compliance would create an unnecessary hardship from conditions unique to the property, such as unusual lot shape, topography, or existing structural constraints, rather than personal or financial circumstances. You generally have to show that the variance won’t compromise safety and that the hardship isn’t something you created yourself. A variance cannot be used to allow a prohibited use of the property.
Correcting a Violation and Getting It Closed
Once you’ve decided to fix the violation rather than contest it, the process is methodical and paper-intensive. Having everything organized before you walk into the building department saves weeks of back-and-forth.
Start with your notice of violation. It contains the case number, the code sections cited, and a description of the conditions found. Every document you submit will reference that case number. From there, you’ll typically need:
- Architectural or engineering plans stamped by a licensed professional for structural, electrical, or plumbing corrections, showing how the work will bring the building into compliance.
- A current property survey if the violation involves setbacks, lot coverage, or boundary distances.
- Contractor credentials, including license number, insurance certificate, and sometimes a bond.
- The department’s correction application, which asks you to identify the code sections violated, describe the proposed work in detail, and list materials and methods.
The department reviews the plans, and if they meet code, issues a permit authorizing the corrective work. Plan review timelines range from a few days for simple corrections to several weeks for complex structural work. Administrative fees are unavoidable on top of the actual repair cost.
The Final Inspection Is the Point
Completing the physical work is only half the job. The violation stays open on the property record until an inspector verifies the repairs and the department formally closes the case.
After the contractor finishes, schedule a final inspection. The inspector compares the completed work against the approved plans and verifies that everything meets the cited code sections. If the work passes, the department issues a certificate of correction, certificate of completion, or equivalent document that formally clears the violation. That document is what matters. Without it, the violation remains open regardless of whether the physical problem has been fixed.
If the inspection reveals deficiencies, you correct them and schedule a re-inspection. Departments charge fees for follow-up visits, and those fees increase with each failed inspection. Two or three re-inspections at $100 to several hundred dollars each add up quickly, which is why getting the work right the first time is worth paying for a qualified contractor.
Clearing the Lien
Once the violation is officially closed, any liens recorded for unpaid fines can be released. You pay the outstanding penalties, request a lien satisfaction from the municipality, and record that satisfaction with the county recorder. The recording fee is small, but it’s the final step in clearing the title. Skip it and the lien keeps showing up on title searches even though the underlying violation is resolved, which usually surfaces at the worst possible moment, when you’re trying to close a sale.