How to Insulate a Rim Joist: Foam Board, Batts and Spray Foam
Cold floors and drafts around the edges of your first floor may have more to do with the framing above your foundation than the floor itself. If you're researching how to insulate rim joist cavities, start by combining insulation with air sealing.
For most accessible, dry basement rim joists, carefully fitted rigid foam with sealed edges is a practical DIY solution. Closed-cell spray foam suits irregular cavities, while fiberglass batts work better as part of a properly designed hybrid assembly.

Why Insulate Rim Joists?
The rim joist, also called the band joist, runs around the perimeter of the floor framing. In a typical basement, it sits above the sill plate, which rests on the foundation wall. The floor joists meet the rim joist at their ends.
Several construction joints come together here, creating potential paths for outdoor air. Gaps around plumbing and wiring can add to the problem.
Insulating and sealing this area can reduce drafts and heat transfer near the floor perimeter. It can also limit the amount of humid indoor air reaching cold wood during winter.
Building Science Corporation's Info-408 research guidance identifies condensation as a particular concern when air can pass through fibrous insulation and reach the cold rim board.
Check for water stains, damp wood, mold and pest damage before covering anything. Insulation will not fix a foundation leak or damaged framing. Resolve these problems first, and confirm that the wood has an adequate drying path.
Best Way to Insulate a Rim Joist
Your choice depends on the shape of the framing, moisture conditions, access and the location of your home's thermal boundary. In a conditioned basement or closed, insulated crawl space, the rim joist generally forms part of that boundary.
| Method | Pros | Watch-outs |
|---|---|---|
| Rigid foam board with sealed edges | Straightforward to cut and inspect; combines insulation and air sealing | Requires accurate fitting, suitable vapor properties and fire protection where required |
| Closed-cell spray foam insulation | Conforms to irregular framing and seals joints | Chemical exposure precautions, product-specific thickness limits and application skill |
| Batts with a suitable air barrier | Useful for supplementing an existing foam layer | Air-permeable batts alone do not seal leaks; condensation control is essential |
For regular rectangular cavities, start by considering rigid insulation. For awkward framing with numerous penetrations, a professionally installed spray foam system may be more appropriate.
The US Department of Energy's Building Science Education resource recommends rigid foam or spray foam for insulating and sealing rim joists.
If you are also upgrading your foundation walls, consider how the rim joist treatment will connect to the rest of your basement insulation. Avoid leaving an uninsulated strip between these areas.
A vented crawl space may have its thermal boundary at the floor instead. See our guide to how to insulate a crawl space and establish the intended assembly before changing ventilation or insulating the perimeter.
How to Insulate Rim Joist Cavities With Rigid Foam (Method 1)
This technique is commonly called cut and cobble. Individual foam pieces fit against the rim board, and compatible sealant closes the surrounding gaps.
Choose your foam board
- Owens Corning FOAMULAR 250 XPS insulation board is an extruded polystyrene option. Explore other XPS foam insulation boards when comparing suitable products.
- Atlas EnergyShield Pro foil-faced polyiso insulation board is another option where its foil facings and vapor resistance are appropriate for the assembly.
Building America's guidance for existing band joists recommends evaluating drying potential and generally favors unfaced rigid board. Do not assume foil-faced board is suitable for every rim joist, particularly where exterior layers already restrict drying.
Measure, cut, fit and seal
- Prepare the area. Remove loose existing insulation where safe, clean the surfaces and inspect the framing. Wear gloves, safety glasses and suitable respiratory protection for the work.
- Measure each cavity. Older framing is often uneven. Measure the height and width individually rather than cutting every piece from the same template.
- Cut the board. Use a straightedge and an appropriate cutting tool. Aim for a close fit with enough room to apply the compatible perimeter sealant.
- Fit the insulation. Position the piece directly against the inside face of the rim board. Avoid leaving a cavity behind it where indoor air could circulate.
- Seal the edges. Apply compatible foam sealant around the perimeter and suitable penetrations. HandiFoam Gun Foam Sealant 24 Oz is designed for small gaps and voids. Follow its application and safety instructions.
- Check adjoining joints. Seal accessible framing junctions with appropriate materials, including the sill-to-foundation connection where permitted. Inspect for missed gaps after curing and install required fire protection.

For additional cutting and fitting guidance, see our article on installing foam board insulation.
Method 2: Closed-Cell Spray Foam
An appropriately specified closed-cell spray foam insulation system can conform to the shape of the framing and join the air barrier across multiple surfaces. It is particularly useful when a cavity contains obstructions that make rigid boards difficult to fit.
When comparing spray foam kits, distinguish between products designed for sealing gaps and those approved for insulating entire cavities. They are not automatically interchangeable.
The DOW FROTH-PAK 200 Board-Foot Kit (1.75 PCF) is a listed two-component kit in the 1.75 pounds per cubic foot density class. DuPont documents this density as FROTH-PAK foam insulation for insulating and air-sealing rim joists and sill plates, as distinct from FROTH-PAK foam sealant, which is intended primarily for sealing gaps. Confirm the exact kit name, permitted thickness and fire-protection requirements in the current manufacturer literature before use.
Thickness and safe application
Determine the required thickness from the product's documented R-value, air barrier performance, condensation control needs and approved application limits. Never assume a single pass achieves the necessary insulation performance.
EPA government guidance highlights the need for chemical exposure controls during spray polyurethane foam installation. Follow the product instructions and safety data sheets for protective clothing, chemical-resistant gloves, eye protection and appropriate respiratory protection.
Isolate the work area, ventilate as specified, and keep unprotected occupants and pets away until the manufacturer's re-entry and re-occupancy requirements are met. A simple dust mask is not adequate for two-component spray foam application.
If you cannot safely establish these conditions, particularly in a confined crawl space, hire a qualified spray foam contractor.
Method 3: Batts Plus an Air Barrier
Fiberglass or mineral wool batts can add thermal resistance, but neither should be relied on to stop air movement through a rim joist cavity.
In cold weather, indoor moisture can travel through fibrous insulation and condense on the wood behind it. Even tightly fitted batts do not eliminate this risk.
A better approach is a properly designed foam-and-batt assembly, with an adequate air-impermeable insulation layer against the rim board and fibrous insulation toward the interior. The foam must have sufficient thermal resistance to manage condensation for the climate and total insulation level. Seal it before installing the batts.
Do not compress batts or add interior polyethylene without assessing the assembly's drying potential. Adding batts also does not automatically satisfy foam fire protection requirements.
Read more about combining these materials in our flash and batt insulation guide.
Code and Fire Safety Notes
The 2021 International Energy Conservation Code (IECC), Table R402.4.1.1, addresses rim joist air sealing and insulation. Its rim joist row calls for an exterior air barrier, sealed rim-to-sill and rim-to-subfloor joints, and insulation that stays in contact with the rim board.
The 2021 International Residential Code (IRC), Section R316.4, generally requires foam plastic to be separated from the interior by a thermal barrier, such as half-inch gypsum board.
Section R316.5.11 provides a conditional exception for foam plastic spray applied to sill plates and headers, or installed in the perimeter joist space. All these criteria must be met:
- Foam thickness no greater than 3¼ inches.
- Density between 0.5 and 2.0 pounds per cubic foot.
- Flame spread index no higher than 25 and smoke-developed index no higher than 450 under ASTM E84 or UL 723 test standards.
These are exception limits, not recommended insulation thicknesses. Do not assume a foil facing or a foam product's fire rating alone qualifies. Crawl space ignition barrier provisions and product approvals may also apply.
See our spray foam thermal barrier guide for background.
Model codes apply only where adopted, sometimes with amendments. Check which edition your local building department enforces. Confirm required termite inspection gaps, and consult the appliance manufacturer and a qualified contractor about combustion air and clearances around gas appliances and flues.
Frequently Asked Questions
What is the best way to insulate a rim joist?
Sealed rigid foam is a practical choice for accessible, dry cavities. Properly specified closed-cell spray foam suits irregular framing where safe application is possible.
Can I use fiberglass on rim joists?
Yes, as part of an assembly with effective air sealing and climate-appropriate condensation control. Fiberglass alone is not an air barrier.
Does rim joist insulation need to be covered?
Foam usually needs approved fire protection unless the specific installation qualifies for an exception. Confirm this before leaving it exposed.
What R-value do I need for rim joists?
There is no universal target. Follow the applicable thermal envelope requirements for your climate, assembly and project type. Ask your building department how the rim joist is classified.
Is spray foam or foam board better for rim joists?
Foam board suits regular cavities and careful DIY fitting. Spray foam insulation conforms to complex shapes but requires more application and safety controls.
Bottom Line
Knowing how to insulate rim joist cavities starts with understanding air leakage and moisture. Choose a suitable foam system, seal the framing junctions, maintain necessary drying paths and finish with any required fire protection. Check the entire perimeter, not just the easy-to-reach openings.
Rated Excellent