Building Permit Requirements in Pennsylvania
Quick answer
Pennsylvania enforces a statewide building code called the Uniform Construction Code (UCC), which applies to all construction in the state. Over 90% of municipalities enforce it locally, and private third-party agencies handle enforcement in the rest. Most projects involving structural work, new enclosed space, or changes to electrical, plumbing, or mechanical systems require a building permit.
Pennsylvania at a glance
Building code adopted
Uniform Construction Code (UCC), 2021 I-Codes as amended, effective Jan 1, 2026
State authority
Major cities covered
Philadelphia, Pittsburgh, Allentown, Reading, Scranton
Did you know?
Pennsylvania has 2,562 municipalities, and over 90% have opted in to locally administer and enforce the statewide building code. In the remaining municipalities that opted out, private certified third-party agencies handle residential code enforcement.
On this page
How building permits work in Pennsylvania
Pennsylvania has a statewide building code called the Uniform Construction Code (UCC), established by Act 45 of 1999 and enforced since April 2004. The UCC adopts the International Code Council's codes with amendments reviewed by Pennsylvania's UCC Review and Advisory Council (RAC). As of January 1, 2026, the UCC is based on the 2021 edition of the International Codes. The Pennsylvania Department of Labor and Industry oversees the program at the state level.
What makes Pennsylvania's system distinctive is how enforcement works. Each of the state's 2,562 municipalities had to choose whether to "opt in" or "opt out" of administering the UCC. Over 90% opted in, meaning they enforce the code using their own building code officials or through certified third-party agencies they hire. In the roughly 8% of municipalities that opted out, the state Department of Labor and Industry handles commercial code enforcement, while homeowners must hire a private certified third-party inspection agency to review plans and inspect residential work. The homeowner pays the third-party agency directly for these services.
This system means the permitting experience can feel different depending on where you live. In a large city like Philadelphia or Pittsburgh, you deal with a well-staffed municipal building department with online systems, professional plan reviewers, and established timelines. In a smaller municipality, you may work with a part-time code official or a third-party agency. In an opt-out municipality, you choose and hire your own certified third-party agency. Regardless of who enforces the code, the UCC standards are the same statewide.
The UCC includes some notable exemptions for small residential projects. Detached garages, carports, sheds, and greenhouses under 1,000 square feet are exempt from the commercial building code provisions and are instead reviewed under the simpler residential code requirements. Certain minor work like painting, papering, and ordinary repairs that don't affect structural, electrical, or plumbing systems don't require permits at all.
Deck permits in Pennsylvania
Full guide →Under the UCC, a building permit is required for any deck that is more than 30 inches above ground level at any point around the perimeter. Ground-level decks below this threshold are generally exempt from permitting, though they must still comply with zoning setback requirements. The 30-inch threshold aligns with the IRC's guardrail requirement, marking the point at which a deck becomes a fall hazard that the code requires protection against.
Philadelphia enforces the 30-inch rule and requires detailed plans including a site plan, structural framing layout with joist sizes, beam spans, and post spacing, ledger board connection details with flashing, and footing specifications showing depth below the frost line. The city's Licenses and Inspections department handles the review, with typical processing times of 1 to 3 weeks for standard residential decks. Pittsburgh has a similar process through its Department of Permits, Licenses, and Inspections.
Pennsylvania's frost depth is significant, particularly in the northern and mountainous regions. Deck footings must extend below the frost line, which ranges from about 36 inches in southeastern Pennsylvania to 42 inches or more in the northern tier and Pocono region. This means deck footings in Pennsylvania are substantially deeper than in southern states, adding concrete and excavation cost. Permit fees are set by each municipality, typically ranging from $50 to $300 depending on the project size and the local fee schedule.
Fence permits in Pennsylvania
Full guide →The UCC does not specifically require building permits for standard residential fences, so fence permitting is handled through local zoning ordinances rather than the statewide building code. Most Pennsylvania municipalities allow fences up to 6 feet in rear and side yards without a building permit, with front yard fences commonly limited to 3 to 4 feet. Fences exceeding these limits, fences using masonry construction, and retaining walls that also function as fences may need either a zoning permit or a building permit depending on the municipality.
Allentown requires a zoning permit for fences over 4 feet in front yards and over 6 feet elsewhere. The city also has specific rules about fence placement relative to the sidewalk and street right-of-way. Philadelphia requires a zoning permit for most fence installations, with additional design review requirements in certain overlay districts and the city's numerous historic areas, where fence materials and styles may need approval from the Historical Commission.
Even where no building permit is required, confirming your property lines before building a fence is important. Pennsylvania law does not require a survey before fence construction, but disputes about fence placement on or near property lines are common, especially in the state's older neighborhoods where lot lines may not be clearly marked. Fence permit fees, where required, are inexpensive, usually $25 to $75.
Shed permits in Pennsylvania
Full guide →Pennsylvania's UCC provides one of the most generous exemptions for small accessory structures in the country. Detached sheds, garages, and greenhouses under 1,000 square feet in building area are not required to have a building permit under the UCC, provided they are not attached to a dwelling and are not used as habitable space. This means a standard storage shed, a small workshop, or even a sizable two-car detached garage may be exempt from the statewide building permit requirement.
However, this exemption applies only to the UCC building code permit. Local zoning ordinances may still require a zoning permit or impose restrictions on shed placement, height, lot coverage, and appearance. Pittsburgh requires a zoning certificate for accessory structures even when a building permit is not required under the UCC, which confirms the structure meets setback, height, and lot coverage limits. Reading applies similar local zoning rules. If your shed includes electrical wiring, a separate electrical permit is typically required even if the building permit is not.
Shed permit fees, when a building permit is needed (for structures over 1,000 square feet or attached to the dwelling), are generally in the $50 to $200 range. Even for exempt sheds, checking with your municipality about zoning requirements before you build is important. The 1,000-square-foot UCC exemption does not override local zoning, and a shed that violates setback or lot coverage rules can still result in enforcement action from your municipality.
Patio permits in Pennsylvania
Full guide →Ground-level patios made of concrete, pavers, or natural stone do not require a building permit under the UCC in most cases. Patios become permit-worthy when they include a permanent roof or cover structure, are raised above grade on a structural frame, or involve electrical, plumbing, or gas work such as an outdoor kitchen or a gas fire pit with a permanent gas line. A covered patio with a permanent roof is treated as a structural addition to the house and requires full plan review with footing, framing, and roof load details.
Philadelphia requires a permit for any covered patio or roofed structure attached to the house. The city's zoning code also limits lot coverage, the percentage of a lot that can be covered by buildings and impervious surfaces, which affects how much of your yard can be paved or covered. An uncovered patio counts toward impervious coverage but generally does not need a building permit. Scranton follows the UCC standards with a relatively straightforward permitting process for covered patio projects.
Pennsylvania's freeze-thaw climate means that patio construction should account for proper drainage and a stable base, even though the building code does not regulate how you prepare the ground for an uncovered patio. A compacted gravel base of at least 4 to 6 inches helps prevent frost heaving and cracking, which is a significant concern across the state. Any structural supports for a covered patio must have footings extending below the local frost depth, which is 36 to 42 inches in most of Pennsylvania. Permit fees for covered patios typically range from $75 to $250.
Garage permits in Pennsylvania
Full guide →The UCC's 1,000-square-foot exemption has a major impact on garage permitting in Pennsylvania. Detached garages under 1,000 square feet that are not attached to the dwelling are exempt from the statewide building permit requirement. Since a standard two-car detached garage is typically 600 to 700 square feet, many detached garages in Pennsylvania can be built without a UCC building permit. However, local zoning permits and setback requirements still apply, and any garage with electrical wiring may need a separate electrical permit.
Attached garages always require a building permit regardless of size because the connection to the dwelling involves structural and fire separation requirements. The UCC requires fire-rated construction on the garage side of shared walls and ceiling (typically 1/2-inch Type X drywall) and a self-closing, fire-rated door between the garage and living space. These fire separation requirements protect the house from a garage fire and are closely inspected.
Philadelphia requires permits for both attached and detached garages, applying additional local requirements beyond the UCC in its historic districts where new construction must be compatible with the neighborhood's architectural character. Pittsburgh requires permits for attached garages and zoning certificates for detached structures. Garage permit fees range from $100 to $500 depending on the municipality and project size. Inspections at foundation, framing, electrical, and final stages are standard for permitted garages. Pennsylvania's frost depth of 36 to 42 inches means garage footings must extend well below grade.
Opt-in vs. opt-out municipalities
How your building permit is processed depends on whether your municipality opted in or opted out of UCC enforcement. In an opt-in municipality, you submit your permit application to the local building department or code enforcement office. The municipality's certified code officials review your plans, issue the permit, and conduct inspections at required stages. This is the familiar process that works similarly to most other states.
In an opt-out municipality, the process is different for residential and commercial work. For residential construction, you hire a certified third-party agency to review your plans and perform inspections. You select the agency yourself and pay them directly, which means costs and service quality can vary between agencies. For commercial construction in opt-out municipalities, the state Department of Labor and Industry handles enforcement. You can check the status of your municipality on the Department of Labor and Industry's website, which maintains a list of all municipalities and their UCC enforcement election.
Historic buildings
Pennsylvania has a large stock of older homes, particularly in cities like Philadelphia, Pittsburgh, and the smaller cities of eastern Pennsylvania. The UCC includes provisions for historic buildings that allow some flexibility when renovating structures listed on or eligible for the National Register of Historic Places. These provisions permit alternative compliance methods that preserve historic character while meeting safety objectives, which can reduce the cost and disruption of bringing an older building into full compliance with the current code.
If your property is in a locally designated historic district, your project may also need approval from a local historical architectural review board (HARB) before you can apply for a building permit. HARB review focuses on exterior appearance and compatibility with the surrounding neighborhood. This adds time to the permitting process but does not change the underlying UCC requirements for structural safety and fire protection.
Contractor licensing
Pennsylvania does not have a statewide general contractor license, which is unusual among large states. Homeowners can legally perform work on their own property, and in many areas anyone can offer construction services without a state credential. However, Philadelphia and some other municipalities require local contractor registration or licensing. The state does require licensing for specific trades including electrical work (through the Department of Labor and Industry) and plumbing. Before hiring a contractor for a permitted project, check whether your municipality requires local contractor registration and verify that any trade-specific work will be performed by appropriately licensed professionals.
Planning a home project in Pennsylvania?
Get free quotes from licensed contractors in your area. No obligation.
Frequently asked questions
Does Pennsylvania have a statewide building code?
Yes. The Uniform Construction Code (UCC) is Pennsylvania's statewide building code. Established in 1999 and enforced since 2004, it applies to all construction in the state. The UCC is based on the International Code Council's codes with Pennsylvania-specific amendments.
What is an opt-out municipality in Pennsylvania?
About 8% of Pennsylvania's municipalities chose not to administer the UCC locally. In these opt-out communities, residential code enforcement is handled by private certified third-party agencies hired by the homeowner. Commercial enforcement is handled by the state Department of Labor and Industry. The UCC standards are the same regardless of opt-in or opt-out status.
Do I need a permit for a detached shed or garage under 1,000 square feet?
Under the UCC, detached garages, sheds, and similar accessory structures under 1,000 square feet are exempt from the building permit requirement. However, local zoning rules may still require a zoning permit, and you must comply with setback and lot coverage limits. If the structure includes electrical or plumbing, separate trade permits may be needed.
How deep do footings need to be in Pennsylvania?
Frost depth in Pennsylvania ranges from about 36 inches in the southeastern part of the state to 42 inches or more in the northern tier and mountainous regions. All footings for structural elements like decks, covered patios, and garages must extend below the local frost line to prevent heaving. Your local code official can confirm the frost depth for your area.
What happens if I build without a permit in Pennsylvania?
Building without a required permit can result in stop-work orders, fines, and a requirement to apply for a retroactive permit. Retroactive permits typically cost more than standard permits and may require you to expose completed work for inspection. Unpermitted work can also create problems when selling your home, since buyers and lenders typically require proof of code compliance.
Permit requirements vary by city and county. The information in this guide provides general guidance for Pennsylvania based on common local building codes. Always verify requirements with your local building department before starting your project.