An enclosed motor, comprising: a metallic motor casing having a peripheral wall portion formed in a cylindrical shape and an end wall portion for closing one end opening of said peripheral wall portion; a rotor provided in said metallic motor casing to drive an output shaft projecting from said metallic motor casing through a shaft hole in said end wall portion; a stator provided at the periphery of said rotor in said metallic motor casing to rotationally drive said rotor; a cover member provided to close the other end opening of said metallic motor casing; characterized by a connector body integrally formed of a resin so as to close the other end opening of said metallic motor casing from the outside of said cover member, wherein said cover member is formed integrally with said stator using a resin for integrally forming said stator, and is formed so as to integrally hold a connector pin, a portion on a distal end side of which is arranged in said connector body when said connector body is molded, a proximal end portion of said connector pin serving as a terminal for connecting an end portion of a coil in said stator, said terminal is located outside a bobbin in the axial direction of the bobbin on which said coil in said stator is wound, and the terminal extends parallel to an end surface of the bobbin, the end surface being an end of the bobbin in the axial direction, and the portion of the distal end side of the connector pin which is arranged in said connector body is provided so as to extend to an outer periphery side of said bobbin along and parallel to the end surface of said bobbin. a metallic motor casing having a peripheral wall portion formed in a cylindrical shape and an end wall portion for closing one end opening of said peripheral wall portion; a rotor provided in said metallic motor casing to drive an output shaft projecting from said metallic motor casing through a shaft hole in said end wall portion; a stator provided at the periphery of said rotor in said metallic motor casing to rotationally drive said rotor; a cover member provided to close the other end opening of said metallic motor casing; characterized by a connector body integrally formed of a resin so as to close the other end opening of said metallic motor casing from the outside of said cover member, wherein said cover member is formed integrally with said stator using a resin for integrally forming said stator, and is formed so as to integrally hold a connector pin, a portion on a distal end side of which is arranged in said connector body when said connector body is molded, a proximal end portion of said connector pin serving as a terminal for connecting an end portion of a coil in said stator, said terminal is located outside a bobbin in the axial direction of the bobbin on which said coil in said stator is wound, and the terminal extends parallel to an end surface of the bobbin, the end surface being an end of the bobbin in the axial direction, and the portion of the distal end side of the connector pin which is arranged in said connector body is provided so as to extend to an outer periphery side of said bobbin along and parallel to the end surface of said bobbin.