Stand in front of your electrical panel on a cold morning and you might feel it — a faint but steady draft pushing through the gap around a conduit. That cold air costs you money every single hour of the heating season. The fix costs about $6 in materials and fifteen minutes of your time. But grab the wrong product, and the repair fails before spring.

That's the real stakes of the spray foam vs caulk debate. Both products seal air leaks. Both are inexpensive. The difference is that each excels in specific conditions — gap size, surface movement, temperature exposure, and code requirements — and using one where the other belongs means your fix won't last. This guide cuts through the confusion so you know exactly which sealant to use in every corner of your home.

Key Takeaway: Use caulk for narrow, stationary gaps under ¼ inch (especially around windows and trim), and use low-expansion spray foam for larger gaps, penetrations through framing, and anywhere airflow is high — the gap size and movement potential are your two deciding factors.

Why Air Sealing Is the Highest-ROI Home Improvement You Can Do

Before we get into the mechanics, let's anchor the "why." Air leaks are invisible, but their impact on your energy bill is very real. The U.S. Department of Energy estimates that a typical home loses 25–40% of its conditioned air through unintended gaps and cracks. That's not a minor inefficiency — it's roughly equivalent to leaving a window cracked open year-round.

"Air sealing your home, especially in the attic and basement, can reduce heating and cooling costs by up to 20 percent. It's one of the most cost-effective improvements a homeowner can make."

— U.S. Department of Energy, Energy Saver Guide

With a $50 investment in caulk and spray foam, you can realistically save $200–$400 per year on a typical household energy bill — that's a payback period measured in weeks, not years. No other home improvement comes close to that ratio.

Understanding the Two Products

What Caulk Is (and What It's Good At)

Caulk is a flexible, paste-like sealant that cures into a rubbery bead. It comes in several formulations, each suited to different conditions:

The defining advantage of caulk is flexibility. Building materials expand and contract with temperature and humidity changes. A caulk bead stretches and compresses with that movement. That's why it's the correct choice wherever two dissimilar materials meet — say, wood trim against a masonry wall — because those materials move at different rates.

What Spray Foam Is (and What It's Good At)

Spray foam (the canned DIY variety, sometimes called "one-component" or "one-part" foam) is a polyurethane foam that expands after application and cures into a rigid or semi-rigid plug. There are two main types for DIY use:

The defining advantage of spray foam is gap-filling volume and air-barrier performance. Foam physically fills three-dimensional space. It adheres to almost any surface, including rough concrete, framing lumber, and PVC pipe. It also provides a small amount of insulation value (closed-cell variants more so than open-cell).

The Decision Rule: Gap Size + Movement = Your Answer

Every air-sealing decision comes down to two variables:

  1. Gap size: Is the gap under ¼ inch, between ¼ and 3 inches, or larger than 3 inches?
  2. Movement potential: Will the surrounding materials flex, expand, contract, or vibrate over time?

If the gap is narrow and the materials move, use caulk. If the gap is large or the area is a static structural penetration, use spray foam. Many jobs need both — caulk for fine perimeter lines, foam for the center of a large rough opening, then caulk to finish the edge where the foam meets trim.

Spray Foam vs Caulk: At-a-Glance Application Guide
Location / Gap Type Recommended Sealant Notes
Window frame perimeter (interior trim) Paintable latex or silicone caulk Frames flex seasonally; caulk accommodates movement
Door frame perimeter (interior trim) Paintable latex or silicone caulk Same reason as windows; use low-exp. foam only in rough opening behind trim
Plumbing pipes through framing / subfloor Low-expansion spray foam Large, irregular gap around rigid pipe — foam fills it completely
Electrical conduit / wire penetrations Low-expansion spray foam or fire-rated foam Use fire-rated foam when penetrating a fire-rated assembly
Attic top-plate bypasses (large gaps) High-expansion spray foam Often the single biggest air leak in a house; foam fills cavities caulk can't reach
Rim joist / band joist (basement) Low-expansion foam + rigid foam board Cut foam board to fit, foam the perimeter; biggest cold-air entry in basements
Baseboards & interior trim gaps Acrylic latex caulk Small gaps, paintable, easy to tool
Exterior penetrations (vents, cables, pipes) Paintable silicone or siliconized latex caulk UV and moisture exposure requires a durable, flexible seal
Gaps around recessed light cans (attic side) Low-expansion foam (or IC-rated box + foam) Check fire rating; never foam inside a non-IC-rated can
Chimney chase gaps (flue to framing) High-temp fire-rated caulk or sheet metal + fire-rated foam Code requires fire-rated materials within 2 inches of flue

Where to Hunt for Air Leaks First

Most homeowners waste time caulking window glass when the real culprits are hiding in the attic and basement. Here's where the data points you to look first, ranked by average air leakage contribution according to Lawrence Berkeley National Laboratory research:

  1. Attic bypasses (top plates, interior wall cavities open to attic): Often account for 30–40% of total home air leakage. Spray foam is your tool here.
  2. Rim joists and band joists (basement/crawl space perimeter): Cold air pours in around the foundation. Foam board plus spray foam is the proven fix.
  3. Plumbing and electrical penetrations: Every pipe, wire, and duct that passes through a floor or wall is a potential highway for conditioned air to escape (or outside air to enter). Spray foam fills these fast.
  4. Window and door frames (not the glass — the frame-to-wall connection): Caulk the visible perimeter; use minimal-expansion foam in the rough opening gap behind the casing if accessible.
  5. Fireplace dampers and chases: A fireplace with a leaky damper or open chase can lose as much heat as a small window left open all winter.

A simple DIY audit: on a cold, windy day, hold a stick of incense near suspected leak points. Smoke that wavers dramatically points to a significant leak. For a more rigorous approach, many utility companies offer free blower-door tests that quantify your home's total air leakage rate (measured in ACH50 — air changes per hour at 50 Pascals of pressure).

Common Mistakes That Waste Your Money

Using high-expansion foam around window frames. High-expansion foam can exert enough pressure to bow a vinyl or wood window frame out of square, making it inoperable. Always use minimal-expansion foam labeled "window and door" when working near frames.

Caulking over a dirty or wet surface. Caulk adhesion fails on dust, grease, old flaking caulk, or moisture. Clean the surface with a dry cloth and let it dry completely. Remove old caulk with a caulk remover tool first — applying new caulk over a failing bead just delays the same failure.

Leaving foam exposed to UV light. Cured polyurethane foam degrades quickly in sunlight, turning brittle and crumbly within a few months. Any foam used on an exterior surface must be covered with paint, caulk, or trim.

Skipping fire-rated products near heat sources. Near chimneys, furnace flues, recessed lights, and electrical panels, standard spray foam may not be code-compliant. Check for fire-rated (intumescent) formulations and always follow local building codes.

Applying caulk in freezing temperatures. Most acrylic latex caulks fail to cure properly below 40°F. Check the label temperature range before working in an unheated garage or attic in winter. Silicone-based products tend to have wider temperature application ranges.

Recommended Products

🥇 Great Stuff Window & Door Insulating Foam Sealant (12 oz)

The go-to low-expansion foam for most DIY air-sealing jobs. Minimal expansion prevents frame bowing, adheres to wood, masonry, and PVC, and cures in about 8 hours. One can typically seals a dozen or more penetrations.

~$9 Saves up to $200/yr when paired with full air-seal job
Check Price on Amazon

🥇 DAP Alex Flex All-Purpose Sealant, Paintable (10.1 oz)

A siliconized latex caulk that combines the paintability of latex with the flexibility of silicone. Excellent for interior trim, baseboards, and window casings. Cleans up with water before it cures, and holds paint without cracking.

~$7 Typical payback in under 2 months of heating season
Check Price on Amazon

🥇 GE Advanced Silicone 2 Exterior Sealant (10.1 oz)

Pure silicone for exterior applications where UV exposure, rain, and temperature cycling would destroy standard latex caulk. Rated for 35 years and waterproof from the moment it skins over. Use wherever outside air meets your home's envelope.

~$11 Outlasts standard caulk by 2–3x, reducing re-application costs
Check Price on Amazon

Frequently Asked Questions

Can I use spray foam around electrical outlets?

Yes, but use fire-rated or low-expansion foam and never spray inside a live electrical box. Foam around the perimeter of an outlet box on an exterior wall, not inside the box itself. Foam-in-place outlet gaskets are often a safer and easier option for standard receptacles.

Does caulk or spray foam work better for windows?

Caulk is generally better for the visible window frame-to-trim seam. It stays flexible, which matters because window frames expand and contract seasonally. Apply paintable latex caulk to the narrow seam between the window casing and the surrounding wall. If you can access the rough opening gap behind the casing, a bead of minimal-expansion foam there first adds an extra layer of protection.

How long does spray foam last compared to caulk?

Properly applied closed-cell spray foam in an interior application can last 20+ years without degrading. Quality silicone caulk typically lasts 10–20 years. Acrylic latex caulk may need reapplication every 5–10 years, especially in high-movement or outdoor areas.

Is spray foam worth the extra cost over caulk?

For large gaps (over ¼ inch) or areas with significant air pressure differences — like the gap between a wall and a top plate in the attic — yes, spray foam delivers far superior sealing that caulk simply cannot bridge effectively. For fine trim gaps, caulk is both cheaper and more appropriate.

What gaps are too big even for spray foam?

Gaps wider than about 3 inches should be filled with backer rod, rigid foam board, or sheet metal first, then sealed with spray foam or caulk on top. Spray foam alone will not perform well in very large voids and may not provide adequate fire resistance in some assemblies.

The Bottom Line: Build Your $50 Air-Sealing Kit

You don't need to choose between spray foam and caulk — you need both, applied in the right places. A practical starter kit for a full DIY air-seal job looks like this: two cans of low-expansion window-and-door foam (~$18), one tube of paintable siliconized latex caulk (~$7), one tube of exterior silicone caulk (~$11), a caulk gun (~$10), and a foam-trimming knife (~$4). Total: about $50. Used systematically in the attic, basement rim joists, and around all penetrations and trim, this kit can deliver hundreds of dollars in annual savings — and do it for decades with minimal maintenance.