A solenoid valve includes a poppet formed by a valve body and a supporting plate, the supporting plate having a front surface which the valve body is firmly fixed and a rear surface contacting a tip surface of a plunger. The solenoid valve further includes a cap having: a cylindrical portion which is fitted to an outer circumference of the plunger; an inward projecting portion which projects inwardly from the cylindrical portion so as to abut an outer circumferential portion of the front surface of the supporting plate; and an outward projecting portion which projects outwardly from the cylindrical portion so as to be engaged with a spring member. The poppet is press-inserted into the cap such that the inward projecting portion of the cap and the outer circumferential portion of the front surface of the supporting plate abut each other, and the cap is press-inserted into a tip portion of the plunger such that the poppet is attached on the tip surface of the plunger.