Provided is a hair cosmetic containing the following components (A) to (C): (A) A compound represented by general formula (1) or a salt thereof [in the formula, the broken line represents the presence or absence of a pi bond. R1 represents a hydroxyl group or an acetoxy group. R2 represents a hydrogen atom or —COOR (R is a hydrogen element, a methyl group or an ethyl group). R3 represents a hydrogen atom, an acetyl group, a methyl group or an ethyl group.]; (B) dimethyl silicone; and (C) amino-modified silicone. The mass ratio (C)/(B) of component (C) to component (B) falls within the range of 0.3 to 3.0, and the mass ratio of component (A) to the total of component (B) and component (C) is less than or equal to 1.0.