A backyard she-shed, a detached art studio, or a workshop tucked behind the garage can add real living and working space to a Temecula or Murrieta property. But unlike an indoor remodel, a detached structure starts with no electrical infrastructure at all. Every outlet, light fixture, and dedicated circuit inside that building has to be planned, permitted, and run from the main house or a new sub-panel. As a licensed electrical contractor, we handle detached structure wiring regularly, and we have found that the projects that go smoothly are the ones where the electrical plan is settled before the framing even starts.
In this guide, we walk through what goes into wiring a detached structure safely and up to code, from sub-panel sizing to trenching, permits, and the everyday circuits that make a she-shed, studio, or workshop actually usable. If you are planning a project like this, our goal is to help you understand what is involved before you call us so the conversation with our team is faster and more useful.
Why Detached Structures Need Their Own Electrical Plan
A shed with a single extension cord running to it is not the same as a wired detached structure. Extension cords are not rated for permanent, continuous use, they are a tripping and fire hazard when run through doorways or under landscaping, and they cannot support the load of power tools, lighting, or a mini-split system all at once. Once a detached structure is going to be used regularly, whether as a home office, a creative studio, or a workshop with real tools in it, it needs permanent branch circuits supplied from its own sub-panel.
We start every detached structure wiring project by asking what the space is actually going to be used for. A she-shed used mostly for quiet work or crafting has very different electrical needs than a workshop running a table saw, a compressor, and a dust collector. A recording or art studio may need clean, dedicated circuits to avoid electrical noise, while a backyard office may need robust circuits for computers, monitors, and a mini-split. That conversation shapes everything else: panel size, circuit count, and wire gauge.
Sub-Panels: The Heart of Detached Structure Power
Almost every detached structure wiring project we handle in Temecula and Murrieta centers on a sub-panel installed inside or near the new building. A sub-panel is a smaller distribution panel fed from the main electrical panel at the house, and it lets us run multiple individual circuits inside the detached structure without pulling a separate wire back to the main panel for every single outlet or fixture.
Sizing the sub-panel correctly is one of the most important decisions in the entire project. We calculate the expected load based on lighting, general-purpose outlets, and any dedicated equipment circuits, then size the feeder conductor and the sub-panel itself with enough headroom for future additions. Undersizing a sub-panel is one of the most common mistakes we get called out to correct on detached structures that were wired by a previous, unlicensed installer. A sub-panel that is too small forces homeowners to choose between running the table saw or running the lights, which defeats the purpose of a dedicated structure in the first place.
We also make sure the sub-panel includes a proper grounding and bonding setup that is separate from the main panel’s neutral-ground bond, per code requirements for detached structures. Getting this wrong is a safety issue, not just a paperwork issue, so it is one of the first things we verify on any inspection of existing detached structure wiring.
Trenching and Underground Wiring
Getting power from the main panel to a detached structure almost always means running a feeder underground. We typically install the feeder in rigid or schedule 80 PVC conduit, buried at the code-required depth, so the conductors are protected from shovels, tree roots, and the freeze-thaw cycle. Direct-burial cable is sometimes used in place of conduit, but conduit gives homeowners the option to add a data or low-voltage line to the same trench later without digging again, which is worth considering if there is any chance the detached structure will eventually get networked security cameras, a phone line, or a dedicated internet drop.
Trenching is also where a lot of avoidable problems happen. Before we ever break ground, we confirm the exact route of the trench and check for existing utility lines, irrigation lines, and any structures like pools or septic systems that could be in the path. Depth requirements vary depending on whether the conduit is rigid or PVC and whether the trench crosses under a driveway or other vehicle traffic area, and we plan the route accordingly so the finished trench meets code on the first inspection.
Permits and Inspections
Detached structure wiring is not a project where skipping the permit is worth the risk. Local building departments in Riverside County require a permit for new electrical circuits and sub-panels serving a detached structure, and the inspection process protects the homeowner as much as it protects us. An inspected, permitted installation gives you a clear paper trail if you ever sell the property, and it confirms that the trench depth, conductor sizing, grounding, and panel installation all meet current code, not just what looked reasonable at the time.
We pull the permits, schedule the inspections, and are present for the trench inspection before backfill and the final inspection once the sub-panel and circuits are complete. If your detached structure project also involves a building permit for the structure itself, we coordinate our timeline with your general contractor or builder so the electrical rough-in happens at the right point in the framing schedule.
Common Detached Structures We Wire
The type of detached structure changes some of the details, but the underlying process is similar across most of the projects we see in Temecula and Murrieta.
She-sheds and backyard studios. These are usually lighter-load spaces focused on general lighting, several standard outlets, and sometimes a mini-split for heating and cooling. We often add a dedicated circuit for a window unit or ductless mini-split, plus a few extra outlets so the space does not feel cramped electrically even if it was built compact.
Backyard offices. A detached home office needs reliable power for computers and monitors, good general lighting, and often a dedicated circuit for a space heater or mini-split, since these buildings can be poorly insulated compared to the main house. We also recommend planning for a data line in the same trench as the electrical feeder if remote work depends on a stable wired internet connection.
Workshops. Workshops carry the heaviest electrical demand of any detached structure. Table saws, welders, air compressors, and dust collection systems often need their own 240-volt or high-amperage 120-volt circuits, and we size the sub-panel with real headroom so tools are not competing for the same circuit. We also plan outlet placement around where tools and workbenches will actually sit, not just around the perimeter of the room.
Detached garages used as workshops or storage. When a detached garage is being wired for shop use rather than converted into living space, the same sub-panel and circuit planning applies, with attention to code-required GFCI protection for the garage environment. If you are instead planning to convert a detached garage into livable space, the electrical scope changes quite a bit, and we cover that in our guide to garage and basement conversion electrical wiring.
Load Calculations Matter More Than Guesswork
One of the biggest differences between a properly wired detached structure and one that causes headaches down the road is whether the electrical load was actually calculated or just estimated by eye. We look at every piece of equipment the space is expected to run, factor in whether items will run simultaneously or one at a time, and size the feeder and sub-panel to that real demand plus a reasonable margin for future additions. A workshop owner who adds a welder two years after the shop was wired should not have to trench a whole new feeder because the original sub-panel was sized with no room to grow.
Lighting, Outlets, and Climate Control Circuits
Once the sub-panel is in place, the rest of the wiring inside the detached structure follows familiar residential practices, with a few adjustments specific to standalone buildings. We typically recommend LED lighting on a dedicated lighting circuit separate from outlet circuits, so a tripped breaker on a power tool or space heater does not leave the whole space dark. General-purpose outlets are spaced to meet code and to match how the space will actually be used, and any circuit feeding a mini-split, window unit, or electric heater gets its own dedicated line sized to that equipment’s nameplate rating.
Safety Considerations: GFCI, AFCI, and Weatherproofing
Detached structures are held to some of the same protective standards as garages and outdoor spaces. Outlets are typically required to have GFCI protection, and depending on the use of the space and current code cycle, AFCI protection may apply as well. We also weatherproof any exterior connections, conduit entries, and outdoor-rated fixtures so moisture cannot find its way into the wiring, which matters even for a fully enclosed structure because temperature swings and condensation are real concerns in outbuildings that are not conditioned the same way as the main house.
Why Hire a Licensed Electrician for This Work
We hold CSLB #974530 and carry the insurance required to perform this type of work legally and safely in California. Detached structure wiring involves permitted trenching, sub-panel installation, and grounding and bonding work that goes well beyond what a general handyman or unlicensed installer should be doing. When this work is done incorrectly, the risks range from nuisance tripped breakers to a genuine fire or shock hazard buried in a wall or underground where nobody will see the problem until it fails. Hiring a licensed electrician also protects you if you ever sell the property, since unpermitted electrical work on a detached structure is exactly the kind of thing that surfaces during a home inspection and can hold up a sale.
Our Detached Structure Wiring Process
When a Temecula or Murrieta homeowner calls us about wiring a detached structure, we start with a site visit to look at the planned location, the distance from the main panel, and the intended use of the space. From there we put together a load calculation, recommend a sub-panel size, and map out the trench route. Once you approve the plan, we pull the necessary permits, schedule the trenching and rough-in, and coordinate inspections at each required stage. After the sub-panel and circuits pass final inspection, we walk through the finished space with you to confirm everything is labeled clearly and working the way you expected.
If you are planning a she-shed, studio, or workshop in Temecula or Murrieta and want to talk through what the electrical side of the project will involve, our team is ready to help. You can learn more about the full range of electrical services we offer, visit our homepage for an overview of our company, or reach out directly through our contact page to schedule a site visit.
Frequently Asked Questions About Detached Structure Wiring
Do I need a permit to run electricity to a detached shed or studio?
Yes. Any new sub-panel or permanent branch circuit feeding a detached structure requires an electrical permit and inspection in Riverside County. We handle the permitting and inspection scheduling as part of every detached structure wiring project.
Can I just run an extension cord to my she-shed instead of wiring it?
We do not recommend it. Extension cords are not rated for permanent, continuous use, they create a tripping hazard, and they cannot safely support the combined load of lighting, outlets, and equipment like a mini-split or power tools. A permanent circuit fed from a properly sized sub-panel is the safe, code-compliant option.
What is a sub-panel and why does my detached structure need one?
A sub-panel is a smaller electrical panel installed in the detached structure and fed by a feeder from your home’s main panel. It lets us run multiple individual circuits inside the structure without pulling a separate wire from the main panel for every outlet or fixture.
How far can a detached structure be from the house and still get power?
There is no fixed limit, but distance affects wire sizing and voltage drop. The farther the run, the larger the conductor typically needs to be to deliver full voltage to the sub-panel. We calculate the correct wire size for your specific distance during the site visit.
How deep does the trench need to be for underground wiring?
Trench depth depends on the type of conduit used and whether the trench crosses a driveway or other vehicle traffic area. We confirm the exact depth required for your project based on current code before any digging begins.
Do you use conduit or direct-burial cable for the underground feeder?
We typically install the feeder in rigid or schedule 80 PVC conduit. Conduit protects the conductors and makes it possible to add a data or low-voltage line later without trenching again, which is a common request from homeowners who later want networked cameras or internet access in the structure.
How big of a sub-panel do I need for a workshop?
It depends on the equipment you plan to run. We calculate the load based on your tools, lighting, and any dedicated 240-volt equipment like a table saw or welder, then size the sub-panel with headroom for future additions so you are not stuck rewiring later.
Can I add a mini-split or window air conditioner to my she-shed or studio?
Yes, and we recommend a dedicated circuit sized to the equipment’s nameplate rating rather than sharing it with general-purpose outlets. This keeps the unit running reliably and avoids nuisance tripped breakers.
Do detached structure outlets need GFCI protection?
In most cases, yes. Outlets in detached structures like garages, workshops, and outbuildings are generally required to have GFCI protection, and depending on the use of the space, AFCI protection may also apply.
What is the difference between wiring a she-shed and wiring a full workshop?
A she-shed or studio usually needs lighter general lighting and outlet circuits, while a workshop needs a larger sub-panel and often dedicated 240-volt or high-amperage circuits for power tools, compressors, and dust collection equipment.
Can I network internet or a security camera to my detached structure?
Yes. If you tell us in advance, we can run a conduit for a data line alongside the electrical feeder in the same trench, which saves you from digging a second trench later.
Will I need a new inspection if I add more circuits to my detached structure later?
Any new permanent circuit added after the original installation requires its own permit and inspection. This is another reason we size the original sub-panel with room to grow, so smaller future additions are easier to add.
How long does a typical detached structure wiring project take?
Timelines vary based on trench length, sub-panel size, and the number of circuits, and they also depend on permit and inspection scheduling with the local building department. We give you a project-specific timeline after the site visit.
Do you coordinate with my contractor if the detached structure is still being built?
Yes. When a detached structure project is part of a larger build, we coordinate our rough-in timeline with your general contractor so the electrical work happens at the right point in construction.
What happens if my existing detached structure was wired without a permit?
We can inspect the existing wiring and let you know whether it meets current code. Unpermitted work is common with older sheds and workshops, and it is worth having it checked, especially before selling the property, since it can come up during a home inspection.
Is a detached garage wired for tools different from one converted into living space?
Yes. A detached garage used as a workshop follows garage wiring rules with GFCI-protected outlets and equipment circuits, while a garage converted into livable space involves a different scope, including circuits suited for daily living use.
Do you serve areas outside Temecula and Murrieta for detached structure wiring?
We are a licensed electrical contractor based in Southwest Riverside County. Reach out through our contact page and we can let you know whether your location is within our service area for this type of project.
How do I get started on a detached structure wiring project?
The first step is a site visit so we can see the planned location, estimate the distance from the main panel, and talk through how you plan to use the space. From there we put together a load calculation, recommend a sub-panel size, and walk you through permitting before any work begins.