Which code covers spray foam?
The International Code Council (ICC) publishes the International Residential Code (IRC), the model code for one- and two-family homes and townhouses. Spray foam falls under its foam plastic section:
| IRC edition | Foam plastic section | Thermal barrier | Attic / crawl space ignition barrier |
|---|---|---|---|
| 2021 IRC (also 2009–2018) | Section R316 | R316.4 | R316.5.3 / R316.5.4 |
| 2024 IRC | Section R303 | R303.4 | R303.5.3 / R303.5.4 |
Source: ICC Evaluation Service report ESR-1172 (reissued February 2026, revised April 2026), which cross-references the 2024 and earlier IRC section numbers.
The Spray Polyurethane Foam Alliance (SPFA) notes that states and local jurisdictions adopt different editions of the code and may change them before adopting. So the section number your inspector uses depends on where you live. The rules below describe the model code. Local amendments can change the details.
Thermal barriers: the main rule
The core rule is simple. Foam plastic insulation has to be separated from the interior of the home by an approved thermal barrier. ICC-ES evaluation reports for spray foam describe that barrier as 1/2-inch gypsum wallboard or an equivalent thermal barrier that meets the code.
A thermal barrier shields the foam from a fire’s heat for a set time. The American Chemistry Council’s code guide explains that a material qualifies as an equivalent thermal barrier by passing the NFPA 275 fire test. Part of that test checks that the temperature on the protected side doesn’t rise more than 250°F after 15 minutes of fire exposure. That’s why SPFA describes the requirement as a “15-minute thermal barrier, such as 1/2-inch gypsum board.”
In plain terms: if foam faces a room you live in, expect drywall or another approved barrier over it.
Ignition barriers in attics and crawl spaces
Attics and crawl spaces get a lighter rule, but only under specific conditions. The code allows an ignition barrier in place of a full thermal barrier where the attic or crawl space is entered only to service utilities (for example, to reach ductwork, wiring or plumbing).
Examples of prescriptive ignition barriers listed in the code include:
- 1-1/2 inches of mineral fiber insulation
- 1/4-inch wood structural panel (such as plywood), hardboard or fiber-cement board
- 3/8-inch particleboard
- 3/8-inch gypsum board
- Corrosion-resistant steel at least 0.016 inch thick
Source: American Chemistry Council, citing 2024 IRC Sections R303.5.3 and R303.5.4 (July 2026). The ignition barrier has to cover the foam so it isn’t exposed.
Two points matter here:
- The attic or crawl space still has to be separated from your living space by a thermal barrier. The lighter rule applies only inside the attic or crawl space.
- Storage can cancel the exception. If you use the attic for storage, or it is finished as living space, the “service only” condition no longer applies. North Carolina’s State Fire Marshal’s office, for example, has ruled that a floored attic (other than a narrow service walkway) counts as storage, so foam there needs a full thermal barrier instead of an ignition barrier. Other places may read it differently, which is one more reason to ask your building department.
For more on where foam goes in each space, see our guides to spray foam in the attic and spray foam in a crawl space.
Can spray foam be left exposed?
Sometimes, yes, but not by default. The code allows foam to skip the standard barrier when the specific product and assembly have passed approved large-scale fire tests. In practice, that approval is usually documented in an ICC Evaluation Service report (ESR) for that product.
ESR-1172, a current report for one low-density spray foam product, shows how this works:
- The prescribed thermal barrier can be left off only when every foam surface is covered with one of the listed intumescent (fire-protective) coatings, at the coating thickness the report requires, and the foam is no thicker than the report allows.
- In attics and crawl spaces, the ignition barrier can be left off only under conditions such as: entry is only to service utilities, no storage is allowed, and the air in that space isn’t circulated to the rest of the house.
- When the foam is left uncovered in an attic or crawl space under that report, an installation certificate has to be posted at each entrance. It lists the product, installed thickness, the installer, and the limits on using the space.
SPFA’s homeowner brochure on intumescent coatings says approved coatings may be used in place of code-prescribed thermal and ignition barriers, and that some foam products meet barrier requirements without a coating as stated in their own code compliance documents. The key word is approved: the coating, the foam and the thickness all have to match what the report allows.
Vapor retarders and R-values (the short version)
Fire protection isn’t the only code topic. Two others come up often:
- Vapor retarders. SPFA notes that open-cell foam is moisture-permeable and may need a vapor retarder in colder climates. Closed-cell foam at about 1-1/2 inches is typically below 1 perm, so no additional vapor retarder is required for most applications. See our moisture guide for more.
- R-values. States adopt their own energy codes, and the US Department of Energy’s Building Energy Codes Program tracks which edition each state uses. DOE also notes that recommended R-values depend on your region’s climate. Ask your contractor which R-value your local code calls for in each area and how thick the foam must be to reach it.
Permits and inspections
Permit and inspection rules are set locally, so whether your spray foam job needs a permit depends on your city or county and the scope of the work. Call your local building department, or ask the contractor to confirm in writing.
SPFA makes three points every homeowner should know:
- Building inspectors often check that thermal or ignition barriers meet code-approved standards.
- Spray foam has to be installed to code even if the job is never inspected.
- Don’t sign a waiver that excludes thermal or ignition barrier work. SPFA says these requirements are set by building codes and can’t be waived.
SPFA also warns that skipping required fire protection can lead to code violations, insurance problems after a fire, and trouble when you sell.
Questions to ask your contractor
Put these to every contractor you’re considering, and get the answers in the written quote:
- Which code edition does our city or county use, and will this job need a permit and inspection?
- Who pulls the permit, and who schedules the inspection?
- Which foam product will you use, and can I see its code evaluation report (ESR) number?
- Where will the foam need a thermal barrier, and is the drywall or other barrier included in your price?
- In the attic or crawl space, will you install an ignition barrier, an approved coating, or neither? If neither, which part of the evaluation report allows that?
- If you use a coating, which product, and at what thickness?
- Will you post an installation certificate, and will I get a copy for my records?
- Does using my attic for storage change what you need to install?
- How long should my family and pets stay out of the house after spraying? The US Consumer Product Safety Commission’s fact sheet, which draws on EPA and industry guidance, advises leaving the home during and after installation for at least 24 hours.
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
Does spray foam have to be covered with drywall?
In living spaces, usually yes. The model code requires foam plastic to be separated from the interior by a thermal barrier such as 1/2-inch drywall, unless the specific product has been tested and approved to be left exposed, often with a fire-protective coating.
What’s the difference between a thermal barrier and an ignition barrier?
A thermal barrier (like 1/2-inch drywall) is the stronger protection required next to living space. An ignition barrier (like 3/8-inch drywall or 1/4-inch plywood) is a lighter cover allowed only in attics and crawl spaces entered just to service utilities.
Can I store things in a spray-foamed attic?
Check first. If the foam is covered only with an ignition barrier, or left exposed under a product’s evaluation report, storage can break the conditions that allowed it. Ask your contractor and building department before you add flooring or boxes.