A backyard shed or workshop needs power for lights, a battery charger, a fan or a few tools, and there are two ways to get solar power for a shed. One is a stand-alone kit with panels, a battery and an inverter at the shed. The other is a circuit from the house, which rooftop solar on the home can cover.
The choice turns on how far the shed sits from the house, what it needs to run, and whether the home already has solar. Sizing, placement, permits and the electrician’s role all follow from that first decision.
Key Takeaways
- Pick the route first: a stand-alone kit makes and stores power at the shed, while a circuit from the house needs no shed battery and can be covered by rooftop solar.
- Size a kit from your own loads: multiply each device’s watts by its daily hours, add them up, then compare the total with a site production estimate from PVWatts.
- Use the battery maker’s stated discharge limit when sizing storage, since that limit sets how many sunless days one battery can carry the shed.
- The 2024 IRC exempts a one-story detached accessory structure of up to 200 square feet of floor area from a building permit, but not its solar panels, battery or wiring, which are electrical work that needs a permit and inspection.
- Wiring, battery connections and any link to the home’s panel belong to an electrician or solar installer, followed by an inspection and, for grid-tied solar, the utility’s approval.
Two Ways to Get Solar Power to a Shed
There are two practical routes to solar power for a shed. A stand-alone kit makes and stores its own power at the shed, with no wire to the house. A circuit from the house brings grid power out to the shed, and if the home has rooftop solar, that system can offset what the shed uses.
| Attribute | Stand-alone kit | Circuit from the home |
|---|---|---|
| What is installed | Panels, charge controller, battery and inverter on or beside the shed | Wiring from the home’s electrical panel to outlets, lights or a subpanel in the shed |
| Power at night | From the battery, down to its recommended discharge limit | From the grid, like any other circuit in the house |
| Battery at the shed | Yes | No |
| Main site work | Mounting panels and placing the battery | Trenching or running conduit between house and shed |
| Permit and inspection | Electrical permit and inspection for the panels, battery and wiring under the 2024 IRC (R105.1 and R109), as adopted locally | Electrical permit and inspection for the new circuit under the same sections |
| Who does the work | An electrician or solar installer | An electrician |
Distance favors the kit: the farther the shed sits from the house, the longer the trench and the wire run. Heavy loads favor the circuit: a table saw or compressor with a high startup draw needs a larger inverter and battery on the kit route, while a properly sized circuit treats it as one more household load. If the house already has solar, the circuit route lets that array cover the shed.
Running a Circuit From the House and Covering It With Home Solar
On this route the shed is one more circuit in the home. It adds to the household’s use, and it draws through the same meter as the kitchen and the air conditioner.
What the Electrician Does
- Checks that the main electrical panel has the capacity and breaker space for another circuit, or for a feeder to a small subpanel in the shed.
- Sizes the wire and breaker for the shed’s loads and the distance to the shed.
- Runs the wiring in conduit along an approved route, underground or otherwise, and installs the outlets, lights and any subpanel.
- Pulls the electrical permit and has the work inspected before the circuit is put to use.
How Home Solar Covers the Shed
Because the shed draws through the home’s meter, a rooftop system on the house offsets its use the same way it offsets the refrigerator. If solar is being designed for the home, the shed’s expected use belongs in the load estimate the system is sized against. No separate battery or inverter sits at the shed.
How the extra use shows up on the bill depends on the utility’s terms for solar customers, so check them with your utility before sizing. Panels on the shed roof can also be wired into a grid-tied home system instead of an off-grid kit. That is the installer’s design work and the utility’s interconnection approval, not a kit job.
Sizing a Stand-Alone Shed Kit: A Worked Example
Worked example. The wattages and hours below are example inputs chosen to show the method, not measurements of any product. Replace each wattage with the number on your own device’s label or manual, and each hour count with how you use the shed.
Step 1: Daily Loads in Watt-Hours
Multiply each device’s watts by its hours of use a day, then add the results. The total row also gives the figure in kilowatt-hours.
| Device (example) | Example wattage | Hours a day | Watt-hours a day |
|---|---|---|---|
| LED shop lights, two fixtures | 40 W total | 4 | 160 |
| Cordless tool battery charger | 100 W | 2 | 200 |
| Box fan | 60 W | 5 | 300 |
| Laptop | 60 W | 3 | 180 |
| Total | 840 Wh (0.84 kWh) |
Step 2: What the Panels Produce
Production depends on location, tilt and shade, so a site estimate beats a rule of thumb. PVWatts, from the National Laboratory of the Rockies (formerly NREL), estimates the energy production of grid-connected PV systems from a few inputs, using a typical-year weather file for the location.
The inputs for this worked example run:
- Location: San Diego, California
- DC system size: 0.4 kW, for four 100 W panels
- Array type: fixed, roof mounted
- Tilt: 20 degrees
- Azimuth: 180 degrees, due south
- System losses: 14%
- Module type, DC to AC size ratio (1.2) and inverter efficiency (96%): the PVWatts defaults
| PVWatts output (worked example) | Energy | Per day |
|---|---|---|
| Year | 642 kWh | 1.76 kWh on average (642 / 365) |
| December, the lowest month | 41 kWh | 1.32 kWh (41 / 31) |
| August, the highest month | 64 kWh | 2.06 kWh (64 / 31) |
The battery has to get through the shortest days, so December is the month to size against: 1.32 kWh a day against the 840 Wh (0.84 kWh) load leaves about 0.48 kWh a day of margin. PVWatts models a grid-connected system with an inverter, so its figure is an estimate of the panels’ energy, not the kit’s usable output after charge controller and battery losses. For another address, run the tool with the same inputs and read the lowest month’s daily average.
For comparison, Renogy’s shed solutions page states that its Workshop Solution kit harvests an average of 2kWh of power per day with four 100W solar panels. That figure is Renogy’s claim for its own kit; the PVWatts figures above are a worked example for one stated location and set of inputs.
Step 3: Battery Storage
Renogy’s 400W 12V Complete Solar Panel Kit lists “3.6kWh Power Storage” and, in its lithium option, three 12V 100Ah Pro Series batteries. Renogy’s page for that battery states that the batteries are “designed to last for 5000 cycles with a recommended 80% depth of discharge (DOD).” The steps below use the battery’s 12 V rating and ignore inverter losses.
- Rated capacity: 3 x 100 Ah = 300 Ah, or 300 Ah x 12 V = 3,600 Wh.
- Usable at the recommended 80% depth of discharge: 300 Ah x 0.8 = 240 Ah (2,880 Wh).
- Daily need, using 12 V: 840 Wh / 12 V = 70 Ah.
- Days of storage: 240 Ah / 70 Ah = about 3.4 days with no sun, before inverter losses.
Renogy’s kit page rates the AGM option’s batteries at “500 Cycles (50% DOD)”, and sized at that depth of discharge the same 300 Ah gives 150 Ah, about 2.1 days for the same loads.
Adding a small fridge or doubling the fan’s hours changes the answer, so redo the loads table first.
Step 4: Inverter Size
The inverter must handle the largest set of loads running at once, including the surge when a motor starts. Read the running and starting watts from each tool’s label or manual. System voltage, cloudy-day margin and controller sizing are covered in the off-grid solar system guide.
What Comes in a Shed Solar Kit
A stand-alone kit is built from a few core parts.
- Solar panels turn sunlight into DC electricity.
- A charge controller regulates the current flowing from the panels into the battery. An MPPT controller adjusts to draw more of the panels’ available power; a PWM controller works as a simpler switch.
- A battery stores energy for evenings and cloudy days.
- An inverter converts the battery’s DC power to AC for standard outlets. A pure sine wave inverter produces power suited to tools and electronics.
- A combiner box, fuses and disconnects join the panel wiring, protect each circuit and let the system be shut off for service.
One Maker’s Example: Renogy’s Shed Kit
Renogy’s 400W 12V Complete Solar Panel Kit (SKU RKIT400BD-R40D4-LCFP3-P3-US), which Renogy describes as designed for workshops and sheds, lists these contents with its lithium battery option:
- Four 100 W N-type solar panels, with Z-bracket mounts
- A 40A MPPT charge controller
- Three 12V 100Ah Pro Series lithium batteries (3.6kWh of storage), or three 12V 100Ah AGM batteries in the AGM option
- A 3000W 12V pure sine wave inverter
- A 500A battery monitor with shunt, an ANL fuse set, an in-line solar fuse holder and the connecting cables
These parts belong to that kit and its page, not to shed kits in general, and the kit appears here as an example of what a maker lists, not as a pick over any other maker.
The battery, inverter and AC connections are a qualified electrician’s work under permit. Kit types and what they include are covered in the solar panel kits guide.
Where the Panels Go: Shed Roof, Pole or Ground
Panels on the shed roof need a sunny face, little or no shade through the middle of the day, and framing that can carry the panels and racking. A roof plane facing south, or close to it, gives fixed panels good exposure in California and Arizona.

- Shade: trees, the house and fences that cast shadows across the roof from late morning to mid-afternoon.
- Structure: the shed’s rafters and sheathing, checked against the weights in the panel and racking makers’ own documents.
- Roof condition: a worn roof is easier to replace before panels go on than after.
- Access pathways: the 2024 IRC’s roof access and pathway rule for PV (R329.6) has an exception, Exception 1: “Detached, nonhabitable structures, including but not limited to detached garages, parking shade structures, carports, solar trellises and similar structures, shall not be required to provide roof access.” The local building department decides how the exception applies to a given shed, under the version of the code it has adopted.
If the shed roof is shaded, too small or not strong enough, the panels can stand on a pole or ground frame beside it, an option the pole mount kit guide covers.
Permits: The Shed Structure Versus the Electrical Work
Two separate questions decide the permits: whether the shed building needs a building permit, and whether the electrical work on or inside it does. The 2024 International Residential Code (IRC) answers them separately. California’s Residential Code is based on the IRC, and each city or county applies the edition it has adopted.
- The shed structure. Section R105.2 of the 2024 IRC lists work exempt from permit, starting with “Other than storm shelters, one-story detached accessory structures, provided that the floor area does not exceed 200 square feet (18.58 m2).” The exemption is for the building, measured by floor area, and the section adds that an exemption “shall not be deemed to grant authorization for any work to be done in any manner in violation of the provisions of this code”.
- Solar panels and a battery. Under R105.1, an owner who intends to “erect, install, enlarge, alter, repair, remove, convert or replace any electrical, gas, mechanical or plumbing system” regulated by the code “shall first make application to the building official and obtain the required permit.” The electrical exemptions in R105.2 cover items such as listed cord-and-plug connected temporary decorative lighting, the reinstallation of attachment plug receptacles, the replacement of branch circuit overcurrent devices of the required capacity in the same location, minor repair work, and “Electrical wiring, devices, appliances, apparatus or equipment operating at less than 25 volts and not capable of supplying more than 50 watts of energy.” A kit with 400 W of panels supplies more than 50 watts, and none of the exemptions names PV or energy storage, so the panels, battery and wiring need an electrical permit even when the shed building is exempt. As a city example, the City of San Diego’s Information Bulletin 301 states that an electrical permit “is required for the installation of photovoltaic (PV), Batteries / ESS (Energy Storage System)” and other PV work.
- A circuit from the house. New wiring from the home’s panel is electrical work under the same R105.1 rule. R109.1.2 calls for a rough inspection of electrical systems “prior to covering or concealment,” and R109.1.6 for a final inspection “after the permitted work is complete”.
Battery Placement for a Shed
Section R330 of the 2024 IRC sets the rules for energy storage systems (ESS), which include battery systems. It excepts “ESS less than 1 kWh (3.6 megajoules),” so a kit battery bank of a few kilowatt-hours falls under it. The points that matter for a shed:
| Section | What the 2024 IRC states |
|---|---|
| R330.2 Equipment listings | “Energy storage systems (ESS) shall be listed and labeled in accordance with UL 9540.” |
| R330.3.1 Spacing | “Individual units shall be separated from each other by not less than 3 feet (914 mm) except where other separation distances are specified by the ESS listing and the manufacturer’s installation instructions.” |
| R330.4 Locations | The first permitted location listed is “Detached garages and detached accessory structures.” |
| R330.5 Energy ratings | “Individual ESS units shall have a maximum rating of 20 kWh.” The aggregate rating shall not exceed “80 kWh in attached or detached garages and detached accessory structures.” |
| R330.8 Protection from impact | “ESS installed in a location subject to vehicle damage shall be protected in accordance with Section R330.8.1 or R330.8.2.” |
A kit with several separate battery modules is laid out to the spacing in its listing and installation instructions, or 3 feet apart where those give no other distance. In California, the California Energy Commission’s Energy Storage Permitting Guidebook states that “ESS are covered in Section R330 of Chapter 3 of the CRC,” the California Residential Code, and that battery systems installed in California since January 1, 2020, “must be permitted and certified to UL 9540.” In Arizona, ask the city or county building department which edition of the code it enforces.
Before choosing a battery, check that it is listed and labeled in accordance with UL 9540, as R330.2 requires.
Who Does the Work: Electrician, Installer, Inspector and Utility
Stand-Alone Kit Route
- The owner lists the loads and chooses a kit or system size.
- An electrician or solar installer confirms the design and pulls the permit, submitting plans if the jurisdiction asks for them.
- The installer mounts the panels and racking on the roof, a pole or a ground frame.
- The electrician wires the panels, charge controller, battery and inverter, with fuses or breakers, a disconnect and equipment grounding.
- The building inspector checks the work, including the overcurrent protection, disconnects, grounding and battery placement.
- After approval, the owner starts using the system.
Circuit-From-the-House Route
- The electrician checks the home panel’s capacity and pulls the electrical permit.
- The electrician runs the circuit or feeder to the shed and installs the outlets and lights.
- The inspector checks the work before the circuit is energized.
- If home solar is added or changed to cover the shed, the solar installer files the utility interconnection application, and the utility grants permission to operate before the system is turned on. SDG&E, for example, gives this authorization, called “Permission to Operate,” or PTO, “once proper installation and permitting are completed.”
What the Owner Can Do
- Write the loads table and update it when new tools arrive.
- Choose where the shed, panels and battery should go, within what the code allows.
- Keep panels clear of leaves and debris with a hose or soft brush from the ground.
- Read the kit’s monitoring app or display to track the battery’s charge.