The invention provides a gel-form hair cosmetic composition, which contains components (a) to (c) emulsified in an aqueous component, and which exhibits an endothermic peak temperature of from 40°C to 75°C as measured through DSC, wherein the components are (a) a polyalkyleneimine derivative or a salt thereof, the polyalkyleneimine derivative being formed of a polyalkyleneimine having a weight average molecular weight of from 3,300 to 50,000, in which one of the substituents of R1-CO-, R1-(CH2)n-CHX-CH2-, and R3-NH-CO- [R1 is H, alkyl, alkenyl, or the like; R2 is H, alkyl, alkoxy, alkenyl or the like; n is 0 or 1; X is H or OH; R3 is H, alkyl, or alkenyl; at least one of R1 to R3 has 13 or more carbon atoms; and the entirety of R1, R2, and R3 has an average number of carbon atoms of 9 or more and a linear group content of 30 mol% or more] is bonded to 40 mol% or more of the nitrogen atoms of the polyalkyleneimine; (b) a C12 to C28 saturated aliphatic alcohol; and (c) a cationic surfactant.