A method of treating hair comprising the following steps: • i) applying to the hair a composition comprising a group III or group IV metal salt or combination thereof, preferably aluminium chloride • ii) followed by washing the hair.Linvention concerne une méthode de traitement capillaire comprenant les étapes suivantes: i) lapplication sur les cheveux dune composition comprenant un sel métallique de groupe III ou du groupe IV ou une combinaison de ceux-ci ii) et le lavage des cheveux.