A stator includes a stator core, a stator attachment and a plurality of segment coils. The stator core has a yoke portion, stator teeth and stator slots. The stator attachment is placed on an axial end surface of the stator core. The stator attachment includes attachment teeth, attachment slots and varnish guide faces. Each of the attachment slots communicates with an axial open end of each of the stator slots. The varnish guide faces approach an axially central side toward an attachment slot side in the radial direction. The segment coils are fixed to the stator core with varnish. Each segment coils includes plurality of conductor segments. The conductor segment is bent by making contact with the attachment teeth.