In This Article
Most neighbor disputes never become lawsuits. But when they do, the legal issues are surprisingly complex. Pennsylvania law on trees, fences, and encroachments draws on a mix of statutes, common law, and local ordinances. Knowing the rules can help you resolve a dispute before it escalates, or recognize when legal action is your only option.
Trees
Overhanging Branches and Encroaching Roots
Under Pennsylvania common law, you have the right to trim branches and roots that cross your property line , but only to the property line. You may not enter your neighbor’s property to trim, and you may not damage the tree itself. If trimming to the line would kill the tree, proceed cautiously and consult an arborist.
You generally cannot sue your neighbor simply for having a tree whose branches hang over your property. The self-help remedy (trimming to the line) is your primary recourse. But if a neighbor’s tree causes actual damage (roots cracking your foundation, branches damaging your roof in a storm) you may have a negligence claim if the neighbor knew or should have known the tree was hazardous and failed to act.
Fallen Trees and Storm Damage
When a healthy tree falls due to a storm, the tree owner is generally not liable for damage to the neighbor’s property. An act of nature is not negligence. But if the tree was visibly dead, diseased, or structurally compromised, and the owner knew or should have known, they may be liable for failing to address a known hazard.
Fences
No General “Fence Law”
Pennsylvania has an old "division fence" statute, 29 P.S. §§ 41 and 42, that lets an owner of improved and occupied land force a neighbor to share the cost of a boundary fence through a fence viewer procedure now handled by the county surveyor. No reported modern Pennsylvania case applies this statute to an ordinary suburban lot, so its reach outside a farm or rural boundary setting is unsettled. In practice, fence height, setback, materials, and permits for residential properties come from local municipal ordinances and HOA/deed restrictions. Check your municipality’s code for specific rules on height, setback, materials, and permits.
Spite Fences
Pennsylvania does not recognize a spite fence claim based on the builder’s motive. In Cohen v. Perrino, 355 Pa. 455, 50 A.2d 348 (1947), the chancellor found that a wall built on the defendants’ own land served no beneficial purpose and existed only to annoy the neighbors, and ordered it torn down. The Supreme Court reversed and dismissed the bill, holding that a landowner lawfully entitled to build on his own land will not have his motive inquired into. The same opinion confirms that windows overlooking a neighbor’s yard give no easement of light and air. So a complaint about a neighbor’s fence is usually a code complaint: height, setback, materials, and permits come from the municipal ordinance and from HOA or deed restrictions. A fence can still be challenged on grounds that do not turn on motive, most often that it crosses the property line, which is covered under Encroachments below.
Encroachments
An encroachment occurs when a structure (a building, shed, driveway, retaining wall, or fence) extends across the property line onto a neighbor’s land. Under Pennsylvania law:
- A property owner can demand removal of an encroaching structure through an action in ejectment or trespass
- If the encroachment is minor and in good faith, the court may order payment of damages rather than removal
- Long-standing encroachments may ripen into ownership through adverse possession (21 years of open, notorious, continuous, and hostile possession under 42 Pa.C.S. § 5530, or 10 years under § 5527.1 for qualifying properties) or a consentable line theory
This is why a title search and survey at purchase matter so much. An encroachment discovered years later is much harder and more expensive to resolve.
Practical Steps Before Legal Action
- Get a survey. Many disputes evaporate once the actual property line is established by a licensed surveyor
- Document everything. Photographs with dates, written correspondence (not just verbal conversations), and any damage
- Check local ordinances. Your municipality may have specific rules that resolve the dispute without litigation
- Talk to your neighbor. Most people are reasonable when approached calmly with facts. A demand letter from an attorney can be effective when a conversation has not
When to Call a Lawyer
Consider counsel when: damage is significant and the neighbor will not cooperate, a structure encroaches and removal is necessary, a boundary dispute threatens your property value, or you have received a legal demand from your neighbor’s attorney. Many neighbor disputes resolve with a single consultation and a well-crafted letter.
Legal and factual content on this page was last verified: Sep. 2026. If you are reading this significantly after that date, confirm key provisions with current statute text or contact our office.
Ready to Discuss Your Situation?
Free consultations available for most practice areas.
Book a Free Consultation Or call 215-949-0888