A solenoid valve, comprising: a main body having a valve chamber in which a first flow path and a second flow path for inflow and outflow of a fluid communicate with each other via a valve seat, a coil member arranged in the main body for generating a predetermined magnetic field, a fixed iron core fixed to an inner peripheral side of the coil member in the main body and configured to be excited by the coil member, a movable iron core arranged opposite the fixed iron core on the inner peripheral side of the coil member in the main body and excited by the coil member to move close to and away from the fixed iron core, a valve body integrally provided with the movable iron core to open and close the valve seat, a cylindrical member made of a nonmagnetic material interposed between the coil member and the fixed iron core and the movable iron core, a biasing member arranged on the fixed iron core to continuously bias the movable iron core in the direction of the valve seat, a first spacer member (90, 90A) made of a molded resin body which is attached to a fixed iron core side end of the movable iron core, is in continuous contact with the inner peripheral surface of the cylindrical member, and configured to abut against the fixed iron core when the movable iron core moves in the direction of the fixed iron core, and a second spacer member which is mounted on an outer periphery of the movable iron core on the valve body side and is in continuous contact with an inner peripheral surface of the cylindrical member together with the first spacer member so as to form a space between a side surface of the movable iron core and an inner peripheral surface of the cylindrical member, characterized in that the first spacer member (90, 90A) is mounted on a stepped attachment part formed on the end of the movable iron core on the side of the fixed iron core, and the first spacer member (90, 90A) has an outer circumferential contact part which bulges from the outer peripheral side of the first spacer member (90, 90A) to protrude more outwardly than the outer peripheral surface of the movable iron core so as to continuously contact the inner peripheral surface of the cylindrical member. a main body having a valve chamber in which a first flow path and a second flow path for inflow and outflow of a fluid communicate with each other via a valve seat, a coil member arranged in the main body for generating a predetermined magnetic field, a fixed iron core fixed to an inner peripheral side of the coil member in the main body and configured to be excited by the coil member, a movable iron core arranged opposite the fixed iron core on the inner peripheral side of the coil member in the main body and excited by the coil member to move close to and away from the fixed iron core, a valve body integrally provided with the movable iron core to open and close the valve seat, a cylindrical member made of a nonmagnetic material interposed between the coil member and the fixed iron core and the movable iron core, a biasing member arranged on the fixed iron core to continuously bias the movable iron core in the direction of the valve seat, a first spacer member (90, 90A) made of a molded resin body which is attached to a fixed iron core side end of the movable iron core, is in continuous contact with the inner peripheral surface of the cylindrical member, and configured to abut against the fixed iron core when the movable iron core moves in the direction of the fixed iron core, and a second spacer member which is mounted on an outer periphery of the movable iron core on the valve body side and is in continuous contact with an inner peripheral surface of the cylindrical member together with the first spacer member so as to form a space between a side surface of the movable iron core and an inner peripheral surface of the cylindrical member, characterized in that the first spacer member (90, 90A) is mounted on a stepped attachment part formed on the end of the movable iron core on the side of the fixed iron core, and the first spacer member (90, 90A) has an outer circumferential contact part which bulges from the outer peripheral side of the first spacer member (90, 90A) to protrude more outwardly than the outer peripheral surface of the movable iron core so as to continuously contact the inner peripheral surface of the cylindrical member.