Universal Rule

Adding any electrical service to a shed — a single outlet, a single light, a sub-panel, anything — requires an electrical permit in every U.S. state. There are no exemptions for shed electrical work. Additionally, electrical work in a shed almost always triggers a building permit for the shed itself, even if the shed was originally small enough to be permit-exempt.

Why Does Running Power to a Shed Require a Permit?

Electrical work is regulated because improper electrical installations are one of the leading causes of residential structure fires in the United States. Electrical permits exist to ensure that:

  • Wiring is properly sized for the load it will carry
  • Connections are correct and secure
  • Circuit protection (breakers or fuses) is properly rated
  • Grounding and bonding meet NEC (National Electrical Code) standards
  • Outdoor and wet-location wiring uses appropriate cable types and conduit
  • A licensed inspector verifies the work before it's covered or energized

What Does a Shed Electrical Permit Involve?

Step 1: Pull the Permit

Either you or your licensed electrician applies for an electrical permit from your local building department. The application describes the scope of work: how the power will come from your house to the shed, what wiring and panel will be installed, and what circuits and loads are planned.

Step 2: The Rough-In Inspection

Before any wiring is covered by drywall, sheathing, or finished surfaces, a rough-in inspection is required. The inspector verifies that wiring routes, conduit, junction boxes, and panel installation meet the NEC as locally amended. The inspector must sign off before work is covered.

Step 3: Final Inspection and Energizing

After all electrical work is complete, a final inspection is scheduled. The inspector verifies outlets, switches, panel labeling, GFCI protection (required in wet locations like sheds), and grounding. After the final is approved, the circuit can be energized.

Running Power to a Shed: Your Main Options

Option A: Underground Direct-Burial Cable (Most Common)

The most common method is running underground cable from your home's main electrical panel (or a sub-panel) through a trench to the shed. Key specifications:

  • Cable type: USE-2 or UF-B (Underground Feeder) cable is rated for direct burial. THWN/THHN conductors in conduit also work.
  • Burial depth: NEC requires at least 24 inches deep for direct-burial cable without conduit, 6 inches if in rigid metal conduit, 12 inches if in PVC conduit. Local amendments may require more.
  • Conduit at entry/exit points: Where the cable enters the ground at the house and exits at the shed, it must be protected in conduit from the point of entry to at least 18 inches below grade.
  • Circuit sizing: Size the feeder wire for the anticipated load — a general-use workshop shed typically needs at least a 60-amp sub-panel; a simple outlet for lights and a phone charger might only need a 20-amp circuit.

Option B: Overhead Service Drop (Less Common for Sheds)

Running overhead wiring from the house to the shed is less common for residential sheds but is permitted in some jurisdictions. Minimum height clearances (typically 10–12 feet over driveways, more over roadways) and proper weatherhead installation at the shed are required. Many inspectors prefer underground for shed connections as it's cleaner and less prone to damage.

Option C: Sub-Panel in the Shed

For any shed with multiple circuits — a workshop with power tools, a studio with lighting and outlets, a she-shed with a mini-split — a sub-panel in the shed is the cleanest approach. A single feeder cable from the house feeds the sub-panel, and individual breakers in the sub-panel feed each circuit in the shed. Sub-panels require a 4-wire feeder (two hots, a neutral, and a separate ground) per modern NEC requirements.

DIY vs. Licensed Electrician: Who Can Pull the Permit?

This is the most frequently misunderstood aspect of electrical permits. The answer varies by state:

State PolicyStates / Examples
Homeowner can pull permit and do own electrical work on their primary residenceMost U.S. states — including Texas, Florida (with some conditions), Colorado, Washington, Oregon, most Midwest states
Licensed electrician required for all permitted electrical work, even for homeownersSome strict states and cities — including Massachusetts, Illinois, certain California jurisdictions, and NYC metro area
Homeowner can do the work but a licensed electrician must pull the permitRare — some jurisdictions require the permit be under a contractor's license even for homeowner work

Even in states where homeowner-pulled permits are allowed, the work is still inspected and must meet code. DIY electrical work that fails inspection must be corrected before it can be approved. If you're not confident in your electrical knowledge, hire a licensed electrician — the safety risk of improper wiring is real.

💡 GFCI Protection Is Required in Sheds
The NEC requires GFCI (Ground Fault Circuit Interrupter) protection for all outlets in detached garages and outbuildings. Since sheds are classified as outbuildings, all outlets in your shed must be GFCI-protected — either through GFCI outlets or a GFCI breaker in the sub-panel. This is frequently caught in inspections and is one of the easiest corrections to make if you do your own wiring.

How Does Electrical Work Affect the Building Permit?

If your shed was originally small enough to be permit-exempt (e.g., under 200 sq ft in most states), adding electrical service typically triggers a building permit for the shed itself — not just an electrical permit. Here's why:

  • The building inspector needs to verify that the shed structure is sound before the electrical inspector approves the final electrical work
  • The building permit process includes a zoning review, confirming setbacks and placement are compliant
  • Most jurisdictions link building and electrical permits: the building permit can't be finally closed until the electrical permit is closed, and vice versa

In practice, if you want to add power to a small existing shed that was never permitted, you may need to retroactively permit the shed structure itself as part of the electrical permit process. Contact your building department to understand the process before starting work.

Estimated Costs

ItemTypical Cost Range
Electrical permit fee$75–$200
Licensed electrician (full shed wiring + sub-panel)$800–$2,500+
Materials (DIY): 60-amp feeder, conduit, sub-panel, wiring$300–$800
Trenching (if hiring out)$200–$500 depending on distance
Disclaimer: Electrical code requirements vary by jurisdiction. This guide is for informational purposes only and does not constitute professional electrical advice. Always consult a licensed electrician or your local building department for guidance on your specific project.

Frequently Asked Questions

An extension cord is not a permanent electrical installation and doesn't require a permit — but it's not a safe or code-compliant long-term solution. The NEC prohibits the use of extension cords as permanent wiring. Outdoor extension cords also degrade over time when exposed to UV light, moisture, and foot traffic. If you need ongoing power in your shed, a proper permitted electrical installation is the right approach.
It depends on the system. A small, self-contained solar system (panel, charge controller, battery, 12V loads) that is not connected to the grid and doesn't involve work on your home's main electrical system may not require a permit in some jurisdictions. However, any system that connects to your home's electrical panel, provides 120V or 240V AC power, or exceeds certain wattage thresholds typically requires a permit. Check with your local building department for the specific rules in your jurisdiction.
Distance affects wire sizing (voltage drop calculations) and the economics of the project, but not the permit requirement. For longer runs, you may need heavier gauge wire to maintain acceptable voltage. A licensed electrician can perform the voltage drop calculation to specify the correct wire gauge for your run length. The permit and inspection requirements are the same regardless of distance.

Related Guides