Open calculators

Ice Dams: Why They Form and How to Prevent Them

An ice dam is a heat problem that shows up as an ice problem. Why snow melts on a roof in freezing weather, the order of fixes that actually works, and how wide the eave membrane the code asks for really is.

Short answer

Keep the roof deck cold

Ice dams form when heat from the house warms the roof deck under the snow. The lasting fix, in order: seal air leaks into the attic, insulate the attic floor, ventilate from soffit to ridge. A membrane at the eaves limits leaks; it does not stop dams.

Every winter the same scene repeats on houses in snow country: a thick ridge of ice along the gutters, icicles down to the shrubs and, a few days later, a brown stain on a bedroom ceiling near the outside wall. The ice is the visible part. The cause is upstairs, in the attic, and it is the reason chipping at the ice never solves anything for long.

How an ice dam forms

The Building America Solution Center, the Department of Energy’s building-science reference maintained by Pacific Northwest National Laboratory, sums it up in one condition: ice dams occur when snow lies on a roof and the roof deck under that snow rises above freezing. Snow is a modest insulator, about R-1 to R-2 per inch by the Solution Center’s figure, so a blanket of it traps whatever heat reaches the deck. Heat escaping from the house melts the bottom of the snow. The meltwater runs down under the snow until it reaches the overhang, which sits outside the heated walls and stays as cold as the air. There it refreezes. The ridge of ice grows, the next meltwater pools behind it, and the pooled water backs up under the shingles, which shed running water but were never meant to hold a pond.

It does not take much snow. The Solution Center notes that dams can form with as little as 2 inches on the roof, and that they are typically prevalent where the design ground snow load exceeds 60 pounds per square foot and likely above 30. IBHS makes the same regional point from the insurance side: northern homes are more exposed to ice dams and snow loads, southern ones to frozen pipes.

The fixes, in the order that works

  1. 1. Air-seal the ceiling

    The Solution Center calls air sealing the most important step. Warm air leaking through top plates, wiring holes, recessed lights, plumbing stacks, flues and the attic hatch carries far more heat to the roof than conduction through insulation does. ENERGY STAR lists ice dams among the symptoms that point to attic problems.

  2. 2. Insulate the attic floor, all the way to the edge

    For vented attics in climate zones 5 and higher the Solution Center recommends R-60 or more, and over the exterior wall top plates at least the R-value of the wall itself, ideally full attic depth. The thin spot over the walls is exactly where the dam forms.

  3. 3. Ventilate from soffit to ridge

    Outside air entering at every rafter bay at the soffit and leaving at the ridge carries away the heat that does get through. The Solution Center recommends at least a 2-inch air space above the insulation, more than the 1-inch minimum in the IRC through its 2021 edition, held open with baffles.

  4. 4. Back it up with an eave membrane

    A self-adhering membrane under the roofing at the eaves keeps backed-up water out of the house while the first three steps do their job, or when an unusual winter beats them.

Notice what is not on that list: heat cables and extra vents on their own. A heat cable can keep a channel open through the ice, but it does nothing about the heat that made the dam. Ventilation carries away heat that reaches the attic, yet it is the last of three steps for a reason: the Solution Center puts sealing the ceiling plane first, because no vent keeps up with a steady stream of warm house air leaking in. If a house gets ice dams year after year, that is a reliable sign of an air-leakage and insulation problem, and our guide to air sealing before adding attic insulation walks through the leak points.

What the code asks for at the eaves

Where a jurisdiction’s climate table, IRC Table R301.2(1), records a history of ice forming at the eaves, the International Residential Code requires an ice barrier under the roofing (Section R905.1.2 in recent editions). As quoted in a Montana Building Codes Bureau technical advisory on the 2012 code, the barrier is either at least two layers of underlayment cemented together or a self-adhering polymer-modified bitumen sheet, and it must extend from the lowest edges of all roof surfaces to a point at least 24 inches inside the exterior wall line of the building. Detached accessory buildings with no conditioned floor area are exempt. The Solution Center adds field details: lap membrane sections about 6 inches shingle-fashion, run the membrane over the metal drip edge, and on steep roofs of 8:12 or more carry it at least 3 feet up from the eave.

Worked example: how wide is “24 inches inside the wall”?

The 24 inches is measured to a point inside the wall line, but the membrane is laid along the slope, from the eave edge. Take an overhang that projects 12 inches horizontally from the outside face of the wall. The membrane has to reach 12 + 24 = 36 inches horizontally. Along the roof, that distance is longer by the slope factor, the square root of 1 + (rise ÷ run)².

Membrane length up the slope to cover 36 inches horizontally (12-inch overhang + 24 inches)
Roof pitchSlope factorLength along the slopeOne 36-inch course enough?
4:12 1.054 about 37.9 in No, just short
6:12 1.118 about 40.2 in No
8:12 1.202 about 43.3 in No

So with a 36-inch-wide roll, even a modest overhang usually needs a second course, and a deeper overhang needs it even more. On a 40-foot house with eaves on both long sides, two courses on each side mean about 160 linear feet of membrane before end laps and waste. Measure your own overhang, use your pitch and the width printed on your roll, and check the exterior wall line at the eave, not at a bay or porch. Our roof underlayment calculator turns the area into rolls with laps and waste.

Snow and ice on the roof: stay on the ground

For snow removal that will not endanger you or damage the roof, IBHS advises hiring a snow removal contractor. Do not climb onto a snowy or icy roof, and do not chop at an ice dam: it is easy to cut the shingles you are trying to protect.

Will more attic insulation alone stop ice dams?

Not by itself. Insulation slows conduction, but warm air leaking through gaps carries heat straight past it. Seal first, then insulate, then make sure the soffit-to-ridge air path is open.

Are icicles a problem?

Large icicles along the eaves are a visible sign that snow is melting on the roof above. They point to the same heat loss that builds dams.

Does a new roof need the ice barrier everywhere?

Only where your jurisdiction requires it, and then along the eaves to 24 inches inside the wall line. Check the local amendments and Table R301.2(1) with your building department.

Should I turn on heat cables before a storm?

If you already have an ice dam prevention system, IBHS suggests turning it on before the snow starts. Treat it as a stopgap while the attic is fixed.

Sources

Building America Solution Center (DOE/PNNL), Construct Roofs and Attics for Ice Dam Prevention, https://basc.pnnl.gov/resource-guides/construct-roofs-and-attics-ice-dam-prevention; Attic Air Sealing, Insulating and Ventilating for Ice Dam Prevention, https://basc.pnnl.gov/information/attic-air-sealing-insulating-and-ventilating-ice-dam-prevention; Roof Eaves Sealed with Self-Adhering Membrane in Cold Climates, https://basc.pnnl.gov/resource-guides/roof-eaves-sealed-self-adhering-membrane-cold-climates; Montana Department of Labor and Industry, Building Codes Bureau, Technical Advisory T1-16, Ice Barrier Underlayment (2012 IRC R905 and IBC 1507 text), https://bsd.dli.mt.gov/Building-Codes-Permits/code-interpretation-request/T1-16---Ice-Barrier---Boland-.pdf; IBHS, Winter Ready home checklist, https://disastersafety.org/wp-content/uploads/2023/01/Winter-Ready-Home-Checklist5.pdf; ENERGY STAR, Identify Problems You Want to Fix, https://www.energystar.gov/saveathome/seal_insulate/identify-problems-you-want-fix. Checked November 27, 2026. The slope table and linear-feet figures are our arithmetic; your adopted code edition and local amendments govern.

Related calculators & guides

Calculator

Roofing Shingle Calculator

Convert measured roof area into roofing squares and whole bundles of field shingles, with an adjustable cutting…