A process for treating hair fibers comprising: applying to the hair fibers at least one cosmetic composition comprising, in a cosmetically acceptable medium, at least one polysiloxane/polyurea block copolymer and subsequently or simultaneously heating the hair fibers at a temperature ranging from 50 to 280° C.