Short answer
In a new build, spray foam goes in after the house is dried in and the plumbing, HVAC and electrical rough-ins have passed inspection, and before the insulation check and drywall. The framing has to be dry, typically 19% moisture content or less (some manufacturers say 18%), the surfaces have to be within the foam's temperature range, and other trades need to stay out while the foam is sprayed.
Key points
- The order is: dried-in shell, rough-ins, rough-in and framing inspections, spray foam, insulation check, drywall.
- Wood framing at about 19% moisture or less, surfaces at least 5°F above the dew point, and surface temperatures inside the product's range. Winter-grade foams are commonly rated down to about 15 to 30°F.
- Anything that has to move after the foam is in, such as wires, pipes, boxes or blocking, costs time and money. Finish it first.
- An early blower-door test before drywall finds leaks while they are still easy to fix. The code allows testing any time after all envelope penetrations are sealed.
- Drywall is the thermal barrier over foam in living space, so plan the foam scope and the drywall together.
The order of work for spray foam in new construction
Spray foam in new construction has one right slot: after everything that runs through the walls is installed and inspected, and before anything covers the cavities.
- Foundation and slab.
- Framing and sheathing.
- Roof, windows and exterior doors, so the house is dried in.
- Rough-ins: plumbing, HVAC and electrical, plus low-voltage.
- Rough-in and framing inspections.
- Spray foam.
- Insulation check and, ideally, an early blower-door test.
- Drywall, which also serves as the thermal barrier.
- Trim and finishes.
- Final blower-door test and final inspection.
Pennsylvania's Uniform Construction Code requires plumbing, mechanical and electrical, frame, and wallboard inspections, and the permit holder must keep work accessible until it is inspected. Foam over an uninspected wire or pipe can mean cutting it back out.
Before the foam: what has to be finished
Use this as a checklist the week before spray day.
- Dried in. Roof on, windows and exterior doors installed, sheathing and housewrap complete. Foam needs dry surfaces, and rain blowing through an open window opening undoes that.
- Electrical. Every box, cable and low-voltage run in exterior walls and roof framing: security, data, speakers, exterior lights, EV and solar conduit.
- Plumbing. Supply and drain lines in place and pressure-tested. Exterior hose bibs and gas lines roughed in.
- HVAC. Ducts, bath fans, the range hood, dryer vent and fresh-air ducts installed and sealed. If your rater does a rough-in duct leakage test, do it now.
- Blocking and backing. Cabinets, TV mounts, grab bars, stair rails and shelving. Adding blocking after the foam means digging it out.
- Window and door gaps. Decide who seals the gap between each frame and its rough opening. That is usually the window installer, with low-expansion foam or tape made for it.
- Inspections. Rough-in and framing inspections signed off.
Moisture and weather on spray day
Closed-cell foam only bonds and cures properly on dry surfaces within the manufacturer's range. The exact limits are on each product's technical data sheet (TDS) and application guide. Across the HFO closed-cell products we checked from three manufacturers, they fall in these ranges:
| Condition | Typical requirement |
|---|---|
| Wood moisture content | 19% or less (18% for some products) |
| Surface temperature vs dew point | At least 5°F above the dew point |
| Minimum surface temperature, winter-grade foam | About 15°F to 30°F, depending on product |
| Minimum temperature, summer-grade foam | About 40°F to 60°F, depending on product |
| Humidity | Extra care above 80% relative humidity |
| Maximum thickness per pass | About 2 to 5 inches for most products; one high-lift foam allows 6.5 inches at 70°F or cooler |
Lumber that sat through a wet week can read well above 19%. Check it with a moisture meter a few days before spray day so there is time to dry it with heat and air movement. Concrete should be cured and dry, with no frost or dew on any surface.
Heat matters in both directions. In winter, temporary heat keeps surfaces in range, but propane heaters without venting add water vapor to the house as they burn, so dry heat or vented units are better before foam. In summer, some foams allow a thinner pass in hot weather (one drops to 3.25 inches above 80°F), which means more passes on deep roof decks. How thick spray foam should be covers the thickness itself.
Protecting windows, boxes and finished surfaces
Overspray travels. The installer should mask:
- Windows, exterior doors and their frames
- The faces of electrical boxes, so foam doesn't fill them
- Plumbing stubs, HVAC boots and duct openings
- Tubs and shower units already set
- Subfloor and stairs near the work
- Anything outside within drift distance, including vehicles
Recessed lights in an insulated ceiling or roof should be IC-rated, airtight housings. Settle that with the electrician before rough-in, not on spray day.
Coordinating the trades
The spray foam installers need the building to itself. Other trades stay out during spraying and through the manufacturer's re-entry period (how long to stay out), so schedule them on another site for that day.
The easiest way to keep the schedule is a short walk-through with the builder, electrician, plumber and HVAC installer before spray day. Mark anything still to be added in exterior walls or the roof, and finish it. Afterward, any change in a foamed wall means cutting foam out and patching it, which costs more than doing it first.
On closed-cell walls, the installer keeps the foam at or below the face of the studs so drywall goes on flat. Open-cell foam is usually sprayed full and trimmed flush.
Testing and inspections after the foam
Insulation check. Pennsylvania's list of required inspections doesn't name insulation separately, but code officials can add inspections. Some check insulation during the frame inspection and others want a separate visit before wallboard, so ask yours.
Blower-door testing. Pennsylvania now enforces the 2021 IRC, effective January 1, 2026. The energy chapter requires an air-leakage test, which may be done any time after all penetrations of the thermal envelope have been sealed. NAIMA's summary of the Pennsylvania code lists 3 air changes per hour at 50 pascals for the prescriptive path. A test right after foam and before drywall, while top plates, rim joists and penetrations are still exposed, shows leaks while they are easy to fix. The final test then confirms the result.
Thermal barrier and ignition barrier. Drywall covers foam in living space. In attics and crawlspaces, many current closed-cell foams are tested for use without a prescriptive ignition barrier, within the limits of their evaluation reports. That saves a step; other products need one. See thermal barrier vs ignition barrier.
What builders should have ready on spray day
- Rough-in inspections signed off and pressure tests done.
- Moisture readings at or below the foam's limit, typically 19% (18% for some products).
- A clear scope: which surfaces get foam, at what thickness and R-value, matched to the energy code path for the house. How to read a spray foam quote shows what that should look like.
- Driveway and access clear so the spray truck can park close and hoses can reach every room.
- Other trades scheduled elsewhere.
- A heat and weather plan for cold or wet days.
- Agreement on who masks, who cleans up and who handles window and door gaps.
FoamGuard records drum lot numbers on every job. For more on R-values per inch, see how thick closed-cell should be, and for a steel-shell home, barndominium insulation.
Building this season? Price My Project or call (814) 208-3478.
FAQ
Can spray foam go in before the electrical rough-in inspection?
It shouldn't. The inspector needs to see the wiring and boxes, and foam over uninspected work may have to be cut out.
Can you spray foam in a new house in winter?
Yes, with a winter-grade product and enough temporary heat to keep surfaces in range. Winter-grade closed-cell foams are commonly rated for surfaces down to about 15 to 30°F; the data sheet gives the exact number.
Does foam have to go in before or after the windows?
After. Windows and doors should be installed so the house is dried in, and they get masked before spraying.
Sources
- HEATLOK HFO High Lift Technical Data Sheet (Huntsman Building Solutions, rev. 11.25.24)
- WALLTITE Series HFO Closed-Cell SPF Application Guidelines (BASF, 2023)
- JM Corbond IV HFO Installation Guide (Johns Manville, 2025)
- 34 Pa. Code § 403.64, Inspections (Cornell LII)
- 2021 PA UCC Residential Code Update, Part 1 (Pennsylvania Housing Research Center)
- Pennsylvania Energy Code summary, 2021 IECC with PA amendments (NAIMA)
- 2021 UCC Code Update and Implementation (City of York, PA)
- Types of Insulation (U.S. Department of Energy)