A solenoid valve comprising: a valve main body which has a valve chamber communicating with each of an inlet port and a first outlet port; a valve body which is arranged within said valve chamber; a valve holder which retains said valve body and is made of a magnetic material; an energizing member which energizes said valve holder in a direction of said first outlet port; a pipe member which has a second outlet port communicating with said valve chamber and is extended upward from said valve chamber; a suction element which surrounds said pipe member; an electromagnetic coil which surrounds said suction element; a coil bobbin which is winded said electromagnetic coil and surrounds said valve holder and the suction element; and a mold cover which surrounds a whole of said coil bobbin, is integrated with said valve main body and defines said valve chamber by said valve main body, said pipe member and said coil bobbin, wherein said valve main body, the pipe member, the coil bobbin and the mold cover are formed by a resin material, the pipe member being structured such that a discoid welding projection portion is provided in an intermediate portion of the pipe member so as to extend in a horizontal direction, wherein the discoid welding projection portion is firmly coupled to the inner wall of the coil bobbin by a molten leading end, wherein said valve holder is slidably arranged inside a lower portion of said coil bobbin, and has a tube body which faces to said suction element, a fluid insertion hole which is pierced in said tube body, and a retention portion which retains said valve body, wherein said valve holder is sucked by said suction element and said valve body closes said second outlet port of said pipe member by exciting said electromagnetic coil, and wherein said valve holder is energized by said energizing member and said valve body closes said first outlet port by cancelling the excitation applied to said electromagnetic coil. a valve main body which has a valve chamber communicating with each of an inlet port and a first outlet port; a valve body which is arranged within said valve chamber; a valve holder which retains said valve body and is made of a magnetic material; an energizing member which energizes said valve holder in a direction of said first outlet port; a pipe member which has a second outlet port communicating with said valve chamber and is extended upward from said valve chamber; a suction element which surrounds said pipe member; an electromagnetic coil which surrounds said suction element; a coil bobbin which is winded said electromagnetic coil and surrounds said valve holder and the suction element; and a mold cover which surrounds a whole of said coil bobbin, is integrated with said valve main body and defines said valve chamber by said valve main body, said pipe member and said coil bobbin, wherein said valve main body, the pipe member, the coil bobbin and the mold cover are formed by a resin material, the pipe member being structured such that a discoid welding projection portion is provided in an intermediate portion of the pipe member so as to extend in a horizontal direction, wherein the discoid welding projection portion is firmly coupled to the inner wall of the coil bobbin by a molten leading end, wherein said valve holder is slidably arranged inside a lower portion of said coil bobbin, and has a tube body which faces to said suction element, a fluid insertion hole which is pierced in said tube body, and a retention portion which retains said valve body, wherein said valve holder is sucked by said suction element and said valve body closes said second outlet port of said pipe member by exciting said electromagnetic coil, and wherein said valve holder is energized by said energizing member and said valve body closes said first outlet port by cancelling the excitation applied to said electromagnetic coil.