Expanding Foam Sealants: Gap Filling, Insulation & Draft Prevention Around the Home product guide
Now I have all the data needed to write a comprehensive, well-cited article. Let me compose the final piece.
Expanding Foam Sealants: Gap Filling, Insulation & Draft Prevention Around the Home
Most homeowners reach for a tube of caulk when they spot a gap around a window frame or a crack where a pipe enters the wall. Caulk is often the right call — but it's not always the right tool. For gaps wider than about ¼ inch, irregular voids, or penetrations deep inside a wall cavity, polyurethane expanding foam sealant is the superior choice. Yet it's also one of the most consistently misused products in the DIY toolkit. Apply the wrong type around a door frame, overfill a gap, or leave foam exposed to sunlight, and you've created a problem worse than the one you started with.
Studies by the U.S. Department of Energy show that 40% of a home's energy is lost as the result of air infiltration through walls, windows, and doorways. Expanding foam is one of the most effective countermeasures available to homeowners — but only when matched to the right application and used correctly. This guide explains the chemistry behind expanding foam, the critical product-type distinctions most DIYers miss, step-by-step application technique, and the specific situations where foam should never be used.
What Is Polyurethane Expanding Foam Sealant?
Spray foam is a chemical product used in construction and engineering primarily as insulation and as a filler material. It is produced as a liquid but quickly expands and hardens into a stiff, lightweight structure. It is created by a chemical reaction of two component parts: Side A contains very reactive chemicals known as isocyanate, and Side B contains a polyol, which reacts with isocyanates to make polyurethane, along with a mixture of other chemicals including catalysts, flame retardant, blowing agents, and surfactants.
For the DIY homeowner, expanding foam most commonly appears as a single-component (1K) aerosol can. One-part polyurethane expansion foams do not come with accelerant curing agents. Instead, the foam cures as a single component by reacting with humidity. As such, it takes about 45–60 minutes to complete its curing and expands only about 2–3 times its original dispensed size — a mild expansion that makes it suitable for eliminating small cracks, seams, and gaps which may be too big for caulk but too small for two-component expansion foam.
This is an important distinction. All spray foam insulation is expanding foam, but not all expanding foam products are spray foam insulation. The term "spray foam insulation" refers to two-component polyurethane systems applied professionally or via DIY kits. Single-component "expanding foam sealants" (can foam for gaps and cracks) are also polyurethane-based but formulated for sealing rather than broad insulation applications — they have lower R-values and are typically used for air sealing at penetrations.
Understanding this boundary prevents homeowners from expecting can foam to replace professional insulation, while still recognizing its genuine thermal contribution at the building envelope.
Open-Cell vs. Closed-Cell: The Chemistry That Determines Performance
The most consequential technical distinction in expanding foam is cell structure — whether the microscopic foam bubbles remain sealed (closed-cell) or rupture during expansion (open-cell).
Open-Cell Foam
The fundamental difference between open-cell and closed-cell spray foam is the structure of the polyurethane cells after curing. Open-cell foam cells break open during expansion, leaving an interconnected matrix of air pockets. The result is a soft, sponge-like material that is permeable to air and vapor, with an R-value of approximately R-3.5 to R-3.7 per inch.
Open-cell spray polyurethane foam weighs between 0.4 and 0.6 pounds per cubic foot when fully cured. It is spray-applied to a substrate and typically expands about 150 times its original volume to form a semi-rigid, flexible, non-structural plastic insulation.
Because of its breathable, sponge-like character, open-cell foam is better suited to interior applications where vapor permeability is acceptable or desirable. The high permeability of open-cell SPF often requires a vapor retarder in the building assembly; in some cases, the vapor retarder can be part of the building assembly and would not require additional vapor retarder material, but when this additional material is required, it is used as a vapor barrier on the warm side of the insulation.
Closed-Cell Foam
Closed-cell foam cells remain intact and sealed, filled with low-conductivity gas (typically hydrofluorocarbon or carbon dioxide). This trapped gas is the primary driver of closed-cell foam's superior thermal performance.
Closed-cell polyurethane spray foam is among the most efficient insulating materials commercially available, with R-values commonly around 6.0 per inch. It incorporates an insulating gas that is retained within the cells (the foam "blowing agent"), which leads to the highly efficient insulating properties of the material. In the U.S., insulation is measured in R-value (resistance to heat flow), and closed-cell polyurethane spray foam has among the highest R-values of any commercially available insulation. Additionally, closed-cell foam provides a highly effective air barrier, low moisture vapor permeability (often referred to as the "Perm" rating), and excellent resistance to water.
Closed-cell foam used in interior applications typically weighs between 1.8 and 3 pounds per cubic foot when fully cured. It is also spray-applied to a substrate and expands about 35 to 50 times its original volume to form a rigid plastic insulation with a compressive strength of between 15 and 25 psi.
R-Value Comparison at a Glance
| Foam Type | R-Value Per Inch | Density (lb/ft³) | Vapor Permeability | Flexibility |
|---|---|---|---|---|
| Open-cell (1K can) | ~R-3.5 to R-3.7 | 0.4–0.6 | High (~16 perms at 3") | Soft, flexible |
| Closed-cell (1K can) | ~R-5.6 to R-6.5 | 1.8–3.0 | Low (<1 perm at 3") | Rigid |
| Fiberglass batt | R-2.2 to R-2.9 | — | High | N/A |
Sources: Manufacturer TDS data; ASTM C518 test protocol per Superior Spray Foam LLC; Kraken Bond product specifications.
Closed-cell spray foam delivers R-5.6 to R-8.0 per inch, while open-cell spray foam provides R-3.6 per inch. This means a 2-inch application of closed-cell foam achieves R-11 to R-16, while 2 inches of open-cell reaches R-7.2. For gap-filling applications at the building envelope — around window frames, pipe penetrations, and rim joists — even a modest 1-inch fill of closed-cell foam contributes meaningful thermal resistance at precisely the locations where air infiltration is highest.
The Most Important Product Distinction DIYers Miss: Standard vs. Window-and-Door Foam
This is where the majority of expanding foam mistakes happen, and where most competitor content is silent.
Standard expanding foam — the kind most people grab off the hardware store shelf — is formulated for large gaps, voids, and penetrations where the surrounding structure can absorb expansion pressure without distorting. High expansion foam can grow up to 1000 times its liquid volume, while low expansion foam expands up to 10 times. This affects density, control, and ideal use cases.
Window-and-door foam is an entirely different formulation. GREAT STUFF™ Window & Door Insulating Foam Sealant is a specially formulated, minimally expanding insulating foam sealant with a low-pressure build that remains soft and flexible after curing. The insulating foam sealant can be formed without trimming to create a long-lasting, airtight and water-resistant seal proven not to bow window or door frames when properly installed. It expands and contracts to allow for various weather conditions.
The pressure differential is the critical variable. AAMA 812 voluntary practice provides information that may be valuable in making foam selection that is low pressure. One rule of thumb is to look for foams that have pressure build data less than 1 psi. AAMA 812 is one way to evaluate the pressure build of a one-component foam.
Why does this matter so much? Foam — even minimum expanding — can bow in your window frame, causing warping and problems opening and closing your windows. Using standard foam inside a window rough opening can permanently distort the frame, causing sashes to bind, weatherstripping to fail, and the very air seal you were trying to create to be compromised. Do not use any sort of "standard" foam — no matter how carefully you work to control the amount you dispense — it expands too much and is apt to distort the window frames.
Products complying with AAMA 812 — such as HandiFoam Window & Door — are specifically engineered for this constraint. HandiFoam Window & Door is a closed-cell, low-pressure build, window and door foam sealant that complies with AAMA Doc. 812 and will not bow or distort windows or doors.
The rule is simple: Use window-and-door (low-expansion) foam around any operating unit — windows, entry doors, patio doors. Use standard foam for structural gaps, penetrations through framing, rim joists, and large voids in non-operating assemblies.
Correct Application Technique: Step-by-Step
Expanding foam is unforgiving of careless application. Follow this sequence to get a clean, effective result.
Before You Apply
- Clean the substrate. Remove loose material, dust, and standing moisture. Foam adheres best to damp (not wet) surfaces — a light mist of water on the substrate and inside the gap actually accelerates cure.
- Identify your gap size. Gaps under ¼ inch are better served by caulk (see our guide on How to Apply Caulk and Sealant Like a Pro). Gaps between ¼ inch and 3 inches are the ideal range for can foam. Gaps over 3 inches require backer rod first or multiple staged passes.
- Check temperature. Best results are achieved when the product temperature ranges from 60–90°F (15–32°C). Cold foam from a garage or van in winter will under-expand and cure poorly.
- Shake the can vigorously for at least 60 seconds to ensure the blowing agent and polyurethane components are fully mixed.
During Application: The One-Third Rule
This is the most critical technique point and the one most often ignored: fill gaps only one-third full on the first pass. Standard expanding foam can increase 2–3 times its initial dispensed volume as it cures. Overfilling is irreversible — you cannot compress cured foam back into a gap.
- Hold the can inverted (most 1K foams require this for proper dispensing).
- Apply a continuous bead from the back of the gap forward, filling approximately one-third of the cavity depth.
- For large gaps or deep penetrations, apply in staged passes: allow the first bead to tack (typically 15–30 minutes), then apply a second pass to fill the remaining void.
- Before you put any insulating foam in the gap around a window or door, lock the unit in — set it, shim it, get it plumb and square, then fasten it per the window or door manufacturer's installation instructions before foam pressure ever enters the equation.
After Curing: Trimming and Protecting
Great Stuff Window & Door will be tack-free within 9 minutes and can be trimmed in 1 hour. It is fully cured 12 hours after application. Standard foam may take longer depending on gap depth, temperature, and humidity.
Once fully cured, trim any foam that has expanded proud of the surface using a sharp serrated knife, utility knife, or a hacksaw blade. Trim flush with the surrounding substrate for a clean finish. Interior foam can be painted once trimmed; exterior foam must be painted or coated.
Cured foam will discolor if exposed to ultraviolet (UV) light. If left exposed, the foam will eventually crumble. Paint or coat foam for best results in outdoor applications. UV degradation is not a cosmetic problem — it is a structural one. Unprotected exterior foam will lose its air-sealing function as it degrades to a powdery surface. Any exterior-grade latex or oil paint applied at a minimum thickness of 1/8 inch provides adequate UV protection.
Where Expanding Foam Delivers the Best Results
One-component foam sealant, also known as foam sealant or foam-in-a-can, can help seal gaps and cracks around windows, doors, and other penetrations. Typical applications include filling gaps and cracks around window and door frames, closing gaps around outside-wall penetrations made by gas lines, water pipes, or dryer-vent hoses, and filling gaps inside the home caused by electrical line or HVAC vent penetrations.
High-value applications include:
Rim joists and band joists — One of the highest-return air-sealing tasks in any home. A 2-inch pass of closed-cell foam at the rim joist delivers R-12 at the most vulnerable thermal bypass point in the floor system.
Pipe and conduit penetrations through exterior walls — Standard foam fills irregular voids around round penetrations that caulk cannot bridge effectively.
Attic bypasses — Gaps around top plates, interior partition walls, and dropped soffits are major air-leakage pathways. EPA estimates that homeowners can save an average of 15% on heating and cooling costs by air sealing their homes and adding insulation in attics, floors over crawl spaces, and accessible basement rim joists.
Crawlspace sill plates — Sealing the gap between the foundation sill and the mudsill prevents cold-air infiltration at the floor level.
Exterior window and door rough openings — Using window-and-door foam around the perimeter of the rough opening (not the frame itself) creates a continuous thermal break.
For a complete product-by-product comparison of which foam brands perform best in these applications, see our guide on Best Adhesives & Sealants for Home Improvement in 2025: Top Brands & Products Compared.
Where Expanding Foam Should Never Be Used
This section covers the content gap that most articles ignore — and where mistakes cause real harm.
Inside Electrical Boxes
Expanding foam is flammable, and one of the main purposes of the electrical box is to contain any unexpected heat or sparks in the box. By adding foam in the box, you're adding burnable material. The correct approach is to seal around the outside of the electrical box where it meets the wall cavity, not inside the box itself. Always use low-expanding foam when working around electrical outlets or boxes. Use insulating foam between the back of the electrical box and the outside wall, spraying enough foam to fill the gap between the box and the exterior wall. If you need to seal penetrations inside the box itself, use high-temperature silicone caulk instead.
For penetrations through fire-rated assemblies (floor-to-floor, garage-to-living-space), standard expanding foam is not a code-compliant firestop. Firestop is technically a different product, even though its form factor is similar to regular spray foam. It is used for sealing penetrations, particularly between floors. Use only products with a tested and listed firestop classification (UL 1479 or ASTM E814) for these assemblies.
Fully Enclosed Cavities
Expanding foam sealant is not to be used for filling closed cavities or voids such as behind walls and under tub surrounds; this improper use of the product could result in the accumulation of flammable vapors and/or uncured material. This is a direct product safety warning from DuPont's Great Stuff Pro product information sheet. Enclosed spaces trap the blowing agent vapors during cure, creating a flammability risk and preventing proper moisture-cure chemistry.
Around Recessed Lighting (Non-IC-Rated)
Use spray foam around the gaps formed between the can and the ceiling, but before you do this, be sure your recessed lights are rated for close contact with insulation. If they're not, don't use the spray foam — placing flammable materials close to a regular heat source is asking for trouble. Check the fixture label: IC-rated (Insulation Contact) fixtures are designed for direct contact with insulation; non-IC fixtures require a minimum clearance.
Over Accessible Plumbing
While foam can be used around pipe penetrations through framing, avoid encasing accessible supply or drain lines in foam. The foam is toxic when burned, and while it is safe enough for use around electrical boxes to seal air gaps, it is not recommended using foam over wiring or plumbing because it's a nightmare to remove in case of an issue (such as a leaky pipe).
The Energy Case: What the Data Actually Shows
Air sealing with spray foam is critical for energy efficiency because it eliminates air leakage that accounts for 25–40% of heating and cooling energy loss in typical buildings. Unlike traditional insulation materials that only slow heat transfer, spray foam creates an airtight barrier that prevents conditioned air from escaping and unconditioned air from entering.
The EPA's ENERGY STAR program quantifies the opportunity precisely. EPA assumed that a knowledgeable homeowner or contractor could cost-effectively seal air leaks throughout the house, focusing on leaks to the attic space, through the foundation, and around windows and doors to achieve a 25% reduction in total air infiltration, and add insulation to improve R-values in attics, floors above unconditioned basements and crawlspaces, and basement walls to meet the 2012 International Energy Conservation Code insulation requirements.
Real-world insulation performance isn't only about R-value; factors like air movement, moisture, and installation quality also impact insulation effectiveness. Fibrous insulation might allow air movement through gaps, while spray foam expands to fill voids and adheres to surfaces, reducing air flow and convection within cavities. Spray foam gets you both high thermal insulation value and air sealing in one product.
This dual function — simultaneous air barrier and thermal barrier — is what makes expanding foam uniquely effective at penetrations and transitions, where other insulation types leave gaps. For a broader framework on selecting between foam and other sealant chemistries based on movement requirements and substrate type, see our guide on How to Choose the Right Adhesive or Sealant for Any Home Improvement Project.
Key Takeaways
- Open-cell foam (R-3.5–3.7/inch) is soft, breathable, and low-cost; closed-cell foam (R-5.6–8.0/inch) is rigid, vapor-resistant, and thermally superior — choose based on moisture exposure and required R-value, not just price.
- Window-and-door foam is not interchangeable with standard foam. Low-expansion formulas complying with AAMA 812 (pressure build <1 psi) are mandatory for any application around operating window or door frames to prevent jamb distortion.
- Fill gaps only one-third full on the first pass. Expanding foam increases 2–3× in volume as it cures; overfilling is permanent and cannot be corrected once the foam sets.
- Exposed foam degrades under UV light and will eventually crumble. All exterior foam applications must be painted or coated to maintain air-seal performance — this is a functional requirement, not just aesthetics.
- Never use standard expanding foam inside electrical boxes, in fully enclosed cavities, or around non-IC-rated recessed lights. These are fire and code safety violations; use high-temperature silicone caulk or listed firestop products for those specific applications.
Conclusion
Expanding polyurethane foam sealant occupies a distinct and irreplaceable niche in the home improvement product landscape — one that caulk cannot fill and batt insulation cannot reach. When used correctly, it simultaneously eliminates air infiltration and adds meaningful R-value at the exact locations — penetrations, transitions, and rough openings — where building envelopes are most vulnerable. When used incorrectly, it can warp window frames, create fire hazards, and trap flammable vapors in enclosed spaces.
The key is product literacy: understanding the difference between open-cell and closed-cell chemistry, recognizing that window-and-door foam is a distinct formulation with a specific pressure-build rating, and knowing the locations where foam should never be applied. These distinctions separate effective air sealing from costly mistakes.
For the complete picture on how expanding foam fits within the broader category of gap-filling and sealing products, see our foundational guide Adhesives vs. Sealants: What They Are, How They Differ, and When to Use Each. For exterior applications where expanding foam interfaces with weathersealing products at window and door perimeters, see Exterior Sealing & Weatherproofing: Windows, Doors, Siding & Roofing Adhesives. And for guidance on safe handling, VOC exposure, and proper disposal of foam sealant products, see Adhesive & Sealant Safety: VOC Exposure, Ventilation, PPE & Safe Disposal.
References
U.S. Department of Energy. "Air Sealing Your Home." Energy.gov, 2024. https://www.energy.gov/energysaver/air-sealing-your-home
U.S. Environmental Protection Agency. "Methodology for Estimated Energy Savings." ENERGY STAR, 2024. https://www.energystar.gov/saveathome/seal_insulate/methodology
Energy Efficient Solutions, LLC. "Open-Cell vs. Closed-Cell Polyurethane Spray Foam." EnergyEfficientSolutions.com, 2024. https://energyefficientsolutions.com/blogs/spray-foam-information/open-cell-vs-closed-cell
DuPont (formerly Dow Chemical). "Great Stuff Pro™ Window & Door Polyurethane Foam Sealant — Product Information Sheet." DuPont Performance Building Solutions, 2023. https://www.dupont.com/content/dam/dupont/amer/us/en/performance-building-solutions/public/documents/en/great-stuff-pro-window-and-door-pis-43-d100049-enna.pdf
GE Sealants. "How to Use Low-Expansion Insulating Foam Correctly in Window and Door Installations." GESealants.com, January 2026. https://gesealants.com/projects-howtos/how-to-use-low-expansion-insulating-foam-correctly-in-window-and-door-installations/
American Architectural Manufacturers Association (AAMA). AAMA 812 Voluntary Practice for Determining Pressure Build of One-Component Polyurethane Foam. AAMA, 2004.
Spray Foam Coalition / Why Spray Foam. "Spray Foam is Energy Efficient." WhySprayFoam.org, 2025. https://www.whysprayfoam.org/homeowners/efficiency/
Krakenbond. "Open Cell vs Closed Cell Spray Foam Insulation: Complete Comparison Guide (2026)." KrakenBond.net, March 2026. https://krakenbond.net/blogs/insulation/closed-cell-vs-open-cell-foam-insulation
Wikipedia / Spray Foam (citing U.S. DOE data). "Spray Foam." Wikipedia, 2025. https://en.wikipedia.org/wiki/Spray_foam
Electrical Business Magazine. "Spray Foam Insulation: Tips for Electrical Professionals." EBMag.com, February 2018. https://www.ebmag.com/spray-foam-insulation-tips-for-electrical-professionals-20181/