PROBLEM TO BE SOLVED: To provide a hair cosmetic that is excellent in the effect of preventing the damage to hair by ultraviolet light and the color fading of dyed hairs, and is capable of lasting the effect even if shampoo is performed for a plurality of times after application to hair, and furthermore, to provide the hair cosmetic that has good feel of finishing and can impart firmness and resilience to hair.SOLUTION: A hair cosmetic of the present invention contains: water-soluble ultraviolet absorber (A) 0.1 to 3 wt%; water-soluble cellulose (B) 0.5 to 6 wt%; sugar alcohol (C) 0.05 to 6 wt%; and polyether-modified silicone (D) 0.1 to 10 wt%.SELECTED DRAWING: None