Skip to content
Attic WISE, home page

Attic insulation before or after a roof replacement?

Short answer

Plan it before, finish it after. Decide the attic before the roofer orders materials, because in climate zones 4 and 12 an attic with R-38 is one way out of the cool-roof rule. Do eave baffles and vent changes while the roof is open, and blow in new insulation once the tear-off mess is over.

Guide · · 4 sources, listed below ↓

A reroof is the one time the attic is open from both sides. The roofer can reach the eaves, the decking and the vents from above, and whatever is in the attic is about to get a lot of dust and foot traffic. Getting the insulation, the vents and the roof to agree takes one conversation before the materials are ordered.

In two Bay Area climate zones there's a second reason to talk first: the cool-roof rule. This page covers that rule and its exceptions, then the order of trades for a reroof anywhere in the Bay Area.

The cool-roof rule, zones 4 and 12

California's 2025 Energy Code treats replacing a roof as an alteration. The Energy Commission's compliance manual is explicit about it: even switching a wood shake roof to asphalt shingles isn't a repair, because the roof surface is a component the code regulates (Example 9-14).

In climate zone 4, Cupertino, Milpitas, Mountain View, Palo Alto, San Jose, Santa Clara and Sunnyvale, and climate zone 12, Concord, Dublin, Livermore, Pleasanton and Walnut Creek, replacing more than half of a steep-sloped roof brings in the prescriptive cool-roof requirement. The manual's worked example puts the trigger at "50 percent or more of the roof area," so treat a roof right at half as covered. Steep-sloped means a pitch of 2 in 12 or more, which is most Bay Area houses with an attic.

A cool roof, in code terms, is roofing with a rated solar reflectance and thermal emittance. In practice that usually means a lighter color or a product made to reflect more sunlight, rated by the Cool Roof Rating Council. The roofer and the product label handle that side.

The four ways out on a steep-sloped roof

The manual's Example 9-16 lists the exceptions. Meet any one and the prescriptive cool-roof requirement is waived:

  1. At least R-38 ceiling insulation.
  2. An attic radiant barrier meeting the requirements of Section 150.1(c)2.
  3. No ducts in the attic, in climate zones 2, 4, 9, 10, 12 and 14.
  4. R-2 or more insulation above or below the roof deck.

Three of the four are about the attic, not the roof. That's why the attic belongs in the plan before anyone picks a shingle color. If your attic already has R-38, you may already be exempt; it has to be documented on the compliance paperwork, and the building department has the final word. If it's well short, topping it up gives you freedom of color, plus a better-insulated house. A radiant barrier is the other attic-side route, and it's often easiest to install while the decking is exposed or being replaced. The fourth exception, insulation on the deck itself, is the roofer's side of the job.

You can also show compliance through the performance approach, trading the roof against other features of the house. That's an energy consultant's calculation, not a rule of thumb.

Low-sloped roofs

Flat and nearly flat roofs, including many mid-century and Eichler-style houses, follow a different table: Table 150.2-E, which pairs aged solar reflectance with a roof-deck insulation R-value. The manual's Example 9-13 says those low-slope criteria apply to roof replacements in climate zones 4 and 6 through 15, and that a house with both kinds of roof meets each set on its own portion. Since low-slope houses often have no attic at all, the insulation there is roofing work, done on top of the deck.

What zones 2 and 3 don't have

The 18 cities in our service area that sit in climate zones 2 and 3, from Santa Rosa, Napa and San Rafael to San Francisco, Oakland, Fremont and Redwood City, have no steep-slope cool-roof requirement on a reroof. Choose the roof color you like. The order of trades below still applies, because the eaves, vents and insulation don't care what zone they're in. Not sure of your zone? The Title 24 page shows how to look it up.

The order of trades

This is the sequence that keeps anyone from undoing someone else's work.

Before the roofer orders materials

  • Measure the attic. Insulation depth and material tell you whether R-38 is already there. In zones 4 and 12 that number shapes the roof decision.
  • Decide on a radiant barrier, if you want one, so it can go in while the deck is accessible.
  • Find the leaks that matter. A roof leak that's been wetting insulation means that section comes out, and the replacement waits for a dry roof.
  • Agree on vents. Ridge and off-ridge vents are the roofer's; eave and gable vents are usually ours. Agree who supplies what and what the total vent area will be.

While the roof is open

  • Eave baffles. California's Residential Code requires that insulation not block eave or cornice vents, with at least 1 inch of space between insulation and roof sheathing at the vent. On low-pitched roofs, the eaves are the hardest part of the attic to reach from inside. With the roof off at the edges, baffles go in properly, and the attic can then take full-depth insulation right out to the walls.
  • Ember-resistant vents. If the vents are being touched anyway, it's the cheapest moment to fit ember-resistant vents or metal mesh, especially in the Bay Area's hillside and wildland-edge neighborhoods.
  • Ventilation balance. New ridge vents change how air moves through the attic. The attic ventilation page has the code math; the point here is to do it once, for the roof you're getting.

After the tear-off

  • Clean up what fell in. Tear-offs, especially on older roofs with spaced board sheathing, can drop debris and nails into the attic.
  • Air seal and insulate. Sealing the attic floor, then blown-in insulation to your target, with nobody walking across it afterwards. If R-38 is your cool-roof exception, finish before the reroof's final inspection so it can be documented.

Vaulted ceilings and exposed rafters

If part of the house has a vaulted ceiling with no attic above, a reroof may expose the rafter bays from above. The manual says that when a roof or ceiling surface is altered and the space between framing members becomes accessible, the ceiling is considered altered, and rafter roofs then have a mandatory minimum of R-19. Worth knowing before the decking goes back on, because that's the only time those cavities are open.

Solar on the roof

If panels are coming, the roof should come first. The Department of Energy notes that during a roof replacement, the solar panels and mounting system have to come off to complete the work, so a roof near the end of its life should be replaced before the panels go up. And in zone 12, the manual's Example 9-18 says an integrated photovoltaic roofing product still has to meet the cool-roof requirements, with only the active photovoltaic area exempt.

Next steps

If you have a reroof bid in hand, book a free inspection before you sign, or send us photos of the attic and the roofer's scope. Tell us your city and the roof's pitch, and we'll tell you what the attic can do for the roof decision and when we'd schedule around the roofer.

Questions people ask

Do I need a cool roof when I replace my roof in California?

It depends on your climate zone and roof. In the Bay Area, the 2025 Energy Code's prescriptive cool-roof requirement for steep-sloped reroofs applies in climate zones 4 and 12, when more than half the roof is replaced, unless an exception applies. Steep-slope reroofs in zones 2 and 3 have no cool-roof requirement.

What are the exceptions to the cool-roof requirement on a reroof?

For steep-sloped roofs, the Energy Commission's manual lists four: at least R-38 ceiling insulation, an attic radiant barrier meeting Section 150.1(c)2, no ducts in the attic (in zones including 4 and 12), or R-2 or more insulation above or below the roof deck. Low-sloped roofs follow a separate table.

Should attic insulation go in before or after a new roof?

Plan before, blow in after. The decisions about R-38, radiant barriers, baffles and vents need to be made before roofing materials are ordered. Loose fill goes in after the tear-off, so debris and foot traffic don't land on new insulation, and before the reroof is finally inspected if R-38 is your exception.

Is switching from wood shakes to asphalt shingles a repair?

No. The Energy Commission's manual answers this directly: replacing a component for which the Energy Code has requirements, such as the roof surface, is an alteration, not a repair. So the reroof rules for your zone apply.

Do I need to insulate if my rafters are exposed during the reroof?

If the roof or ceiling is opened so the space between the framing becomes accessible, the manual treats it as altered. Rafter roofs then have a mandatory minimum of R-19. That mostly affects vaulted ceilings and rooms without an attic above them.

Published by: Attic WISEUpdated:

Pages that pick up where this one stops.

  • Title 24 attic rules

    The attic insulation R-value California's 2025 Energy Code (Title 24) requires when you add or replace insulation in climate zones 2, 3, 4 and 12, and the R-38 rule.

  • Radiant barrier

    A reflective layer under the roof deck to turn back summer sun.

  • Blown-in insulation

    Fiberglass or cellulose, blown in to the depth written on your quote.

  • Attic ventilation & fans

    Intake and exhaust balanced, with a fan added where the attic needs one.

  • Ember-resistant vents

    Fine-mesh vents at the eaves and gables, ahead of fire season.

Let's go look at your attic.

Start with your ZIP code. A few questions later you'll have a Bay Area market range, and you can pick a time for a free inspection.

What happens next

  1. 1

    Price range online. The estimator gives you a Bay Area market range in a couple of minutes.

  2. 2

    Free inspection. In your home, or from photos or video you send if you'd rather skip the visit.

  3. 3

    Written quote. What comes out, what gets sealed, what goes in.

  4. 4

    Install day. Done by our own crews.

  5. 5

    Cleanup. Old material bagged and hauled away, the work area cleaned.

  • No deposit until you sign, and never more than 10% of the contract or $1,000, whichever is less.
  • Every customer gets five business days to cancel after signing.
  • Materials carry the manufacturer warranty.

Attic estimate

Question 1 of 5
1 · ZIP codeWhere's the attic?

Rather talk it through?(760) 655-5959