The present disclosure relates to a solenoid of an
electromagnetic valve where the number of processes can be reduced and breaking of a conductive wire can be suppressed in a simple structure, and the solenoid of the
electromagnetic valve according to the present disclosure comprises a conductive wire; a
bobbin having a tubular winding portion where the conductive wire is wound around in a coil shape and a
flange portion disposed on both end portions of the winding portion; a terminal portion which is disposed on the
flange portion and protrudes in a planar shape in a direction perpendicular to the central axis of the
bobbin on a radially outer side than the winding portion relative to the central axis, and in which two terminals are provided on a distal end portion side; and two wall portions which are disposed on both sides of the terminal portion in a width direction, stand upright in a central axis direction and face each other, wherein both end portions of the conductive wire are drawn out from the
bobbin to the terminal portion, directed toward a radially outer side from a winding portion side of the two wall portions and electrically connected to the terminals.