Skip to content
Attic WISE, home page

Spray foam insulation, where it earns its place

Short answer

Spray foam is insulation sprayed on as a liquid that expands and hardens, sealing air leaks as it insulates. It costs more per square foot than blown-in, so in a typical vented Bay Area attic it's used where it does something nothing else can: rim joists, vaulted ceilings, rooflines and awkward cavities. Open-cell and closed-cell foam do different jobs.

What spray foam is, and the two kinds

Spray foam starts as two liquids mixed at the tip of a spray gun. It goes on wet, expands within seconds and hardens in place. Because it sticks to whatever it hits and fills every crack as it expands, it insulates and air-seals in one pass, which is the whole appeal.

There are two kinds, and they're not interchangeable:

  • Open-cell foam is soft and spongy, expands a lot and lets water vapor pass through. It's the lower-cost foam per square foot and it fills irregular cavities well. It also dampens sound.
  • Closed-cell foam is dense and rigid. It packs more R-value into each inch, slows water vapor and adds some stiffness to what it's sprayed on. It costs more per square foot, and it's the one to use where space is tight or moisture is a concern.

The choice comes down to where the foam is going and what it has to do there, not which one sounds better.

Where foam makes sense in a Bay Area house

Rim joists over a crawl space. The band of framing that sits on top of the foundation is full of corners, wires and pipes, and batts never fit it well. Closed-cell foam seals and insulates it in one go, and it's a natural add-on to crawl space and underfloor insulation.

Vaulted and cathedral ceilings. In hillside homes and remodels with vaulted ceilings, the rafters are the only place for insulation and the space between them is shallow. When a rafter roof or cathedral ceiling is opened up, the 2025 Energy Code sets a mandatory minimum of R-19 there. Closed-cell foam can reach that in depths where batts struggle.

Kneewalls and bonus rooms. Rooms over a garage or tucked under a sloped roof have short walls and angled ceilings that leak air and are hard to insulate any other way.

Unvented attic conversions. Foam goes on the underside of the roof deck instead of the attic floor, so the attic and its ducts end up inside the insulated house. It's a design project, not a product swap; see our unvented attic conversion guide.

Open walls during a remodel. When the drywall comes off for a kitchen remodel or a garage being turned into living space, the stud bays are open for a few days before new drywall goes up. That's the one time foam can go into a wall without drilling. Open-cell fills the bays and quiets the room; closed-cell earns its higher price on exterior walls where the framing is shallow. For walls that are staying closed, see existing-wall insulation instead.

Small awkward gaps. For gaps between a quarter inch and about 3 inches during air sealing, ENERGY STAR's guide calls for expanding foam from a can. That's the small-scale version of the same idea.

Spray foam vs blown-in for an open attic

On an ordinary vented attic floor, the comparison is mostly about money and what you're trying to fix. Blown-in reaches the code's R-49 target on an open floor for a fraction of foam's price, and with the gaps sealed underneath first it does the same job. Foam's strengths, sealing and insulating in one pass and packing R-value into a shallow space, matter where there's no room for 16-odd inches of loose fill or where the insulation has to move to the roof deck. So the answer for most Bay Area attics is blown-in on the floor plus air sealing, and foam for the rim joists, vaulted ceilings and kneewalls where loose fill can't stay put.

Where it doesn't

  • An open, vented attic floor. As above: blown-in insulation does that job for much less.
  • Rodent holes. Rats chew through foam. Entry points need metal: see rodent proofing.
  • Flat roofs with no attic. Most Eichlers and other mid-century flat-roof homes have no attic at all; the roof deck is the ceiling. The Eichler Network notes the original roofs had under an inch of insulation, and the fix is foam or rigid board added on top of the deck during a reroof. That is roofing: California's license classification for roofing explicitly includes urethane foam. We don't do roofing work, so that one belongs to a roofer.

How we do it

  1. Inspect and measure. What's being sprayed, how much surface there really is (a roof deck has more area than the floor under it), moisture, wiring and what's in the way.
  2. Pick the foam and the thickness for the R-value the space needs, and write both on the quote, along with what happens to existing insulation and vents.
  3. Prep. Mask and cover what shouldn't get foam on it, and set up ventilation for the work area.
  4. Spray in passes, trim where it needs to be flush, and clean up.
  5. Re-entry. The house stays clear during spraying and for the re-entry time the manufacturer sets for that product.

What affects the price

Here is what published price lists and cost guides show for spray foam insulation, and what pushes a job toward the low or high end.

Bay Area market range

Bay Area sources

Collected October 14, 2026

$1.50–$7.00

per sq ft sprayed, installed

Typical job
$1,500–$7,0001,000 sq ft of sprayed surface (a roof deck is larger than the attic floor under it; the inspection measures it).
By scope
  • Open-cell foam$1.50–$3.50 per sq ft
  • Closed-cell foam$3.00–$6.50 per sq ft

How the range was set

Lowest and highest figures on three Bay Area price lists: $1.50 (open-cell) to $7.00.

These are ranges Bay Area contractors and cost guides publish. They are not an Attic WISE price list: the written quote after the inspection is the number that counts.

What moves the number

  • Open-cell versus closed-cell foam, and the thickness needed for the target R-value.
  • Surface area: spraying the underside of the roof deck covers more area than the attic floor.
  • Prep and masking, and removal of old floor insulation when the attic is converted to an unvented design.
  • Minimum job fees: national guides report $1,000–$2,000 or more for small spray foam jobs.

Keep in mind

  • Unvented-attic conversions involve design and code questions that a per-sq-ft range does not capture.
Where these numbers come from 5 published pages, listed here and on the cost page.

Every price source, on the cost page

Safety: re-entry time, coverings and old wiring

Spray foam gives off fumes while it's being applied and while it cures, and each manufacturer's instructions say how long people should stay out afterward. That time varies by product, which is why we give you the re-entry time for the specific foam on your quote and ask that people and pets be out of the house until it has passed.

Foam plastic generally has to be covered or coated where it's exposed, under the building code, and what that means depends on where it is: a living space, an attic you walk into, or a crawl space. That's part of planning the job, not an afterthought.

And as with every insulation job, foam doesn't go over live knob-and-tube wiring. If your house has it, the next call is to an electrician; see the knob-and-tube guide.

Questions people ask

Is spray foam worth it for an ordinary Bay Area attic?

Usually not for the whole thing. In a vented attic with an open floor, blown-in insulation reaches R-49 for a fraction of the cost of foam, and air sealing handles the leaks. Foam makes sense in the spots blown-in can't reach or can't hold: rim joists, vaulted ceilings, kneewalls, and attics being converted to sit inside the insulated part of the house.

Open-cell or closed-cell: which one do I need?

It depends on where it goes. Open-cell foam is soft, light and lets water vapor through, and it's the lower-cost choice for filling interior cavities. Closed-cell foam is dense and rigid, packs more R-value into each inch and slows vapor, so it suits shallow rafters, rim joists over a crawl space and anywhere moisture is a concern.

Can you spray foam under my Eichler's flat roof?

Most Eichlers and other mid-century flat-roof homes have no attic: the roof deck is the ceiling you see from inside. Insulating them means adding foam or rigid board on top of the roof deck during a reroof, which is roofing work. We don't do roofing, so a roofer is the right call for that.

How long do I need to stay out of the house after spray foam?

Each product's manufacturer sets a re-entry time, and it varies by product, so we'll tell you the one for the foam on your quote. Plan to be out of the house while spraying happens and for that period afterward, with the work area ventilated.

Will spray foam keep rats out?

No. UC's pest management program notes that rats chew through foam, and lists expanding foam among the materials that don't stop house mice. Rodent entry points need metal: hardware cloth, sheet metal or packed metal mesh. Foam can finish a repair, but it isn't the barrier.

Sources

  1. 2025 Single-Family Residential Compliance Manual (CEC-400-2025-005), California Energy Commission (opens in a new tab)
  2. Description of Classifications, Contractors State License Board (opens in a new tab)
  3. Roof insulation, Eichler Network (opens in a new tab)
  4. Rats: Pest Notes, UC Statewide Integrated Pest Management Program (opens in a new tab)
  5. Attic Air Sealing Project, ENERGY STAR (opens in a new tab)
  6. Basement and Crawlspace Air Sealing and Insulating, ENERGY STAR (opens in a new tab)

Published by: Attic WISEUpdated:

Attic work comes in combinations. These are the ones that usually share a visit with this one.

  • Crawl space & underfloor insulation

    Insulation between the floor joists, plus a vapor barrier over the soil.

    Where: Crawl space

  • Blown-in insulation

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

    Where: Attic floor

  • Air sealing

    Top plates, wire holes, light cans and the hatch, sealed before new insulation covers them.

    Where: Attic floor

  • Radiant barrier

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

    Where: Roof deck

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