A problem to be solved by the present invention is to provide a hair cosmetic which can be easily applied to the hair uniformly, and at the same time, does not drip from the hair, does not spatter when applied to the hair, and does not dirty the surrounding, clothing, the skin or the like. The present invention relates to a hair cosmetic comprising (A) a cationic surfactant, (B) a nonionic surfactant, (C) a higher alcohol, (D) an oil having an IOB value of 0.1 or lower, and (E) water, which is used after being mixed with a gas to be thickened.