Roof ice dams occur in climates with freezing temperatures and significant snowfall. When the temperature in the attic is above freezing, snow on the roof melts and runs down the sloping roof. When the snowmelt runs down the roof and reaches the colder eaves (overhang) and gutters, it refreezes.
After several days of melting-freezing cycles, the freezing snowmelt builds up and forms a dam of ice, causing water to pond. The ponding water can back up under the roof shingles until water enters the attic and eventually damages interior ceilings, walls, and contents along the exterior walls.
Research has shown sun exposure in the winter has little effect on attic air temperature. Warm air from living spaces below penetrating into the attic is usually the culprit in the formation of roof ice dams.
The presence of significant icicles along the gutter or eaves may be an indication of roof ice damming.
Preventing roof ice dams
There's no way to guarantee an ice dam will not damage your home, but you can reduce the likelihood of an ice dam forming in the first place: