The present invention relates to a cosmetic composition, in particular for conditioning the hair, comprising:&mdashone or more sulphate, sulphonate or carboxylic anionic surfactants comprising a fatty chain,&mdashone or more solid fatty alcohols, and&mdashone or more solid fatty esters. The invention also relates to a process for cosmetic treatment, in particular for conditioning, of keratin materials, in particular sensitized hair, using said composition.