Expanding foam sealant

Three gap-and-crack foams compared from the makers’ data sheets, for sealing around pipes.

As an Amazon Associate I earn from qualifying purchases.

On this page
  1. The picks
  2. Spec scores
  3. Each pick
  4. Great Stuff Gaps & Cracks
  5. Loctite Tite Foam
  6. Great Stuff Pestblock
  7. Side by side
  8. Penetration checker
  9. Fireblocking
  10. Where not to use it
  11. Foam on pipes
  12. How to apply it
  13. Other foams
  14. Foam or caulk
  15. Left out
  16. How to choose
  17. Questions
  18. How we picked

Quick answer

Get Great Stuff Gaps & Cracks, code-evaluated for pipe holes in framing. Joints that move: Loctite Tite Foam. Pests along pipes: Great Stuff Pestblock.

Great Stuff Gaps and Cracks Smart Dispenser foam can
Top pick: Great Stuff Gaps & Cracks$9.59 at AmazonPrice as of Oct 24, 2026, 5:30 AM EDT
Check it on Amazon

The three foam sealants I’d buy

All three are one-part polyurethane foams in 12-ounce cans, made to fill gaps up to 1 inch. All were new and in stock on Amazon on Oct 23, 2026, and each scores 7.0 or higher.

How the three compare on our spec score

Five checks from each maker’s data sheet, equal weight. Rules and inputs are in the method section.

Great Stuff Gaps & Cracks9.0Loctite Tite Foam8.8Great Stuff Pestblock8.4010Great Stuff Gaps & Cracks9.0Loctite Tite Foam8.8Great Stuff Pestblock8.4
PlumbingPicks spec score out of 10, from Great Stuff’s and Loctite’s data sheets and ICC-ES ESR-1961, read Oct 23, 2026. It is not a test of our own or a customer rating.

The checks are what matter when you’re sealing around a pipe: whether the foam has a code evaluation for pipe holes through framing, how fast it skins over, whether the can can be used again, whether the maker says the cured foam flexes, and how much a can fills.

Great Stuff wins on code paperwork and its reusable dispenser. Loctite wins on flexibility and the fastest tack-free time.

Each foam, in detail

What each maker’s sheet says, what it means around pipes, and where each lost points.

Best for pipe holes in framing

Great Stuff Gaps & Cracks

Insulating Foam Sealant, Smart Dispenser, 12 oz (99108824)

99108824
$9.59
Check it on Amazon
Sold by Amazon.com · in stock · price as of Oct 24, 2026, 5:30 AM EDT
9.0Spec scoreHow it’s scored
Code evaluation10
Tack-free time8
Reusable dispenser10
Flexibility published7
Yield published10

Pros

  • Listed in ICC-ES ESR-1961
  • Fills gaps up to 1 inch
  • Smart Dispenser reusable for 30 days
  • One can = up to 22 tubes of caulk
  • UL Classified, CCMC 13074-L

Cons

  • Cures rigid
  • Tack-free in 10–15 minutes
  • Not for sun or weather exposure under the ESR
Gaps to 1 in.Tack-free 10–15 minTrims in 1 hrCures rigidCream color12 oz

Buy it if

You’re sealing pipe holes through top plates, rim joists and sill plates, and want foam with a code evaluation.

Skip it if

The joint moves with the seasons, like a pipe through siding; Loctite’s flexible foam suits that better.

Gaps & Cracks is the can I’d keep on a plumbing truck, and I’ve used it. Great Stuff’s sheet calls it a ready-to-use, minimal-expansion polyurethane foam that fills, seals and insulates gaps up to 1 inch.

The sheet lists where it goes, and pipe penetrations are on the list, along with rim joists, sill plates, outdoor fixtures and attics. It adheres to wood, metal, masonry, glass and most plastics.

It’s tack-free in 10 to 15 minutes and trims in an hour, cures rigid, and can be painted, stained and sanded. Great Stuff says one 12-ounce can equals up to 22 tubes of caulk.

Its code paperwork is the reason it’s my top pick. ICC-ES ESR-1961 lists Gaps & Cracks among the Great Stuff foams evaluated for filling the annular space where pipes and conduits pass through wood fireblocking.

This listing is the Smart Dispenser version. Great Stuff says the dispenser threads onto the can, stays on, and can be reused for up to 30 days, with no drip because the foam stops when you stop.

Where it lost points: a 10- to 15-minute tack-free time scored 8 against Loctite’s 6 to 8, and it cures rigid, which scored 7.

Great Stuff warns that its foams aren’t for filling closed cavities or voids, such as between walls and under tub surrounds, and that cured foam shouldn’t be exposed above 240°F.

Great Stuff gives its tack-free and trim times at 70°F, give or take 5, and says cure depends on temperature, humidity and bead size. It also says the skin of cured foam can discolor in natural light, so paint or coat any foam that shows.

My call: that tub-surround warning is the one plumbers break most. Foam the pipe hole in the plate, not the cavity behind the tub.

Best for joints that move

Loctite Tite Foam

Gaps & Cracks Insulating Foam Sealant, 12 oz

2975892
$7.28
Check it on Amazon
Sold by Amazon.com · in stock · price as of Oct 24, 2026, 5:30 AM EDT
8.8Spec scoreHow it’s scored
Code evaluation7
Tack-free time10
Reusable dispenser7
Flexibility published10
Yield published10

Pros

  • Flexible: over 25% movement capability
  • Tack-free in 6–8 minutes
  • Service temperature −40 to 176°F
  • Closed-cell, UV resistant
  • About 134 ft of ⅜-inch bead per can

Cons

  • Not a fire stopping material, per Loctite
  • One-time use
  • Doesn’t bond to polyethylene or PTFE
Gaps to 1 in.Tack-free 6–8 minCut in 45–55 minCures in ~24 hr−40–176°F12 fl oz

Buy it if

You’re sealing an outside faucet or a pipe through siding, where the joint moves and the foam may see sun.

Skip it if

The hole is through a top plate or other fireblocking; Loctite says not to use it where fire stopping is required.

Loctite’s Tite Foam is the foam I’d use outside, and I’ve used it. Loctite’s technical data sheet calls it a closed-cell polyurethane foam that expands to fill, seal and insulate gaps and cracks inside or out up to 1 inch.

Loctite names plumbing jobs directly: sealing around wiring and plumbing penetrations, gas line penetrations, outside water faucets, rim joists and crawlspace drafts. It bonds to wood, metal, stone, brick and PVC.

It’s the fastest here: tack-free in 6 to 8 minutes, cuttable in 45 to 55 and cured in about 24 hours at 73°F and 50% humidity. A 12-ounce can runs about 134 feet of ⅜-inch bead, per Loctite.

The cured foam is a flexible solid with more than 25% movement capability and a service range of −40 to 176°F. Loctite says it resists UV better than standard foam, but still recommends painting or coating exposed foam.

Where it lost points: Loctite says it isn’t a fire stopping material and shouldn’t be used where fire stopping is required, which scored 7 on code evaluation, and it expects one-time use, which scored 7.

Read its limits before it goes near pipes. Loctite says not to use it against chimneys, heater vents, steam pipes or surfaces above 187°F, and that it doesn’t bond to polyethylene, PTFE (Teflon), siliconized and some plastic and rubber surfaces.

My reading: PEX is a polyethylene, so foam won’t grip PEX itself. It can still fill the hole around it, but don’t count on it to hold the pipe.

Loctite gives an 18-month shelf life for an unopened can and prints a best-by date on the bottom. The foam is bright white, which shows against dark siding, so plan to paint it.

My call: store the can warm. Loctite wants the can above 41°F for at least 12 hours before cold-weather use.

Best for pest gaps at pipes

Great Stuff Pestblock

Insulating Foam Sealant, Smart Dispenser, 12 oz (99112809)

99112809
$10.97
Check it on Amazon
Sold by Amazon.com · in stock · price as of Oct 24, 2026, 5:30 AM EDT
8.4Spec scoreHow it’s scored
Code evaluation10
Tack-free time8
Reusable dispenser10
Flexibility published7
Yield published7

Pros

  • Listed in ICC-ES ESR-1961
  • Made to block pests, no pesticides
  • Smart Dispenser reusable for 30 days
  • Pale gray to blend with pipes and siding
  • UL Classified, CCMC 13074-L

Cons

  • Cures rigid
  • No yield figure on the sheet
  • Listing gives two tack-free times
Gaps to 1 in.Tack-free 5–15 minTrims in 1 hrCures rigidPale gray12 oz

Buy it if

Mice, ants or roaches come in along a pipe under a sink or through a wall, and you want the hole sealed.

Skip it if

You just need air sealing; Gaps & Cracks is the same foam family with a yield figure.

Pestblock is the foam I’d use where a pest is following a pipe into the house, and I’ve used it. Great Stuff’s overview says it’s made to block insects and pests by sealing the gaps, cracks and holes where they get in, and it contains no pesticides.

Great Stuff lists PVC pipe penetrations, electrical cable lines, water faucet penetrations, attic hatch frames, rim joists and sill plates as where to use it. It names spiders, ants, bees and cockroaches among the pests it blocks.

Like Gaps & Cracks, it fills gaps up to 1 inch, forms an airtight, water-resistant barrier, and is for interior and exterior use. Great Stuff’s sheet says tack-free in 5 to 15 minutes. It’s pale gray, not cream.

It carries the same paperwork: UL Classified, CCMC 13074-L and ICC-ES ESR-1961, which lists Pestblock among the foams evaluated for pipe holes through wood fireblocking.

Where it lost points: a 5- to 15-minute tack-free range scored 8, it cures rigid, which scored 7, and Great Stuff doesn’t give a yield for it, which scored 7.

One listing slip: the Amazon text says tack-free in 20 minutes in one bullet and 10 to 15 minutes in another. I use Great Stuff’s sheet, which says 5 to 15.

The same Smart Dispenser applies: thread it on, leave it attached, and use the can again for up to 30 days, per Great Stuff.

The listing adds that it adheres to wood, metal, masonry, glass and most plastics, and cures rigid for trimming in an hour, then can be trimmed, sanded, stained and painted. Great Stuff says the skin can discolor in natural light, so coat foam that shows outside.

My call: foam alone won’t stop a determined mouse at a big hole. Pack the gap with copper mesh or steel wool first, then foam over it.

The three foams side by side

From the makers’ data sheets. Scroll sideways on a phone.

PickPhotoSpec scoreMax gapTack-freeCuredCode reportReuseBuy
Great Stuff Gaps & CracksGreat Stuff Gaps and Cracks9.01 in.10–15 minRigidESR-196130 daysCheck it on Amazon
Loctite Tite FoamLoctite Tite Foam8.81 in.6–8 minFlexible, >25%Not fire stoppingOne-timeCheck it on Amazon
Great Stuff PestblockGreat Stuff Pestblock8.41 in.5–15 minRigidESR-196130 daysCheck it on Amazon

All three are one-part polyurethane foams for gaps up to 1 inch. Green marks a strength and amber a gap.

Which foam for the hole around your pipe?

Pick the pipe, enter the hole size and say where the hole is. It answers from ESR-1961 and the makers’ sheets.

Great Stuff Gaps & Cracks or Pestblock, filled the full depth of the plate

Gap around the pipe: about 0.31 inch on each side. That’s within ESR-1961’s 15/16-inch annular space limit. Loctite says not to use its foam where fire stopping is required.

Gap = (hole − pipe outside diameter) ÷ 2, for a centered pipe. Limits from ICC-ES ESR-1961 (annular space up to 15/16 inch, foam up to 3 inches thick, no sun or weather) and the makers’ 1-inch gap rating.

Outside diameters are the standard sizes: ½-inch copper and PEX are ⅝ inch OD, ¾-inch are ⅞ inch OD, and Schedule 40 PVC drain is 1.90, 2.375 and 3.5 inches OD for 1½, 2 and 3-inch pipe. My call: a 1½-inch hole for a ¾-inch line leaves about 5/16 inch all around, which foam fills easily.

Foam at pipe holes through plates: what ESR-1961 allows

ICC-ES ESR-1961 is the code evaluation for Great Stuff’s foams. It’s specific about pipe holes.

ESR-1961 ruleWhat it says
UseFill the annular space where pipes and conduits pass through wood fireblocking
Fill depthCompletely fill the annular space for the full depth of the plate
Gap limitAnnular space or exposed foam width up to 15/16 inch
ThicknessNominal foam thickness up to 3 inches
Exposed areaUp to 18 square inches per square foot of wall
WeatherNot for use where exposed to sunlight or weather
Not coveredFire-resistance-rated assemblies and through-penetration firestop systems
Burn testFlame-spread index under 25 and smoke-developed index under 450 (ASTM E84)

The report lists Gaps & Cracks, Pestblock and Fireblock among the covered Great Stuff foams. Great Stuff also sells Great Stuff Fireblock, which is bright orange so an inspector can see it, and says it impedes fire and smoke through service penetrations.

ESR-1961 also says the foam isn’t an alternative to the wood fireblocking the code prescribes. It keeps an approved fireblock intact where a pipe goes through it. My call: in a fire-rated wall between a garage and a house, or in commercial work, you need a listed firestop system instead.

Where not to use expanding foam

From the makers’ own warnings.

Don’t use it…Why, per the maker
To fill closed cavities, like behind walls or under tub surroundsGreat Stuff: flammable vapors or uncured material can build up
Against chimneys, heater vents or steam pipesLoctite: not for surfaces above 187°F
Where cured foam can get above 240°FGreat Stuff: don’t expose cured foam above 240°F
Where fire stopping is required (Loctite)Loctite: not a fire stopping material
Where it sits in sun and weather (Great Stuff, ESR)ESR-1961: not for sunlight or weather exposure
Near open flame or sparksGreat Stuff: cured foam is combustible

Great Stuff says its foams contain isocyanate and a flammable blowing agent. It says to eliminate all ignition sources (my call: that includes pilot lights), cover your skin, wear gloves and eye protection, and ventilate or wear a respirator. Loctite says a can being transported shouldn’t get above 120°F.

Great Stuff also reminds you that sealing a house tighter affects gas appliances: furnaces, water heaters, gas stoves and gas dryers must be properly vented outside. My call: after a big air-sealing job, have the water heater and furnace draft checked.

What foam sticks to, and what it doesn’t

Pipe material matters for adhesion.

SurfaceGreat StuffLoctite
Wood framingAdheresBonds
Metal (copper, steel)AdheresBonds
PVCMost plasticsBonds (named)
Polyethylene (PEX)Not statedDoesn’t bond
PTFE (Teflon) and siliconized surfacesNot statedDoesn’t bond
Masonry and brickAdheresBonds

Foam fills a hole; it doesn’t hold a pipe. My call: strap the pipe first so it can’t move, then foam the gap. A pipe that moves will tear rigid foam loose over time, which is where Loctite’s flexible foam helps. For pipe insulation itself, see our rubber vs foam pipe insulation guide.

How to foam around a pipe

From the makers’ directions, with my notes.

  1. 1
    Prep the surface

    Clean and dry or damp, not frozen; Loctite says mist porous masonry first.

  2. 2
    Warm the can

    Loctite wants the can between 41 and 86°F.

  3. 3
    Shake and fit the dispenser

    Loctite: shake 30 seconds. Great Stuff: thread the Smart Dispenser on.

  4. 4
    Fill part way

    Foam expands; fill deep gaps in layers, not all at once.

  5. 5
    Trim after it cures

    Great Stuff trims in about an hour; Loctite cuts in 45–55 minutes.

Loctite says that in dry conditions you should fill gaps in several smaller layers, up to 3 inches thick, and that uncured foam cleans up with acetone while cured foam has to be scraped or cut. Great Stuff says cure time depends on temperature, humidity and bead size. My call: a little goes a long way; most first-timers overfill.

Which foam for which gap

Great Stuff’s own lineup, from its product sheets.

FoamGapUse
Great Stuff Gaps & CracksUp to 1 in.General air sealing, pipe penetrations
Great Stuff PestblockUp to 1 in.Pest entry points, no pesticides
Great Stuff FireblockUp to 1 in.Service penetrations through fireblocking
Great Stuff Big Gap FillerUp to 3 in.Larger gaps
Great Stuff Window & DoorMinimal expansionAround window and door frames

Great Stuff makes a separate Window & Door foam that it says won’t distort or bow window and door frames when applied properly. My call: around pipes, the 1-inch foams are right. A gap bigger than 1 inch around a pipe usually means the hole was cut too big; patch it with wood or a pipe collar first.

Foam or caulk around a pipe?

My call on which one to reach for.

Gap around the pipeReach forWhy
Hairline to about ¼ inchCaulkFoam needs room to expand; a bead of caulk is neater
About ¼ to 1 inchFoamThese foams are rated for gaps up to 1 inch
Over 1 inchPatch, then foamBack it with wood, a collar or mesh first
Under a sink, where it showsEscutcheon, then caulkA trim ring hides the hole and looks finished
Pipe through a top plateFoam with an ESR reportESR-1961 covers that use

Great Stuff puts one 12-ounce can of Gaps & Cracks at up to 22 tubes of caulk, so foam wins on volume. Caulk wins where the gap is thin and the joint is seen. Our silicone sealant and polyurethane sealant guides cover the tube side, and a caulk gun makes the bead neater.

Foams we checked and left out

These came up on Amazon and in Google’s results.

FoamWhat we foundWhy it’s out
Great Stuff FireblockCovered by ESR-1961Only listing photo is too narrow to show; linked in the fireblocking section
3M Fire Block Foam FB-FoamICC-ES ESR-3165; listing says occupational use onlyLabeled not for consumer sale
DAP Touch ’n Foam Max FillLarge gap foamDifferent gap class
Great Stuff Big Gap FillerUp to 3 in.Different gap class
Unbranded foam cansMany listingsNo maker data sheets

How to choose in four questions

QuestionIf yesIf no
Is the hole behind a tub surround or in a closed cavity?Don’t foam itKeep going
Pipe hole through a top or bottom plate?Great Stuff Gaps & CracksKeep going
Outside, or a joint that moves?Loctite Tite FoamKeep going
Pests coming in along the pipe?Great Stuff PestblockGreat Stuff Gaps & Cracks

Questions people ask

What is expanding foam sealant?

A one-part polyurethane foam in a can that expands to fill, seal and insulate gaps; these three fill gaps up to 1 inch.

Where should you not use expanding foam?

Great Stuff: not in closed cavities like behind walls or under tub surrounds. Loctite: not against chimneys, heater vents or steam pipes.

Is there a fireproof expanding foam?

Not fireproof. Great Stuff Fireblock impedes fire and smoke through service penetrations, and ESR-1961 covers it for pipe holes through wood fireblocking.

Can I use expanding foam around plumbing pipes?

Yes. Great Stuff lists pipe penetrations, and Loctite names plumbing penetrations and outside faucets.

Does expanding foam stick to PEX?

Loctite says its foam doesn’t bond to polyethylene. PEX is a polyethylene, so it fills around PEX without gripping it.

How long does expanding foam take to dry?

Tack-free in 6–8 minutes (Loctite) or 10–15 minutes (Great Stuff Gaps & Cracks); trim after about an hour.

How long will expanding foam last?

Great Stuff calls the seal long-lasting; both makers say to paint or coat foam exposed to light.

What’s the difference between spray foam and expanding foam?

My call: the cans here are one-part gap foams; spray foam insulation is usually a two-part system sprayed over large areas.

Is expanding foam waterproof?

Great Stuff calls its seal water resistant; Loctite lists water resistance as yes.

Can expanding foam keep mice out?

Pestblock is made to block pests. My call: pack big holes with copper mesh first.

Can I reuse a can of expanding foam?

With Great Stuff’s Smart Dispenser, for up to 30 days. Loctite expects one-time use.

How much does one can fill?

Great Stuff: up to 22 tubes of caulk. Loctite: about 134 feet of ⅜-inch bead.

How we picked these

Why trust me

I’m Isaac Daniels, a licensed journeyman plumber in Georgia (license #JP507711), and I’ve used all three picks. Specs come from Great Stuff’s and Loctite’s data sheets and the ICC-ES evaluation report ESR-1961, read Oct 23, 2026. Where I add advice of my own, it’s labeled as my call.

How I pick

  • One kind of product: one-part polyurethane foam sealants for gaps up to 1 inch, 12-ounce cans, from established makers, new and in stock on Amazon, checked through Amazon’s product data the same day.
  • Each listing was matched to the maker’s product and item number, and the Amazon brand is the maker.
  • Each card’s spec score comes from the five checks below. All three score 7.0 or higher.
  • Where the listing and the maker disagree, the maker’s number is used.

The spec score, check by check

Each check scores 0 to 10 and counts one fifth. It’s our score from maker documents, not a customer rating or a test of our own.

Check (weight)How it’s scored
Code evaluation (⅕)10 when an ICC-ES report covers the foam at pipe penetrations; 7 when not
Tack-free time (⅕)10 when the maker’s range ends at 10 minutes or less; 8 when longer
Reusable dispenser (⅕)10 when the maker says the can can be reused; 7 for one-time use
Flexibility published (⅕)10 when the maker publishes movement capability; 7 for rigid or not stated
Yield published (⅕)10 when the maker publishes how much a can fills; 7 when not
TotalAverage of the checks, to one decimal
PickCodeTack-freeReuseFlexYieldScore
Great Stuff Gaps & Cracks108 (10–15 min)107109.0
Loctite Tite Foam710 (6–8 min)710108.8
Great Stuff Pestblock108 (5–15 min)10778.4

Sources

  • Great Stuff (Dow), Gaps & Cracks Insulating Foam Sealant product sheet. Read Oct 23, 2026.
  • Great Stuff (DuPont), Pestblock Insulating Foam Sealant product overview 43-D100015 and Fireblock product overview 43-D100013. Read Oct 23, 2026.
  • ICC Evaluation Service, ESR-1961 (reissued June 2025, revised October 2026), Great Stuff foam plastic sealants. Read Oct 23, 2026.
  • Henkel, Loctite Tite Foam Gaps & Cracks technical data sheet (revision January 15, 2025). Read Oct 23, 2026.
  • 3M, Fire Block Foam FB-Foam product data sheet (ICC-ES ESR-3165). Read Oct 23, 2026.
  • Brand-written Amazon listing text for B07GLG7B3Z, B01N21KQ4I, B07GL5H78K, B0149IBVC4 and B008KNP928, read through Amazon’s product data, Oct 23, 2026.
  • Google results for “expanding foam sealant”: seen Oct 23, 2026. Search volumes from Semrush, Oct 23, 2026.

Related guides