The invention relates to hairsprays comprising a pressurized container and an aerosol composition which can be found in the pressurized container and which contains, based on the weight of the composition, 20 to 80 wt.% at least one propellant 0.1 to 20 wt.% at least one solidifying polymer and 0.01 to 5 wt.% ester of the formula (I), in which R1 represents -H or -CH3, R2 represents a straight-chain or branched alkyl group with 7 to 15 carbon atoms, and n represents a whole number from the group 1, 2, 3, 4, 5, 6, 7, 8. The hairsprays provide hair with a more pleasant feel, improve the lightness of the hairstyle, and improve the control of the hair while also further improving the hold.