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

What makes an apartment legally uninhabitable?

An apartment is legally uninhabitable when it lacks basic necessities — working heat, hot water, plumbing, electricity, weatherproofing, or has serious hazards like mold, pest infestations, or structural damage. Every state has a warranty of habitability that defines the minimum standards your landlord must maintain.

The warranty of habitability exists in every state, though the details vary. At its core, it means your landlord must keep the unit fit for human occupancy. Here's what crosses the line from "annoying" to "uninhabitable":

No heat in winter. If it's below freezing outside and your heating system is broken, that's a habitability violation in every state. Most codes require indoor temperatures of at least 64-68 degrees.

No hot water. Running water and hot water are considered essential in every jurisdiction.

Broken plumbing. Sewage backups, non-functioning toilets, persistent leaks causing structural damage or mold.

Electrical hazards. Exposed wiring, non-functioning outlets, no working lights.

Pest infestations. Roaches, bedbugs, rats — if the infestation makes the unit unhealthy to live in, that's a habitability issue.

Mold. Particularly black mold or mold covering significant areas. This is both a habitability and health code violation.

Structural problems. Holes in walls or roof, broken windows that won't close, doors that don't lock.

When your apartment is uninhabitable, you generally have three options depending on your state: repair-and-deduct (fix it yourself and deduct the cost from rent), rent withholding (stop paying until it's fixed), or lease termination (move out without penalty). All three require written notice to your landlord first.

How This Works State by State

The rules vary depending on where you live. Here's how the biggest states handle it.

Under Cal. Civ. Code § 1941, California landlords must maintain heating, plumbing, electrical, and structural integrity. Tenants can repair-and-deduct up to one month's rent under § 1942.

Cal. Civ. Code § 1941; Cal. Health & Safety Code § 17920.3

Under Tex. Prop. Code § 92.052, Texas landlords must repair conditions affecting health or safety. Tenants can terminate, repair-and-deduct, or sue if repairs aren't made after notice.

Tex. Prop. Code § 92.052

Under N.Y. Real Prop. Law § 235-b, New York's warranty of habitability cannot be waived. NYC requires heat of 68°F during the day (Oct-May) and hot water 24/7.

N.Y. Real Prop. Law § 235-b; NYC Housing Maintenance Code

Under Fla. Stat. § 83.51, Florida landlords must maintain premises in compliance with building and health codes. Tenants can withhold rent after 7 days' written notice.

Fla. Stat. § 83.51

Under Chicago RLTO § 5-12-110, tenants can repair-and-deduct up to $500 or half a month's rent (whichever is greater) when landlords fail to maintain habitable conditions.

765 ILCS 735/2; Chicago RLTO § 5-12-110
StateRuleStatute
CaliforniaCalifornia codifies habitability requirements in detail. Landlords must maintain plumbing, heating, electrical, sanitation, weatherproofing, and structural integrity. Tenants can use repair-and-deduct (up to one month's rent) or rent withholding after proper notice.Cal. Civ. Code § 1941; Cal. Health & Safety Code § 17920.3
TexasTexas requires landlords to make diligent efforts to repair conditions that materially affect health or safety. Tenants must give written notice and allow reasonable time for repair. If the landlord fails, tenants can repair-and-deduct, terminate the lease, or sue.Tex. Prop. Code § 92.052
New YorkNew York's warranty of habitability is one of the strongest in the country. It cannot be waived. Tenants can withhold rent, repair-and-deduct, or sue for rent abatement. NYC Housing Code sets specific standards for heat, hot water, pest control, and structural maintenance.N.Y. Real Prop. Law § 235-b; NYC Housing Maintenance Code
FloridaFlorida requires landlords to comply with building, housing, and health codes that materially affect health and safety. Tenants must give 7 days' written notice before withholding rent or terminating the lease.Fla. Stat. § 83.51
IllinoisIllinois implies a warranty of habitability in every residential lease. Chicago's RLTO provides specific remedies including rent withholding, repair-and-deduct (up to $500 or half a month's rent), and lease termination for serious violations.765 ILCS 735/2; Chicago RLTO § 5-12-110

Frequently Asked Questions

Frequently Asked Questions

What makes an apartment legally uninhabitable?

An apartment is legally uninhabitable when it lacks basic necessities — working heat, hot water, plumbing, electricity, weatherproofing, or has serious hazards like mold, pest infestations, or structural damage. Every state has a warranty of habitability that defines the minimum standards your landlord must maintain.

Can my landlord charge me for carpet replacement?

Your landlord can only charge you for carpet damage beyond normal wear and tear. Worn paths, minor stains from regular use, and fading are normal wear — not your responsibility. Large burns, pet damage, or deep stains from negligence are deductible.

Can my landlord charge me for painting after I move out?

Generally no — repainting between tenants is considered routine maintenance, not tenant damage. Landlords can only charge you for painting if you caused damage beyond normal wear, like crayon drawings, smoke staining, or unauthorized bold paint colors.

Can my landlord charge me for nail holes in the walls?

Small nail holes from hanging pictures are generally considered normal wear and tear and are not valid deductions. Large holes from anchors, bolts, or multiple clustered holes may be deductible as damage.

PROTECTION

Your landlord is costing you money. We stop it.

  • Junk Fee AuditorFlags illegal charges hiding in your lease
  • Rent Increase AnalyzerChecks if your hike exceeds the legal cap
  • Deposit Photo VaultTimestamped move-in/out evidence your landlord can’t dispute
  • Free Demand LetterState-specific letter generated in 2 minutes

Junk fees you can’t opt out of: ~$100/mo

Utility overcharges you can’t verify: ~$50/mo

Deposit interest your landlord pockets: ~$8/mo

Rent increase above legal cap: ~$35/mo

Total: ~$193/mo you’re probably losing.

DepositHawk Protection: $3/mo.

Protect Yourself — $3/mo

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.