What is the warranty of habitability?
The warranty of habitability is a promise the law reads into residential leases that the unit will be fit for people to live in, whether or not the lease says so. Because it comes from law rather than the lease, a tenant generally can’t sign it away; New York’s statute calls such a waiver void as contrary to public policy.
Habitability is about basic living conditions, not looks. Dated cabinets or worn carpet don’t breach it. No heat in winter, sewage backups, a leaking roof, broken locks, rodents or exposed wiring usually do. Courts measure the standard largely by state and local housing codes.
Where the implied warranty came from
The modern implied warranty of habitability dates to Javins v. First National Realty Corp., 428 F.2d 1071, decided by the D.C. Circuit on May 7, 1970. The court held that a warranty of habitability, measured by the District’s housing regulations, is implied into leases of urban dwelling units, and that a tenant’s duty to pay rent depends on the landlord’s performance of it.
California followed in Green v. Superior Court, 10 Cal.3d 616, decided January 15, 1974. The California Supreme Court held that the warranty is implied in residential leases, that a tenant can raise its breach as a defense in an unlawful detainer case for nonpayment, and that the statutory repair-and-deduct remedy isn’t the tenant’s only option. Most states now recognize the warranty by statute, by case law or both.
Landlord responsibilities under state habitability laws
State statutes spell out a landlord’s habitability duties, and the lists look alike: weatherproofing, plumbing, hot and cold water, heat, electrical systems, sanitation and safe floors and stairs. The details, notice rules and exceptions vary by state.
California Civil Code 1941.1 lists the conditions that make a unit untenantable, including a lack of waterproofing, working plumbing and gas, hot and cold running water, heat, safe electrical lighting, clean and vermin-free grounds, enough trash receptacles and floors, stairs and railings in good repair. For leases signed, amended or extended on or after January 1, 2026, the list also includes a working stove and refrigerator, with some exceptions.
New York Real Property Law 235-b warrants that the unit and common areas are fit for human habitation and that tenants won’t face conditions dangerous to life, health or safety. Texas Property Code 92.052 requires a landlord to make a diligent effort to repair a condition that materially affects the physical health or safety of an ordinary tenant, once the tenant gives notice and is current on rent. Florida Statutes 83.51 requires compliance with building, housing and health codes and, for buildings other than single-family homes and duplexes, extermination, locks and keys, clean common areas, garbage removal, heat in winter and running and hot water.
| State | Core duty | Key condition | Statute or case |
|---|---|---|---|
| California | Keep the unit tenantable under a statutory list | Tenant didn’t cause the condition | Civ. Code 1941.1; Green (1974) |
| New York | Unit and common areas fit for habitation | Can’t be waived | RPL 235-b |
| Texas | Diligent effort to repair health and safety conditions | Tenant gave notice and is current on rent | Prop. Code 92.052 |
| Florida | Comply with codes; heat, water, pest control, locks | Applies in full to buildings over two units | Fla. Stat. 83.51 |
| District of Columbia | Implied warranty measured by housing code | Rent depends on landlord performance | Javins (1970) |
What remedies do tenants have?
Depending on the state, a tenant facing an unrepaired habitability problem can repair and deduct, withhold rent or pay it into a court escrow, raise the breach as a defense to an eviction, end the lease or sue for damages. Almost every remedy requires notice to the landlord and a reasonable time to fix the problem first.
- California repair and deduct (Civ. Code 1942): after notice and a reasonable time, presumed to be 30 days, the tenant can spend up to one month’s rent on repairs and deduct it, no more than twice in 12 months, or move out.
- Texas repair and deduct (Prop. Code 92.0561): for specific conditions such as sewage backups, loss of water or an official’s written finding, the tenant can deduct up to one month’s rent or $500, whichever is greater. Seven days is presumed a reasonable repair time under 92.056.
- Florida rent withholding defense (Fla. Stat. 83.60(1)(b)): seven days after written notice that the tenant won’t pay because of a material violation of 83.51(1), the violation becomes a defense to a nonpayment eviction, and the court can reduce rent.
- Maryland rent escrow (Real Prop. 8-211): for serious and dangerous defects, the tenant pays rent into court instead of to the landlord, and the court can abate rent, order repairs or release funds. More than 30 days after notice is presumed unreasonable.
- Habitability defense: in California under Green and in many other states, a tenant sued for nonpayment can argue no rent, or reduced rent, was due.
How code enforcement raises the stakes
Code enforcement turns a tenant complaint into a public record, with inspection reports, deadlines and fines that stay with the building. Once a city cites a habitability violation, state law can add penalties that go well beyond the cost of the repair.
In California, Civil Code 1942.4 bars a landlord from demanding or collecting rent, raising rent or serving a three-day notice to pay when a housing officer has cited the unit and the condition hasn’t been fixed within 35 days without good cause. The tenant can recover actual damages plus $100 to $5,000 in special damages, and the winning side gets attorney’s fees. California’s tax code adds another hit: under Revenue and Taxation Code 17274, an owner of substandard rental housing who doesn’t comply within six months of a notice that cites the section loses state deductions for interest, taxes, depreciation and amortization on it.
Other cities use fines, recorded notices, repair-and-bill programs or court-appointed receivers. Our guide to selling an apartment building with code violations explains how open citations affect a sale.
Retaliation and the repair log
Most states bar a landlord from retaliating against a tenant who complains about conditions or calls code enforcement, and some presume that a rent increase, eviction notice or cut in services soon after a complaint is retaliation. Your best defense is a clean repair record.
Keep a work-order log for every unit with the date of each request, your response, the vendor and the date the work was finished. Respond in writing, document entry notices and photograph completed repairs. When a habitability claim comes up in an eviction or a sale, that log is usually the first thing an attorney or buyer asks to see.
Worked example: repair costs vs. as-is value
Let’s say you own a 16-unit building with a failing roof, a boiler near the end of its life and water damage in three units. Bids total $185,000: $95,000 for the roof, $60,000 for the boiler and $30,000 for remediation and unit repairs. Right now, 13 units are rented at $1,250, three are offline and the building nets $83,000 a year after $112,000 in expenses.
With the work done, all 16 units would rent at $1,400. That’s $268,800 of gross potential rent, $255,360 after 5% vacancy and $153,216 of NOI after 40% expenses. At a 6.5% cap rate, the stabilized value is $2,357,169. Capping today’s $83,000 NOI at the same rate gives just $1,276,923.
A buyer who knows how to handle the work will usually price from the stabilized value back. Subtract $185,000 of repairs, $35,108 of income lost during six months of work and a 10% margin for risk and profit, $235,717, and the buyer can pay about $1,901,344. Doing the work yourself could capture that margin, but only if you can fund $185,000, manage contractors and tenants and keep the building compliant in the meantime.
| Item | Amount |
|---|---|
| Stabilized NOI (16 units at $1,400, 5% vacancy, 40% expenses) | $153,216 |
| Stabilized value at 6.5% cap rate | $2,357,169 |
| Less repairs | −$185,000 |
| Less income lost during 6 months of work | −$35,108 |
| Less 10% risk and profit margin | −$235,717 |
| Buyer’s as-is price | $1,901,344 |
| Today’s NOI of $83,000 at 6.5%, for comparison | $1,276,923 |
How habitability problems affect selling a 5+ unit building
Habitability problems don’t stop a sale, but they change who buys and how they price. Buyers who depend on agency or bank loans may have a hard time financing a building with major life-safety defects, while as-is buyers price the repairs and the risk into their offer.
Disclose what you know: open citations, tenant complaints, rent withholding, escrow cases and repair bids. Whatever disclosure form your state uses, hiding a known habitability or code problem exposes a seller to fraud claims after closing, and buyers will find most of it anyway through inspections, tenant estoppel certificates and city records. If your building also has deferred maintenance across the board, our guide to selling a distressed apartment building covers the options, including seller financing to bridge a price gap.
Selling your apartment building to Skyline
Skyline Capital Investments buys apartment buildings with five or more units nationwide as-is, including buildings with open code violations, failing systems, rent withholding or tenants in escrow cases. You don’t have to make repairs or clear citations before you call. We can work with a 1031 exchange timeline or offer seller financing terms.
Send the address and unit count through the form on this page or call (469) 660-2977. We typically respond within 48 hours.