According to one embodiment, an injection molding machine includes a first die and a second die, a driving mechanism configured to move the second die between the first position and the second position, a holder configured to hold a film for in-mold formation, the film including metallic sheets used for covering the surface of the molded product, and an electric discharge mechanism. The electrical discharge mechanism is moved to a contact position with movement of the second die from the first position to the second position, used as a driving source. The electrical discharge mechanism is moved to a retracted position with movement of the second die from the second position to the first position, used as a driving source.