A cosmetic agent for cosmetically treating keratin fibers, in particular human hair, containing, in a cosmetic carrier, i) at least one setting polymer selected from the group formed of nonionic setting polymers and cationic setting polymers, and ii) from 0.05 to 0.4 wt.%, based on the total weight of the agent, of compounds of formula comprising at most 20 ethylene oxide units R 1 -X 1 -(O-CH 2 CH 2) n -OH in which R 1 represents a linear or branched, saturated or unsaturated hydrocarbon functional group having 8 to 20 carbon atoms, X 1 represents a direct bond or a carbonyl group, n represents an integer from 1 to 20, and iii) at least one linear or branched compound of formula having at least 30 ethylene oxide units in which R 2 represents a linear or branched (C 7 to C 21) alkylcarbonyl group, a linear or branched (C 7 to C 21) alkenylcarbonyl group, or a linear or branched, saturated or unsaturated (C 8 to C 22)-hydrocarbon functional group, R represents a hydrogen atom or a group of formula in which x and y represent, independently of one another, an integer from 0 to 80, R 3 and R 4 represent, independently of one another, a hydrogen atom or a linear or branched, saturated or unsaturated (C 7 bis C 21) alkylcarbonyl group, z represents an integer from 0 to 80 with the provisos that, - when R is a group of formula, at least one group of R 2, R 5, R 4 represents a linear or branched (C 7 to C 21) alkylcarbonyl group or a linear or branched (C 7 to C 21) alkenylcarbonyl group and the sum x + y + z is at least 30, - when R represents a hydrogen atom, z represents an integer from 30 to 80 and iv) at least one propellant. i) at least one setting polymer selected from the group formed of nonionic setting polymers and cationic setting polymers, and ii) from 0.05 to 0.4 wt.%, based on the total weight of the agent, of compounds of formula comprising at most 20 ethylene oxide units R 1 -X 1 -(O-CH 2 CH 2) n -OH in which R 1 represents a linear or branched, saturated or unsaturated hydrocarbon functional group having 8 to 20 carbon atoms, X 1 represents a direct bond or a carbonyl group, n represents an integer from 1 to 20, and R 1 represents a linear or branched, saturated or unsaturated hydrocarbon functional group having 8 to 20 carbon atoms, X 1 represents a direct bond or a carbonyl group, n represents an integer from 1 to 20, iii) at least one linear or branched compound of formula having at least 30 ethylene oxide units in which R 2 represents a linear or branched (C 7 to C 21) alkylcarbonyl group, a linear or branched (C 7 to C 21) alkenylcarbonyl group, or a linear or branched, saturated or unsaturated (C 8 to C 22)-hydrocarbon functional group, R represents a hydrogen atom or a group of formula in which x and y represent, independently of one another, an integer from 0 to 80, R 3 and R 4 represent, independently of one another, a hydrogen atom or a linear or branched, saturated or unsaturated (C 7 bis C 21) alkylcarbonyl group, z represents an integer from 0 to 80 with the provisos that, - when R is a group of formula, at least one group of R 2, R 5, R 4 represents a linear or branched (C 7 to C 21) alkylcarbonyl group or a linear or branched (C 7 to C 21) alkenylcarbonyl group and the sum x + y + z is at least 30, - when R represents a hydrogen atom, z represents an integer from 30 to 80 and R 2 represents a linear or branched (C 7 to C 21) alkylcarbonyl group, a linear or branched (C 7 to C 21) alkenylcarbonyl group, or a linear or branched, saturated or unsaturated (C 8 to C 22)-hydrocarbon functional group, R represents a hydrogen atom or a group of formula in which x and y represent, independently of one another, an integer from 0 to 80, R 3 and R 4 represent, independently of one another, a hydrogen atom or a linear or branched, saturated or unsaturated (C 7 bis C 21) alkylcarbonyl group, z represents an integer from 0 to 80 with the provisos that, - when R is a group of formula, at least one group of R 2, R 5, R 4 represents a linear or branched (C 7 to C 21) alkylcarbonyl group or a linear or branched (C 7 to C 21) alkenylcarbonyl group and the sum x + y + z is at least 30, - when R represents a hydrogen atom, z represents an integer from 30 to 80 and - when R is a group of formula, at least one group of R 2, R 5, R 4 represents a linear or branched (C 7 to C 21) alkylcarbonyl group or a linear or branched (C 7 to C 21) alkenylcarbonyl group and the sum x + y + z is at least 30, - when R represents a hydrogen atom, z represents an integer from 30 to 80 iv) at least one propellant.