Shed Wiring Basics for Beginners: A Complete Guide

Adding electricity to your shed transforms it from a simple storage box into a genuinely useful workspace, hobby room, or even a livable retreat. Whether you want a few overhead lights, a couple of outlets for power tools, or a full workshop setup, understanding shed wiring basics is the first step toward doing it safely and correctly.

The good news is that wiring a shed is one of the more beginner-friendly electrical projects a homeowner can tackle — as long as you follow the rules. Electrical work that is done wrong can cause fires, shock hazards, or failed inspections. Done right, it adds real value and functionality to your property for years to come.

This guide walks you through everything you need to know: planning your electrical needs, understanding code requirements, choosing the right cable, running the circuit from your house, and installing outlets and lighting inside the shed.

Step 1: Plan Your Electrical Needs Before You Touch a Wire

Planning is the most important part of any shed wiring project. Rushing to the hardware store before you know what you actually need leads to costly mistakes and code violations.

Figure Out What You’ll Power

Start by listing every electrical device you plan to use in the shed. Common items include:

  • Overhead lighting (LED fixtures or fluorescent shop lights)
  • General-purpose outlets (for phone chargers, radios, fans)
  • Power tools (circular saw, drill, bench grinder)
  • A dedicated heater or air conditioner
  • A refrigerator or chest freezer
  • A TV or computer setup

Power tools and heating appliances draw significant amperage. A 15-amp circuit is adequate for basic lighting and small loads. A 20-amp circuit handles heavier tool use. If you want to run a table saw, welder, or HVAC unit, you may need a 240-volt circuit or a subpanel.

Calculate Your Load

Add up the wattage of everything you might run at the same time. Divide by the voltage (120V for standard circuits) to get the total amperage. Leave a safety margin — never load a circuit to more than 80% of its rated capacity. This calculation tells you whether a single 20-amp circuit is enough or whether you need a subpanel.

Decide on a Subpanel vs. a Single Circuit

For a simple shed with lights and a few outlets, running a single 20-amp circuit from your main panel is usually sufficient. For a workshop, she-shed, or converted living space, installing a small subpanel (typically 60–100 amps) gives you flexibility to add circuits as your needs grow. If you’re planning a larger conversion, check out our guide on how to convert a shed into living space for more on the infrastructure you’ll need.

Step 2: Check Permits and Electrical Codes

This step is non-negotiable. Most jurisdictions require a permit for any new electrical circuit, including shed wiring. Skipping the permit isn’t just risky — it can cause problems when you sell your home and may void your homeowner’s insurance if something goes wrong.

Why Permits Matter

Permits require an inspection by a licensed electrical inspector. That inspector is there to protect you, not to harass you. They verify that your wiring meets the National Electrical Code (NEC), which is adopted in some form by most U.S. states and municipalities.

Key NEC Requirements for Shed Wiring

  • **GFCI protection:** All outdoor and garage/shed receptacles must be GFCI-protected. This protects against shock in damp environments.
  • **Conduit or burial depth:** Underground cable run between the house and shed must meet minimum burial depth requirements — typically 24 inches for standard THWN wire in conduit or 12 inches for UF-B (underground feeder) cable where permitted.
  • **Wire sizing:** Use the correct wire gauge for the circuit. 14 AWG for 15-amp circuits, 12 AWG for 20-amp circuits.
  • **Weatherproof covers:** Any outlet or switch box on an exterior wall or exposed to moisture needs a weatherproof in-use cover.

For a broader look at permit requirements for shed projects, see our guide on permits required for a backyard shed, which covers electrical permits alongside building permits.

Step 3: Run the Feed from Your House to the Shed

Getting power from the main panel to the shed is the most physically demanding part of the job. You have two main options: running an underground cable through a trench or installing an overhead cable between the structures.

Option A: Underground Trench (Recommended)

Underground runs are safer, more attractive, and more permanent than overhead lines. Here’s the basic process:

1. Dig the trench. Follow NEC depth requirements (typically 24 inches for conduit, 12–18 inches for direct-burial UF-B cable depending on local code). Call 811 before you dig to locate utilities.

2. Choose your cable type. UF-B (Underground Feeder) cable is rated for direct burial. For conduit runs, use THWN wire. Conduit is preferable because it protects the wire and makes future upgrades easier.

3. Install conduit. Use Schedule 40 PVC conduit underground. Transition to EMT or liquid-tight conduit where the conduit enters the house and shed.

4. Pull the wire. Feed your wire through the conduit after all sections are joined.

5. Connect at both ends. At the house end, connect to a new breaker in your main panel. At the shed end, connect to your first receptacle, switch, or subpanel.

Option B: Overhead Aerial Run

Overhead wiring requires a specific wire type rated for aerial installation (such as SER cable or service entrance cable) and must maintain required clearances — generally 12 feet above pedestrian areas and 18 feet over driveways. A weatherhead and drip loop are required. This option works where trenching isn’t practical but is more visually intrusive.

Grounding the Shed

Your shed needs its own grounding system even if it’s fed from your house panel. Drive a ground rod (at least 8 feet long) next to the shed and connect it with a 6 AWG bare copper ground wire to your shed panel or first disconnect.

Step 4: Wire the Interior of the Shed

Once power reaches your shed, wiring the interior is very similar to wiring any room in a house. The main differences are the emphasis on GFCI protection, weatherproofing, and durability.

Choosing Interior Wiring Method

Inside the shed, you have a few options:

  • **NM-B (Romex):** The standard sheathed cable used in houses. Fine for finished interior walls. Not rated for outdoor use or areas with moisture exposure.
  • **Conduit with THWN wire:** Preferred for unfinished sheds where wiring is exposed. Protects wires from physical damage and looks professional.
  • **MC cable (Metal Clad):** A middle ground — flexible, durable, and code-compliant for exposed runs in many jurisdictions.

For an unfinished tool shed, run metal or PVC conduit along the walls and ceiling. It looks neat and protects against accidental damage from tools or equipment.

Installing Outlets

Space outlets no more than 6 feet apart along workshop walls — you never want to need an extension cord for regular tool use. Use 20-amp duplex receptacles on a 20-amp circuit with 12 AWG wire. Install GFCI outlets or protect the entire circuit from a GFCI breaker.

Use weatherproof “in-use” cover plates on any outlet that might be exposed to splashing water, moisture, or an unheated environment.

Installing Lighting

Lighting is straightforward. LED shop light fixtures are the most popular choice today — they’re inexpensive, bright, and energy-efficient. Wire lighting on its own switch near the door so you’re not fumbling in the dark.

For a basic shed, a single 15-amp lighting circuit with 14 AWG wire is more than enough for multiple LED fixtures. Position fixtures toward the center of the ceiling or over the workbench for maximum usability.

Installing a Disconnect Switch

If your shed is fed by a subpanel, the subpanel itself acts as the disconnect. If you ran a single circuit, NEC requires a means to disconnect power within the shed — a simple single-pole breaker in a small enclosure serves this purpose and costs very little.

Step 5: Test Everything Before Closing Walls

Before covering any wiring with drywall or paneling, test every outlet and fixture. Use an inexpensive outlet tester (available at any hardware store) to verify that each receptacle is wired correctly — hot, neutral, and ground in the right positions. Test your GFCI outlets by pressing the Test and Reset buttons to confirm they trip and reset properly.

Turn on all lights and run a power tool from each outlet to confirm there are no voltage drops or tripped breakers under load.

If you’ve pulled a permit, schedule your inspection before closing walls. An inspector cannot verify buried wires or hidden connections, and you don’t want to tear out finished walls later.

Shed Wiring Safety Tips to Keep in Mind

  • Always turn off power at the breaker before working on any live circuit and use a non-contact voltage tester to confirm the circuit is dead.
  • Never exceed 80% of a circuit’s rated ampacity for continuous loads.
  • Use junction boxes for every wire connection — never make connections inside a wall cavity without a box.
  • Label every breaker clearly at the main panel.
  • Keep a fire extinguisher in the shed once it’s wired.

Good electrical habits in the shed translate directly to safety. If you’re using the shed as a workshop and storing materials there, pairing good wiring with solid construction is essential — our guide on how to maintain a wood shed covers structural upkeep that goes hand in hand with a safe electrical installation.

Conclusion

Shed wiring doesn’t have to be intimidating. By planning your electrical load carefully, pulling the required permits, following NEC guidelines for burial depth and GFCI protection, and taking your time with each connection, you can wire your shed safely and successfully as a beginner.

The key takeaways: know what you need before you start, respect the code requirements, use the right materials for outdoor and exposed environments, and never skip testing and inspection. A properly wired shed is a long-term investment that pays dividends every time you flip that light switch and get to work.

Frequently Asked Questions

Do I need a permit to wire a shed?

In most jurisdictions, yes. Any new electrical circuit — including one running to a detached shed — typically requires an electrical permit and inspection. Check with your local building department before starting work. Skipping a permit can create problems with insurance claims and home sales.

Can I use regular Romex cable underground to my shed?

No. Standard NM-B (Romex) is not rated for underground use. You need either UF-B (Underground Feeder) cable, which is rated for direct burial, or THWN/THHN wire pulled through buried conduit. Using the wrong cable underground is a code violation and a safety hazard.

How many outlets should a shed have?

For a basic storage shed, two to four outlets is usually plenty. For a workshop, plan for outlets every 4–6 feet along the workbench walls so you can plug in tools without extension cords. A small subpanel gives you room to add circuits as your needs grow.

What wire gauge do I need for a 20-amp shed circuit?

A 20-amp circuit requires 12 AWG wire (with ground). Using 14 AWG wire on a 20-amp breaker is a code violation and a fire hazard. If you’re running a 15-amp circuit for lighting only, 14 AWG is acceptable.


Related guides

Part of our How to Build a Shed: Step-by-Step Guides hub.

Scroll to Top