Skip to main content
Last updated: April 2026Researched by DepositHawk Research Team

When to Call Code Enforcement on Your Landlord

You've sent the emails. You've made the calls. Your landlord is ignoring the broken heater, the roach infestation, or the mold on the bathroom ceiling. At some point, asking nicely stops working and you need to bring in the authorities. Code enforcement exists for exactly this situation — but knowing when and how to use it makes the difference between results and wasted effort.

What Code Enforcement Actually Does

Code enforcement officers inspect rental properties for violations of local housing, building, fire, and health codes. They have the authority to issue citations, impose fines, and in severe cases, condemn a property. They are not your landlord's enemy or yours — they're neutral enforcers of minimum housing standards. When they find a violation, they typically give the landlord a deadline to fix it (7-30 days depending on severity). If the landlord doesn't comply, fines start accumulating. Repeated violations can result in legal action against the property owner.

When to Call (and When Not To)

Call code enforcement when: the issue affects health or safety (no heat, water leaks, pest infestations, exposed wiring, broken smoke detectors, mold); you've notified your landlord in writing and given them reasonable time to respond (7-14 days for non-emergencies, 24-48 hours for emergencies); and the landlord has failed to act. Don't call for cosmetic issues (ugly paint, dated fixtures), neighbor disputes (noise complaints go to police), or lease violations that don't involve building conditions (landlord entering without notice — that's a police or attorney matter).

How to File a Complaint

Most cities let you file online, by phone (311 in many cities), or in person at the building/housing department. You'll need: your address, your landlord's name and contact information, a description of the violation, dates you reported it to the landlord, and photos if available. Most jurisdictions allow anonymous complaints, but identified complaints tend to get faster action. After filing, you'll typically get a case number and an inspector will visit within 3-10 business days (faster for emergencies).

Retaliation Protections

This is the big fear: "If I call code enforcement, my landlord will evict me." Every state has anti-retaliation laws that prohibit landlords from evicting, raising rent, or reducing services in response to a tenant filing a legitimate complaint. In most states, any negative action by the landlord within 6-12 months of a complaint is presumed retaliatory, and the landlord must prove otherwise. Document the timeline — when you complained, when the retaliation occurred — and report any retaliatory actions to your local housing authority or an attorney.

What to Expect After the Inspection

The inspector will tour the property (they may or may not enter your unit, depending on the complaint) and document any violations. You'll usually receive a copy of the inspection report. If violations are found, the landlord gets a correction notice with a deadline. If they miss the deadline, follow up with the code enforcement office — fines and escalation don't always happen automatically. Keep pushing until the issue is resolved. If the violations are severe enough, you may also have grounds for rent abatement or lease termination under your state's habitability statute.

Frequently Asked Questions

Frequently Asked Questions

Can my landlord find out I filed the complaint?

If you file anonymously, the landlord won't be officially notified of who complained. However, if you're the only tenant or the issue is clearly unit-specific, the landlord may figure it out. Even so, anti-retaliation laws protect you. Document everything — the complaint date, the issue, and any subsequent landlord behavior — to protect yourself.

Will code enforcement make my landlord raise rent to cover fines?

Rent increases in response to a code enforcement complaint filed by a tenant are generally considered retaliatory and are illegal in most states within the protected period (6-12 months). The landlord cannot pass their fines to you. If they raise your rent shortly after a complaint, report it as retaliation.

What if code enforcement says the issue isn't a violation?

If the inspector finds no violation, you still have other options: consult a tenant rights attorney (many offer free consultations), contact your local tenant advocacy organization, or document the issue further and request a re-inspection if conditions worsen. Code enforcement covers building codes — your state's landlord-tenant statute may offer additional protections that code enforcement doesn't enforce directly.

DepositHawk protects renters’ money. See what we do.

DepositHawk is not a law firm and does not provide legal advice. Information and documents are for informational purposes only. No attorney-client relationship is created. Consult a licensed attorney for advice specific to your situation.