A stator for an electric machine, wherein the stator comprises: a magnetic core, which has two opposite base walls and is provided with a plurality of slots, each of them extending from a base wall to the opposite base wall; a winding, which is provided with a plurality of conductors, each having a straight segment, which is inserted in a respective slot of the magnetic core, and two curved segments, which are arranged on the outside of the magnetic core, are opposite one another and are part of two respective heads (5, 6) of the winding; and a cooling circuit, which is designed to be flown through by a cooling fluid and has an inlet opening of the cooling fluid and an outlet opening of the cooling fluid; wherein the cooling circuit comprises a plurality of main channels, which are formed inside the magnetic core beside, and radially more on the outside than the slots containing the conductors, each of them extending from a base wall to the opposite base wall; wherein the cooling circuit comprises a pair of end bodies (11, 12), each resting against a corresponding base wall of the magnetic core in a fluid-tight manner, being arranged around a corresponding head (5, 6) of the winding and containing a series of joining channels, which are connected to the ends of the main channels leading into the corresponding base wall of the magnetic core; wherein the cooling circuit comprises an inlet annular manifold, which is closed on itself by extending over 360° with no beginning and no end, is arranged coaxially with the magnetic core and is connected to the inlet opening of the cooling fluid, and an outlet annular manifold, which is closed on itself by extending over 360° with no beginning and no end, is arranged coaxially with the magnetic core and is connected to the outlet opening of the cooling fluid; and wherein some joining channels are straight, are axially arranged, and connect the annular manifolds (14, 15) to corresponding main channels; and wherein some joining channels are U-shaped, are isolated from the annular manifolds (14, 15) and each them connects two main channels; the stator being characterized in that: both annular manifolds (14, 15) are formed in the same first end body and are arranged axially one above the other namely are axially spaced apart; and the inlet annular manifold is overlapping axially the outlet annular manifold; and the outlet annular manifold is arranged axially closer to the magnetic core than the inlet annular manifold. a magnetic core, which has two opposite base walls and is provided with a plurality of slots, each of them extending from a base wall to the opposite base wall; a winding, which is provided with a plurality of conductors, each having a straight segment, which is inserted in a respective slot of the magnetic core, and two curved segments, which are arranged on the outside of the magnetic core, are opposite one another and are part of two respective heads (5, 6) of the winding; and a cooling circuit, which is designed to be flown through by a cooling fluid and has an inlet opening of the cooling fluid and an outlet opening of the cooling fluid; wherein the cooling circuit comprises a plurality of main channels, which are formed inside the magnetic core beside, and radially more on the outside than the slots containing the conductors, each of them extending from a base wall to the opposite base wall; wherein the cooling circuit comprises a pair of end bodies (11, 12), each resting against a corresponding base wall of the magnetic core in a fluid-tight manner, being arranged around a corresponding head (5, 6) of the winding and containing a series of joining channels, which are connected to the ends of the main channels leading into the corresponding base wall of the magnetic core; wherein the cooling circuit comprises an inlet annular manifold, which is closed on itself by extending over 360° with no beginning and no end, is arranged coaxially with the magnetic core and is connected to the inlet opening of the cooling fluid, and an outlet annular manifold, which is closed on itself by extending over 360° with no beginning and no end, is arranged coaxially with the magnetic core and is connected to the outlet opening of the cooling fluid; and wherein some joining channels are straight, are axially arranged, and connect the annular manifolds (14, 15) to corresponding main channels; and wherein some joining channels are U-shaped, are isolated from the annular manifolds (14, 15) and each them connects two main channels; the stator being characterized in that: both annular manifolds (14, 15) are formed in the same first end body and are arranged axially one above the other namely are axially spaced apart; and the inlet annular manifold is overlapping axially the outlet annular manifold; and the outlet annular manifold is arranged axially closer to the magnetic core than the inlet annular manifold. both annular manifolds (14, 15) are formed in the same first end body and are arranged axially one above the other namely are axially spaced apart; and the inlet annular manifold is overlapping axially the outlet annular manifold; and the outlet annular manifold is arranged axially closer to the magnetic core than the inlet annular manifold.