The present invention provides a hair cosmetic composition that is used after foaming by shaking and mixing plural agents, so as to enhance foam-retention after foaming by mixing without causing defects brought by facilitating high-viscosity of the agents in advance, wherein acid agent containing one or more anionic polymer selected from acrylic acid polymer is comprised in the plural agents of the hair cosmetic composition that is used after foaming by shaking and mixing plural agents, and the mixture of the plural agents becomes alkaline.