Outdoor Electrical Guide: Code Requirements, Installation, and Safety
Outdoor electrical work combines the complexity of standard wiring with the additional challenges of weather exposure, ground moisture, UV degradation, and direct burial requirements. NEC has specific rules for outdoor installations that differ significantly from interior work — GFCI protection everywhere, weatherproof covers on all outlets, specific burial depths for underground wiring, and distance requirements from pools and hot tubs. This guide covers the NEC requirements and practical considerations for the most common outdoor electrical projects.
Outdoor Outlet Requirements
NEC requires at least one outdoor receptacle at the front and back of every dwelling (210.52(E)). All outdoor receptacles must have GFCI protection and weatherproof while-in-use covers (not just weatherproof when the cover is closed). In-use covers have a dome shape that allows a cord to be plugged in while maintaining weather protection. Flat spring-loaded covers are only acceptable in dry, protected locations.
For outdoor kitchens, entertainment areas, and workshops, install additional 20-amp circuits with multiple receptacle locations. Outdoor circuits should be on dedicated breakers — not shared with interior circuits — so that a GFCI trip outdoors does not kill power to indoor devices. Use weather-rated boxes (gray PVC or die-cast metal with weatherproof gaskets) and UV-rated conduit for all exposed outdoor wiring.
- GFCI protection required on ALL outdoor receptacles
- Weatherproof in-use covers required (not just weatherproof when closed)
- Minimum one front and one rear receptacle per dwelling
- Dedicated outdoor circuits recommended (not shared with indoor)
- All outdoor wiring in conduit or rated for direct burial
Landscape Lighting Installation
Low-voltage landscape lighting (12-15V) is the standard for residential applications. A transformer converts 120V household power to 12V for the lighting circuit. The transformer mounts near an outdoor GFCI outlet and connects to the lighting cable. Low-voltage systems do not require electrical permits in most jurisdictions, can use direct-buried cable without conduit, and are safe to work on without risk of shock.
Wire sizing for landscape lighting depends on the total wattage and wire run distance. At 12 volts, even moderate wattage creates significant current and voltage drop becomes critical. For runs under 100 feet with under 200 watts, 12 AWG low-voltage cable is adequate. For longer runs or higher wattage, use 10 AWG or split the circuit into multiple runs from the transformer. Voltage drop at the end of a long landscape lighting run causes noticeably dimmer fixtures.
Hot Tub and Pool Electrical Requirements
Hot tubs and spas require a dedicated 240V, 50-60 amp circuit with a GFCI breaker at the panel. NEC 680 requires a disconnect (shutoff switch) within sight of the hot tub and at least 5 feet from the tub edge. The disconnect must be accessible and lockable. Hard-wired connection (no plug) is required for most 240V hot tubs. The electrical cost for hot tub installation typically runs $500-1,500 for the circuit, disconnect, and wiring.
Swimming pool electrical requirements are more extensive: all pool equipment (pump, heater, lighting) must be on GFCI-protected circuits, all metal within 5 feet of the pool must be bonded to the pool bonding grid, and no overhead power lines can run within specified distances of the pool. Pool equipment is typically fed from a dedicated sub-panel near the pool equipment pad. A complete pool electrical installation costs $2,000-5,000 depending on equipment and distance from the main panel.
Powering Outbuildings: Sheds, Garages, and Workshops
Running power to a detached building requires underground wiring from the main panel to a sub-panel in the outbuilding. The underground cable must be in PVC conduit buried 18-24 inches deep (depending on conduit type) with an expansion fitting for temperature changes. A separate grounding electrode (ground rod) is required at the outbuilding per NEC 250.32.
Size the sub-panel feed for anticipated loads: 60-amp for a basic shed with lights and outlets, 100-amp for a workshop with power tools, and 100-200 amp for a detached garage with EV charger, workshop, and HVAC. The wire run distance determines wire size — voltage drop over long underground runs frequently requires upsizing 1-2 gauge sizes above the ampacity minimum. Total cost for a basic 60-amp outbuilding feed runs $1,500-3,500; a 100-amp workshop feed runs $2,500-5,000.
Outdoor Electrical Safety
Water and electricity are a lethal combination. All outdoor electrical work should be performed by a licensed electrician who understands wet-location requirements. Never use indoor-rated devices, boxes, or covers in outdoor locations. Ensure all outdoor circuits have functioning GFCI protection by testing monthly. After storms, inspect outdoor electrical equipment for water intrusion, physical damage, and displaced covers.
Portable generators used outdoors must be positioned at least 20 feet from the home with exhaust directed away from doors, windows, and vents. Carbon monoxide from generator exhaust kills approximately 70 Americans annually — most during power outages when generators are placed too close to living spaces. Install battery-operated carbon monoxide detectors inside the home and never run generators in garages, basements, or enclosed spaces.
Frequently Asked Questions
Do all outdoor outlets need to be GFCI protected?
Yes. NEC requires GFCI protection on all outdoor receptacles, regardless of height, location, or use. Additionally, all outdoor receptacles must have weatherproof while-in-use covers that maintain weather protection even when a cord is plugged in. These requirements apply to new installations and upgrades.
How deep does outdoor electrical wire need to be buried?
PVC conduit with wire: 18 inches under concrete or fixed areas, 24 inches in all other locations. Rigid metal conduit: 18 inches. Direct burial cable (UF-B): 24 inches. Under driveways: 24 inches minimum regardless of method. These are NEC minimums — check local code for additional requirements.
How much does it cost to run power to a shed?
A basic 60-amp circuit to a shed 50-75 feet from the main panel costs $1,500-3,500 including trenching, conduit, wire, sub-panel, permits, and inspection. Longer distances, larger capacity (100 amp), and difficult soil conditions increase costs. The primary cost variable is distance — every additional 25 feet adds $200-500 in wire and trenching costs.
What electrical do I need for a hot tub?
Most 240V hot tubs require a dedicated 50-60 amp GFCI-protected circuit, a disconnect switch within sight of and at least 5 feet from the tub, and a hard-wired connection (no plug). Installation costs $500-1,500 depending on distance from the panel. A permit and inspection are required in virtually all jurisdictions.