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 R 1 -CO-, R 1 -(CH 2 ) n -CHX-CH 2 -, and R 3 -NH-CO- [R 1 is H, alkyl, alkenyl, or the like; R 2 is H, alkyl, alkoxy, alkenyl or the like; n is 0 or 1; X is H or OH; R 3 is H, alkyl, or alkenyl; at least one of R 1 to R 3 has 13 or more carbon atoms; and the entirety of R 1 , R 2 , and R 3 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.