The short answer
The rim joist, where the floor framing sits on the foundation, is a common air-leak spot, and spray foam seals and insulates it in one step. Closed-cell foam is the usual choice. DOE gives a finished thickness of 1.5 inches for closed-cell or 5.5 inches for open-cell for the foam to act as an air barrier. The foam should connect the foundation, sill, rim board and subfloor. Small rim-joist jobs often cost more per board foot because of contractor minimums.
For many accessible basement and crawl-space rim joists, closed-cell spray polyurethane foam is a strong option, particularly where an installer needs to seal awkward framing joints in one operation. Properly cut rigid foam board with sealed edges can work too and may be more economical on small DIY projects.
The important detail is continuity. Spraying the centre of each wood rim board while leaving the sill-to-foundation seam, upper subfloor joint and service penetrations unsealed doesn’t create a reliable air barrier.
Updated October 19, 2026 for US homeowners. The correct depth and protection depend on the selected product, your climate, the locally adopted code and the surrounding wall or crawl-space assembly.
Rim Joist Spray Foam: Quick Answers
| Question | Answer |
|---|---|
| Where are rim joists? | At the outer perimeter of a floor framing system, between joist ends and the wall/foundation |
| What do they do? | Close off the floor framing perimeter and connect enclosure components |
| Why insulate them? | Reduce heat loss, drafts and condensation risk caused by uncontrolled air leakage |
| Common preferred foam | Closed-cell spray polyurethane foam in many basement/rim applications |
| Can open-cell work? | Sometimes, with climate- and product-specific vapor and condensation control |
| Is rigid foam an alternative? | Yes; cut-and-cobble rigid board with fully sealed edges is a recognised approach |
| Is there one mandatory foam depth? | No; distinguish air-barrier performance from code-required thermal resistance |
| Main problems to fix first | Wet wood, foundation leaks, pest entry and unsafe service penetrations |
| Biggest cost issue | Small jobs often carry contractor mobilization/minimum fees |
The US Department of Energy[1] recommends foam-based insulation or properly sealed rigid-foam pieces to create a continuous air barrier at this connection.
What Is a Rim Joist, and Why Does It Leak Air?
A rim joist, also called a band joist or rim board, closes the outside ends of a floor-joist system. In many homes you can see it from an unfinished basement or crawl space by looking just above the foundation wall, beneath the subfloor.
Air leakage can occur where:
- The sill plate rests on the concrete or masonry foundation.
- The rim board joins the sill plate.
- The rim board meets the subfloor.
- Floor joists connect to the rim or adjoining framing.
- Pipes, wiring, ducts and other services penetrate the perimeter.
These small gaps matter because they connect indoors to the outside or to an unconditioned crawl space. In winter, the rim board may also be a relatively cold surface.
Building Science Corporation’s Critical Seal detail[2] explains why connecting the foundation/sill, rim board and subfloor into one air-control layer is essential.
Rim Joist vs Sill Plate vs Floor Joist
The floor joists carry the floor. The rim joist closes their outer ends. The sill plate is the framing member anchored at the top of the foundation.
A contractor quoting “rim joist insulation” should say whether their scope includes sealing the sill-to-foundation connection, the upper subfloor joint and penetrations. These are not automatically covered by spraying one flat board.
Should You Use Closed-Cell or Open-Cell Foam at Rim Joists?
Both can form effective air-control layers when installed within product specifications, but they have different performance and moisture characteristics.
| Property | Closed-cell foam | Open-cell foam |
|---|---|---|
| Density | Higher, often around 2 lb/ft³ class | Lower, often around 0.5 lb/ft³ class |
| Nominal R-value per inch | Roughly R-5.8 to R-6.9[3] | Roughly R-3.6 to R-4.5[3] |
| Vapor permeance | Lower | Higher |
| Space needed for a similar nominal R-value | Usually less | Usually more |
| Installed cost per board foot | Usually higher | Usually lower |
| Rim joist suitability | Commonly selected | Possible in suitable assemblies, with extra moisture review |
Why Closed-Cell Is Often the First Choice
Closed-cell spray foam offers relatively high R-value per inch and low vapor permeability. It can help restrict indoor air from reaching a cold rim board and fit in limited-depth framing spaces.
It is commonly specified where basement foundation-wall foam must connect to the rim-joist area, creating a continuous air and thermal boundary.
That does not mean closed-cell foam can cover damp wood safely. Investigate water stains and active leaks first, and confirm the wood is dry enough for the particular product.
When Open-Cell May Be Used
Open-cell spray foam can also provide air control at approved thicknesses, but its lower R-value per inch and greater vapor permeability change the design.
Building Science Corporation notes that open-cell rim-joist systems in colder climates may need additional vapor and condensation measures. This makes the full wall and basement environment relevant, not just the quoted foam price.
For a fuller breakdown, read our open-cell versus closed-cell comparison.
How Thick Should Spray Foam Be at a Rim Joist?
The required thickness depends on two separate objectives: air sealing and thermal insulation. A layer that meets a product’s air-barrier testing requirement might not provide enough R-value for the local building code.
DOE’s educational rim-joist guidance[1] gives example finished thicknesses of 1.5 inches of closed-cell and 5.5 inches of open-cell for air-barrier performance in the referenced systems. These are not universal thickness prescriptions or proof that every marketed foam meets the same requirement.
Ask for:
- The exact manufacturer and product.
- Its tested air-barrier thickness.
- The specified finished depth and declared aged R-value.
- The local required insulation performance for that assembly.
- Confirmation of any fire-protection conditions tied to the product and application.
Illustrative R-Value Table
| Finished depth | Closed-cell at hypothetical R-6.2/in | Open-cell at hypothetical R-3.7/in |
|---|---|---|
| 1 inch | R-6.2 | R-3.7 |
| 1.5 inches | R-9.3 | R-5.6 |
| 2 inches | R-12.4 | R-7.4 |
| 3 inches | R-18.6 | R-11.1 |
| 3.5 inches | R-21.7 | R-13.0 |
These calculations are for the foam material, not the whole wall/floor assembly. The example R-values are not a substitute for the chosen product’s data sheet.
Where Exactly Should Spray Foam Be Applied?
The highest-value placement is not simply the exposed middle of the rim board. Good insulation should connect the relevant air-control surfaces.
1. The Inside Face of the Rim Board
Foam covers the interior face of the rim/band board to provide thermal resistance and reduce air movement through gaps.
2. The Rim-to-Subfloor Joint
The upper edge must be sealed where the rim board meets the floor sheathing. This is a frequent leakage path and can remain open if the application stops short.
3. The Rim-to-Sill Joint
The lower joint where the rim board meets the sill needs an effective continuous seal.
4. The Sill-to-Foundation Connection
Depending on the assembly and insulation strategy, air sealing should bridge this transition. The foundation itself must be sound, dry and appropriately prepared.
5. Adjacent Joist Bays and Penetrations
Pipes, wiring and other service penetrations may require specific materials, clearances or firestop details. Do not indiscriminately cover junction boxes, required access panels, flues or high-temperature components.
The DOE’s Sill Plates Are Installed: Sealing Rim Joists[4] highlights caulking and sealing the sill/rim region, including anchor-bolt penetrations.
Spray Foam Rim Joists in Basements vs Crawl Spaces
Unfinished Basements
An exposed basement perimeter may be straightforward to inspect and insulate. If foundation walls are also being insulated, connect the air and thermal layers rather than treating the rim as an isolated strip.
See spray foam basement walls for the whole foundation assembly.
Vented Crawl Spaces
When a crawl space remains vented, the thermal boundary often sits at the floor above it. Rim-joist sealing should integrate with subfloor insulation and air control, while keeping any designed crawl-space ventilation and required access intact.
Sealed or Encapsulated Crawl Spaces
With a properly enclosed crawl space, foundation-wall/perimeter insulation and rim-joist insulation normally form part of the thermal boundary. Ground moisture must still be controlled by an appropriate sealed vapor-retarder system, drainage and deliberate humidity management.
Read crawl space spray foam before assuming that rim-joist foam alone is a complete encapsulation project.
Rim Joist Condensation and Moisture Risks
Rim joists can become cold during winter, while moisture-bearing indoor air passes through nearby cracks. If that air reaches a cold enough wood surface, condensation can occur. Effective air sealing reduces this risk, but foam must not cover pre-existing wet or deteriorated materials.
Check for Wet Wood First
Look for dark staining, softened wood, peeling coatings, obvious leaks and persistently damp areas. A visible stain isn’t always active moisture, but it warrants investigation before concealment.
Understand Drying Potential
Closed-cell’s lower vapor permeability can restrict drying toward the basement. That may be desirable for condensation control in a particular detail, but is not a substitute for managing rainwater, foundation moisture and exterior wetting.
Prevent Pest and Termite Issues
Seal pest pathways with suitable pest-resistant materials where needed, and observe local termite inspection access or foam restrictions. Don’t cover a termite problem or eliminate required inspection gaps.
Watch Out for Flooding
In flood-prone crawl spaces and basements, insulation choices may be constrained by local flood-resistant construction rules. The appropriate assembly may differ from a conventional conditioned-basement detail.
Never make a wet rim joist look finished by hiding it under insulation.
Spray Foam vs Rigid Foam Board for Rim Joists
Rigid foam board sealed around every edge is a legitimate alternative, particularly for a smaller number of accessible, regularly shaped cavities.
| Factor | Spray foam | Cut-and-cobble rigid foam |
|---|---|---|
| Awkward irregular bays | Usually easier to cover continuously | More cutting and fitting |
| Pipes and penetrations | Requires careful protection/detailing | Requires extra trimming and edge sealing |
| Air sealing | Can be integrated in one application | Relies on caulk/approved foam at seams |
| Material cost on small DIY jobs | Two-component kits may be costly | Often lower material cost |
| Professional labor | Fast on larger or complex runs | More individual fitting work |
| Removability | Adhered foam is difficult to remove | Boards can be removed more readily |
DOE’s rim-joist educational materials specifically describe both methods. Fine Homebuilding[5] also explains how rigid panels need their edges and penetrations carefully sealed.
For a handful of simple joist bays, cut-and-seal foam board may offer better value. For many irregular bays and complicated perimeter penetrations, professional spray foam can justify the added setup cost.
How Much Does Spray Foam Rim Joist Insulation Cost?
The foam itself is a small quantity: about 233 board feet at 2 inches is roughly $303–$723 at the national closed-cell range of $1.30–$3.10 per board foot[6][7]. But many contractors have minimum job fees of $1,000–$2,000 or more[8], so a standalone rim-joist job usually costs the minimum. Pairing it with other work, or a DIY kit for small areas, changes the math; see DIY spray foam insulation.
DIY Rim Joist Spray Foam: Is It Worth It?
A homeowner can sometimes air-seal accessible rim cavities using pre-cut rigid foam with an approved sealant, subject to product instructions and local requirements. That is different from installing two-component professional spray polyurethane foam.
DIY two-component systems pose exposure, temperature, mixing and curing risks. The US EPA[9] advises suitable protective measures and manufacturer-specific ventilation and re-entry procedures.
If you are considering a kit, compare its actual usable yield, required protective equipment, disposal and the possibility of application defects with the price of a professional doing the whole perimeter.
For a small number of uncomplicated bays, foam board plus careful sealing may be the more sensible DIY route.
Rim Joist Fire Protection and Building Codes
Do not assume spray foam may be left uncovered simply because it is installed at a rim joist.
Building Science Corporation’s older Critical Seal detail discusses a historical IRC provision permitting certain exposed rim-joist foam installations subject to thickness limitations. But the adopted code edition, location, installed thickness, product listing and inspection authority all matter.
The contractor should document the applicable code pathway and whether the foam requires an approved thermal barrier, ignition barrier, coating or other protective assembly.
Ask for the manufacturer’s evaluation report where relevant and keep the documentation with the job records.
Contractor Installation Checklist
Request a written specification covering:
- Exact rim area: perimeter length, heights and any difficult bays.
- Air-barrier continuity: connection to sill, foundation and subfloor.
- Moisture inspection: no unresolved leaks, wet wood or pest damage.
- Foam product: manufacturer and technical data sheet.
- Installed thickness: minimum and target depth with a verification plan.
- Insulation performance: expected product R-value and assembly requirements.
- Services and clearances: treatment of wiring, pipes, junctions, flues and access panels.
- Fire protection: code-accepted covering or documented exception where applicable.
- Worksite safety: isolation, ventilation, PPE and product-specific re-entry instructions.
- All-in cost: minimum charge, prep, materials, cleanup, warranty and exclusions.
A good proposal should say how the rim-joist insulation joins the other air and insulation layers. A contractor who only quotes “two inches on the wood” has left out the most important performance detail.
Compare prospective installers using our spray foam contractor guide.
Questions owners ask
Should rim joists be spray foamed?
Spray foam is often an effective method of insulating and air-sealing rim joists, especially where framing joints are irregular. Properly sealed rigid foam panels are also a recognised alternative.
Is closed-cell spray foam best for rim joists?
Closed-cell is often preferred because it provides comparatively high R-value per inch and lower vapor permeability. The correct choice depends on climate, the wall assembly and product specifications.
Can open-cell foam be used on rim joists?
Yes, in suitable assemblies. Open-cell generally needs greater thickness for a given nominal R-value and may require additional vapor or condensation control in cold climates.
How thick should spray foam be at rim joists?
There is no universal depth. DOE educational guidance cites 1.5 inches of closed-cell or 5.5 inches of open-cell for air-barrier performance in referenced systems, but thermal code requirements and product approvals must also be met.
Can spray foam at rim joists trap moisture?
An improperly detailed system can conceal wet wood or restrict drying. Inspect and repair water-entry problems before insulating, and follow a suitable condensation-control strategy.
Can I use rigid foam instead of spray foam?
Yes. Cut rigid-foam panels to fit and seal all edges and penetrations using compatible materials to establish air-barrier continuity. Verify fire-protection requirements.
Does rim joist foam need a fire barrier?
Possibly. The requirement depends on foam listing, exposure, thickness, location and locally adopted code. Obtain documentation from the installer rather than assuming an exemption.
Sources
- Insulating and Sealing Rim Joists, U.S. Department of Energy, Building Science Education. Accessed October 19, 2026. DOE educational page; air-barrier thickness 5.5 in. open-cell or 1.5 in. closed-cell. No date shown.
- Info-408: Critical Seal (Spray Foam at Rim Joist), Building Science Corporation. Accessed October 19, 2026. Information sheet effective September 17, 2009; cites the IRC of that time.
- Frequently Asked Questions, Spray Polyurethane Foam Alliance (SPFA). Accessed October 19, 2026. Industry trade association. Page metadata shows modified April 27, 2026. Typical density, R-value per inch, air-barrier thickness and vapor permeance ranges.
- Sill Plates are Installed: Sealing Rim Joists, U.S. Department of Energy, Building Science Education. Accessed October 19, 2026. DOE educational page. No date shown.
- How to Insulate Your Rim Joists, Fine Homebuilding (Martin Holladay). Accessed October 19, 2026. Published September 12, 2013.
- How Much Does Spray Foam Insulation Cost?, Angi. Accessed October 19, 2026. National consumer cost guide from a survey of Angi customers. No update date shown; title says "2025 Data". Its installed per-board-foot ranges match HomeAdvisor's page updated June 17, 2026.
- How Much Does Spray Foam Insulation Cost?, HomeAdvisor. Accessed October 19, 2026. National consumer cost guide, updated June 17, 2026. Installed cost per board foot; national ranges, not quotes.
- How Much Does Spray Foam Insulation Cost?, HomeGuide. Accessed October 19, 2026. National consumer cost guide dated December 1, 2025. Installed cost per square foot and minimum job fees.
- Ventilation Guidance for Spray Polyurethane Foam Application, U.S. Environmental Protection Agency (archived). Accessed October 19, 2026. Last updated November 5, 2020; archived EPA page.