Skip to content
Civil Litigation & Business Disputes

Landlord-Tenant Law in Pennsylvania

4 min read
✓ Verified Aug. 2026

Pennsylvania landlord-tenant law is a patchwork of statutes, common law, and local ordinances. Whether you own one rental or live in a 200-unit complex, the rules are specific and the deadlines are real. Landlords who skip steps lose eviction cases. Tenants who do not know the rules lose deposits and apartments.

Residential Leases

Pennsylvania has no unified residential landlord-tenant code. The key statutes are scattered:

Security Deposits: The Rules Landlords Break Most Often

Pennsylvania's security deposit rules are strict, and landlords who violate them face harsh penalties:

The Eviction Process

Pennsylvania does not allow self-help evictions. A landlord cannot change the locks, shut off utilities, remove belongings, or physically remove a tenant. The process must go through the courts:

  1. Notice to Quit: The landlord must first provide written notice, unless the lease itself shortens the notice period or waives the notice entirely, which Pennsylvania law permits (68 P.S. § 250.501(e)). Check the signed lease before assuming a notice is required or that one is coming. For non-payment of rent, the notice period is 10 days. For lease violations, it is typically 15 days (30 days if the lease term is more than one year). For termination of a month-to-month tenancy, it is 15 days.
  2. Complaint filed at MDJ: If the tenant does not vacate after notice, the landlord files a landlord-tenant complaint at the Magisterial District Court in the district where the property is located. Filing fee is $102.50 to $171.00 depending on the amount claimed (AOPC fee schedule, verified June 2026; fees are subject to periodic adjustment).
  3. Hearing: The MDJ schedules a hearing within 7 to 15 days. Both parties appear. The judge enters a judgment for possession (and money damages, if applicable).
  4. Appeal period: In residential cases, the losing party has 10 days to appeal to the Court of Common Pleas (30 days for nonresidential leases or cases involving a domestic violence victim) (§ 513(b)). If the tenant appeals, they must pay monthly rent into escrow during the appeal. If no appeal is filed, the landlord may request an Order for Possession.
  5. Order for Possession: The MDJ issues an order, and for a residential lease the constable or sheriff may eject the tenant on or after the 11th day following service of that order. If the tenant still does not leave, the officer executes a lockout.

From initial notice to actual lockout, the minimum timeline is approximately 6 to 8 weeks. Contested cases with appeals can take 3 to 6 months or longer.

Tenant Remedies for Uninhabitable Conditions

Withholding rent (implied warranty of habitability): Under Pugh v. Holmes, 486 Pa. 272, 405 A.2d 897 (1979), Pennsylvania recognizes an implied warranty of habitability in every residential lease. If the property has conditions that threaten health or safety (no heat, no hot water, mold, structural defects, pest infestation), the tenant may withhold rent and raise the breach as a defense when the landlord sues for possession or unpaid rent. Rent owed is reduced by the percentage by which the breach cut into the tenant's use of the property. This is not a self-help escrow. Pugh declined to make escrow mandatory. The tenant keeps the rent unless the judge orders otherwise, and either party may petition for a hearing at which the judge may direct that some or all of the rent be deposited with the court or with a receiver the court appoints. Before withholding, the tenant must give the landlord notice of the defect and a reasonable opportunity to repair, and must be able to prove the landlord failed to repair. Pugh does not require that the notice be in writing, but put it in writing anyway so it can be proven. Withholding rent carries real risk: if the court finds no breach, or finds a partial breach and the tenant refused to pay the part of the rent not abated, the landlord gets a judgment for possession. Talk to a lawyer before you stop paying rent.

Rent withholding (City Rent Withholding Act): This statute is narrower than its name suggests. It applies only where the Department of Licenses and Inspections of a city of the first class, the Department of Public Safety of a city of the second class, second class A, or third class, or a public health department of such a city or of the county in which that city sits, certifies the dwelling unfit for human habitation. A borough or township code officer does not trigger it. Where it does apply, the duty to pay rent and the landlord's right to collect are suspended until the dwelling is certified fit or the tenancy ends for a reason other than nonpayment of rent. A tenant who stays in the dwelling must deposit the withheld rent in an escrow account at a bank or trust company approved by the city or county, not with the municipality. No tenant may be evicted while the rent is in escrow. (35 P.S. § 1700-1.)

Repair-and-deduct: Pennsylvania courts have recognized a limited right to repair-and-deduct for essential habitability issues, though the legal basis is narrower than in some states. Document everything, get estimates, and consult an attorney before withholding or deducting.

For Landlords

The most common landlord mistakes: charging excessive security deposits, missing the 30-day deadline to send the written damages list and pay the balance (which forfeits the right to withhold for damage to the premises and can trigger double damages, unless the tenant never gave a written forwarding address), attempting self-help eviction, and neglecting to keep written records. A properly drafted lease, consistent documentation, and following the statutory eviction process protects your investment. What that lease should say, from the deposit clauses to the required disclosures, is covered in our guide to residential leases for small landlords. If a tenant is not paying, file promptly; delay only increases the financial loss.

Legal and factual content on this page was last verified: Aug. 2026. If you are reading this significantly after that date, confirm key provisions with current statute text or contact our office.

Marc Lynde · 12+ years as a licensed attorney · Cardozo School of Law · Licensed in PA & NY · Full bio →

Ready to Discuss Your Situation?

If you have been served with a complaint, the clock is already running: a defendant generally has 20 days to respond before the plaintiff can seek a default judgment. Free consultations available.

Book a Free Consultation Or call 215-949-0888
Talk to Marc: 215-949-0888 Schedule