A hair care composition comprising a polymeric compound comprising allyl methacrylate and at least one polymeric segment of polyethylene glycol covalently attached to a central backbone. A preferred compound is poly [Poly (ethylene glycol) methyl ether methacrylate co allyl methacrrylate]. In particular the compound is prepared from di (ethylene glycol) methyl ether methacrylate (DEGMEMA) and allyl methacrylate (AMA). The composition may be used to protect hair from damaging treatment or to repair damaged hair.