Skip to main content
CityRuleLookup

Harrisburg, PA Fence Regulations: Height Limits (2026)

Some Restrictions
Compiled from the official code textEditor Martyn O'NeillLast verified October 2026

Key Facts

RL/RM front yard or in front of dwelling
Four feet maximum for a fence or wall
RL/RM other locations
Six feet maximum
CN, CG, DC, INS, and RF districts
Six feet maximum
IND district
Eight feet maximum for fences
Sight triangle
Clear between three and eight feet high, legs measured 30 feet
Exceeding the standards
Special exception permit under Chapter 7-323

Summary

In the City of Harrisburg, Pennsylvania, a fence or wall in the front yard or in front of the dwelling in the RL and RM districts cannot exceed four feet, while other residential locations allow six feet. Commercial districts cap fences at six feet and the IND district at eight feet. Corner lots must keep a sight triangle clear between three and eight feet high.

§ 7-307.9. Fences and walls. ... C. The following standards shall apply in the RL or RM Zoning Districts or on a lot used residentially: (1) Any fence or wall located in the required front yard of a lot, or located to the front of the dwelling, in a residential district shall not exceed four feet in height. (2) A fence or wall located in a residential district in a location other than a required front yard or to the front of a dwelling shall have a maximum height of six feet. ... F. The following standards shall apply in the IND Zoning District: (1) Fences shall have a maximum height of eight feet. ... § 7-307.14. Sight distance at intersections. ... (1) A triangular area as described in this section shall be graded and shall be kept free of sight obstructions between a height of three feet and eight feet, including structures, nontransparent fences, vegetation, and signs ... (3) Where two streets intersect, a clear sight triangle shall be required. Each of the two shorter legs of the triangle shall be measured 30 feet back from the point of intersection of the street cartways.

Full Breakdown

Section 7-307.9 of the Harrisburg Codified Ordinances makes fences, walls, and hedges permitted by right in every zoning district, then sets a height cap district by district.

Residential: In the RL and RM Zoning Districts, and on any lot used residentially, a fence or wall in the required front yard of a lot, or located to the front of the dwelling, cannot exceed four feet in height. Anywhere else in a residential district, including side and rear yards behind the front of the dwelling, the maximum is six feet (§ 7-307.9(C)).

Other districts: The OSR Zoning District caps fences and walls at four feet. The RF Zoning District caps them at six feet, and a fence or wall in the front yard setback or in any yard that abuts Front Street needs a special exception permit. The CN, CG, DC, and INS districts cap fences and walls at six feet, and the IND district caps fences at eight feet.

Corner visibility: Section 7-307.14 keeps a triangular area graded and free of sight obstructions between a height of three feet and eight feet, which covers structures, nontransparent fences, vegetation, and signs. Where two streets intersect, each of the two shorter legs is measured 30 feet back from the point of intersection of the street cartways, and a third longer leg connects them. A required triangle shows on development plans and serves as a permanent setback line binding present and future owners. No triangle is required for a driveway that serves only one or two dwelling units and enters a local street, and sight distances on state highways follow Pennsylvania Department of Transportation regulations. Section 7-307.9(A)(5) separately bars any fence, wall, or hedge from obstructing safe sight distances at intersections of streets and driveways.

Going over the limit: Fences and walls must comply with the chapter's standards unless a special exception permit is obtained under Chapter 7-323 (§ 7-307.9(A)(4)). Every permanent fence also needs a building permit (§ 7-307.9(A)(1)).

Violations & Fines

Fence violations are enforced through Chapter 7-701, which § 7-307.99 makes applicable. In a civil enforcement proceeding brought by the City of Harrisburg, a violator pays a judgment of not more than $500 plus court costs, including reasonable attorney fees. Each day the violation continues is a separate violation, and magisterial district judges hear the cases first. Fences that have deteriorated must be replaced or removed under § 7-307.9(A)(1).

Frequently Asked Questions

How tall can a front yard fence be in the City of Harrisburg?
Four feet in the RL and RM districts and on any residentially used lot. The cap in § 7-307.9(C)(1) covers a fence or wall in the required front yard and also one located to the front of the dwelling. The OSR district uses the same four-foot cap, and the RF district bars front yard fences without a special exception.
How tall can a backyard or side yard fence be?
Six feet. Section 7-307.9(C)(2) sets a six-foot maximum for a fence or wall in a residential district anywhere other than a required front yard or the area in front of a dwelling. In the IND district the cap rises to eight feet for fences, and in CN, CG, DC, and INS it is six feet.
Does a corner lot have extra fence limits?
Yes. Under § 7-307.14, a triangle measured 30 feet back along each street from the intersection of the cartways must stay free of structures, nontransparent fences, vegetation, and signs between three feet and eight feet high. Trunks of deciduous trees and posts under one foot wide are excluded, and driveways serving one or two dwelling units are exempt.
Can I build a fence taller than the limit?
Only with approval. Section 7-307.9(A)(4) requires fences and walls to comply with the chapter's standards unless a special exception permit is obtained under Chapter 7-323. The Zoning Hearing Board decides special exceptions after the Planning Commission has an opportunity to comment, and a permanent fence also needs a building permit.

Sources & Official References

Other rules in Harrisburg

All Harrisburg rules

How Harrisburg compares: Cities That Allow the Tallest Residential Fences·Compare Harrisburg to another location·View the Pennsylvania fence regulations overview

Get notified when Height Limits in Harrisburg, PA changes

We'll email you the moment we detect a change in the code. No spam, unsubscribe anytime.

We'll never sell or share your email. One-click unsubscribe in every email.

See something wrong?

Help us keep this page accurate. If you notice an error or outdated information, let us know.