Building code violations are findings by a local inspector that a property fails to meet the minimum safety or health standards set out in the codes your jurisdiction has adopted. A violation can attach to wiring, plumbing, structural work, fire safety, an unpermitted addition, or the way a deck is bolted to the house. Once one is on record, you are on a clock: daily fines, stop work orders, liens against the title, and in serious cases condemnation or criminal charges all follow from ignoring the notice. The good news is that most violations follow a predictable resolution path, and understanding that path is usually the difference between a manageable expense and a property you cannot sell.
What Inspectors Actually Cite
Local building codes across the United States trace back to a handful of model codes, so while dollar amounts and deadlines vary by jurisdiction, the categories of violation are consistent.
Structural problems. The International Building Code requires every building to safely carry its own weight plus the loads placed on it, including wind and snow.1International Code Council. IBC 2021 Chapter 16 Structural Design Cracked foundations, compromised load-bearing walls, and undersized roof framing fall here. These are the most expensive violations to fix because an engineer usually has to assess the property before any remediation plan can be drafted.
Electrical issues. Most of the country enforces the National Electrical Code, updated every three years by the National Fire Protection Association.2National Fire Protection Association. An Overview of NEC Article 300 General Requirements for Wiring Methods Common citations involve old cloth-insulated wiring, missing arc-fault protection, improperly buried outdoor cables, and overloaded panels. Faulty wiring is one of the leading causes of residential fires, so these violations tend to get fast attention.
Plumbing deficiencies. The International Plumbing Code requires backflow prevention on water supply connections, with annual inspections to confirm the devices still work.3International Code Council. CodeNotes Backflow Preventers and Protection of Water Supply Improper drain venting and cross-connections between potable and non-potable lines are the other frequent plumbing violations.
Fire safety and egress. Smoke alarms are required inside every bedroom, outside each sleeping area, and on every level of the home including the basement.4National Fire Protection Association. Installing and Maintaining Smoke Alarms Carbon monoxide alarms are required on each level with a sleeping area and on any level with a fuel-burning appliance.5U.S. Consumer Product Safety Commission. CO Alarms Bedrooms also need emergency escape windows meeting specific size and sill-height minimums, and finished basements used as bedrooms are the most common place this rule fails.
Deck construction. Faulty decks are one of the most common residential violations. The critical detail is the ledger connection: since 2009 the International Residential Code has required half-inch bolts or lag screws attaching the ledger to the house’s floor band joist, with specified spacing and edge distances.6International Code Council. Is Your Deck Safely Connected to Your House Nails alone do not meet the code and never have. Handrail and guardrail heights have their own separate requirements.
Unpermitted work. Finished basements, enclosed porches, converted garages, and added bathrooms built without a permit are among the most stubborn violations because the work is already hidden behind drywall. The violation is not just any substandard construction underneath — it is the fact that no inspector ever reviewed the work. An after-the-fact permit typically costs far more than the original would have.
How a Violation Comes to Your Attention
Violations reach owners through four main channels, and the channel affects how quickly the clock starts running.
- Construction inspections. When you pull a permit, inspectors visit at required stages. If the work does not match the approved plans or code, they flag it on the spot.
- Neighbor or tenant complaints. A complaint to the local code enforcement or building department often triggers an unannounced inspection.
- Permit history audits. When you apply for a new permit, the department reviews the property’s records and will investigate open permits, unpermitted additions, or structures that do not match the official survey.
- Property transactions. Home inspections, title searches, and lender requirements during a sale frequently surface violations that have been sitting quietly in municipal records for years.
The first two channels put you on an immediate clock: once a case is open, you get a notice of violation with a compliance deadline. The other two feel more ambiguous because the problem may be decades old, but the legal obligation to fix it is no less real.
Penalties When You Do Nothing
Enforcement starts with a notice and escalates from there. Dollar amounts and timing vary by jurisdiction, but the pattern is consistent.
Daily Fines
After the notice, you typically have a set period, often around 30 days, to fix the problem or show progress. Once that deadline passes without compliance, daily fines begin. These range from roughly $100 to $500 or more per day depending on severity and the local fee schedule. A $200-per-day fine reaches $6,000 in a month.
Stop Work Orders
If construction is underway and the work lacks a permit or violates code, the municipality can post a stop work order that halts all activity immediately. Continuing to work after one is posted can cost a contractor their license and produce additional fines for the owner. The order stays until the violation is resolved.
Liens on the Property
Unpaid fines and unremediated violations can be recorded as a lien against the property title. A lien blocks selling, refinancing, or borrowing against the property until the debt is satisfied. Code compliance liens generally do not expire; they remain until paid in full and released by the municipality.
Condemnation
For serious structural failure, fire damage, or conditions that threaten health and safety, officials can declare a building unfit for habitation. Everyone inside must vacate immediately, and the building stays condemned until repairs are completed and re-inspected. Abandoned condemned properties are common targets for demolition orders.
Criminal Charges
Ignoring enforcement orders can escalate beyond civil fines. In many jurisdictions, repeated violations or willful noncompliance with stop work or condemnation orders can be charged as a misdemeanor, carrying potential jail time. Owners who assume code enforcement is purely a financial matter are the ones caught off guard by this.
Clearing an Active Violation
Resolving a violation is a sequential process. Skipping steps almost always adds delay.
Read the Notice Carefully
The notice of violation identifies the property, cites the specific code sections you are violating, sets a compliance deadline, and lists the assigned inspector. Read the cited code sections; they define exactly what the finished result has to look like. If anything is unclear, call the inspector. Code enforcement officers are usually more helpful at this early stage than owners expect.
Gather Documentation and Hire the Right Contractor
Before applying for a corrective permit, pull together your property survey, existing architectural plans, and records of prior permits. For most structural, electrical, or plumbing violations you will need a licensed contractor, so collect their license number, insurance certificate, and a written scope of work. Structural violations often require an engineering assessment on top of that.
Pull the Corrective Permit and Do the Work
Submit the completed application with all attachments and pay the filing fee. Fees for corrective permits vary widely. Once the permit issues, the contractor performs the work exactly as described in the approved plans. Deviating from the plans, even if you believe your approach is better, can produce a failed inspection and additional fines.
Pass the Final Inspection
When the work is complete, request a final inspection. The inspector compares the finished work to both the approved plans and the code sections cited in the original violation. If everything passes, the department issues a certificate of compliance or a formal notice of dismissal, clearing the violation from your property record. Keep that certificate permanently. You will need it for future sales, refinancing, or insurance claims.
Deadlines and Requesting an Extension
Most jurisdictions set an initial compliance window of 30 to 60 days from the date of the notice, though severity drives the exact period. Emergency conditions such as exposed wiring or structural instability may get as little as 24 to 48 hours.
If you cannot finish within the initial window, you can usually request an extension. Extensions are commonly granted in 30-day increments; the first is often free, and later ones may carry fees. The department is less likely to grant an extension if you have not shown meaningful progress. Request it before the deadline expires, not after. Once you are past the deadline, daily fines may already be running, and the department has less incentive to work with you.
A written request explaining the reason for the delay is standard. Attaching evidence of progress, such as a signed contractor agreement, a pending permit application, or photos of work underway, significantly improves your chances.
Appeals and Variances When You Disagree
If you believe the violation was issued in error, or if bringing the property into full compliance is physically or financially impractical, you have two separate options.
Most municipalities have a Board of Appeals, sometimes called a Board of Building Standards, that hears challenges to enforcement actions. Filing generally requires the written violation notice and must happen within a set window, commonly 30 to 45 days from the date of the notice. The board evaluates whether the inspector applied the code correctly and whether the cited sections actually apply to your situation. Members are typically construction and code professionals, so they focus on technical merit.
A variance is a different request. It does not challenge whether you violated the code. It asks permission to remain out of compliance because full compliance would create an unreasonable hardship specific to the property. Variance criteria generally require that the hardship stem from the property’s unique physical characteristics, such as an unusual lot shape, topography, or existing construction, rather than personal finances or changes you made yourself. Self-created hardships, like building without a permit and then requesting a variance for the non-conforming result, are almost always denied. The variance must also be consistent with the intent of the code and must not create a safety risk.
Neither an appeal nor a variance request automatically pauses fines or the compliance deadline. Ask the department whether filing triggers a stay of enforcement, and if it does not, request one separately.
If You Are Renting the Property
Renters facing code violations are in a different position from owners, and the law generally favors the tenant. Nearly every state recognizes an implied warranty of habitability, meaning your landlord must keep the property fit for human occupancy. Violations affecting safety systems, plumbing, electrical, or structural integrity implicate that warranty directly.
Start with written documentation. Send your landlord a detailed description of the problem by text, email, or letter and keep a copy. If nothing happens, report the conditions to your local code enforcement or building department, which can inspect the property and issue the violation directly to the owner.
Depending on your state, several remedies may be available if the landlord still refuses to act:
- Repair and deduct. You hire a professional to fix the problem and subtract the cost from your rent. Most states recognize this right but require written notice and a reasonable period for the landlord to respond first.
- Rent withholding. Some states let you stop paying rent until the violation is corrected; others require the withheld rent to sit in an escrow account. Done incorrectly, withholding creates real eviction risk, so check state rules or contact legal aid before using it.
- Lease termination. When conditions are severe enough to make the unit uninhabitable, many states allow you to break the lease without penalty.
Retaliation is illegal in most states. Your landlord cannot evict you or raise your rent because you reported a violation, and an eviction filed shortly after your complaint often works in your defense.
Buying or Selling a Property With Violations
Active violations create friction on both sides of a real estate deal.
Seller Disclosure
In most states, sellers must disclose known material defects in a property condition statement, and an active violation qualifies. Unpermitted work falls into the same category. If a seller answers “no” to the unpermitted-work question and the buyer later discovers otherwise, the buyer may have a claim for misrepresentation. The operative word is “known,” which is why old violations from prior owners create murky situations.
Zombie Violations From Prior Owners
Zombie violations are old, unresolved code issues from previous owners that surface during a title search or when a new owner applies for a renovation permit. Because code enforcement follows the property rather than the person who caused the problem, the current owner is responsible for remediation regardless of who did the original work. Practical recourse against the prior owner is usually limited.
Financing and Title Insurance
Lenders can refuse to issue a mortgage on a property with unresolved violations or unpermitted structures, especially where safety or structural integrity is involved. Title insurance companies may exclude coverage for losses arising from known violations, leaving the buyer exposed. Both pressures tend to force sellers either to fix the violation before closing or accept a lower price.
Checking Before You Close
Three steps cover most of the risk when buying:
- Municipal lien and violation search. Ask the local building department directly whether the property has open violations, open permits, or recorded code liens. Not every title search catches these automatically.
- Permit history review. If you see a finished basement, an addition, or a converted garage but no matching permit on file, investigate before you make an offer.
- Professional home inspection. A qualified inspector can identify conditions likely to violate code even where nothing has been officially recorded.
When a violation surfaces mid-transaction and neither party wants to walk away, an escrow holdback can sometimes keep the deal alive: the lender holds part of the sale proceeds and releases the funds only after the work is completed and inspected. Not all lenders permit holdbacks, and serious violations usually have to be resolved before closing.
Insurance After a Loss
A standard homeowners policy covers repairing or rebuilding the damaged portion of your home. But if the local code has been updated since your home was built, repairs may need to meet current standards rather than simply restore the pre-loss condition. That upgrade cost is not covered by a standard policy.
Ordinance or law coverage, sometimes sold as building code upgrade coverage, is an endorsement that fills the gap. It pays the additional cost of bringing the repaired portion of your home up to current code after a covered loss. The limit is typically a percentage of your dwelling coverage, often 10 or 25 percent.
Two limits are worth knowing. First, ordinance or law coverage applies only after a covered loss. It does not pay for voluntary renovations, routine maintenance, or code compliance triggered simply because the code changed. A pre-existing violation cited by an inspector, unrelated to any insured event, is entirely out of pocket. Second, existing violations can complicate claims: if the insurer determines that a violation contributed to the damage, such as faulty wiring that caused a fire, the claim may be reduced or denied. Keeping the property in compliance is, among other things, an insurance strategy.