How To Wire A Subpanel In A Detached Garage

Okay, so picture this: It's a Saturday. Sun's shining (probably lying, it was probably overcast), and I'm finally ready to tackle the project I've been putting off for, oh, about six months. Building a proper workshop in my detached garage. I had grand visions – a table saw that could rip through oak like butter, a dust collection system that would make my lungs sing, and enough outlets to power a small city. The problem? My garage was running off a single, pathetic 15-amp circuit that barely powered a lightbulb, let alone my power tools. So, yeah, the dream needed a serious upgrade. That's when I knew: I needed a subpanel. And that's where the fun – and by "fun," I mean meticulously researching, triple-checking, and sweating profusely – began. If you're in a similar boat, staring at your underpowered garage and dreaming of power tool glory, you've come to the right place.
This isn't a substitute for a licensed electrician, mind you. If you're at all uncomfortable working with electricity, call a professional. Seriously. Electricity is not something to mess around with. But, if you're a reasonably handy person with a good understanding of electrical safety and local codes, this guide should give you a solid overview of how to wire a subpanel in a detached garage. Consider this a friendly roadmap, not a definitive set of instructions.
Before You Even Think About Touching a Wire: Planning & Safety First!
Seriously, this is the most important part. Don't skip this section. I know, I know, you're eager to get started, but planning is key. Imagine skipping this and then you find out later that you bought the wrong type of wire? Or worse, you accidentally overload something? Nightmare!
Must Read
1. Check Local Codes and Permits
This is where the “fun” really begins. (See? I use that word ironically. A lot.) Before you even think about buying any materials, check your local electrical codes and permitting requirements. Some areas require permits for any electrical work beyond replacing a light fixture. Others may have specific requirements for wiring detached garages. Ignoring these regulations can lead to hefty fines and forced rework. Don't be that person. Contact your local building department or electrical inspector. They're there to help (sort of... sometimes...).
2. Calculate Your Power Needs (The "Load Calculation")
This is crucial. You need to figure out how much power you'll actually need in your garage. Think about all the tools and equipment you'll be using simultaneously. Here's a basic approach:
- List all appliances and tools: Make a comprehensive list of everything you plan to plug into the subpanel. Include things like lights, power tools, compressors, welders, heaters, etc. Don't forget those little things like a radio!
- Determine the wattage or amperage: Check the nameplate on each appliance or tool to find its power consumption in watts (W) or amps (A). If it's listed in amps, you can convert it to watts using the formula: Watts = Volts x Amps (assuming a standard 120V circuit).
- Calculate the total load: Add up the wattage of all the devices you anticipate running at the same time. This is important. You don't need to add up the wattage of everything, just the stuff you'll realistically use simultaneously. Be realistic.
- Add a safety margin: Increase the total load by 25% to account for future expansion and to prevent overloading the subpanel. Overloading is bad. It can lead to tripped breakers, overheating, and even fires.
Let’s say you calculate your total load (with the safety margin) to be 6000 watts. At 240 volts, that's about 25 amps (6000 watts / 240 volts = 25 amps). This means you'll need a subpanel with a breaker rating of at least 30 amps. (Always round up to the next available breaker size). Important: This is a simplified example. Consult an electrician if you're unsure about your load calculation.
3. Safety Gear is Non-Negotiable
This isn't optional. Get yourself the following:

- Safety Glasses: Protect your eyes from flying debris.
- Insulated Gloves: Rated for electrical work. These are your first line of defense against shocks.
- Voltage Tester: To ensure circuits are de-energized before you touch them. Seriously, double-check. Triple-check.
- Proper Footwear: Rubber-soled shoes or boots to insulate you from the ground.
And, just to reiterate: Turn off the power at the main breaker before you start working. Then, double-check with your voltage tester. It's better to be paranoid than electrified.
Gathering Your Supplies: What You'll Need
Okay, now that you've planned everything out and you're properly equipped, it's time to hit the hardware store. Here's a list of the essential materials:
- Subpanel: Choose one with enough breaker slots to accommodate your current and future needs. Err on the side of more slots. You don't want to be adding another subpanel in a year because you underestimated.
- Main Breaker for the Subpanel: The size of this breaker should match your load calculation.
- Breakers for Individual Circuits: Choose the appropriate amperage rating for each circuit based on the appliances or tools you'll be powering.
- Wire: This is a big one. You'll need the correct gauge and type of wire for the feeder circuit (the wire running from your main panel to the subpanel) and for the branch circuits (the wires running from the subpanel to the outlets and lights). Copper is generally preferred, but aluminum can be used in some situations (check local codes!).
- Conduit: To protect the wires running between your main panel and the subpanel. PVC conduit is a common choice.
- Connectors and Fittings: To connect the conduit to the panels and to make secure wire connections.
- Grounding Electrode (Ground Rod): You'll likely need to drive a ground rod into the earth near your garage and connect it to the subpanel for proper grounding.
- Ground Wire (Bare Copper): For connecting the ground rod to the subpanel.
- Wire Connectors (Wire Nuts): For making secure connections between wires.
- Electrical Tape: For insulating wire connections.
- Cable Staples or Clamps: To secure the wires to the walls or framing.
- Screws, Bolts, and Other Hardware: For mounting the subpanel and securing the conduit.
- Tools: Wire strippers, pliers, screwdrivers, a drill, a hammer, a level, a conduit bender (if you're using rigid conduit), and a voltage tester.
Pro Tip: Take your load calculation and your list of appliances to a reputable electrical supply store. They can help you choose the correct wire sizes and breaker ratings.
The Actual Wiring: A Step-by-Step Guide (With Warnings!)
Okay, deep breath. This is where things get real. Remember, safety first! Turn off the power to the main breaker before you start working on either panel.

1. Install the Subpanel
Choose a suitable location for the subpanel in your garage. It should be easily accessible and mounted securely to a wall or framing member. Use a level to ensure it's plumb. Nobody likes a crooked subpanel. It just looks... wrong.
2. Run the Conduit
Plan the route for the conduit that will carry the wires from your main panel to the subpanel. The shortest, straightest route is usually the best. Secure the conduit to the walls or framing members using conduit straps or clamps. Be sure to follow local codes regarding burial depth if you need to bury the conduit. You don't want to accidentally dig it up later while planting a rose bush. (Trust me, I've seen it happen.)
3. Install the Ground Rod
Drive the ground rod into the earth near your garage. It should be driven deep enough so that at least 8 feet of the rod is in contact with the soil. Connect the ground wire to the ground rod using a grounding clamp. This is your connection to mother earth, making sure all your electrical stuff stays safe.
4. Run the Wires
Now, carefully pull the wires through the conduit from the main panel to the subpanel. You'll need at least four wires:

- Two Hot Wires (Usually Black and Red): These carry the 240V power.
- One Neutral Wire (Usually White): This provides the return path for the current.
- One Ground Wire (Bare Copper or Green): This provides a safe path for fault current to ground.
Important: Use the correct wire size for the amperage of the circuit. Undersized wires can overheat and cause a fire. It is also good practice to label these wires as you go with some electrical tape. It'll make your life easier later.
5. Connect the Wires to the Main Panel
Turn off the main breaker (if you haven't already!). Carefully connect the wires to the appropriate terminals in the main panel. Double-check your connections to make sure they're tight and secure. Loose connections can cause arcing and overheating. This is also a good time to make sure you are wearing your safety gear. Just in case!
- Connect the hot wires to the main breaker you're using for the subpanel feed.
- Connect the neutral wire to the neutral bus bar.
- Connect the ground wire to the ground bus bar.
6. Connect the Wires to the Subpanel
Now, connect the wires to the appropriate terminals in the subpanel. Again, double-check your connections.
- Connect the hot wires to the main breaker in the subpanel.
- Connect the neutral wire to the neutral bus bar.
- Connect the ground wire to the ground bus bar. Important: In a subpanel in a detached garage, the neutral and ground bus bars should be separate. Do not bond them together. This is different from how they're connected in the main panel.
Once again, you really want to double check your connections. Remember your labels.

7. Wire the Branch Circuits
Now, you can wire the individual circuits for your outlets, lights, and appliances. Run the appropriate size wire from the subpanel to each outlet or light fixture. Connect the wires to the breaker in the subpanel, the outlet or light fixture, and the ground wire to the grounding screw in the outlet box. Follow proper wiring techniques and local codes. Use wire nuts to make secure connections and secure the wires to the walls or framing members using cable staples or clamps.
8. Test Everything!
Before you energize the subpanel, double-check all your wiring. Make sure all connections are tight and secure, and that there are no exposed wires. Then, turn on the main breaker in the main panel. Finally, turn on the main breaker in the subpanel. Use a voltage tester to verify that the outlets and light fixtures are receiving power. If everything seems to be working correctly, you can start plugging in your appliances and tools.
If you notice anything unusual (e.g., flickering lights, buzzing sounds, tripped breakers), turn off the power immediately and investigate. Don't ignore potential problems. It's better to be safe than sorry.
Final Thoughts: You Did It! (Maybe...)
Wiring a subpanel in a detached garage is a challenging but rewarding project. It can significantly increase the usefulness of your garage and make your workshop dreams a reality. But, it's essential to approach this project with caution and respect. If you're unsure about any part of the process, call a licensed electrician. It's better to pay for professional help than to risk your safety or damage your property.
And hey, if you do manage to pull this off without electrocuting yourself or burning down your garage, congratulations! You've earned bragging rights (and maybe a cold beer). Now go build something awesome! Just remember to turn off the power before you start working on it. 😉
