Your right to a safe, livable apartment

Most states require landlords to keep rentals safe and livable. What the warranty of habitability covers and what to do when repairs are ignored.

Housing · 2026-11-07 · The Advicey team · general information, not legal advice

Key takeaways

  • In most states, every residential lease includes a warranty of habitability: the landlord must keep the home safe and fit to live in.
  • Habitability usually covers heat, hot water, plumbing, electrical safety, weathertightness, pests, structural safety and compliance with housing codes.
  • Give the landlord written notice of problems and a reasonable time to fix them, and keep copies and photos.
  • Remedies vary by state and can include code inspections, rent reduction, repair-and-deduct, rent escrow, ending the lease or a lawsuit for damages.
  • Landlords generally may not retaliate against tenants for requesting repairs or reporting code violations.

A home should be safe. When the heat fails in January, the ceiling leaks every time it rains, the outlets spark, or mice and roaches take over the kitchen, it is not just an inconvenience. It can be a health risk and, in most states, a violation of the landlord's legal duties.

The core legal idea is the warranty of habitability. In most states, every residential lease includes an implied promise that the landlord will keep the home fit to live in, whether or not the lease says so, and tenants usually cannot waive it. This guide explains what the warranty covers, how to request repairs the right way, and what you can do if the landlord does not act. It is general information, not legal advice, and housing law varies widely by state and city.

What habitability usually covers

Habitability standards come from state law, court decisions and local housing codes. Commonly covered items include:

  • Heat adequate for the season, often with minimum temperatures set by local code. See no heat or hot water.
  • Hot and cold running water and working plumbing, toilets and drains
  • Safe electrical systems, wiring, outlets and fixtures
  • Weathertightness: roofs, walls, windows and doors that keep out rain, snow and wind
  • Structural safety: floors, stairs, railings and ceilings
  • Freedom from pests, such as rodents, roaches and bedbugs, especially when the infestation is not caused by the tenant. See bedbugs, pests and the landlord's responsibility.
  • Working smoke detectors and, where required, carbon monoxide detectors
  • Secure locks on entry doors and ground-floor windows
  • Garbage facilities in multi-unit buildings
  • Freedom from hazards such as lead paint deterioration, mold from leaks, and asbestos disturbance. See lead paint hazards and mold in your apartment.
  • Common areas kept safe and clean in multi-unit buildings

Minor cosmetic problems, such as worn carpet or old paint in good condition, usually do not violate habitability, though they may still be covered by your lease.

What is usually the tenant's responsibility

Tenants generally must:

  • Keep the unit reasonably clean and sanitary
  • Use appliances and fixtures properly
  • Avoid damaging the property beyond normal wear and tear
  • Report problems promptly
  • Allow reasonable access for repairs, with proper notice. See landlord entry and your privacy.

If a tenant or guest causes the damage, the landlord may not have to repair it at their own cost.

Step 1: Document the problem

Before and after you notify the landlord, gather evidence:

  • Photos and videos with dates, showing the problem clearly
  • Measurements where relevant, such as indoor temperature readings
  • Medical records if the condition affects health, such as asthma made worse by mold
  • Written notes of dates, times and conversations
  • Witnesses, such as neighbors with the same problem

Step 2: Give written notice

Tell the landlord or property manager in writing, even if you already called. Many state remedies require written notice and a chance to fix the problem first. Your notice should:

  • Describe each problem specifically
  • Say when it started
  • Ask for repair by a reasonable date
  • Note any health or safety risks
  • Be dated and kept on file

Send it in a way you can prove, such as certified mail, email, text or the landlord's tenant portal with a screenshot. Keep a copy.

Sample notice:

"Dear [Landlord], I am writing to request repairs at [address], Unit [#]. Since [date], the heat has not worked; the indoor temperature is about 55 degrees. The bathroom ceiling leaks during rain, and there is visible mold around the leak. Please make repairs by [date]. These conditions affect my family's health and safety. Please contact me at [phone] to arrange access. Thank you, [name]."

Step 3: Allow reasonable access and time

Let the landlord or repair workers in at reasonable times after proper notice. Emergencies, such as no heat in winter, gas leaks or sewage backups, usually require faster action than non-urgent repairs. Some local codes set specific deadlines.

Step 4: If repairs are not made, consider your options

Remedies depend heavily on your state and city. Common options include:

Call a housing or code inspector

Local housing, building or health departments can inspect and order repairs. A code violation report is strong evidence. See how to report building code violations.

Rent escrow or paying rent into court

Some states and cities allow tenants to pay rent into a court-supervised account until repairs are made. This protects you from eviction for nonpayment while pressuring the landlord.

Repair and deduct

Some states let tenants make certain repairs themselves and deduct the cost from rent, with limits on amount and frequency and strict notice rules. See withholding rent and repair-and-deduct.

Rent withholding or abatement

In some states, tenants may withhold rent or seek a rent reduction for the period the unit was not habitable. Doing this without following the exact rules is risky and can lead to an eviction case. Many tenants raise habitability as a defense or counterclaim if they are sued for rent.

Ending the lease

Serious habitability problems may allow a tenant to end the lease and move out without penalty, sometimes called constructive eviction. Rules are strict, and tenants usually must leave within a reasonable time.

Suing for damages

Tenants may be able to sue for rent reductions, damaged belongings, medical costs, and in some places statutory penalties or attorney's fees. Small claims court may be an option for smaller amounts. See small claims court.

Retaliation is prohibited in most states

Most states prohibit landlords from retaliating against tenants who request repairs, complain to code enforcement, or join tenant organizations. Retaliation can include eviction, rent increases, reduced services or harassment. Many states presume retaliation if the landlord acts within a certain period after the complaint. See landlord retaliation.

Subsidized and public housing

Public housing and units rented with Housing Choice Vouchers must meet federal inspection standards. Tenants can request inspections from the housing authority, and serious problems can lead to the landlord's payments being withheld until repairs are made. See habitability in public housing and housing voucher holders' rights.

Health hazards deserve special care

  • Lead paint: Homes built before 1978 may contain lead-based paint. Peeling or chipping paint is dangerous, especially for young children and pregnant people. Landlords must disclose known lead hazards in pre-1978 housing under federal law.
  • Mold: Mold often comes from leaks or poor ventilation. The EPA advises fixing the moisture source and cleaning up mold promptly.
  • Carbon monoxide: Faulty heaters and appliances can produce deadly gas. See carbon monoxide exposure in rental housing.

If a condition is making someone in your home sick, see a doctor and keep the records.

Injuries from unsafe conditions

If you or a guest were injured because of a dangerous condition the landlord knew or should have known about, such as a broken stair, loose railing or faulty wiring, there may be a personal injury claim. See tenant injured in an apartment building.

Examples

No heat in winter. A tenant's heat stops working in January. She texts the property manager the same day, records indoor temperatures for three days and then calls the city housing inspector, who issues a violation. The landlord repairs the boiler within days.

Recurring leak and mold. A tenant reports a roof leak in writing three times over two months. Mold spreads in the bedroom. After an inspection confirms the violation, the tenant asks the court to let her pay rent into escrow until repairs are completed.

Pests. Roaches persist despite a tenant's own efforts, and neighbors report the same problem. The tenant asks in writing for professional extermination of the building.

These are illustrations, not predictions.

Questions to ask a local lawyer or tenant organization

  • What exactly does habitability require in my city and state?
  • What notice must I give before using a remedy?
  • Is rent escrow, repair-and-deduct or withholding allowed here, and how?
  • What deadlines apply to emergency and non-emergency repairs?
  • How do I protect myself from retaliation?

How habitability fits with your lease

Your lease may list repairs the landlord will make, the tenant's duties, and how to request maintenance. The warranty of habitability sits on top of the lease. In most states:

  • A lease clause that tries to waive habitability or shift major repairs to the tenant is unenforceable for residential tenancies.
  • The landlord's duty usually exists even if the lease is silent.
  • A tenant's duty to pay rent and the landlord's duty to provide a habitable home are linked, which is why habitability problems can be raised as a defense when a landlord sues for rent.

Some leases require repair requests through an online portal. Use it, but also keep your own copy or screenshot of each request, because portals can change or delete records.

Emergency vs. non-emergency repairs

Not every problem has the same urgency. Many local codes and courts treat these as emergencies needing very prompt action:

  • No heat during cold weather or no running water
  • Gas leaks or carbon monoxide alarms
  • Sewage backups
  • Electrical hazards such as sparking outlets or exposed live wires
  • Broken entry door locks
  • Flooding or major roof leaks

Non-emergency repairs, such as a dripping faucet, a broken cabinet or a cracked window that still closes, usually allow a longer, reasonable time. If you are unsure, describe the risk in your written notice and ask the landlord to treat it as urgent. If there is immediate danger, such as a gas smell, leave the building and call the utility or 911 first.

Keeping a repair log

A simple log turns scattered complaints into strong evidence. For each problem, record:

  1. The date you first noticed it
  2. Each date you reported it, how, and to whom
  3. Every response and promised repair date
  4. Each time workers came, what they did, and whether it fixed the problem
  5. Photos showing the problem before and after
  6. Any costs you paid, such as space heaters, hotel nights or replaced belongings

Courts and inspectors are far more persuaded by a dated log with photos than by a general statement that "the landlord never fixes anything."

Working with neighbors

Habitability problems in multi-unit buildings often affect many households: a failing boiler, building-wide pests, a leaking roof or broken elevator. When neighbors document problems together, it becomes harder for a landlord to ignore them or treat one tenant as a troublemaker. Some tenants form or join a tenant association, which in many places is legally protected activity. See tenant unions and organizing.

Common mistakes that hurt tenants

  • Complaining only by phone with no written record
  • Withholding rent without following the state's exact procedure
  • Moving out and stopping rent without understanding whether the conditions legally justify ending the lease
  • Making major repairs yourself without permission and expecting reimbursement
  • Missing a court date in an eviction case where habitability could be raised as a defense
  • Waiting months to report a problem that keeps getting worse

When you can't afford to wait

Some situations cannot wait for a landlord who is slow to respond. If your home has no heat in freezing weather, no water, a sewage backup or an electrical hazard, take these steps the same day:

  1. Report it in writing to the landlord and keep the timestamp.
  2. Call your local housing, building or health department and ask for an emergency inspection.
  3. If anyone's health is at risk, move vulnerable family members somewhere safe and keep receipts for the costs.
  4. Ask your local legal aid office or tenant hotline whether an emergency court order is available in your area. Some housing courts can order repairs quickly.

Keep every receipt for space heaters, bottled water, hotel stays or meals you had to buy because the unit was unusable. These costs may be recoverable later.

Getting help

Free help may be available from legal aid programs, local tenant unions and housing counselors. See legal aid, pro bono and low-cost lawyers and the Legal Services Corporation's eviction resources. On Advicey you can post your case free. Licensed firms in your state that handle housing conditions cases bid, and every bid shows the most that firm will charge you. See housing conditions cases by state.

Frequently asked questions

What makes an apartment legally uninhabitable?

It depends on state and local law, but serious problems like no heat in winter, no running water, sewage backups, exposed wiring, broken locks, major leaks, severe pest infestations and structural hazards often violate habitability standards.

Can I stop paying rent if my landlord won't make repairs?

Only if your state's law allows it and you follow the required steps exactly. Withholding rent without following the rules can lead to an eviction for nonpayment. Many places require paying rent into court or an escrow account instead.

How long does a landlord have to make repairs?

State and local laws often require repairs within a reasonable time, and some set specific deadlines, with shorter periods for emergencies like no heat or water. Check your local code and lease.

Can my landlord evict me for complaining?

Most states prohibit retaliatory evictions and rent increases after a tenant requests repairs or reports code violations, often presuming retaliation if the landlord acts within a certain period after the complaint.

Does habitability apply to public housing and voucher units?

Yes. Public housing and units rented with housing vouchers must also meet federal inspection standards, and tenants can request inspections through the housing authority.

Sources

Housing conditions lawyers by state · More housing guides · Post a case free

Important information

  • Advicey.com is an advertising marketplace. It is not a law firm or a lawyer referral service, and it does not give legal advice.
  • Using Advicey does not create an attorney-client relationship. A relationship exists only if you and a firm sign a retainer.
  • Bid cards and firm profiles are Attorney Advertising. Placement is paid. Advicey does not recommend, rate or endorse any lawyer.
  • No result is promised. Fee amounts, savings figures and examples are illustrations, not predictions. Prior results do not guarantee a similar outcome.
  • Availability, fee types and features vary by state. Some states are not open yet.
  • Legal deadlines can be short. If you think you have a claim, talk to a lawyer promptly.