Skip to main content
CityRuleLookup

Harrisburg, PA Accessory Structures: Shed & Carport Rules (2026)

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

Shed permit rules in Harrisburg, PA, also referred to as storage shed, backyard shed, or accessory building regulations, set size limits, setbacks, and when a building permit is required.

Key Facts

Setbacks
Same district setbacks as the principal building unless stated otherwise
Front yard
No accessory building in a required front yard in any district
Attached structures
Attached garage counts as part of the principal building
Shed status
Storage shed listed as a residential accessory structure
Building threshold
Total area under roof greater than 50 cubic feet
Relief
Variance permit from the Zoning Hearing Board

Summary

In the City of Harrisburg, Pennsylvania, a storage shed is a residential accessory structure that must meet the setback requirements of its zoning district. Section 7-307.6 bars any accessory building from a required front yard in any district, and a garage attached to the house counts as part of the house for setbacks.

A. The setback requirements of the applicable district shall apply to every accessory building, structure, or use unless a standard that is clearly meant to be more restrictive or less restrictive is specifically stated in this chapter for a particular accessory use. B. No accessory structure, use, or building shall be permitted in a required front yard in any district, unless specifically permitted by this Code. C. Any portion of a building (such as a garage) that is structurally attached to a principal building shall be considered part of such principal building for the purposes of determining setbacks.

Full Breakdown

Section 7-307.6 of the Harrisburg Zoning Code sets three rules for every accessory building, structure or use in the City. First, the setback requirements of the applicable district apply to the accessory structure unless Chapter 7-307 states a clearly more restrictive or less restrictive standard for a particular accessory use. Second, no accessory structure, use or building is permitted in a required front yard in any district unless the Code specifically permits it. Third, any portion of a building, such as a garage, that is structurally attached to a principal building is considered part of the principal building when setbacks are determined.

Section 7-333.2 shows that a shed falls inside these rules. A residential accessory structure or use is a use or structure clearly accessory, customary and incidental to a principal residential use on a lot, and the definition lists garage (household), household swimming pool, storage shed and greenhouse. An accessory structure is a structure serving a purpose customarily incidental and subordinate to the principal use on the same lot, and it is not attached to the principal building. The same section defines a building as a structure with a permanent roof and walls and a total area under roof of greater than 50 cubic feet.

The district setback figures themselves sit in the development standards that the code prints as an attachment to Chapter 7-307 under § 7-307.3A, and all measurements are in feet unless otherwise stated. Where the Code states different requirements for the same structure, § 7-305.7 applies the most restrictive requirement. Section 7-307.7 lets stairs, stoops and landings project a maximum of three feet into a required yard, routine architectural features such as eaves and gutters a maximum of two feet, and a patio project into a yard if it has no structural roof.

Any request for relief from the development standards requires a variance permit from the Zoning Hearing Board under § 7-307.2 and Chapter 7-323. A shed attached to the house stops being an accessory structure and is measured as part of the house.

Violations & Fines

Section 7-305.99 provides that Chapters 7-701 and 1-305 apply to violations of the Zoning Code. Placing a shed in a required front yard or inside a district setback without a variance is a violation of § 7-307.6, and the Zoning Hearing Board is the body that hears variance requests under Chapter 7-323.

Frequently Asked Questions

Can I put a shed in my front yard in the City of Harrisburg?
No, not unless the Zoning Code specifically permits it. Section 7-307.6(B) says no accessory structure, use or building is permitted in a required front yard in any district. A shed belongs in a location that satisfies the setback requirements of the district in which the lot sits.
Does a shed have to meet the same setbacks as the house?
Section 7-307.6(A) applies the setback requirements of the applicable district to every accessory building, structure or use, unless Chapter 7-307 states a clearly more restrictive or less restrictive standard for that particular accessory use. The district figures are in the development standards attached to Chapter 7-307.
What if my garage or shed is attached to my house?
Section 7-307.6(C) treats any portion of a building, such as a garage, that is structurally attached to a principal building as part of that principal building for determining setbacks. The Code defines an accessory structure as one that is not attached to the principal building, so an attached structure gets the principal building's setbacks.
How can I get relief from a Harrisburg setback rule?
Section 7-307.2 says any request for relief from the development standards in Chapter 7-307 requires a variance permit from the Zoning Hearing Board, as further described in Chapter 7-323, Special Exceptions and Variances. The Zoning Officer decides uses permitted by right, while special exception uses go to the Zoning Hearing Board.

Sources & Official References

Other rules in Harrisburg

All Harrisburg rules

How Harrisburg compares: Shed Permit Requirements by City·Compare Harrisburg to another location·View the Pennsylvania accessory structures overview

Get notified when Shed & Carport Rules 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.