The short answer
In an A-frame the rafters are the wall and the ceiling, so you insulate one sloped plane and there is no attic to hide mistakes. A 2x8 rafter gives 7.25 in of depth and a 2x10 gives 9.25 in, which is less than the 2021 energy code's ceiling values ask for in most zones. The usual answer is insulation between the rafters plus rigid foam over them, or closed-cell spray foam. Our plan does not draw insulation.
Our plan draws a weather-tight shell: floor on piers, rafters, roof, gable walls, door and windows. It does not draw insulation, wiring, plumbing or heat, and our designer says so on every design. That is the boundary most shell kits draw, and it is also the place where a cabin that looks finished stops being comfortable. This guide is about the next step.
We sell plans, so the shell is ours. The insulation facts below come from code summaries and named sources. We could not open the ICC’s own text for the roof and energy sections on the day we wrote this, so check the numbers against the edition your town adopted.
Insulating Between and Over the Rafters
Start with the depth you have. An A-frame has no attic floor to blow insulation onto and no wall cavity. The rafter is both, and the insulation goes between the rafters, over them, or both.
Our designer’s minimum rafter is a 2x8, even where a 2x6 would pass the span check, because an A-frame rafter is also the side wall and the deeper member leaves room for insulation later. The rafters it draws are 2x8, 2x10 or 2x12 depending on the size and the snow load. The depth of each is a nominal-lumber fact, not a design choice:
| Rafter | Depth | R needed per inch of depth for R-30 | for R-49 | for R-60 |
|---|---|---|---|---|
| 2x8 | 7.25 in | 4.1 | 6.8 | 8.3 |
| 2x10 | 9.25 in | 3.2 | 5.3 | 6.5 |
| 2x12 | 11.25 in | 2.7 | 4.4 | 5.3 |
This is arithmetic on the depth, to show what a product has to deliver. It is not a product claim: check the R-value per inch from the maker of the insulation you plan to buy. The plain point is that a full cavity of a common batt does not reach the higher numbers on a 2x8, and that is before a vent gap takes away an inch or two under the deck.
Vented or unvented roof
A vented roof leaves a clear air gap between the insulation and the underside of the roof deck, from a vent at each eave to a vent at the ridge, so moisture that gets into the roof can leave. A vent baffle at the eave holds the insulation back from the deck. In an A-frame that is hard to do well: the roof is steep and long, the gap is small and the ridge has to vent without a ridge board.
An unvented roof has no gap. The insulation goes tight to the deck and it has to be air-impermeable, such as closed-cell spray foam, so warm indoor air cannot reach the cold deck and condense there. The 2021 IRC covers unvented attic and rafter assemblies in section R806.5. Green Building Advisor1 reports that where air-permeable insulation such as batts is combined with air-impermeable insulation, such as rigid foam above the roof sheathing, a ratio rule in the code sets how much of the total the air-impermeable layer must be. It also reports that the minimum R-values in the code’s Table R806.5 were not changed for 2021 and are the same as in 2018. We could not read the table itself, so we do not quote its values here. Ask your building department which assembly it accepts and which table applies.
- 1Green Building Advisor IRC 2021 and the ratio rule for hybrid roof insulation
How Much R-Value
The 2021 International Energy Conservation Code, which the IRC points to for residential energy, sets minimum R-values by climate zone. A summary from the Pacific Northwest National Laboratory2 shows these ceiling values for 2021: R-30 in climate zone 1, R-49 in zones 2 and 3 and R-60 in zones 4 through 8. The US Department of Energy3 shows the same ceiling values. Wood-frame wall values in the PNNL summary run from R-13 in zones 1 and 2 to R-30, or R-20 plus 5 of continuous insulation, in zones 4 and above. The floor values in the same summary run from R-13 in zones 1 and 2 to R-38 in zones 7 and 8, with footnotes on the higher zones that the summary does not spell out, so check the floor column in the code itself.
Which number applies to an A-frame
That is a question for your building department. The rafter is both ceiling and wall, the code was written for houses with attics and a cabin may be treated as a dwelling or may not be regulated for energy at all. The question to ask is whether it sees the roof of your A-frame as a ceiling, a wall or a sloped assembly, and whether your town has adopted the 2021 energy code, an older one or its own amendments.
Where energy rules apply, the numbers show why most A-frames need insulation above the deck as well as between the rafters. With 7.25 in or 9.25 in of rafter depth, a code ceiling value of R-49 or R-60 asks for far more R per inch than a cavity can deliver, which is where rigid foam on top of the roof deck comes in.
- 2Pacific Northwest National Laboratory 2009 to 2021 IECC and IRC minimum insulation requirements for new homes
- 3US Department of Energy Energy efficient home improvement credit: insulation and air sealing
Options
Batts and baffles
Mineral wool or fiberglass batts fitted between the rafters, a vent baffle at the eave to hold the air gap, and an interior finish over them. It is the cheapest layer by the square foot and the one a careful owner can install. Its limits are the depth of the rafter and the quality of the fit: a gap or a compressed batt loses much of its value. It needs a vented roof and an air barrier and vapor control layer on the warm side, and it leaves the rafters as thermal bridges, because a rafter conducts heat much faster than the insulation beside it.
Rigid foam on top
Rigid foam or an insulated sheathing panel goes over the roof deck, under the roofing, so it covers the rafters and cuts the thermal bridge. It adds R without using rafter depth. It also raises the roof surface, so the eave, the gable trim and the steel panels or shingles have to take the added thickness, and long fasteners have to reach the rafters through it. The Barn Yard’s4 A-frame kit is built this way: the seller lists ZIP R-sheathing on the roof and the gables, which is an insulated sheathing panel. We read that on the seller’s page on November 20, 2026.
Spray foam
Closed-cell spray foam sprayed under the roof deck and between the rafters makes an air-impermeable, unvented roof in one layer, and it gives high R per inch. It is also the most expensive and the one you cannot do yourself. HomeGuide5 put spray foam at $1.50 to $5.00 per sq ft in January 2026. The two roof planes of an 18x24 A-frame come to about 864 sq ft, our arithmetic from the rafter length and the cabin length, so spray foam on the roof alone would run from roughly $1,300 to $4,300 by that range, before the gables, the floor and the installer’s minimum charge.
Limit
Moisture is the risk, not cold
Warm indoor air that reaches a cold roof deck condenses on it, and a cabin with a woodstove, a kitchen and a shower makes a lot of it. Whatever you choose, seal the air leaks first, keep the layers in the right order for your climate and ask your building department or an insulation contractor which assembly they accept.
The Floor Over Piers
The floor of a cabin on piers is exposed to the air underneath, so it is a cold surface, and the energy code has its own value for it. The joists our plans draw are 2x8 or 2x10, so the depth is the same kind of limit. Batts held up with wire or netting are the common choice, with a rodent barrier and an air barrier on the underside, or spray foam under the subfloor. Keep the insulation tight to the subfloor so there is no gap for cold air to move through, and plan for the plumbing: pipes that run in the floor need to be on the warm side of the insulation or heated.
Check the foundation first, in A-frame cabin foundation, because the pier height and the joist depth set what fits under the floor.
Where Insulation Fits in the Budget
Insulation is not in our material list, and it is one of the lines that separates a shell from a finished cabin, as in A-frame cabin cost. It also comes before the interior finish: the paneling and the kitchen in A-frame cabin interior go over it. The order of the whole build is in how to build an A-frame cabin.
Design the shell in the cabin designer, free, and read the rafter size for your snow load, since that is the depth you have to work with. The $59 plan is drawn from that design.
Sources
Every number in this guide that does not come from our own cabin designer was checked against these 6 documents, numbered in the order the text first cites them and read between Oct 8, 2026 and Nov 20, 2026. 1 is a code book or an official page; 5 are secondary sources (secondary pages), marked, used only where no code book or official page gives a number.
- 1Green Building AdvisorSecondary sourceIRC 2021 and the ratio rule for hybrid roof insulation
- 2Pacific Northwest National LaboratorySecondary source2009 to 2021 IECC and IRC minimum insulation requirements for new homes
- 3US Department of EnergyEnergy efficient home improvement credit: insulation and air sealing
- 4The Barn YardSecondary sourceA-Frame Cabin Kit, 12 x 18 ft post and beam (2026)
- 5HomeGuideSecondary sourceHow much does it cost to build an A-frame house? (January 16, 2026) (January 2026)
- 6The Home DepotSecondary sourceShelf prices, Hamilton Mill store, lumber, plywood, hardware, concrete and roofing (2026)
