The present invention is directed to composition for straightening or relaxing hair containing: (a) at least one hydroxide-containing active ingredient (b) at least one polyhydric alcohol having 4 or more carbon atoms and two hydroxyl groups (c) optionally, at least one nonionic surfactant having an HLB of from about 8 to about 20 (d) optionally, at least one amphoteric and/or zwitterionic surfactant and (e) remainder, to 100%, of a cosmetically suitable medium.