Housing code violations are conditions in a residential property that fail the minimum safety, structural, or sanitation standards set by local law. Every city and county writes its own code, but most start from the same model, so the categories of problems that draw enforcement look similar across the country. If you’re living with one, reporting it triggers an inspection, a formal notice to the owner, a repair deadline, and daily fines if that deadline slips. If you’re a tenant and the landlord still won’t fix things, several legal remedies open up.
Conditions That Count as Violations
Structural Problems
Cracked foundations, sagging roof lines, and rotting exterior walls are among the most serious violations because they threaten the building’s ability to stay standing. The model code most jurisdictions follow requires foundation walls to remain plumb and free from open cracks, exterior walls to be weatherproof and free from holes or rotting materials, and roofing sound enough to keep rain out.1UpCodes. Chapter 3 General Requirements – GSA Property Maintenance Code Water working its way through a failing roof or foundation quietly causes mold, rots framing, and attracts pests long before anything shows inside.
Heat, Water, and Plumbing
A rental without working heat, running water, or a functioning toilet is one of the clearest habitability violations. The widely adopted International Property Maintenance Code requires heating systems capable of maintaining at least 68°F in all habitable rooms, bathrooms, and toilet rooms during heating season. When the landlord supplies heat as part of the lease, that 68°F minimum runs from roughly mid-September through late May.
Every plumbing fixture must connect to a public water system or an approved private well, and kitchen sinks, bathtubs, showers, and lavatories must have both hot and cold running water. Fixtures must also drain into a public sewer or approved private disposal system.2ICC Digital Codes. IPMC Chapter 5 Plumbing Facilities and Fixture Requirements A toilet that won’t flush, a shower with no hot water, or a unit missing a sewer connection can each trigger enforcement on its own.
Sanitation and Pests
Mold growth, rodent and insect infestations, and accumulated garbage are sanitation violations that directly affect health. Property owners are responsible for extermination when the infestation results from structural defects such as gaps in walls or missing door sweeps. Garbage buildup on the property draws vermin and can trigger enforcement even when the structure itself is in decent shape.
Fire Safety
Working smoke alarms must be installed in every sleeping room, in the hallway outside sleeping areas, and on each story of a dwelling unit including basements. Carbon monoxide alarms are required where fuel-burning appliances or attached garages are present. Smoke alarms in one- and two-family homes must be replaced no later than ten years from the manufacture date printed on the unit.3ICC Digital Codes. IPMC Chapter 7 Fire Safety Requirements
Blocked exit routes draw enforcement too. Every door and window designated as an emergency escape must open easily without special tools or knowledge. Exposed wiring, overloaded circuits, and missing outlet covers fall under fire safety enforcement because they create ignition risks.
The Line Between Unsafe and Just Ugly
Nearly every state recognizes a legal doctrine called the implied warranty of habitability, which requires landlords to keep rental units fit for people to live in throughout the lease. It applies whether the lease mentions it or not. Only Arkansas does not recognize the warranty.
The warranty covers conditions that genuinely affect health and safety, not appearance. Scratched floors, outdated paint colors, and stained countertops don’t violate habitability standards. A missing window that lets rain and cold air inside, plumbing that doesn’t deliver hot water, or a bathroom without a working toilet do. That distinction matters because habitability problems unlock specific legal remedies, and cosmetic complaints generally do not.
How to Report a Housing Code Violation
Document the problem before you call anyone. Take clear photographs or video of the specific issue, whether it’s a leaking pipe, a broken staircase railing, or visible mold. Write down the date you first noticed it and keep a running log. If you’re a tenant, send your landlord a written description by email or certified mail so you have a dated record putting them on notice.
When you’re ready to file, contact your city or county code enforcement office or building department. Many municipalities take complaints through online portals or 311 systems. The form will ask for the property address, the specific unit number in multi-family buildings, the nature of the violation, and where in the structure it’s located. Having the owner’s name or the management company’s contact information helps the agency reach the responsible party faster. Fill out every field carefully; incomplete forms slow processing.
Most code enforcement offices keep the complainant’s identity confidential to the extent the law allows, but policies vary. Some agencies accept anonymous complaints; others require a name but promise not to share it with the property owner. If the case reaches court, a complainant might have to testify, which can override confidentiality. Ask your local office about its specific policy before filing if anonymity matters to you.
What Happens After You File
The agency schedules an inspection. A trained inspector visits the property to verify the reported conditions and document anything else they notice. If violations exist, the department issues a formal Notice of Violation to the property owner identifying the specific problems and setting a deadline for repairs.
Deadlines depend on severity. An imminent safety hazard like a gas leak, a structural collapse risk, or no heat in winter can trigger an order to fix the problem within 24 to 72 hours or vacate the building. Non-emergency violations like a missing handrail or a broken window screen typically come with 10 to 30 days for correction. The notice spells out exactly what needs to happen and by when.
Owners who miss the deadline face daily fines that accumulate until the work is done. Amounts vary widely by jurisdiction, commonly ranging from $25 to $500 per day depending on the severity of the violation and whether it’s a first offense or a repeat. In many places, the municipality can record a lien against the property for unpaid fines, which creates a debt that follows the real estate into any future sale. Persistent offenders can face court proceedings, and the worst cases end in condemnation.
Once repairs are complete, the owner requests a re-inspection. The inspector verifies that the work meets code, and only after that sign-off is the notice officially resolved. A sloppy patch job that fails the follow-up just restarts the enforcement clock.
When a Building Is Condemned
Condemnation is the extreme end of enforcement. It happens when an inspector determines a structure is so damaged, decayed, or dangerous that it cannot safely be occupied. A condemned building gets a placard posted stating it is unfit for human occupancy, and everyone inside must leave. Nobody can legally move back in until the code official removes the placard after confirming the problems have been fixed. Removing or defacing that placard without official approval is itself a code violation with its own penalties.
For tenants displaced by condemnation, some jurisdictions require the property owner to provide temporary housing or relocation assistance when the unsafe conditions resulted from the owner’s negligence. These protections vary significantly, so displaced tenants should ask the local code enforcement office directly about what’s available. Where no local relocation ordinance exists, tenants may still have claims against the landlord for breach of the lease or breach of the implied warranty of habitability.
Tenant Remedies When the Landlord Won’t Fix Things
Tenants stuck with habitability problems that the landlord ignores after written notice have several potential remedies depending on where they live. No single federal law governs these options, so what’s available varies by state and sometimes by city. Following your state’s exact procedure is critical, because doing it wrong can get you evicted.
Rent Withholding
A majority of states allow tenants to withhold rent when a property has been officially cited for code violations affecting health or safety. The typical process requires the tenant to notify the landlord in writing, wait a reasonable period, and then deposit rent into an escrow account rather than paying the landlord directly. The money sits in escrow until repairs are complete. In some jurisdictions, if the landlord never makes repairs within the statutory window, the escrowed funds are returned to the tenant.
Repair and Deduct
Roughly half of states have codified a repair-and-deduct remedy, which lets a tenant hire someone to fix the problem and subtract the cost from the next rent payment. The process almost always requires written notice to the landlord first, followed by a waiting period that commonly ranges from 14 to 30 days. Most states cap the amount you can deduct at one or two months’ rent. Keep every receipt and a copy of your notice letter, because the landlord may challenge the deduction in court and you’ll need to prove you followed the rules.
Constructive Eviction
When conditions get bad enough that a unit is effectively unusable, the doctrine of constructive eviction may let the tenant break the lease without penalty. Three things have to be true: the landlord’s action or inaction substantially interferes with the tenant’s use of the property, the tenant notifies the landlord and the landlord fails to fix the problem, and the tenant moves out within a reasonable time after that failure. A tenant who successfully raises constructive eviction is relieved of the obligation to keep paying rent. Courts have found severe insect infestations, failure to provide heat, and cutting off a tenant’s electricity sufficient to support the claim.4Legal Information Institute. Constructive Eviction
Retaliation After You Report
Filing a code complaint or using a remedy like rent withholding sometimes provokes landlords into raising rent, cutting services, refusing to renew a lease, or starting eviction proceedings. That kind of payback is illegal in most states. Protected actions typically include complaining to a government agency about unsafe conditions, joining a tenant organization, and participating in legal proceedings against the landlord.
Many states create a legal presumption that any negative action by the landlord within a set period after the tenant’s complaint is retaliatory. That window is commonly six months, though some states set it at 90 days or a full year. When the presumption applies, the landlord bears the burden of proving to a judge that the rent increase, service reduction, or eviction filing had a legitimate, non-retaliatory reason.
Retaliation protections don’t cover tenants who are behind on rent, who caused the code violation themselves, or whose lease is ending for a legitimate business reason unrelated to the complaint. Before reporting a violation, sending the landlord a written notice by certified mail creates a paper trail that strengthens any future retaliation claim. That letter, showing the landlord knew about the problem and had a chance to fix it before you contacted code enforcement, is often the most important piece of evidence in a retaliation dispute.
If You’re the Property Owner
Code enforcement isn’t only a tenant concern. Homeowners can receive violations for exterior conditions visible from the street, such as deteriorating siding, collapsed fences, or overgrown vegetation that creates pest habitat. The inspection and fine process works the same way whether the property is owner-occupied or rented out.
For landlords, the cost of ignoring a notice almost always exceeds the cost of fixing the problem. Daily fines compound, liens attach to the property and complicate any future sale or refinancing, and tenants gain legal ammunition for rent withholding or lease termination. A $300 plumbing repair left undone can spiral into thousands in fines, legal fees, and lost rent. Owners who believe an inspector misidentified a problem or applied the wrong code section can appeal through an administrative hearing, but appeals don’t pause the compliance deadline unless the board grants a stay. Filing one just to buy time while fines keep running is an expensive strategy that rarely works.