The present invention relates to the use of polyols of formula (I):or a salt thereof, for preventing the hair from breaking.The invention also relates to a cosmetic composition comprising at least one such polyol or a salt thereof, in a cosmetically acceptable medium, and also to a cosmetic hair treatment process using the said composition.