Key Pennsylvania Building Codes Every Renter Should Know

As a Pennsylvania renter, understanding basic local building codes is one of your strongest protections when dealing with habitability, repairs, and maintenance issues. Knowing which rules your landlord must follow—and how to take action if they don't—can help ensure a safe and healthy home.

What Are Building Codes, and Why Do They Matter for Renters?

Building codes are state and local rules that set minimum standards for things like structural safety, sanitation, smoke and carbon monoxide alarms, ventilation, plumbing, and more. In Pennsylvania, these codes are enforced to ensure landlords keep rental homes safe and livable.

Pennsylvania’s Key Housing and Building Codes Affecting Renters

While your landlord is primarily responsible for meeting these codes, understanding the basics helps you identify potential violations and advocate for prompt repairs. Here are some of the most common standards:

  • Safety and Exits: Every rental must have working smoke detectors in or near sleeping rooms and at least one safe exit route. Carbon monoxide detectors are also required in dwelling units with fossil fuel-burning appliances.
  • Water, Plumbing, & Utilities: Access to safe drinking water, sewer, and adequate hot water is required. Leaking pipes or non-functional toilets and faucets violate code.
  • Electrical: Wiring must be safe and up to code, with no exposed or frayed wires and functional outlets in each room.
  • Heating: Rentals must have operable heating systems capable of maintaining at least 65°F in living spaces during the colder months (October through April).
  • Structural Integrity: Ceilings, walls, stairs, and floors should be solid and free from hazards like major holes, loose railings, or collapsing ceilings.
  • Pest Control: Premises must be free from insect or rodent infestation at the time of the renter moving in.

These codes can be set by state law and by local city or township ordinances. Always check if your municipality has additional rules using their official government website.

Your Right to Habitability in Pennsylvania

Pennsylvania law recognizes your right to a habitable rental—that is, a place that is safe, sanitary, and fit to live in. This is protected by the state's Landlord and Tenant Act of 1951[1]. Under this law, landlords are responsible for making repairs necessary to maintain the premises in a livable condition.

Typical Signs Your Unit Doesn't Meet Code

  • No heat in winter months
  • Plumbing leaks, no water, or sewage backups inside the home
  • Dangerous stairways or broken doors and windows
  • Mold, pests, or unsafe wiring
Ad

What to Do if Your Rental Doesn't Meet Pennsylvania Building Codes

If you believe your rental violates building codes, follow these practical action steps:

  1. Notify Your Landlord in Writing: Clearly describe the issue and request repairs as soon as possible. Keep a copy for your records.
  2. Document Everything: Take dated photos and note when you reported the issue.
  3. Contact Your Local Code Enforcement Office: If your landlord doesn't fix the problem within a reasonable time, call or email your city or township code enforcement. Each municipality addresses habitability complaints for their own area (e.g., Philadelphia, Pittsburgh, Harrisburg).
  4. File a Formal Complaint if Needed: Some cities, like Philadelphia, offer an official complaint process.
Always make repair requests in writing and save all correspondence. Written documentation can help if you need to take further action.

Relevant Forms for Renters

  • Philadelphia Licenses & Inspections Online Complaint Form:
    Report a Building or Property Violation
    Use this form if you live in Philadelphia and need to report issues such as unsafe conditions, lack of heat, water, or structural defects. For example, if your landlord will not repair a broken furnace in winter, file this form to request a city inspection.
  • Pittsburgh 311 Response Center:
    311 Non-Emergency Service Request
    If you live in Pittsburgh and encounter unresolved safety, health, or code issues, submit an online request or call 311 for assistance.
  • Statewide: If outside major cities, contact your municipal or county code enforcement office—look up their forms on your local government’s official site or visit your courthouse.

Who Handles Pennsylvania Rental Disputes and Complaints?

Pennsylvania does not have a state-wide rental tribunal, but local Magisterial District Courts hear landlord-tenant cases, including habitability-related disputes[2]. After exhausting repair and complaint options, renters may file suit in their county's district court for unresolved safety or maintenance issues.

Helpful Official Resources and Legislation

Frequently Asked Questions (FAQ)

  1. What are my options if my landlord ignores repair requests in Pennsylvania?
    If your landlord does not respond, you can contact your local code enforcement office. If the repairs are major and affect safety or habitability, you may also be able to file a complaint or pursue legal action in Magisterial District Court.
  2. Who enforces building codes in my area?
    Building codes are enforced at the city or township level. Look up your local code enforcement department for help.
  3. Am I responsible for maintenance as a renter?
    Tenants must keep the property clean and use fixtures responsibly, but landlords are responsible for most repair and maintenance related to safety and habitability.
  4. Where can I view the full building code for my city?
    Check your city or municipality’s official website for current building and housing codes.
  5. Can I withhold rent for code violations?
    Withholding rent is risky and should only be considered after consulting legal guidance or your local housing office. Pennsylvania law requires following specific procedures before this step.

Need Help? Resources for Renters


  1. Landlord and Tenant Act of 1951 (68 P.S. §250.101 et seq.)
  2. Magisterial District Courts – PA Judicial System
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.