Home An ice dam forms when snow melts and the water runs down the roof, then freezes when it reaches cooler parts of the roof near the eaves.