The composition for hair cosmetic preparation to provide foam hair cosmetic preparation is provided. The composition for hair cosmetic preparation comprises: a plurality of different agents including a first agent and a second agent, wherein the first agent containing at least a carbonate, wherein the second agent containing at least an acid having function of decomposing the total carbonate, wherein the plurality of different agents are composed to self-foam when being mixed with each other, and at least one agent among the plurality of different agents contains a thickener to regulate viscosity of the hair cosmetic preparation in a range of 1,500 mPa.s to 83,000 mPa.s.