Pennsylvania Rental Health Codes: Renter’s Guide

As a renter in Pennsylvania, you have the right to a safe and healthy living environment. Pennsylvania rental housing health codes are in place to ensure landlords meet minimum safety and health standards for all rental homes. Understanding these codes can empower you to address unsafe conditions and take action if your apartment or rental house falls short of legal requirements.

What Are Rental Housing Health Codes in Pennsylvania?

Pennsylvania law requires all rental properties to meet certain habitability standards. These requirements are set at both the state level (through the Pennsylvania Landlord and Tenant Act) and often supplemented by local city or county codes. At a minimum, your rental unit must:

  • Be structurally sound, with no major leaks, holes, or infestations
  • Have adequate heating, hot and cold running water, and safe electrical systems
  • Include functioning smoke detectors and, where required, carbon monoxide alarms
  • Offer proper sanitation (working toilets, sinks, and no severe mold)
  • Be free from pest infestations or hazardous conditions

For a detailed list of local codes, check with your local municipality’s code enforcement office. Some cities, like Philadelphia and Pittsburgh, enforce stricter rules than what’s set by the state.

Your Right to a Safe and Habitable Home

The Pennsylvania Landlord and Tenant Act gives renters the right to a home that meets basic health and safety standards. This is sometimes called the “implied warranty of habitability.” Even if your lease doesn’t mention it, landlords can’t rent out unsafe or unhealthy properties.

Ad

Common Housing Health Issues: Examples

  • No heat in winter (between October 1 and May 1, homes must be heated to at least 68°F)
  • Mold or water leaks leading to dampness or structural damage
  • Unsafe wiring or exposed electrical systems
  • Broken or missing smoke and carbon monoxide detectors
  • Pest infestations (cockroaches, rats, bedbugs, etc.)

If you’re experiencing any of these issues, your landlord is legally required to make necessary repairs within a reasonable time after being notified.

What To Do If Your Rental Doesn’t Meet Health Standards

If your Pennsylvania rental is unsafe or unsanitary:

  1. Notify Your Landlord In Writing: Submit a written request clearly describing the problems. Keep a copy for your records.
  2. Allow Reasonable Time for Repairs: Usually, landlords must fix serious issues quickly (often within a few days for urgent repairs, or up to 30 days for less serious problems).
  3. Contact Local Code Enforcement: If your landlord does not respond, reach out to your city or county’s code enforcement office (for example, Philadelphia’s Department of Licenses & Inspections or Pittsburgh’s Department of Permits, Licenses, and Inspections).
  4. File An Official Complaint: Many municipalities provide complaint forms and instructions on their websites (see below).
  5. Gather Evidence: Take photos, keep correspondence, and document the problem for your file.

Official Forms for Housing Complaints

  • City of Philadelphia: Department of Licenses and Inspections Complaint Form
    Used to report unsafe or unhealthy rental conditions to the city.
    File a property complaint online or call Philly 311. Example: If your landlord won’t fix a broken heater, file this form to trigger an inspection and city enforcement.
  • Pittsburgh Department of Permits, Licenses, and Inspections Complaint Form
    Submit for rental properties with code violations (broken plumbing, unsafe wiring, missing smoke alarms, etc).
    Submit a code violation complaint online. Example: Mold growth in your apartment is not addressed after notice to your landlord.

For all other areas, contact your local government office. Look for "code enforcement" or "property maintenance complaints" on their websites.

Always make your requests and complaints in writing. If the situation is urgent (such as no heat or a dangerous condition), call your local code office or 911 in an emergency.

What Agency Handles Rental Housing Issues?

Pennsylvania does not have a single statewide housing tribunal. Rental issues involving code violations are usually handled by each municipality’s code enforcement or health department. Evictions or unresolved landlord-tenant disputes are handled in the local Magisterial District Court system.

Citing Pennsylvania Rental Laws

Your rights as a renter are chiefly protected under the Pennsylvania Landlord and Tenant Act of 1951. Local health and safety codes (sometimes called Property Maintenance Codes) provide more detail and may set higher standards.

FAQ: Pennsylvania Renters and Health Standards

  1. What are my rights if my rental unit has no heat?
    You have the right to a warm home in winter months. If the landlord won’t fix it promptly, notify local code enforcement or file a complaint with the city. Landlords must maintain heat at 68°F between October 1 and May 1 in most regions.
  2. Can I withhold rent if the rental is unsafe?
    Pennsylvania law does not specifically allow rent withholding, but courts sometimes accept repair-and-deduct (pay for repairs and subtract from rent), or withholding if the unit is uninhabitable. Consult with the local Magisterial District Court before taking any action and always notify the landlord in writing.
  3. Who enforces housing health codes in Pennsylvania?
    Your city or county’s code enforcement or health department investigates complaints. For further legal disputes, the Magisterial District Court handles hearings between landlords and tenants.
  4. What if my landlord retaliates after I complain?
    Landlords cannot evict, raise rent, or otherwise retaliate against a renter who makes a legitimate complaint about health or safety. If you believe you are facing retaliation, seek legal advice or contact the court.
  5. Are smoke detectors required in all rentals?
    Yes. State law and most local ordinances require functioning smoke detectors; failure to provide or maintain them is a code violation.

Conclusion: Key Takeaways for PA Renters

  • Pennsylvania rental housing health codes protect your right to a safe, habitable home.
  • If you encounter unsafe conditions, notify your landlord in writing and contact local code enforcement if needed.
  • Use official complaint forms and keep records of all communications and evidence.

Need Help? Resources for Renters


  1. Pennsylvania Landlord and Tenant Act
  2. Directory of Pennsylvania Local Codes and Municipalities
  3. Philadelphia Property Complaint Online Form
  4. Pittsburgh Code Complaint Form
  5. Pennsylvania Magisterial District Court Information
  6. PA Attorney General Renters Rights
Bob Jones
Bob Jones

Editor & Researcher, Tenant Rights USA

Bob writes and reviews tenant law content for various regions. They’re passionate about housing justice and simplifying legal protections for renters everywhere.