Harrisburg, PA Fence Regulations: Retaining Walls (2026)
Key Facts
- Engineered retaining wall
- Exempt from setback regulations and Code regulations, permitted by right
- Wall in RL/RM required front yard
- Three feet maximum
- Wall in public right-of-way
- Not permitted
- Wall attached to a building
- Regulated as part of that building
- Building permit
- Required for all permanent walls
- Civil judgment per violation
- Not more than $500 plus court costs
Summary
In the City of Harrisburg, Pennsylvania, engineered retaining walls necessary to hold back slopes are exempt from setback regulations and the other regulations of the zoning code and are permitted by right in all districts. Other walls follow § 7-307.9(G): three feet maximum in a required front yard in the RL and RM districts, nothing in the public right-of-way.
§ 7-307.9. Fences and walls. ... G. Walls shall be installed in accordance with the following: (1) Engineered retaining walls necessary to hold back slopes are exempt from setback regulations and the regulations of this Code, and are permitted by right as needed in all districts; (2) A wall shall have a maximum height of three feet within the required front yard in a RL or RM District; (3) No wall shall be built within the existing public right-of-way. A wall may be constructed on a lot line, but shall not be located in front of required plantings as part of a buffer yard or planting strip; and (4) Walls that are attached to a building shall be regulated as a part of that building.
Full Breakdown
Section 7-307.9(G) of the Harrisburg Codified Ordinances separates engineered retaining walls from ordinary walls.
Engineered retaining walls: Under § 7-307.9(G)(1), engineered retaining walls necessary to hold back slopes are exempt from setback regulations and the regulations of the Code, and are permitted by right as needed in all districts. The zoning glossary in § 7-333.2 echoes this: it defines a wall as a man-made barrier constructed principally of masonry, concrete, cinder block, or similar materials, and says the term does not include engineering retaining walls, which are permitted uses as needed in all districts. The section prints no separate height cap for an engineered retaining wall.
Ordinary walls: A wall has a maximum height of three feet within the required front yard in an RL or RM District (§ 7-307.9(G)(2)). That is lower than the four-foot cap that § 7-307.9(C)(1) sets for a fence or wall in a residential front yard, and § 7-305.7(B) says the most restrictive requirement upon a structure applies where requirements differ. Elsewhere in a residential district a fence or wall has a six-foot maximum, and the other district caps in § 7-307.9 apply by district.
Location: No wall can be built within the existing public right-of-way. A wall can be built on a lot line but cannot sit in front of required plantings that form part of a buffer yard or planting strip (§ 7-307.9(G)(3)). A wall attached to a building is regulated as part of that building (§ 7-307.9(G)(4)).
Permits: A building permit is required for all permanent fences and walls (§ 7-307.9(A)(1)). A wall in a municipal historic district needs a certificate of appropriateness under Chapter 7-317, and a wall in a special flood hazard area needs a floodplain special exception permit under Chapter 7-315. A wall that cannot meet the standards needs a special exception permit under Chapter 7-323.
Violations & Fines
A wall that breaks § 7-307.9 is 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 these cases first. A wall that obstructs a drainage swale or needed easement needs City approval.
Frequently Asked Questions
Does a retaining wall need to meet setbacks in the City of Harrisburg?
How tall can a wall be in the front yard?
Can I build a wall at the edge of the street?
Do I need a permit for a garden or retaining wall?
Sources & Official References
Other rules in Harrisburg
Compare Harrisburg to another location·View the Pennsylvania fence regulations overview
See something wrong?
Help us keep this page accurate. If you notice an error or outdated information, let us know.