An electromagnetically-driven valve mechanism comprising: a valve member disposed at a fluid inlet port; a movable plunger (31b, 31c) operated by an electromagnetic force; a spring member biasing the movable plunger (31b, 31c) on a side opposite the electromagnetic force; and an electromagnetic drive mechanism (31b, 33, 35, 36, 380) for operating the valve member through the movable plunger (31b, 31c) against the spring member by electromagnetically biasing the movable plunger (31b, 31c) to open and close the fluid inlet port; the electromagnetic drive mechanism including a core portion (33, 36) adapted to receive the movable plunger (31b, 31c) inserted therethrough, an annular or cylindrical electromagnetic coil portion (52, 53) attached around the core portion (33, 36), a cylindrical yoke portion surrounding the outside of the electromagnetic coil portion (52, 53), a resin-molded body (57, 380) composed of the electromagnetic coil portion (52, 53) and the yoke portion, a connector portion formed integrally with the resin-molded body (57, 380) so as to be used for connection with external equipment, and an external connection terminal made of a conductor and mounted to the connector portion; wherein an electric connection portion between an end of a lead line forming the electromagnetic coil portion and one end of the external connection terminal is disposed externally of the yoke portion. a valve member disposed at a fluid inlet port; a movable plunger (31b, 31c) operated by an electromagnetic force; a spring member biasing the movable plunger (31b, 31c) on a side opposite the electromagnetic force; and an electromagnetic drive mechanism (31b, 33, 35, 36, 380) for operating the valve member through the movable plunger (31b, 31c) against the spring member by electromagnetically biasing the movable plunger (31b, 31c) to open and close the fluid inlet port; the electromagnetic drive mechanism including a core portion (33, 36) adapted to receive the movable plunger (31b, 31c) inserted therethrough, an annular or cylindrical electromagnetic coil portion (52, 53) attached around the core portion (33, 36), a cylindrical yoke portion surrounding the outside of the electromagnetic coil portion (52, 53), a resin-molded body (57, 380) composed of the electromagnetic coil portion (52, 53) and the yoke portion, a connector portion formed integrally with the resin-molded body (57, 380) so as to be used for connection with external equipment, and an external connection terminal made of a conductor and mounted to the connector portion; a core portion (33, 36) adapted to receive the movable plunger (31b, 31c) inserted therethrough, an annular or cylindrical electromagnetic coil portion (52, 53) attached around the core portion (33, 36), a cylindrical yoke portion surrounding the outside of the electromagnetic coil portion (52, 53), a resin-molded body (57, 380) composed of the electromagnetic coil portion (52, 53) and the yoke portion, a connector portion formed integrally with the resin-molded body (57, 380) so as to be used for connection with external equipment, and an external connection terminal made of a conductor and mounted to the connector portion; wherein an electric connection portion between an end of a lead line forming the electromagnetic coil portion and one end of the external connection terminal is disposed externally of the yoke portion.