The present invention relates to a hair cosmetic containing the following components (A) to (C):(A) a compound represented by the following general formula (1) or a salt thereof:wherein a broken line represents the presence or absence of a π bond; R1 represents a hydroxy group or an acetoxy group; R2 represents a hydrogen atom or -COOR (R is a hydrogen atom, a methyl group, or an ethyl group); and R3 represents a hydrogen atom, an acetyl group, a methyl group, or an ethyl group;(B) a dimethylsilicone; and(C) an amino-modified silicone,the hair cosmetic satisfying such conditions that a mass ratio of the component (C) to the component (B) [(C)/(B)] is 0.3 or more and 3.0 or less; and a mass ratio of the component (A) to the component (B) and component (C) {(A)/[(B) + (C)]} is 1.0 or less.