Pennsylvania Electrical Code: NEC, Permits, and GFCI Rules

The Pennsylvania electrical code is the National Electrical Code (NFPA 70), adopted statewide through the Uniform Construction Code. As of January 1, 2026, the Commonwealth follows the 2020 edition of the NEC, though the edition that actually governs your job is whichever one the permit-issuing authority has adopted when your permit is issued.1National Fire Protection Association. NFPA 70 National Electrical Code Almost any electrical work beyond swapping a bulb or a like-for-like device needs a permit, an inspection, and compliance with both state and local rules.

Which Edition of the NEC Applies

Pennsylvania adopted the 2020 edition of the NEC effective January 1, 2026, replacing the 2017 edition that had been in effect for several years. The NEC covers how circuits are wired and protected, outlet placement, conductor sizing, and the types of circuit interrupters required in each location. It applies the same way to a kitchen remodel as to a warehouse power system.

The code is administered by the Pennsylvania Department of Labor and Industry through its Bureau of Occupational and Industrial Safety.2Pennsylvania Department of Labor and Industry. Contractor Licensing Municipalities can enforce the UCC through their own building departments or defer to the state and its certified third-party agencies. Local jurisdictions cannot be less strict than the UCC, but they can layer extra rules on top, such as specific conduit types or additional disconnects. A project approved in one borough may need changes to pass in the next one over, so the first call on any job is to the municipal building or code enforcement office where the property sits.

When You Need a Permit

Nearly every electrical project in Pennsylvania requires a permit. You apply through the local code office or a state-certified third-party agency, submit a description of the work, and pay a fee that varies by municipality and scope.

The UCC exempts a narrow list of tasks from permit requirements:3Cornell Law Institute. Pennsylvania Code Title 34 403.42 – Permit Requirements and Exemptions

  • Minor repair and maintenance, such as replacing light bulbs and lamps or plugging approved portable equipment into existing receptacles
  • Radio and television transmission equipment, though the power supply wiring and antenna installation still need permits
  • Temporary setups installed for testing or servicing electrical equipment

Emergency repairs and equipment replacements can proceed immediately, but a permit application must be submitted within three business days. The line to watch is between ordinary repair and any work that adds, alters, replaces, or relocates wiring. Swapping a broken switch for an identical one is ordinary repair. Adding an outlet to a room is not.

GFCI and AFCI Protection

Two safety devices come up constantly in Pennsylvania electrical work. Ground-fault circuit interrupters cut power when current leaks through an unintended path, like water or a person. Arc-fault circuit interrupters detect dangerous arcing that can start fires inside walls. Both are required by the adopted NEC in specific locations, and this is where older homes often run into trouble during renovations.

GFCI protection is required for receptacles in:

  • Bathrooms, all receptacles
  • Kitchens, receptacles within six feet of a sink
  • Garages and unfinished basements, all receptacles
  • Outdoors, all receptacles
  • Crawl spaces, all receptacles
  • Areas near pools and hot tubs, all receptacles
  • Indoor wet or damp locations, all receptacles

AFCI protection reaches further. In new residential construction, virtually all 120-volt, 15- and 20-ampere branch circuits in living spaces need AFCI protection, including bedrooms, living rooms, hallways, closets, and finished basements. Kitchen counter circuits often need both AFCI and GFCI, which a single combination-type breaker can handle.

Renovations trigger these requirements too. Add a receptacle to an existing bedroom circuit in an older home that never had AFCI protection, and the inspector will likely require upgrading the branch circuit breaker to an AFCI type. Interpretation can vary by local inspector, but the trend is firmly toward requiring modern protection whenever existing circuits are modified.

Who Can Legally Do the Work

Pennsylvania has no statewide electrical contractor license. Each municipality sets its own licensing rules, so a contractor licensed in Allentown cannot automatically pull permits in Harrisburg.2Pennsylvania Department of Labor and Industry. Contractor Licensing Common municipal requirements include passing a competency exam, often through the International Code Council, and showing proof of general liability insurance and workers’ compensation coverage. The Commonwealth keeps no centralized record of these local licenses, so verification means calling the local code office.

Separately, the Home Improvement Consumer Protection Act requires any contractor whose home improvement work exceeded $5,000 in the previous tax year to register with the Bureau of Consumer Protection in the Office of Attorney General.4Office of Attorney General. Home Improvement Consumer Protection Act, 73 PS 517.1 Registration costs $100 and renews every two years.5Office of Attorney General. HIC Registration Registered contractors must display their HIC number on all advertisements, contracts, estimates, and proposals. A home improvement contract that omits the number may be unenforceable against the homeowner. You can verify any contractor’s registration through the Attorney General’s website before signing.

Electrical Work Homeowners Can Do Themselves

Pennsylvania does not flatly prohibit homeowners from doing electrical work on their own homes. Replacing a light fixture, swapping an outlet or switch for an identical one, or installing a ceiling fan on an existing junction box generally falls within the minor-repair exemption.

Anything beyond that needs a permit. Adding a circuit, replacing a panel, running wire to a new location, or wiring an addition all require a permit and will be held to the same inspection standard as professional work. The UCC does not give homeowners a pass on inspection simply because they did the work themselves. Failed inspections lead to the same correction and re-inspection process a licensed electrician would face.

The practical exposure is real. If unpermitted work causes a fire or injury, a homeowner’s insurer may deny the claim. When the property sells, unpermitted modifications can surface in a buyer’s inspection and derail the deal.

What to Expect From Inspection

Once a permit is issued and work begins, inspection usually happens in two stages. The rough-in inspection takes place after wiring and boxes are installed but before walls are closed, so the inspector can see grounding, circuit sizing, and physical protection of the wires. The final inspection follows installation and energization of fixtures, devices, and panels. Passing the final results in a certificate of approval or certificate of occupancy.

Failing an inspection does not automatically mean fines. The inspector issues a correction list, and you schedule a re-inspection after fixing the deficiencies. Some municipalities charge re-inspection fees for repeated failures.

Penalties for Code Violations

Violating the Uniform Construction Code is a summary offense. On conviction, the fine runs up to $1,000, and each day the violation continues counts as a separate offense.6Pennsylvania General Assembly. Pennsylvania Construction Code Act A homeowner who ignores a stop-work order for two weeks could face 14 separate violations.

Working without a permit carries extra costs. Many municipalities impose a surcharge equal to several times the original permit fee for unpermitted work, and the work still has to be inspected, which may mean opening walls or removing finishes to expose covered wiring.

Contractors face heavier exposure under the HICPA. Home improvement fraud involving more than $2,000 is a third-degree felony, and below that threshold it is a first-degree misdemeanor. Courts can revoke or suspend a contractor’s registration, with reinstatement unavailable for at least five years. Any HICPA violation is also automatically treated as a violation of Pennsylvania’s Unfair Trade Practices and Consumer Protection Law, which opens the door to additional civil liability.4Office of Attorney General. Home Improvement Consumer Protection Act, 73 PS 517.1

EV Chargers and Solar: Extra Rules Apply

Two common modern projects have their own NEC provisions on top of the general residential rules. Both require permits and inspection under the UCC.

EV charger installations fall under NEC Article 625. A Level 2 charger, the typical home installation, usually needs a dedicated 240-volt, 40- or 50-ampere circuit. The NEC requires the circuit to be sized at 125 percent of the charger’s maximum load because it is continuous-use equipment. Many older homes need a panel upgrade to carry the added load.

Solar panel systems are governed by NEC Article 690 and must also comply with Pennsylvania’s interconnection rules for connecting to the utility grid. The work covers both DC wiring from the panels to the inverter and AC wiring from the inverter to the panel. Rapid-shutdown requirements in the NEC mandate that rooftop conductors can be de-energized quickly in an emergency, which affects equipment choice and installation methods. For either project, the right electrician is one who regularly works with the specific article involved, because the rules differ meaningfully from standard branch circuit wiring.