A stator of a rotary electric machine comprising a stator core provided with a plurality of slots extending in an axial direction and being spaced apart from one another in a circumferential direction, and coils wound around through the slots,
- wherein the coils comprise coil end portions protruding outward in the axial direction from an end surface of the stator core, and
- wherein the stator comprises a restricting member situated on an inner side of the coil end portions in a radial direction, the restricting member being adapted to prevent the coil end portions from being deformed inward in the radial direction.