Share
Construction·56 views·7 min read·Manage

Code Violation

A code violation is a documented failure to meet building codes, zoning ordinances, or safety standards enforced by a local municipality or county. It means a property has conditions that a government inspector has flagged as non-compliant — and the owner is legally required to correct them.

Also known asBuilding Code ViolationCode InfractionMunicipal Violation
Published Apr 3, 2025Updated Mar 27, 2026

Why It Matters

A code violation tells you a property has something wrong that the local government has officially recorded. For investors, that can mean fines, forced repairs, or negotiating leverage. Always check violation history before you close.

At a Glance

  • Types: structural, electrical, plumbing, fire safety, zoning
  • Fines: $100–$1,000 per day depending on jurisdiction and severity
  • Cure periods: 30–90 days for non-life-safety; immediate correction for life-safety violations
  • Most common: unpermitted work by a previous owner
  • Resolution: retroactive permit ($500–$3,000) or demolition if non-compliant
  • Investor use: open violations create negotiation leverage of $5,000–$50,000 off the purchase price

How It Works

When a building inspector, code enforcement officer, or responding agency finds a condition that doesn't meet current standards, they issue a notice of violation. That notice gets recorded against the property address — not just the owner. It follows the title.

Violations fall into five main categories. Structural violations involve problems with load-bearing elements, foundations, or framing that compromise the integrity of the building. Electrical violations cover things like overloaded panels, missing GFCI outlets in kitchens and bathrooms, or improper wiring. Plumbing violations include improper venting, cross-connections between potable and waste lines, or illegal tie-ins. Fire safety violations are among the most serious: missing smoke detectors, absent CO detectors, blocked egress routes, or missing fire-rated assemblies. Zoning violations involve land use issues — an unpermitted accessory dwelling unit, excess occupancy, or a business operating in a residentially zoned property.

Once a violation is issued, the owner typically receives a cure period. For non-life-safety issues, that window is usually 30 to 90 days. For life-safety violations — blocked exits, missing detectors, structural instability — correction may be required immediately, sometimes within 24 to 72 hours.

Fines for non-compliance run from $100 to $1,000 per day, compounding as long as the violation remains open. In some jurisdictions, the municipality can place a lien on the property if fines go unpaid. That lien survives a sale.

Real-World Example

Darnell found a duplex listed at $285,000. The seller disclosed the property had been owner-occupied for fifteen years. Before closing, Darnell requested a violation history report from the city's code enforcement office — something that takes a phone call or a quick online search in most municipalities.

The report showed two open violations: an unpermitted basement bedroom added without a permit and a missing egress window in the same space. The basement work was done by the previous owner, but the violations attached to the property.

Darnell got two contractor estimates. A retroactive permit with the required egress window installation came to $4,200. That became the basis for a $9,000 price reduction — $4,200 for the repair plus $4,800 for the time and uncertainty of shepherding the permit through the city. The seller accepted. Darnell closed at $276,000, pulled the retroactive permit, passed inspection, and cleared both violations within sixty days.

Pros & Cons

Advantages
  • Open violations create documented, quantified leverage during purchase negotiations
  • Violation history is a public record — easy to obtain before closing in most jurisdictions
  • Retroactive permits often resolve unpermitted work for $500–$3,000, far less than demolition
  • Cleared violations increase the property's marketability and financing eligibility
  • Identifying violations early gives you a full picture of rehab costs before you commit
Drawbacks
  • Life-safety violations require immediate correction — there is no grace period to negotiate around
  • Fines accumulate daily and can reach significant totals if previous owners ignored them
  • Accrued fines and municipal liens may survive the sale and transfer to the new owner
  • Retroactive permits are not always available — some jurisdictions require demolition of non-compliant work
  • Violations affect NOI indirectly by creating carrying costs and reducing rentable space during remediation
  • Hidden violations not yet discovered by inspectors remain your liability the moment you close

Watch Out

The most dangerous scenario for investors is unpermitted work that looks finished and professional. A basement conversion with drywall, flooring, and lighting can represent $30,000 in potential liability if the framing, electrical, and egress don't meet code. A general inspection does not check permit records — you need to pull the permit history separately.

Also watch for violations that have been "fixed" by a seller without closing the permit. A correction that wasn't re-inspected and signed off is still an open violation in the city's records. Ask specifically: was the violation closed with a final inspection, or just repaired?

Be aware that violations affect property tax assessments indirectly in some jurisdictions — assessors can adjust value based on compliance status. And financing can stall entirely if an appraiser flags an open violation during underwriting. Lenders will not fund on properties with certain life-safety violations outstanding.

Finally, understand the difference between a violation and an unpermitted condition. Not all unpermitted work has been formally cited yet. A clean violation history does not guarantee a clean permit history. Pull both.

Ask an Investor

The Takeaway

A code violation is a documented liability attached to a property, not just a repair item. For investors buying distressed or older properties, violation history is required due diligence — as important as the inspection report. Open violations are negotiating tools when you find them before closing. Hidden violations become your problem the moment title transfers. Know what you're buying. Pull the violation history, pull the permit history, and price the remediation into your offer. That discipline protects your cash-on-cash return from the surprises that sink otherwise good deals.

Was this helpful?