A molded motor comprising a stator, made by molding with a thermosetting resin, including: - a stator core formed by stacking magnetic steel plates; - an insulation portion applied to the stator core; and - a winding wound around the insulation portion, wherein on an insulation inner wall provided on an inner diameter side of the insulation portion of the stator core, a plurality of inner wall protrusions, formed at axial ends of the insulation inner wall on a counter wire-connection side of the stator core are abuttable on a die core-bar portion being used when the stator is molded, and are provided in a circumferential direction of the stator core, and wherein an opening of the molded stator formed by the die core-bar portion, is formed with - a bracket fitting surface; - a bracket installation surface; - an inner-wall protrusion installation surface positioned closer to a stator core side than the bracket installation surface and having a diameter smaller than the bracket fitting surface and larger than an inner diameter of the stator core, and the inner wall protrusions are located on an axial end surface of the inner-wall protrusion installation surface, or wherein an opening of the molded stator formed by the die core-bar portion, is formed with - a bracket fitting surface; - a bracket installation surface; and - concave portions being formed in plural in a circumferential direction, extending from the bracket installation surface toward a stator core side, and extending from the inner periphery of the stator core to radially outside, and the inner wall protrusions are located on bottom surfaces of the concave portions, the bottom surfaces being perpendicular to the axial direction, or wherein an opening of the molded stator formed by the die core-bar portion, is formed with - a bracket fitting surface; - a bracket installation surface; and - holes formed in plural in the circumferential direction, positioned radially more outside than an inner periphery of the stator core, and extending from the bracket installation surface toward the stator core side, and the inner wall protrusions are located on bottom surfaces of the holes, the bottom surfaces being perpendicular to the axial direction. - a stator core formed by stacking magnetic steel plates; - an insulation portion applied to the stator core; and - a winding wound around the insulation portion, - a bracket fitting surface; - a bracket installation surface; - an inner-wall protrusion installation surface positioned closer to a stator core side than the bracket installation surface and having a diameter smaller than the bracket fitting surface and larger than an inner diameter of the stator core, - a bracket fitting surface; - a bracket installation surface; and - concave portions being formed in plural in a circumferential direction, extending from the bracket installation surface toward a stator core side, and extending from the inner periphery of the stator core to radially outside, - a bracket fitting surface; - a bracket installation surface; and - holes formed in plural in the circumferential direction, positioned radially more outside than an inner periphery of the stator core, and extending from the bracket installation surface toward the stator core side, positioned radially more outside than an inner periphery of the stator core, and extending from the bracket installation surface toward the stator core side,