Electric machine comprising - a stator having a stator carrier and having a stator lamination stack which is fixed thereto and which - carries a stator winding having winding heads which axially project beyond the stator lamination stack, wherein - a winding head is potted with a thermally conductive potting compound which - forms an outer circumferential surface and an inner circumferential surface, wherein - the outer circumferential surface is in thermally conductive contact with a stator carrier, and wherein - the stator has a cylindrical interior space in which a rotor which is mounted rotatably by means of a rotor shaft is arranged so as to form a radial air gap, characterized in that - the electric machine has a first fluid cooling device for wetting the inner circumferential surface of a winding head with a cooling fluid, wherein - provision is made of at least one first fluid-guiding element, which is fixed to the winding head and is formed such that a cooling fluid introduced into the interior space, during operation of the electric machine, is substantially prevented from entering the air gap situated between rotor and stator, and wherein - the first fluid-guiding element has a separating wall region which, with a radially outer fastening portion, is fixed in a substantially fluid-tight manner to the inner circumferential surface of a winding head and which is formed to be closed apart from a central passage opening for the rotor shaft, and wherein further - the first fluid cooling device comprises a fluid inlet channel which is formed in the rotor shaft and which, by means of at least one first fluid exit opening, is fluidically connected to a region of the interior space that faces a face side (42, 44) of the stator, wherein - the fastening portion is arranged on the inner circumferential surface so as to be on the rotor side of the first fluid exit opening in the axial direction, and wherein - one of the winding heads is able to be wetted with cooling fluid on a portion of the inner circumferential surface that extends from the fastening portion towards the face side (42, 44). - a stator having a stator carrier and having a stator lamination stack which is fixed thereto and which - carries a stator winding having winding heads which axially project beyond the stator lamination stack, wherein - a winding head is potted with a thermally conductive potting compound which - forms an outer circumferential surface and an inner circumferential surface, wherein - the outer circumferential surface is in thermally conductive contact with a stator carrier, and wherein - the stator has a cylindrical interior space in which a rotor which is mounted rotatably by means of a rotor shaft is arranged so as to form a radial air gap, - the electric machine has a first fluid cooling device for wetting the inner circumferential surface of a winding head with a cooling fluid, wherein - provision is made of at least one first fluid-guiding element, which is fixed to the winding head and is formed such that a cooling fluid introduced into the interior space, during operation of the electric machine, is substantially prevented from entering the air gap situated between rotor and stator, and wherein - the first fluid-guiding element has a separating wall region which, with a radially outer fastening portion, is fixed in a substantially fluid-tight manner to the inner circumferential surface of a winding head and which is formed to be closed apart from a central passage opening for the rotor shaft, and wherein further - the first fluid cooling device comprises a fluid inlet channel which is formed in the rotor shaft and which, by means of at least one first fluid exit opening, is fluidically connected to a region of the interior space that faces a face side (42, 44) of the stator, wherein - the fastening portion is arranged on the inner circumferential surface so as to be on the rotor side of the first fluid exit opening in the axial direction, and wherein - one of the winding heads is able to be wetted with cooling fluid on a portion of the inner circumferential surface that extends from the fastening portion towards the face side (42, 44).