ROOFING & SOLAR

Do Solar Panels Make a Roof Hotter or Cooler?

Two opposite claims circulate about solar panels and roof temperature. One says panels trap heat against the roof and cook the attic. The other says panels shade the roof and cool the house. Both are usually asserted rather than measured.

Updated September 1, 2026 · Last fact-checked September 1, 2026 · By the Cali Energy team · Northridge, CA · CSLB #1032379 (B, C-10, C-39) — verify license

Two turbine ventilators and a dormer vent on a shingle roof, with the solar array running alongside them
Covina · composition shingle roof — Two turbine ventilators and a dormer vent on a shingle roof, with the solar array running alongside them. Cali Energy project photo.

Somebody measured it.

The study

Dominguez, Kleissl and Luvall published Effects of solar photovoltaic panels on roof heat transfer in Solar Energy 85 (2011), 2244–2255doi:10.1016/j.solener.2011.06.010.

The method was thermal infrared imaging on a clear April day, on the roof of the Powell Structural Systems Laboratory at UC San Diego — a building carrying both tilted panels and panels mounted flush to the roof, so both configurations could be compared against exposed roof on the same structure.

What the paper reports:

  • Daytime ceiling temperatures under the PV arrays were up to 2.5 K cooler — about 5 °F — than under the exposed roof. Note up to: this is a peak, not a constant offset.
  • Heat-flux modeling showed a significant reduction in daytime roof heat flux under the array.
  • At night the effect reverses. The ceiling under the panels was warmer than under exposed roof, which the authors attribute to the insulating behavior of the array.
  • Simulations — not measurements — indicated a 5.9 kWh/m², or 38 percent, reduction in annual cooling load for that building.
  • For the annual heating load, the simulations showed no benefit and no disadvantage.

So the honest answer is: cooler underneath during the day, warmer at night, and a modeled cooling-load saving for one specific instrumented building. Anyone claiming solar panels cut your winter heating bill is going beyond what this study found.

The honest limits of that finding

One instrumented building, in San Diego, over three days in April, in a research setting. It is a real measurement and it is peer-reviewed, which puts it well ahead of the marketing claims on either side — but it is not a promise about your house.

Several things vary: roof color and material, existing insulation, attic ventilation, duct location, the mounting gap, array coverage as a fraction of the roof, and the climate the building sits in. A dark, poorly ventilated attic under a mostly-covered roof will behave differently from a light roof with a small array.

Treat the direction as well-established and the magnitude as specific to that case study.

Why the gap matters — and why it is already there

The cooling effect depends on air moving between the panel and the roof surface. Shading alone helps; shading plus ventilation helps more, which is why the study found tilted panels outperforming flush ones.

Worth noting alongside this: California's model expedited screening checklist for residential flush-mounted arrays asks whether there is a gap of 2 to 10 inches between the underside of the module and the roof surface. That is one of the yes/no criteria a project must satisfy to move through expedited permitting without engineered calculations — it is not a universal requirement imposed on every installation in the state, and the document does not state a rationale for the range.

What it does mean in practice is that flush-mounted arrays going through that route are already built with a clearance in the range where air can move. The thermal benefit is a by-product of a dimension chosen for permitting purposes, not a design goal of it.

What the code requires of attic ventilation

Independent of any solar consideration, California Residential Code 2025, Section R806 sets the ventilation requirement for enclosed attics and rafter spaces.

  • The minimum net free ventilating area is 1/150 of the area of the vented space.
  • That may be reduced to 1/300 where both conditions are met: 40 to 50 percent of the required ventilating area is provided by ventilators located in the upper portion of the attic or rafter space, with upper ventilators no more than 3 feet below the ridge or highest point, measured vertically — and, in the colder climate zones, a Class I or II vapor retarder installed on the warm-in-winter side of the ceiling.

The logic behind the 1/300 allowance is that ventilation works best as a system: low intake at the eaves, high exhaust near the ridge, and a pressure difference driving air between them. Concentrating half the opening area high in the attic makes each square inch more effective, so less total area is needed.

Net free area is not the same as the size of the hole. A vent's net free ventilating area accounts for the screening, louvers and baffles that obstruct it — which is why the rated figure for a product is always smaller than its physical opening.

What that means in square feet

Take a 1,600 square foot attic.

  • At 1/150, the required net free ventilating area is 10.7 sq ft.
  • At 1/300, it is 5.3 sq ft — half as much.

The 1/300 figure is available only if 40 to 50 percent of that area sits in the upper portion of the attic, within 3 feet of the ridge. Most modern roofs are built to hit it: continuous soffit intake at the eaves, continuous ridge vent at the top.

Now put an array across the ridge line. If the layout obstructs the ridge ventilators, the upper-ventilator condition is no longer satisfied, the 1/300 allowance is lost, and the requirement doubles back to 10.7 sq ft — an area the existing soffit-and-ridge configuration was never sized to deliver on its own.

That is the mechanism by which a panel layout turns into a ventilation problem. Not because panels are hot, but because they can sit exactly where the code wants the exhaust.

Where panels and vents collide

This is the practical intersection, and it is a layout question rather than a physics question.

An array occupies roof plane, and roof plane is where the upper ventilators live. If a layout covers or obstructs ridge vents, or if conduit runs across intake paths, the ventilation system that the 1/300 allowance depends on can be compromised — and with it, compliance.

The code pushes in the same direction from the fire-access side. R329.6.1 requires that pathways be located in areas with minimal obstructions such as vent pipes, conduit, or mechanical equipment — which means a competent layout is already routing around vents.

Three things worth settling before the array is fixed:

  1. Where are the existing upper and lower ventilators, and what is their net free area?
  2. Does the proposed layout obstruct any of them, or the paths to them?
  3. If ridge ventilation is affected, is the ventilation being reconfigured as part of the work, and does the result still meet R806?

None of this is difficult. It is simply easier before the panels are on the roof than after.

The cool-roof connection: ventilation as a compliance route

Here the threads join, and this is the part that has money in it.

California's Energy Code brings a cool-roof requirement into play on many steep-slope re-roofs in Los Angeles: §150.2(b)1I applies where more than 50 percent of the roof is being replaced, and §150.2(b)1Ii then sets the values in climate zones 4 and 8–15. But Exception 1 to §150.2(b)1Ii treats four alternatives as equivalent, and two of them are attic measures:

  • a ceiling assembly with a U-factor of 0.025 or lower, or at least R-38 ceiling insulation;
  • a radiant barrier in the attic, not installed directly above spaced sheathing;
  • in Climate Zones 2, 4, 9, 10, 12 and 14 — buildings with no ducts in the attic;
  • R-2 or greater continuous insulation above or below the roof deck.

So reflectance, insulation and — in much of Los Angeles — the absence of attic ducts are three routes to the same compliance outcome. A household planning attic insulation alongside solar may find the cool-roof requirement already satisfied by that work.

Note that ventilation itself is not one of the four alternatives. R806 ventilation is a separate, mandatory requirement; it does not substitute for cool-roof compliance. What ventilation does is make the attic measures work properly — a radiant barrier in an unventilated attic is not doing its job, and neither is insulation under a roof deck that never sheds its heat.

What this means for a house

  • Panels shade the roof. On one instrumented building, daytime ceiling temperatures were up to about 5 °F cooler beneath the array, and simulations for that building indicated a 38 percent reduction in annual cooling load. Direction reliable; magnitude case-specific, and the cooling-load figure is modeled rather than measured.
  • The gap is doing work. The 2-to-10-inch clearance already required for structural and access reasons is what allows the cooling effect.
  • Ventilation is a code requirement in its own right — 1/150 net free area, or 1/300 with the upper-ventilator condition — and an array layout can undermine it if drawn carelessly.
  • Attic measures may double as cool-roof compliance on a re-roof, which is worth knowing before choosing a covering.

The array, the attic and the roof covering are one thermal system. They are usually specified by three different people who never speak to each other, which is where most of the avoidable cost sits.

Code references

Sections cited above, for readers who want to verify them directly in the code text.

  • California Residential Code 2025 (Title 24, Part 2.5), R806 — minimum net free ventilating area 1/150; 1/300 reduction conditions (40–50 percent upper ventilators, within 3 feet of the ridge; vapor retarder in applicable climate zones).
  • California Residential Code 2025, R329.6.1 — pathways located in areas with minimal obstructions such as vent pipes, conduit or mechanical equipment.

Frequently asked

Do solar panels keep a house cooler?

During the day, yes. Peer-reviewed thermal imaging at UC San Diego measured daytime ceiling temperatures up to about 5 °F (2.5 K) cooler beneath the array than under exposed roof, and simulations for that building indicated a 38 percent reduction in annual cooling load. At night the effect reverses and the ceiling under the panels is warmer — though the same simulations found no benefit and no disadvantage for the annual heating load. Magnitude depends on your roof, insulation, ventilation and how much of the roof the array covers.

Do solar panels make a roof hotter?

Not at the roof surface beneath them — that is the shaded area. Modules themselves get hot in operation and lose efficiency as they do, which is a separate matter concerning production rather than the building. The building's ceiling below an array measured cooler, not warmer.

Do panels block attic vents?

They can, if the layout ignores them. Upper ventilators near the ridge are exactly where arrays often want to sit. Check the location and net free area of existing vents before fixing a layout — the fire-access rules push the same way, requiring pathways clear of vent pipes, conduit and equipment.

How much attic ventilation does code require?

Net free ventilating area of 1/150 of the vented space, reduced to 1/300 where 40 to 50 percent of the required area is in the upper portion of the attic, with upper ventilators no more than 3 feet below the ridge. Net free area accounts for screens and louvers, so it is smaller than the physical opening.

Is a radiant barrier worth it with solar?

It can be, for a reason beyond comfort: where a steep-slope re-roof replaces more than 50 percent of the roof in a climate zone covered by the rule, an attic radiant barrier is one of four alternatives accepted as equivalent to a cool roof. If a re-roof is coming, that may make it a compliance decision rather than only an efficiency one.

Does ventilation satisfy the cool-roof requirement?

No. Attic ventilation under R806 is a separate mandatory requirement and is not among the four cool-roof alternatives. Insulation, a radiant barrier, R-2 continuous insulation and — in certain climate zones — having no ducts in the attic are the accepted alternatives.

Related reading

Sources & methodology

Check the vents before the layout is fixed

We can measure your attic's existing ventilation against the code requirement and against a proposed array layout, so panels and ventilators are settled together rather than discovered in conflict later.

Prepared by Cali Energy, September 1, 2026. This article is for general educational purposes only and is not legal, tax, financial, engineering, or utility advice. Rates, incentives, codes, permit requirements, equipment specifications, prices, and program terms may change; figures and timelines are estimates, not guarantees. Confirm current requirements with the applicable utility, AHJ, program administrator, manufacturer, or a licensed professional. See our Content Disclaimer. Cali Energy · 19201 Parthenia St, Unit E, Northridge, CA 91324 · CSLB #1032379 (B, C-10, C-39)