Important Notice: This page is for informational purposes only and does not constitute legal advice. Jurist-Diction is not a law firm. For legal representation, contact Philadelphia Legal Assistance (PLA) — 215-981-3800, Community Legal Services (CLS) — 215-981-3700, or the Philly Tenant Hotline — 267-443-2500.
The Philadelphia Safe Healthy Homes Act (Chapter 9-3900 of the Philadelphia Code) establishes the minimum habitability standards for all residential rental units in Philadelphia. Every landlord is legally required to maintain every rental unit to these standards — regardless of what the lease says, regardless of how long you have lived there, and regardless of whether you have complained before.
When a landlord fails to maintain these standards, you gain legal rights: the right to demand repairs, the right to withhold rent into escrow, the right to a rent abatement, and — critically — the right to raise habitability as a complete defense to eviction. Here is how the law works.
Key Provisions of the Safe Healthy Homes Act
The provisions most relevant to eviction proceedings.
Phila. Code §9-3901(2)
Expanded Definition of Habitable Conditions
The Act expanded the definition of uninhabitable conditions to include: persistent mold, inadequate heating (below 68°F during occupied hours), lead paint hazards, pest infestation, and structural deficiencies. A unit with any of these conditions is legally uninhabitable regardless of the lease terms.
Phila. Code §9-3902
Landlord Certificate of Rental Suitability
Every landlord must provide a Certificate of Rental Suitability at lease signing. This certificate confirms the unit passed a recent L&I inspection. A landlord who cannot produce this certificate has violated the Act — and that violation is a defense to eviction.
Phila. Code §9-3903
Strengthened Anti-Retaliation Protections
The Act extended the presumption of retaliation window from 60 days to 90 days. If a landlord initiates eviction proceedings within 90 days of a tenant filing an L&I complaint, requesting repairs in writing, or organizing with other tenants, there is a legal presumption that the eviction is retaliatory.
Phila. Code §9-3905
Right to Withhold Rent for Habitability Failures
Tenants may legally withhold rent when a landlord has been notified of a habitability condition and has failed to remediate it within a reasonable time (typically 30 days for non-emergency conditions, 48 hours for emergencies). The withheld rent must be deposited into an escrow account.
Phila. Code §9-3906
Rent Abatement Claims
Tenants may assert a rent abatement claim in eviction proceedings. The court may reduce or eliminate rent owed based on the period during which the unit was uninhabitable. This claim can be raised as an affirmative defense in an eviction for nonpayment.
How to Use the Act as an Eviction Defense
Document the Condition
Photograph and date-stamp every habitability issue. Include photos showing scale (use an object like a coin or ruler). Photograph the entire room, not just the specific defect. Create a written inventory: what the condition is, when you first noticed it, whether you notified the landlord, and what the landlord did or did not do.
Notify the Landlord in Writing
Send written notice — text, email, or certified letter — describing the specific condition and requesting repair. Keep records of all communications. The date of this notice starts the clock for the landlord's obligation to respond. Do not rely on verbal requests alone; they are difficult to prove in court.
File an L&I Complaint
File a complaint with Philadelphia L&I (311 or the L&I portal at phl.gov/li). Request an inspection. L&I will send an inspector, and if violations are found, the landlord receives a violation notice with a remediation deadline. The inspection report is your strongest evidence in a habitability defense.
Establish the Escrow Account
If you intend to withhold rent, open a dedicated bank account and deposit rent there. Keep receipts. This demonstrates to the court that you were not simply not paying — you were protecting your legal position while preserving the rent for proper resolution. Courts treat escrowed rent very differently from simply not paying.
Raise the Defense in Court
When you appear for your eviction hearing, state your habitability defense clearly. Bring: your written notice to the landlord, all communications, the L&I inspection report, your photographs, and evidence of the escrow account. The landlord bears the burden of proving the unit was habitable. Your documentation shifts that burden.
What Habitability Conditions Are Covered?
Philadelphia L&I enforces the following as minimum habitability requirements under the Safe Healthy Homes Act. Any of these conditions, properly documented, supports a habitability defense:
- Inadequate heat (below 68°F when outside temperature is below 55°F)
- No hot water or running water
- Rodent, cockroach, or other pest infestation
- Visible mold growth in living areas or bedrooms
- Lead paint hazards in units built before 1978
- Structural defects: ceiling collapse, floor instability, foundation issues
- Non-functioning smoke or carbon monoxide detectors
- Electrical hazards: exposed wiring, non-functioning outlets, faulty panels
- Plumbing failures: leaking pipes, sewage backup, drain blockages
- Broken or missing locks on exterior doors or windows
Related Resources
Every Defense. One Packet.
Philadelphia Eviction Defense Packet
8 jurisdiction-correct documents covering habitability defense, rent abatement, and every other defense described on this page. Updated for the Safe Healthy Homes Act (2026).
Get the Packet — $299Disclaimer: This page is for informational purposes only and does not constitute legal advice. Jurist-Diction is not a law firm and does not provide legal representation. For legal assistance, contact PLA — 215-981-3800, CLS — 215-981-3700, or the Philly Tenant Hotline — 267-443-2500.