How Spray Foam Insulation Works
Two liquids meet at the tip of a spray gun, react, and grow 30 to 60 times their size in seconds. Here’s the actual chemistry, explained like you’re sitting at the kitchen table.
The short answer
How spray foam insulation works: two liquid chemicals — an isocyanate (“A-side”) and a polyol resin (“B-side”) — get mixed at the tip of the gun and react on contact. The reaction gives off heat and releases gas bubbles inside the mixture, and that gas is what makes the liquid expand to 30–60 times its original volume in under a minute, filling every gap, crack, and stud cavity it touches before it hardens into a solid, sealed skin.
That expansion is the whole point. It’s not just insulation like a fiberglass batt — it’s an air barrier, because it physically grows into and seals the gaps that air normally sneaks through.
How Spray Foam Insulation Works: The Kitchen-Table Version
Picture two cans of soda. One’s the “A” chemical, one’s the “B” chemical. The spray gun is a mixing nozzle that combines them right as they leave the tip, in a precise ratio, under pressure. The second they touch each other, they start reacting — not drying, reacting, like baking soda and vinegar, but with heat instead of fizz.
Within a few seconds the mixture turns from a thin liquid into a rising foam — think bread dough in a time-lapse video, except it happens in under a minute instead of hours. It climbs into every corner, around every wire and pipe, into every crack between the studs, then stops rising and firms up into a solid material that isn’t going anywhere. That’s it. No blowtorch, no curing oven, no magic — just two chemicals that are built to react the instant they meet.
The actual chemistry (for anyone who wants it)
The two components have real names, and every installer should know them cold:
| Side | What it is | Role in the reaction |
|---|---|---|
| A-side | Isocyanate (typically MDI) | The reactive chemical that bonds with the resin |
| B-side | Polyol resin blend, plus a blowing agent and catalysts | Supplies the plastic backbone and triggers the gas that expands it |
When the A-side and B-side meet at the gun tip, the isocyanate reacts with the polyol to form a polyurethane — the same family of plastic used in mattress foam and skateboard wheels, just formulated to expand and set fast. That reaction is exothermic, meaning it gives off its own heat as it happens; a freshly sprayed section of foam is genuinely warm to the touch for a few minutes. At the same time, the blowing agent built into the B-side turns to gas (in most modern formulations, that’s water reacting with isocyanate to release CO₂), and it’s that gas forming millions of tiny bubbles throughout the liquid that physically inflates it.
Installers track this reaction in three timed stages:
Cream time
A few seconds — liquid lightens and thickens
Rise time
10–15 seconds — the expansion itself
Tack-free time
30–60 seconds — surface stops being sticky
Get the ratio or the spray technique wrong and any of those stages goes off — the foam can under-expand, over-expand, or cure with a spongy, friable texture instead of a firm one. That’s why mix ratio and gun calibration matter more than almost anything else on a job.
Why 30–60x expansion actually matters
Open-cell foam expands the most — often 100x or more in ideal lab conditions, though field jobs typically land in the 30–60x range once you account for real-world stud cavities and spray angles. Closed-cell expands less dramatically, usually 20–30x, because it’s a denser, more tightly packed cell structure by design. Either way, that number is the whole reason spray foam behaves differently than every other insulation on the market.
A fiberglass batt is cut to a size and pressed into a cavity — it only insulates where it physically fits, and any gap around it (a wire run, a bent corner, a stud that’s not quite standard width) stays uninsulated and, worse, stays a path for outside air. Spray foam starts as a liquid, so it doesn’t have that problem. It fills the exact shape of whatever it’s sprayed into — every irregular gap, every wire penetration, every odd angle where two framing members meet — because it’s expanding into the space as a gas-filled liquid before it ever becomes solid. That’s not a marketing point, it’s a direct result of the chemistry: a batt is a solid shape you’re hoping fits; foam is a liquid that becomes the shape.
Why this makes it an air barrier, not just insulation
R-value measures how well a material resists heat moving through it. Air sealing is a completely separate job — stopping actual air from moving from one side of a wall or ceiling to the other. A material can have a great R-value and still be a lousy air barrier if it’s got gaps around its edges, which is exactly the situation with a lot of older fiberglass and blown-in jobs: the rated R-value on the bag looks fine, but the attic is still leaking conditioned air out through every gap the batt didn’t quite reach.
Because spray foam expands to fill the cavity it’s sprayed into and bonds directly to the framing on contact, it does both jobs in the same pass — insulating and sealing. That’s the real reason a spray foam attic or crawl space usually feels different within days, not just lower on a utility bill months later: it’s stopped the air leaks a batt was never built to stop.
Open-cell vs. closed-cell: same chemistry, different recipe
Both types start from the same A-side/B-side reaction. The difference is the blowing agent and formulation, which changes what the finished cell structure looks like under a microscope.
Open-cell
- ~0.5 lb/cu ft cured density
- Expands up to ~100x in ideal conditions
- Absorbs water — needs a dry, conditioned space
- Best for interior walls, attic rooflines
Closed-cell
- ~2 lb/cu ft cured density
- Expands roughly 20–30x
- Resists water — tolerates damp environments
- Best for crawl spaces, rim joists, exterior-adjacent framing
| Open-cell | Closed-cell | |
|---|---|---|
| Cell structure | Cells stay open and interconnected — softer, spongier | Cells collapse shut and pack tight — rigid, dense |
| Expansion | Higher (up to ~100x in ideal conditions) | Lower (roughly 20–30x) |
| Density when cured | ~0.5 lb/cu ft | ~2 lb/cu ft |
| Water resistance | Absorbs water — needs a dry, conditioned space | Resists water — tolerates damp environments |
| Typical use | Interior walls, attic rooflines | Crawl spaces, rim joists, exterior-adjacent framing |
Neither is “better” outright — it’s a moisture and location question, not a quality question. See our spray foam insulation services page for how foam type is matched to the specific space.
How it’s actually installed, step by step
The chemistry only works right if the setup and technique behind it are right too. Here’s what a proper install actually looks like:
Prep the space
Old insulation, debris, and anything not meant to be sprayed gets removed or masked off first.
Check temperature & humidity
The reaction is sensitive to ambient conditions — too cold, too humid, or too hot throws the ratio off.
Calibrate the rig
The proportioning machine is set and checked so A-side and B-side meter at exactly 1:1 by volume.
Spray in controlled passes
Foam goes on in thin, measured lifts rather than one thick pass, so trapped heat doesn’t scorch it.
Let each lift react and set
Cream, rise, and tack-free stages happen in under a minute per lift, watched for correct texture and color.
Trim and inspect
Foam past the framing line gets trimmed flush; the surface is checked for full, consistent coverage.
This is also why experienced installers matter more with spray foam than with most other insulation types — the chemistry is unforgiving of a bad ratio or a rushed pass, and a mistake gets sealed inside the wall where nobody sees it until there’s a problem.
Common questions
Curious how this applies to your attic or crawl space?
See what this looks like in your attic or crawl space
Estimate requests across Arkansas — a partner contractor can explain which foam fits your space and why.