How to install solar panels over plumbing vents

To install solar panels on your house, you need a clear section of roof. Unfortunately, obstructions like plumbing vents can get in the way. You can give up the space, but there are solutions.

Photo of house with solar panels.

That’s my house in the photo above. As you can see, it’s got a nice, neat array of solar panels except for one spot where a pipe is sticking out. Darn it!

My array doesn’t cover all of my electricity needs, so having one more panel would have been nice. Plus, it would simply look better if there wasn’t a gap in the array.

I wasn’t a solar nerd back when I had my solar installed, and I’ve learned a few things that might help you if you’re facing a similar situation.

Roof vents, plumbing stacks, skylights, and other impediments to installing solar panels

A house has a lot of working components: heating, cooling, plumbing, and ventilation, for example. Many of these things use space on your roof for ventilation. For example, an unfinished attic requires ventilation to remove moisture. Plumbing requires air to allow water to move freely into drain pipes. Kitchen fans, bathroom fans, and furnaces might vent their exhaust gases through a pipe in the roof too.

Along with skylights, you might encounter some or all of these components on your roof. An otherwise uninterrupted surface for solar panels might be dotted with several protrusions, reducing the number of panels you can fit on your roof.

There isn’t a solution for all cases, but when it comes to roof vents and plumbing stacks, you do have some options.

Installing solar panels on top of plumbing vents

A plumbing vent is a small pipe that allows air to enter drain pipes or sewer gases to escape. They are small, usually between 1-1/4 to 4 inches in diameter.

Local plumbing codes will dictate how high above the roof surface the vent must rise. A common requirement is that the pipe must rise six inches above the roof. For example, California Plumbing Code section 906.1 states that “Each vent pipe or stack shall extend through its flashing and shall terminate vertically not less than 6 inches (152 mm) above the roof”.

In snowy climates, it’s common for the requirement to be six inches higher - that is, a full foot above the roof.

If you happen to live in a municipality without any such code, it may be possible to install solar panels right on top of your plumbing vent. A rack of solar panels sits about 5 inches above the roof surface. Where permitted, the vent pipe can be cut down to just a few inches above the roof surface so that it can sit in the space underneath the panels.

That doesn’t mean it’s a good idea. The International Association of Plumbing and Mechanical Officials (IAPMO) works to bring uniform guidelines to plumbing in the US and internationally, and it’s this guidance that California and other codes are based on.

Diverting vent pipes: exceptions to the 6-inch rule

IAPMO does make an exception to the 6-inch rule for vent pipes that are 1-1/2 or 2-inches in diameter. For these smaller pipes, it’s permissible to divert the pipes around solar panels.

If a pipe that’s giving you trouble is of a smaller diameter, you can use a product called the Solar Roof Jack to divert it so that it terminates either in the gap between two solar panels or at the edge of the array. The installed product looks like this:

Solar Roof Jack
Solar Roof Jack

A single Solar Roof Jack currently lists for $65 on their website, so it’s not a very expensive solution. The Jack includes flashing to ensure that the installation remains watertight.

Per IAPMO guidelines, this type of diversion is allowed only for pipes 2 inches in diameter and smaller.

If your solar installer isn’t aware of the guidelines allowing these pipes to be diverted, you can point them at IAPMO IGC 339‐2016.

You can’t install solar panels over exhaust vents

When it comes to exhaust vents, such as those for bathrooms and kitchens, you unfortunately can’t install solar panels over them. Condensation would be detrimental on the rear of the panels, where wiring and electronics like microinverters and power optimizers are mounted.

If you have exhaust vents, unfortunately your only options are to install your solar panels around them, or pay to have the vents moved.

The cost of relocating a roof vent

According to, the average cost of installing a roof vent is between $300 and $550.

If you’re relocating an existing vent, there are additional costs because the old vent hole must be patched and make waterproof.

If you’re redoing your roof, consider a ridge vent

The best time to install solar panels is when your roof is new. If you’re thinking of having your roof redone, you should talk with your roofer about how to minimize the number of obstructions on the roof. One method is to use a ridge vent instead of box vents.

A ridge vent is installed along the peak of a roof, where it won’t interfere with solar panels. These can take the place of bulkier box vents. Check with your roofer to ensure that this type of vent is appropriate for your attic.

#Roofing #Racking Systems

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:

How are solar panels installed on a roof?

Depending on the type of roof you have and aesthetic considerations, there are different ways to mount solar panels on your roof. Here's an overview of the choices.

Can solar panels be installed on a flat roof?

Some homes and many businesses have flat roofs. Solar panels can absolutely be installed on these, but it requires a different kind of racking system.

Can you install solar panels on a tile roof and avoid leaks?

Tile roofs, popular in the southwest, are the hardest for solar installers to work with. Here’s how to avoid a shoddy install that ends up leaking years later.

Can solar panels be mounted on a metal roof?

Metal roofs are durable, low maintenance, and they look great. But can you mount solar panels on them?

Will installing solar panels void my roof warranty?

Getting a 25 year warranty with your roof is typical, but what happens when your solar contractor drills dozens of holes to install a solar panel system?

Did solar panels cause your roof to leak?

Do you have a solar home with a leaky roof? It's possible that a bad solar installation in the reason. Here's how to investigate it.

Reinforcing a roof for solar panels: needed or not?

Solar panels don't actually weigh that much, but that weight can still be too much for some roofs and require structural support. Here's what to know.

When is a roof too steep for solar panels?

If your house has a steep roof, solar installation crews might have difficulty or not be able to work on your roof at all. This article explains why.

Strong winds and home solar panels: installation best practices

Solar panels are designed to withstand severe wind, including hurricanes. Here's some guidelines to help ensure that your installation stays safe and secure.