What is a rim joist, and why does it leak?
The rim joist (or band joist) is the board that caps the ends of your floor joists around the outside of the house. It sits on a wood sill plate on top of the foundation. You can see it at the top of the wall in an unfinished basement or crawl space.
Building Science Corporation calls the rim joist “a particularly troublesome detail.” It says the joint between the concrete foundation and the wood sill plate “is often the source of significant air leakage.”
Three things make it tricky:
- Many joints. The sill plate, rim joist and subfloor all meet here, and each seam has to be sealed.
- A cold surface. In winter the inside face of the rim joist is cold. Building Science Corporation notes this gets worse once the basement walls are insulated.
- Batts don’t stop air. Fiberglass batts stuffed into the joist bays let indoor air pass through to that cold wood. That can lead to condensation and mold.
DOE’s building science education site adds that these leaks can mean higher energy costs and cold floors.
Why spray foam works well here
Spray foam solves the air leak and the insulation in one pass. Building Science Corporation calls this the “critical seal”: foam that runs from the foundation wall, up the rim joist, and onto the underside of the floor sheathing, tying them into one air barrier. It reports that its measurements show “outstanding building airtightness” with this detail when the walls above are also well sealed.
DOE’s Home Improvement Expert checklist for unfinished basements calls for exterior rim joists to be insulated directly against the wood with closed-cell spray foam and/or rigid foam board. Rigid board works too, but every piece must be sealed at the edges, which adds labor around pipes and wires.
Closed-cell vs open-cell foam for rim joists
Closed-cell foam is the usual pick for rim joists. Here’s why, side by side.
| Closed-cell foam | Open-cell foam | |
|---|---|---|
| Density (SPFA) | 1.8–2.3 lb per cubic foot | 0.5–0.8 lb per cubic foot |
| R-value per inch (SPFA) | about R-5.8 to R-6.9 | about R-3.6 to R-4.5 |
| Thickness to count as an air barrier (DOE) | 1.5 inches or more | 5.5 inches or more |
| Vapor | At 1.5 inches, typically under 1 perm; no extra vapor retarder for most uses (SPFA) | Moisture-permeable; may need a vapor retarder in colder climates (SPFA) |
| Water | Resists water absorption (SPFA) | Can absorb and hold liquid water (SPFA) |
| Fits within the 3-1/4-inch exposed limit? | Yes, at common rim-joist thicknesses | Not at its 5.5-inch air-barrier thickness |
About that last row: the code’s exposed-foam limit is 3-1/4 inches (see below), but DOE says open-cell needs 5.5 inches to count as an air barrier. Ask your installer how they’d handle that.
Building Science Corporation says both foam types give acceptable results at the rim, but open-cell foam may need added vapor and condensation control in DOE climate zone 6 and colder. For a full comparison, see our guide to open cell vs closed cell spray foam.
How thick should rim joist foam be?
It depends on your climate and local energy code. Reference points:
- Air seal: at least 1.5 inches of closed-cell foam to qualify as an air barrier (DOE).
- DOE detail: a Building America Solution Center detail for insulated foundation walls calls for 3 inches of closed-cell foam on the inside of the rim joist, from the top of the foundation wall to the underside of the subfloor.
- R-value math: using SPFA’s range of R-5.8 to R-6.9 per inch, 2 inches of closed-cell is roughly R-12 to R-14, and 3 inches is roughly R-17 to R-21.
Ask what R-value your local code calls for at the rim and how many inches of their product that takes. Our spray foam thickness chart explains the math.
Can rim joist foam be left exposed? (Code check)
Usually, within limits. Most foam must be covered by a thermal barrier such as 1/2-inch drywall, but the International Residential Code (IRC) has an exception for sill plates and headers (rim joists):
- 2021 IRC: Section R316.5.11
- 2024 IRC: Section R303.5.11 (same text, renumbered)
Foam on sill plates and headers, or in the perimeter joist space, can skip the thermal barrier only if all three are true:
- It is no more than 3-1/4 inches thick.
- Its density is 0.5 to 2.0 pounds per cubic foot.
- It has a flame spread index of 25 or less and a smoke-developed index of 450 or less (ASTM E84 or UL 723).
Two cautions:
- Your product may be stricter. A foam’s ICC Evaluation Service (ICC-ES) report can set a lower limit. For example, ESR-2717 (reissued July 2026), for HandiFoam spray foam systems, allows exposed use on sill plates, band joists and headers only up to 2 inches thick.
- Living spaces. A DOE rim joist job aid says foam over 3.25 inches thick, or in a permanently habitable space, needs a thermal barrier such as drywall.
Your state or city picks the code edition and may amend it, so ask your building inspector to confirm.
Moisture: check before you spray
Foam can improve a dry rim joist. It can’t fix a wet one, and it slows how fast the wood dries.
DOE’s Building America Solution Center says to assess moisture inside and outside where the sill plate, band joist and floor meet the foundation. Its guidance is direct: if there is any doubt about the drying potential at the band joist, “the safest practice would be not to insulate that area.”
Before spraying, have someone check for:
- Soft, stained or rotted wood on the sill plate or rim joist
- Water coming in at the foundation, or wet soil against the house
- Signs of termites or carpenter ants (the Solution Center calls for an inspection first)
Where termites are a risk, a DOE job aid keeps a 3-inch inspection gap between the insulation and the wood. Ask what your area requires. More in our spray foam and moisture guide and our crawl space guide.
What does it cost?
Published figures are thin. Two national cost guides list a rim joist line:
- HomeGuide (updated December 1, 2025): $2,000 to $2,500 for spray foam on rim joists. It also says most spray foam companies have minimum job fees of $1,000 to $2,000 or more.
- HomeAdvisor (updated June 17, 2026): $2,000 to $2,300, including labor and materials. It notes price depends on how many rim joists your home has.
Neither guide states the foam thickness or home size behind those ranges, so treat them as rough national figures. Your price depends on your foundation perimeter, foam type and thickness, access, removal of old batts, and local labor. The only number that counts is a written quote. See our spray foam cost guide for more on pricing.
Tip: rim joists are often added to a larger basement, crawl space or attic job, which can help with minimum job fees. Ask.
DIY kit vs hiring a pro
Rim joists are one of the few spots where a kit is realistic. Building Science Corporation notes the critical seal can be done by a spray foam subcontractor or with small kits. Know the limits:
- Kit vs pro rig. The U.S. Consumer Product Safety Commission (CPSC) says the two-component, high-pressure kit is a professional system for trained applicators only. Low-pressure kits and cans are sold to consumers, but CPSC says to take the same precautions professionals do.
- Thickness limits. Kit foam may be approved for exposed use at rim joists only up to a set thickness (2 inches in the ESR-2717 example above). Read the kit’s code report.
- Health. Read the safety data sheet. CPSC advises people with asthma, respiratory allergies, skin conditions or prior isocyanate sensitization to review product information carefully.
A long perimeter, tight access or a bigger project usually favors a pro. See DIY vs professional spray foam.
Questions to ask your contractor
Get the answers in writing, on the quote:
- Which foam product will you use, and what is its ICC-ES report number?
- How many inches will you spray at the rim, and what R-value is that?
- Is that thickness within both the code’s 3-1/4-inch limit and the product’s own limit for exposed use? If not, what covering is included?
- Will you seal the sill-to-foundation, sill-to-rim, and rim-to-subfloor joints, and carry the foam onto the subfloor?
- Will you check the sill and rim for moisture, rot and pests first? What happens if you find any?
- Are old-batt removal and cleanup included?
- Is there a minimum job fee, and can rim joists be added to other work?
- How long should my family and pets stay out after spraying?
Our guide on how to choose a spray foam contractor covers licensing, insurance and references.
Find a contractor
Ready for quotes? Find spray foam contractors in your city and ask each one the questions above.
FAQ
Is spray foaming rim joists worth it?
For most basements and sealed crawl spaces, yes. It’s a known air-leak point, and closed-cell foam seals and insulates it at once. Fix moisture problems first.
Closed-cell or open-cell for rim joists?
Closed-cell is the usual choice. It reaches air-barrier thickness at 1.5 inches, resists water, and stays well under the 3-1/4-inch exposed limit.
Does rim joist spray foam need drywall over it?
Not always. The IRC (2021 R316.5.11; 2024 R303.5.11) allows exposed foam there up to 3-1/4 inches if it meets density and fire-test limits. Your product may allow less. Confirm with your inspector.
How thick should rim joist foam be?
At least 1.5 inches of closed-cell to act as an air barrier. One DOE detail uses 3 inches. Your local energy code sets the R-value target.
Can I spray foam rim joists myself?
With a low-pressure kit, it can be done. Follow the kit’s thickness limit and safety data sheet. CPSC says high-pressure systems are for trained applicators only.