Skip to content
Map of Pennsylvania eviction risk by county

Squatter Rights in Pennsylvania, Adverse Possession Laws 2025

Adverse possession requires 21 years of continuous unauthorized possession under 42 Pa. C.S. § 5530

21 years General adverse possession period
42 Pa. C.S. § 5530 Controlling statute
10 days Pay-or-quit notice (nonpayment of rent)
Key rule: 21 years, retains the traditional common law period. , 42 Pa. C.S. § 5530

Pennsylvania requires a full 21 years of adverse possession before an occupant can claim legal title, under 42 Pa. C.S. § 5530. That two-decade window is one of the longest in the country, and it places Pennsylvania firmly at the low-risk end of the national spectrum. Where a five-year state like California can convert a trespasser into an owner within a single lease cycle's worth of years, a Pennsylvania squatter would have to occupy your property openly and continuously for more than two decades before adverse possession is even on the table.

For a Pennsylvania landlord, that long clock is reassuring but not a license to ignore an occupant. The 21-year period only protects you if the owner stays passive that entire time. A single eviction filing or written demand to vacate resets the clock and defeats the "continuous" element outright. The practical risk in Pennsylvania is rarely losing title, it is letting an unauthorized occupant linger, since attempting to remove them yourself is illegal.

The Five Elements of Adverse Possession in Pennsylvania

To take title under 42 Pa. C.S. § 5530, an occupant must satisfy all five traditional common-law elements for the entire 21 years, fail any one and the claim collapses. The possession must be hostile (without the owner's permission), actual (physically using the land), open and notorious (visible enough that a diligent owner would notice), exclusive (not shared with the owner or the public), and continuous (uninterrupted across the full period).

Pennsylvania has no color-of-title shortcut that trims the 21 years, the period applies whether or not the occupant holds a faulty deed. The continuity requirement is the landlord's strongest ally: any meaningful interruption, such as the owner re-entering or the occupant abandoning the property, breaks the chain and the clock starts over from zero.

How a Pennsylvania Landlord Prevents a Claim

Because the elements must hold for 21 unbroken years, defeating an adverse possession claim in Pennsylvania is straightforward if you act at all. The single most effective step is to interrupt continuity. A single eviction filing or a written demand to vacate resets the clock and converts the occupancy into something the courts will not reward with title.

Beyond that, document your ownership and your contact with the property: keep records of inspections, tax payments, and any communication with occupants. Granting written permission to be on the land also defeats the hostile element, since permissive use is never adverse. The takeaway for Pennsylvania owners is simple, a 21-year window is enormous, but it only works in your favor if you never let an occupant build an uninterrupted record. When in doubt, file.

Holdover Tenants vs. Squatters, and Why Self-Help Is Illegal

Pennsylvania law treats a holdover tenant (someone who entered legally under a lease and stayed past its end) very differently from a squatter (someone who never had permission to be there). A holdover tenant never accrues adverse possession because their original entry was permissive, not hostile. A squatter's clock could theoretically run, but only across the full 21 years required by § 5530.

Regardless of which you face, you may not remove either one yourself. Changing the locks, shutting off heat, water, or electricity, removing the occupant's belongings, or otherwise forcing them out is illegal self-help in Pennsylvania and can expose the landlord to liability. The law reserves removal to the courts, not the property owner, no matter how clearly the occupant is in the wrong.

The Correct Court Removal Path in Pennsylvania

To remove a holdover tenant or a squatter lawfully, a Pennsylvania landlord uses the court eviction process rather than acting alone. That begins with a proper written notice to vacate, followed by filing a landlord-tenant complaint with the Magisterial District Court, attending the hearing, and, if the court rules in your favor, obtaining an order for possession that is enforced by the constable, not by you.

This judicial route is also why prompt action matters so much. A timely filing both removes the occupant and, as noted, breaks any continuity an adverse possessor might claim under 42 Pa. C.S. § 5530. With Pennsylvania's average rent at roughly $1,057, the lost income from an unauthorized occupant adds up well before the 21-year period is ever a concern, so the financial case for filing early matches the legal one.

What Landlords Can Do to Prevent Adverse Possession in Pennsylvania

Holdover Tenants vs. Squatters in Pennsylvania

There is an important legal distinction between these two types of unauthorized occupants. A holdover tenant is a former leaseholder, someone who once had a valid lease who remains in the unit after that lease has expired without the landlord's consent and without executing a new lease. In Pennsylvania, holdover tenants are typically treated as month-to-month tenants or as tenants at sufferance depending on whether the landlord continues to accept rent. They must be removed through the formal eviction process with appropriate notice.

A squatter (or trespasser) is someone who entered the property without any prior legal right to do so, they never held a lease with the landlord. Despite having no legal right of occupancy from day one, squatters cannot be physically removed by the landlord without a court order in Pennsylvania. Changing the locks, removing belongings, or shutting off utilities to force a squatter out constitutes illegal self-help eviction and can expose the landlord to civil liability.

How to Evict a Squatter in Pennsylvania

  1. Document the unauthorized occupancy. Photograph the unit, note the date of discovery, and gather any evidence that the person has no legal right to be there (no lease, no rental agreement).
  2. Serve a written notice to vacate. In Pennsylvania, serve a formal written notice demanding the squatter leave the premises. Keep a copy and use a method that creates proof of delivery (certified mail, process server, or witness).
  3. File an unlawful detainer or ejectment action in the appropriate Pennsylvania court if the squatter does not leave by the deadline in your notice. Attach a copy of the notice and proof of service to your filing.
  4. Attend the court hearing. Present your evidence of ownership and unauthorized occupancy. The court will issue a judgment for possession if you prevail.
  5. Obtain and execute a writ of possession. After judgment, request a writ of possession. The county sheriff or marshal will schedule and carry out the physical removal, do not attempt to remove the squatter yourself.
Do not use self-help. Changing locks, removing a squatter's belongings, or shutting off utilities to force them out is illegal in Pennsylvania and can expose you to claims for wrongful eviction, conversion, and punitive damages. Always go through the courts.

Frequently Asked Questions

How long does a squatter have to occupy property to claim ownership in Pennsylvania?

Pennsylvania requires 21 years of continuous adverse possession under 42 Pa. C.S. § 5530 before an occupant can claim legal title. The occupant must also meet all five common-law elements, hostile, actual, open and notorious, exclusive, and continuous possession, for that entire period. It is one of the longest, lowest-risk windows in the nation, and there is no color-of-title shortcut that reduces it.

Can the police remove squatters in Pennsylvania?

Usually not on their own. Police generally treat an established squatter situation as a civil matter, not a criminal trespass, so removal typically requires a court eviction order enforced by a constable. Police may get involved if there is a clear, recent break-in or another crime, but a landlord should not count on them to remove a long-term occupant. The reliable path is filing in Magisterial District Court.

What is the difference between a squatter and a holdover tenant in Pennsylvania?

A holdover tenant entered legally under a lease and simply stayed past its end, so their occupancy was originally permissive, that defeats the 'hostile' element and they cannot accrue adverse possession. A squatter never had permission, so their clock could theoretically run, but only across the full 21 years required by § 5530. Either way, both must be removed through the courts, never by self-help.

How can a Pennsylvania landlord prevent an adverse possession claim?

Interrupt the occupant's continuity before 21 years pass. A single eviction filing or a written demand to vacate resets the clock and defeats the continuous-possession element. Granting written permission also defeats the 'hostile' element, since permissive use is never adverse. Document ownership, tax payments, and inspections, and when an unauthorized occupant appears, file promptly rather than waiting.

This analysis was prepared by the Eviction Risk Map research team and reflects Pennsylvania's adverse possession period under 42 Pa. C.S. § 5530. Last reviewed June 2026. It is provided for general informational purposes only and is not legal advice; statutes and court procedures change, and individual situations vary, so consult a licensed Pennsylvania attorney before acting on any specific matter.

Major Cities in Pennsylvania

Related Guides for Pennsylvania Landlords

Squatter Rights in Other States

Adverse possession data sourced from 42 Pa. C.S. § 5530. Eviction notice data from U.S. Census Bureau ACS 2023 and 68 Pa. C.S. § 250.501. Last updated August 28, 2026. This page is for informational purposes only and does not constitute legal advice. Consult a licensed real estate attorney for your specific situation.