If you’re dealing with unsafe living conditions, your primary reporting destination is your local building or housing code enforcement department. Most cities and counties have one, and filing a complaint triggers an inspection of the property. But the right agency depends on the type of hazard, whether you rent or own, and whether your housing is government-subsidized. Here’s how to navigate each situation.
Start With Local Code Enforcement
Every municipality has a department responsible for enforcing housing codes. It may be called code enforcement, building inspection, or housing preservation, depending on where you live. In New York City, for example, the Department of Housing Preservation and Development sends housing inspectors in response to complaints filed through the city’s 311 system. Most cities follow a similar model: you call a general city services line or submit a complaint online, and an inspector is assigned to evaluate the property.
To file a complaint, you typically need the property address, a description of the problem, and your contact information. Some departments allow anonymous complaints, though providing your name makes it easier for inspectors to access the unit and follow up. After filing, the department schedules an inspection. If violations are confirmed, the property owner receives a notice with a deadline to make repairs.
If you’re unsure which department handles housing complaints in your area, call your city or county’s main phone line and ask to be connected to code enforcement or the housing department.
What Counts as Unsafe
Legally, landlords are bound by something called the implied warranty of habitability, which means every rental unit must meet basic health and safety standards. That generally means substantial compliance with local housing codes. When no specific code applies, courts look at whether the unit meets baseline standards for safe, livable shelter.
Common conditions that qualify as unsafe include:
- No heat or hot water, particularly during cold months
- Gas leaks or exposed wiring
- Severe mold, pest infestations, or sewage backups
- Broken locks, windows, or fire escapes
- Structural damage like collapsing ceilings, rotting floors, or compromised stairways
- No working smoke detectors
- Lead paint hazards in homes built before 1978
Not every annoyance rises to the level of a code violation. A dripping faucet or chipped paint in a newer building is a maintenance issue, not necessarily a habitability concern. The distinction matters because code enforcement prioritizes hazards that threaten health or safety.
Emergencies: Call 911 First
Some hazards can’t wait for an inspection. If you’re dealing with a gas leak, a fire hazard, carbon monoxide, structural collapse, or any situation that poses an immediate threat to life, call 911. The fire department responds to gas leaks and hazardous material situations, and emergency services can order an immediate evacuation if needed.
A good rule of thumb: if you’re unsure whether the situation is life-threatening, treat it as though it is. Gas leaks, electrical sparks near water, and buildings with visibly compromised structure all warrant emergency calls rather than complaint forms.
HUD-Subsidized Housing Has Its Own Process
If you live in a HUD-subsidized apartment, the reporting process adds an extra layer. Your first step is to contact your property manager directly and document that you did so. If the property manager doesn’t respond or can’t resolve the problem, you can escalate by emailing HUD’s Multifamily Resource Center at [email protected] with “Rental Complaint” in the subject line.
Include your name and contact information, the apartment complex name, your full address with unit number, a brief description of the complaint, and the name and phone number of the property manager you already contacted. You can verify whether your property falls under HUD’s multifamily programs by checking resources.hud.gov, where HUD properties appear as orange icons on the map.
HUD also funds free housing counseling agencies across the country. You can find one near you at answers.hud.gov/housingcounseling or by calling 1-800-569-4287. These counselors can help you understand your options and walk you through the complaint process at no cost.
Lead Paint and Environmental Hazards
Specific environmental hazards have dedicated federal reporting channels. The EPA enforces lead-based paint disclosure laws for housing built before 1978. If you bought or rented a pre-1978 home and were never informed about potential lead hazards, you can report that violation directly to the EPA at epa.gov/lead/violation.
For asbestos concerns, your state’s environmental or health department is typically the right contact, since asbestos regulation is largely handled at the state level. Many state health departments also handle complaints about contaminated water, radon, and other environmental hazards in residential buildings. A quick search for your state’s department of environmental quality or department of health will point you to the right complaint form.
How Long Your Landlord Has to Fix Things
Once a violation is identified, the timeline for repairs depends on how dangerous the problem is. Emergency repairs, like gas leaks, no heat in winter, electrical hazards, or major water leaks, generally require a response within 24 hours. These are situations that pose an immediate threat to your health or could cause significant property damage.
Non-emergency repairs get more leeway. Broken appliances, minor plumbing issues, and cosmetic problems typically fall into a 7 to 30 day window. The exact deadline varies by state and city, so your local code enforcement office can tell you what applies in your jurisdiction. What matters legally is “reasonableness,” and courts consistently hold that life-safety issues demand immediate action while comfort-related problems allow more time.
If your landlord misses the deadline, code enforcement can issue fines, and in some jurisdictions you may have legal options like withholding rent or arranging repairs yourself and deducting the cost. These remedies vary significantly by state, so it’s worth checking your state’s tenant rights laws before taking action on your own.
You’re Protected From Retaliation
One of the biggest fears tenants have about reporting unsafe conditions is that their landlord will retaliate. Every state has some form of anti-retaliation law on the books. These laws prohibit landlords from evicting you, raising your rent, or reducing your services because you filed a complaint.
Connecticut’s statute is a useful example of how these protections work. It bars landlords from taking retaliatory action within six months after a tenant contacts government officials about a violation, after a municipal agency files a notice or complaint, or after a tenant requests repairs in good faith. If a landlord harasses you through unlawful entry or repeated intimidating demands, you can recover damages equal to at least one month’s rent plus attorney’s fees.
The specifics differ by state, but the core principle is consistent: reporting unsafe conditions is a legally protected activity. Document everything. Keep copies of your complaints, photographs of the conditions, and any communication with your landlord. Written records, whether emails, texts, or certified letters, are far more useful than verbal exchanges if you ever need to prove retaliation.
Disability-Related Housing Complaints
If unsafe conditions affect you because of a disability, and your landlord refuses to make reasonable accommodations, the Fair Housing Act adds another avenue for complaints. The Act prohibits housing discrimination based on disability, among other protected categories. If your landlord won’t install a grab bar, refuses to address mold that worsens a respiratory condition, or ignores accessibility issues, you can file a complaint with HUD’s Office of Fair Housing and Equal Opportunity at hud.gov or by calling 1-800-669-9777.
Fair housing complaints and code enforcement complaints aren’t mutually exclusive. If the conditions in your unit are both a code violation and a failure to accommodate a disability, file both. They travel through different systems and can reinforce each other.
Quick Reference by Situation
- Immediate danger (gas leak, fire, structural collapse): Call 911
- General housing code violations: Local code enforcement or 311
- HUD-subsidized housing: Property manager first, then [email protected]
- Lead paint disclosure violations: EPA at epa.gov/lead/violation
- Other environmental hazards: State health or environmental department
- Disability-related housing discrimination: HUD Fair Housing at 1-800-669-9777
- Free housing counseling: 1-800-569-4287 or answers.hud.gov/housingcounseling

