Electrical machine (1, 51), in particular an asynchronous machine, comprising - a stator, - a rotor which is rotatably mounted about an axis of rotation and interacts magnetically with the stator during operation of the electrical machine (1, 51), - a shaft on which the rotor is fixed and which has an axial bore, - an inflow element (7, 47) which extends into the axial bore such that a cooling liquid can flow out of the inflow element (7, 47) into the axial bore, - wherein the inflow element (7, 47) has an inlet pipe which extends into the axial bore, - wherein the cooling liquid can flow through a coolant inlet (34, 44) into the inlet pipe, - wherein a closed end of the axial bore has a transfer element having, on a side facing the inflow element (7, 47), a recess for deflecting the cooling liquid, - wherein the boundary of the axial bore and the external surface of the inlet pipe form a hollow cylindrical duct, through which the cooling liquid flows after the deflection, - wherein the electrical machine (1, 51) comprises a hollow cylindrical chamber (32, 42) which is disposed at an open end of the shaft such that the cooling liquid can flow out of the axial bore into the chamber (32, 42), and the chamber (32, 42) is delimited in the axial direction by an axial boundary (320, 420) on the side opposite the axial bore, - wherein a seal and a leakage chamber are disposed on the shaft such that the seal can prevent the cooling liquid from flowing into the leakage chamber apart from a residual leakage, characterised in that the axial boundary (320, 420) enables the cooling liquid to be spirally guided around the axis of rotation from the part (321, 421) of the axial boundary (320, 420) disposed axially close to the shaft to the part (322, 422) of the axial boundary (320, 420) disposed axially distant from the shaft, in order to guide the cooling liquid in a coolant outlet (33, 43) of the electrical machine. - a stator, - a rotor which is rotatably mounted about an axis of rotation and interacts magnetically with the stator during operation of the electrical machine (1, 51), - a shaft on which the rotor is fixed and which has an axial bore, - an inflow element (7, 47) which extends into the axial bore such that a cooling liquid can flow out of the inflow element (7, 47) into the axial bore, - wherein the inflow element (7, 47) has an inlet pipe which extends into the axial bore, - wherein the cooling liquid can flow through a coolant inlet (34, 44) into the inlet pipe, - wherein a closed end of the axial bore has a transfer element having, on a side facing the inflow element (7, 47), a recess for deflecting the cooling liquid, - wherein the boundary of the axial bore and the external surface of the inlet pipe form a hollow cylindrical duct, through which the cooling liquid flows after the deflection, - wherein the electrical machine (1, 51) comprises a hollow cylindrical chamber (32, 42) which is disposed at an open end of the shaft such that the cooling liquid can flow out of the axial bore into the chamber (32, 42), and the chamber (32, 42) is delimited in the axial direction by an axial boundary (320, 420) on the side opposite the axial bore, - wherein a seal and a leakage chamber are disposed on the shaft such that the seal can prevent the cooling liquid from flowing into the leakage chamber apart from a residual leakage, characterised in that the axial boundary (320, 420) enables the cooling liquid to be spirally guided around the axis of rotation from the part (321, 421) of the axial boundary (320, 420) disposed axially close to the shaft to the part (322, 422) of the axial boundary (320, 420) disposed axially distant from the shaft, in order to guide the cooling liquid in a coolant outlet (33, 43) of the electrical machine.