Can you install solar panels on a detached garage or shed?

Most solar homeowners use the roof of their home for solar panels, but sometimes a detached garage or even a shed is a better choice.

A photo of a garage

The average size of a home solar installation in the United States is around 6 kilowatts, which is about 17 high efficiency premium solar panels, or more if you go with a cheaper panel.

That many solar panels takes up a lot of space, and you would need a large available roof area to accommodate them. But sometimes, your roof might not be ideal for solar. It might be oriented east-west (which generates less power than a north-south orientation) or, more commonly, you might have shading from nearby trees or buildings.

You can’t exactly demolish a neighboring building that is inconveniencing you, and you can’t always cut down nearby trees either. Does that mean that you have to give up on solar if the roof of your house isn’t going to work?

Not necessarily. If you have a detached garage it’s definitely possible to install a grid-connected solar system on its roof. You could even make use of a smaller shed, but usually only if you plan to install a smaller off-grid system. The factors to consider include the available square footage, whether the roof is engineered to support the load, and the cost and logistics of running electrical conduit back to your main home and its electrical panel.

This can be more costly than installing solar on your main home, so we’ll discuss the pros and cons in this article.

Why would you consider using your garage for solar panels?

Even if you live in a very sunny climate, solar won’t work on a site that has severe shade. While partial shading is common in many home installations and can be mitigated to some degree with equipment choices such as half-cut solar cells and microinverters, heavy shade can restrict your solar production to the point where it’s uneconomical to install solar.

But what if you have a detached garage with a south-facing roof that doesn’t get any shade? That might be a great solution for you, but only if the factors are right.

Your garage roof will need enough space for your array

Normally, the roof of a detached garage will offer smaller square footage than your house, so you might run into the problem of not having enough room to install as many panels as you want. There are two possible solutions to this:

  1. Install some panels on your garage, and some on your house. If part of the roof of your house is sunny enough for solar panels, you could split the array up. Some panels could go onto your house, and the rest could go on the house. This makes for a more complex (and more expensive) installation, because you will need to install racking and wiring onto two structures, and get engineering reviews and permits for both. Still, even though this makes your project more complicated, it could make a solar array feasible that otherwise wouldn’t work.
  2. Use high efficiency solar panels. A better solution is probably to use the highest efficiency solar panels possible. With high efficiency panels, you need less square footage to generate the same amount of electricity. Solar cells continue to get more powerful, and currently you can get solar panels that are nearly 23% efficient. You can read our article on high efficiency solar panels to learn about the manufacturers that are making the most efficient panels.

An engineering review is normally required

Every municipality has different regulations, but to have solar panels installed on your roof, a review from a structural engineer is normally required. Solar panels and their racking can weigh a lot, and an inspection by an engineer assures that the roof can support the additional load.

If you want to install solar on your garage, it will be subject to the same regulations. Your garage might not be built to the same standard as your house, so it’s even more important to have an engineer do an inspection. You wouldn’t want to wake up one day to find that your solar array has crashed through the roof onto your car, or flown off in the wind and crashed in a neighbor’s yard.

Your solar installer will take care of completing any required permits and engineering reviews.

Roof space and fire setbacks

You might take at look at your garage roof and think “Looks like plenty of space up there!” but in many municipalities there are fire setback codes that prevent you from installing solar panels right to the edge of the roof.

Fire setbacks exist to allow space for a firefighter to work in the event of an emergency. For example, in California, a fire setback of 36 inches is required. This can make a small garage roof even smaller for solar panels.

You can read our article on fitting solar panels to your roof to learn more. Check with your solar installer to find out more about your local regulations.

Where will electrical conduit go?

Your detached garage may already have an electrical run going to it (such as to power a garage door opener and lights). Often, this will be a buried conduit. If you place solar panels on your garage for a grid-tied system, you will need another conduit running to the main panel in your home, which will carry the electricity that your solar panels generate.

Depending on the distance and complexity of that conduit run, this can get expensive. Obstructions like a patio or swimming pool make things more complicated compared to a backyard of grass. Be prepared for this to drive up the cost.

The advantages of an off-grid DIY solar array for your garage or shed

One reason why you might want to install solar panels on a garage or shed is to provide power to a structure that doesn’t already have it. As mentioned above, the cost of running electricity to a backyard structure can get expensive - potentially thousands of dollars.

If all you want is to have enough power to run some lights, a garage door opener, and maybe some power tools, an off-grid solar array with a battery might be a cheaper option than paying an electrician to run grid power to the building.

A small off-grid solar panel system will consist of some panels, wiring, a battery charge controller, a battery, and an inverter. You can check out our article on solar panel kits for some recommendations. Most of these kits are designed for RVs, but can be made to work for a garage by adding a lead-acid battery and an inverter to convert DC to AC power so that you can run common household appliances and tools.

The great thing about these kits is they only involve a couple panels so you’re dealing with low voltage DC power. They’re simple enough that if you know how to work a power drill and are comfortable on a ladder, you probably have the skills to make this a DIY project.

An off-grid system like this is probably your only option if all you have is a fairly small structure, like a shed. This is not just because of the small size, but because the structure won’t be up to the code standard required for a grid-tied system. But even a small shed should be strong enough for a couple panels, which are less than 50 pounds each. Racking adds some additional weight, but it usually is made of lightweight aluminium.

To learn more about the components of an off-grid system, check out the article on kits mentioned above and our article on solar panels for RVs. While the article is aimed at campers, the components mentioned - charge controllers, batteries, and inverters - are part of any off-grid solar system.

Not sure whether to install solar on your house or garage?

Check out The Solar Nerd calculator to get a quick assessment of how different amounts of shading will impact your solar energy generation. If you play around with different values for shading, you’ll see how much electricity generation you can lose if surrounding trees or buildings block the sun.

But sometimes, it’s not obvious that you have a shading problem. If you’re not sure, connect with a high quality solar installer. They’ll use up-to-date satellite images or an onsite visit to do an analysis of your roof and make a prediction that will tell you how much electricity you can expect to generate in an average year.

#DIY #System Design

Save 30% or more on home solar with current incentives

Photo of a solar home.

Use our calculator to get a financial payback and solar performance estimate customized to your home, including federal, state, and local incentives.

When you’re ready, fill out our form to get a home solar quote from a local SunPower installer.

Related stories:

Home solar offset: what's a good number?

Adding solar panels to your house will offset your electricity usage - but what does that mean exactly?

Can you put solar panels on a north facing roof?

If your only sunny section of roof is angled toward the north, solar panels still might work for you.

Can I expand my existing solar system by adding more panels?

Homeowners with an exiting solar array sometimes want to add more panels to generate more electricity. Here's the different ways it can be done.

How many solar panels are needed to run a 4,000 square foot or larger house?

If you have a very large house, this article will tell you how many solar panels you need to power it.

How many solar panels are needed to run a 1,500 square foot house?

Do you have a pretty small house? Thinking of going solar? Here’s many solar panels you might need.

PWM vs MPPT: solar charge controllers compared (plus recommended models)

If you want to use solar panels to charge a mobile battery bank, you need a charge controller. Here's a guide to the different types and how to choose the right one for you.

How many solar panels are needed to run a 3,000 square foot house?

If you have a large house, this article will tell you how many solar panels you need to power it.

How many solar panels are needed to run a 2,500 square foot house?

If you have a medium size house, this article will tell you how many solar panels you need to power it.

Can I face my home solar panels east?

If you only have an east-facing roof that gets good sunshine, should you still go solar?