The present invention relates to preventing the color transfer and adhesion of a powder-containing cosmetic onto clothing. This method for producing a coating film involves an electrostatic spray step for forming a coating film on the skin by electrostatically spraying a composition directly onto the surface of the skin to which a powder-containing cosmetic has been applied. The composition contains a component (a) and a component (b), below. The method further involves a solution application step for applying a solution containing one or more of water and oils that are liquid at 20°C to the skin to which a powder-containing cosmetic has been applied, and ideally involves having the solution application step after the electrostatic spray step.(a) One or more volatile substances selected from the group consisting of water, alcohol and ketones. (b) A polymer that can form a coating film.