Who pays for a fence between neighbors in Pennsylvania
Two separate sets of rules: the state law on this page decides who pays for a fence on the line between neighbors. Height limits, permits and setbacks come from your city or county, so ask them before you build.
Pennsylvania fence law at a glance
Who pays
Owners of improved and occupied land each build and maintain an equal part of the line or division fences between them
When it applies
The state Supreme Court held in 1999 that this law covers farms and ranches, not homes in typical city or suburban neighborhoods
Notice and disputes
A county surveyor acts as fence viewer; a justice of the peace gives the owner 40 days, then the neighbor can do the work and collect the cost
Law
29 P.S. 41 and 42; Fogle v. Malvern Courts (Pa. 1999)
The rule in Pennsylvania
In Pennsylvania, owners of improved and occupied land must build and maintain an equal part of all line or division fences between them, and an owner is released only with the neighbor's consent. If an owner fails to do their share, the aggrieved party notifies the county surveyor, who acts as a fence viewer and examines the fence; if it is insufficient, the surveyor reports to a justice of the peace or alderman, who notifies the delinquent owner to build or repair their part within forty days. If that is not done, the aggrieved party can do the work and collect the costs, including the surveyor's charge of up to $25, like other debts. No owner can be forced to build or repair a fence in December, January, February or March. An owner who later improves and occupies land up to a division fence the neighbor built owes a just and reasonable part of its cost. In Fogle v. Malvern Courts (1999), the Pennsylvania Supreme Court held that this law addresses fences on farms and ranches and does not apply to single-family homes in typical urban or suburban neighborhoods.
What this covers
This guide covers the state laws on partition fences, also called division or line fences: who pays to build and keep up a fence on the line between two neighbors, when that rule applies, and what an owner can do when the neighbor will not pay a share. Many of these laws were written for farms and livestock, and several do not reach ordinary home lots. City or county rules on fence height, permits and setbacks, homeowner association rules, spite fences and disputes over where the boundary is are not covered.
Practical steps
- Find the boundary first: a recorded survey, or a new one by a licensed land surveyor, shows where a shared fence can go.
- Read the rule above for Pennsylvania: it says who pays, when the rule applies and what notice the law asks for.
- Talk to your neighbor and put any agreement on the fence type, the cost split and the upkeep in writing. Some of these laws let owners record that agreement.
- If the law calls for notice, send it in writing and keep a copy with proof of delivery.
- Ask your city or county about permits, height limits and setbacks before any work starts.
Do you need a lawyer?
Often without a lawyer
- You and your neighbor agree on the fence and the cost split in writing
- A claim for a neighbor's share that fits your state's small claims limit
Talk to a lawyer
- The neighbor says the fence is on their land or disputes the boundary
- You want to challenge a fence viewer, selectmen or court decision
- Livestock got through a fence and caused damage
Related guides for Pennsylvania
- Damages for cutting someone else's tree in Pennsylvania
- Adverse possession in Pennsylvania
- Small claims court in Pennsylvania
- Deadlines to sue in Pennsylvania
A dispute with a neighbor?
See your next stepsSources
- 29 P.S. 41 (FindLaw, current as of January 1, 2026), read 19 November 2026
- 29 P.S. 42 (FindLaw, current as of January 1, 2026), read 19 November 2026
- Fogle v. Malvern Courts, Inc., Supreme Court of Pennsylvania, January 20, 1999 (Justia), read 19 November 2026
Last checked: November 19, 2026. This page summarizes what the Pennsylvania sources named above say about sharing the cost of a fence between neighboring owners. Courts and local officials decide how these laws apply to a given fence. It is general information, not legal advice.
Cite this page
“Who pays for a fence between neighbors in Pennsylvania.” Local Lawyers Online, last checked November 19, 2026. https://locallawyersonline.com/fence/pennsylvania/
Link code: <a href="https://locallawyersonline.com/fence/pennsylvania/">Who pays for a fence between neighbors in Pennsylvania</a> (Local Lawyers Online)
You may quote the facts on this page. Please credit Local Lawyers Online, and check the official sources listed on this page before you rely on a figure.