Do You Need a Permit to Build a Deck in Pennsylvania?

Yes, unless the deck is uncovered and low. Pennsylvania's residential permit rules, in 34 Pa. Code 403.62(c)(8), exempt the installation of an uncovered deck where the floor of the deck is no more than 30 inches above grade, as long as the work does not violate a law or ordinance. A covered deck, or one with a floor higher than 30 inches, needs a building permit under the Uniform Construction Code (UCC).
That state exemption is broader than the model code. Section R105.2 of the 2021 International Residential Code exempts only decks that are no larger than 200 square feet, no more than 30 inches above grade at any point, not attached to the house and not serving the required exit door. Pennsylvania's exemption text sets no size limit and says nothing about attachment, so a large, low, uncovered deck can fall under the state exemption while the model code would require a permit. Local ordinances still apply, which is why the code office in your municipality should be your first call. This guide covers what the rules say, when a permit is needed, and how the process works.

What Does Pennsylvania's Deck Permit Exemption Say?
Pennsylvania sets its own list of residential work that needs no permit in 34 Pa. Code 403.62(c). The list applies "if the work does not violate a law or ordinance" and includes:
Fences no more than 6 feet high
Retaining walls no more than 4 feet high, unless supporting a surcharge
Sidewalks and driveways 30 inches or less above grade and not over a basement
Prefabricated pools less than 24 inches deep
Window awnings projecting no more than 54 inches
Installation of an uncovered deck where the floor of the deck is no more than 30 inches above grade
Two conditions decide the deck question. The deck has to be uncovered, so a roof over it takes it out of the exemption. The deck floor has to be 30 inches or less above grade, which on a sloped yard means checking the height at the low side, not just next to the house.
How Is Pennsylvania's Rule Different From the IRC?
Pennsylvania adopted the 2021 International Code Council series, including the 2021 International Residential Code, for new permit applications starting January 1, 2026. Even so, the state writes its own permit exemptions instead of using the model code's list:
Condition | 2021 IRC model exemption (R105.2) | Pennsylvania exemption (403.62(c)(8)) |
Height | No more than 30 inches above grade at any point | Floor no more than 30 inches above grade |
Size | 200 square feet or less | No size limit in the text |
Attachment | Not attached to the dwelling | No attachment condition in the text |
Exit door | Does not serve as the required exit door | No exit door condition in the text |
Roof | Not addressed in the deck item | Must be uncovered |
That difference matters when a deck guide written for another state quotes the model code. A 300-square-foot uncovered deck attached to the house at 24 inches above grade would need a permit under the model language but meets the state exemption text, provided no local law or ordinance says otherwise.
When Does a Pennsylvania Deck Need a Permit?
Under 403.62(a), an owner or agent who plans to construct, enlarge or alter a residential building must first get a permit. For decks, expect to need one when:
The deck floor is more than 30 inches above grade. This is the clearest trigger.
The deck will be covered. A roof, including one added later, takes the deck out of the uncovered exemption.
Electrical, gas or plumbing work is part of the project. Section 403.62(a) separately requires permits for regulated electrical, gas, mechanical and plumbing systems, so outlets, lighting or a gas line for an outdoor kitchen can need their own permit.
A local ordinance requires one. The exemption only applies if the work does not violate a law or ordinance, so zoning rules on setbacks still matter.
The 30-inch height also matches another rule homeowners should know. Section R312.1.1 of the 2021 IRC requires guards on open-sided walking surfaces more than 30 inches above the floor or grade below, measured within 36 inches horizontally of the edge, and R312.1.2 sets the minimum guard height at 36 inches. A deck tall enough to need a guard is generally tall enough to need a permit.
Do Deck Repairs Need a Permit?
Pennsylvania does not require permits for ordinary repairs, but 403.62(d) spells out work that does not count as ordinary. That includes removing or cutting a structural beam or load-bearing support and adding or relocating wiring, piping or mechanical equipment.
In practice, swapping worn deck boards on a sound frame is a different job from replacing beams, posts or the supports that carry the deck. If a repair touches the structure, ask the code office before work starts. The post on red flags in remodeling estimates explains why a realistic schedule should account for inspections.
Who Issues Deck Permits in Pennsylvania?
It depends on your municipality. The Pennsylvania Department of Labor and Industry reports that over 90 percent of the state's 2,562 municipalities enforce the UCC locally, using their own employees or certified third-party agencies. In municipalities that opted out of local enforcement, owners or contractors hire a certified third-party agency to enforce residential requirements.
Before you buy materials:
Call the municipal office. Ask whether it enforces the UCC itself or through a third-party agency, and whether any local ordinance affects decks.
Ask about zoning. Setbacks from property lines and other zoning rules are separate from the building code.
Ask what the application needs. Find out which drawings to submit and which inspections the office schedules.
Keep the approvals. The post on permits for kitchen renovations explains how unpermitted work can cause trouble when a house sells, and decks are no exception.
If you hire a builder, the guide to choosing a remodeling contractor in Greensburg covers checking registration and insurance before you sign.
What Else Should You Plan Before Building a Deck?
The permit question is only one part of the plan. Think through:
Access. A deck often starts at a door, and the post on upgrading to a patio door covers how a new door can open the house to the yard.
Materials. Pressure-treated wood needs periodic refinishing, while composite boards follow the decking manufacturer's care instructions.
Future plans. If a roof, hot tub or outdoor kitchen might come later, design the frame for it now, since adding a roof changes the permit picture.
FAQ
Do you need a permit for a deck in Pennsylvania?
You do unless the deck is uncovered and its floor is no more than 30 inches above grade, and even then a local law or ordinance can still require approval.
What size deck can you build without a permit in Pennsylvania?
The state exemption in 34 Pa. Code 403.62(c)(8) does not set a size limit. It depends on the deck being uncovered and no more than 30 inches above grade, subject to local ordinances.
Does an attached deck need a permit in Pennsylvania?
Not under the state exemption text, which has no attachment condition, as long as the deck is uncovered and low. The model IRC exemption, by contrast, applies only to detached decks. Confirm with your municipality.
Do you need a permit to cover a deck?
A covered deck does not qualify for the uncovered deck exemption, so adding a roof generally means getting a permit.
At what height does a deck need a railing?
The 2021 IRC requires guards on open-sided walking surfaces more than 30 inches above grade, with a minimum guard height of 36 inches.
Do you need a permit to replace deck boards?
Ordinary repairs do not need a permit in Pennsylvania. Removing or cutting a structural beam or load-bearing support does not count as an ordinary repair.
Build Your Deck With Spotless Solutions
Spotless Solutions builds pressure-treated and composite decks with Trex and TimberTech, along with covered porches, pergolas, built-in seating and wood, cable or composite railing systems. It also replaces worn decks and deck boards, and its deck services include handling permits and inspections. Once the deck is built, the painting division offers deck staining for wood decks. Estimates are free for homeowners in Greensburg, Latrobe, Irwin, Ligonier, Jeannette, Youngwood, Murrysville, Delmont and Mount Pleasant.
Visit Spotless Solutions or call 412-478-7384 today. Contact us for more information.





Comments