Electric machine - having a housing, - having a stator arranged in the housing, - having a rotor which is arranged in the stator and which is mounted on the housing so as to be rotatable about an axis of rotation, - wherein the rotor has a rotor shaft which is led out through a front wall of the housing, - wherein the rotor shaft has, on the outer side of the front wall, a drive element which serves for transmission of torque between the rotor and a drivetrain when the electric machine is incorporated into the drivetrain, - wherein the rotor shaft is rotatably mounted in a front bearing which is inserted into the front wall, - wherein the front bearing is, at an inner side of the front wall, sealed off with respect to an interior of the housing by way of a labyrinth seal, - wherein the labyrinth seal has a holding plate which is arranged on the inner side of the front wall and which has an annular collar inwardly protruding towards the rotor, - wherein the labyrinth seal has an annularly encircling flange which is formed on the rotor and which protrudes outwardly towards the front bearing, - wherein the flange axially overlaps the annular collar over a length, - wherein an outer annular gap is formed between the flange and the annular collar, characterized - in that the labyrinth seal has an annular groove which is arranged on the rotor shaft and which is radially open, - in that the annular collar axially overlaps the annular groove, - in that an inner annular gap is formed between a surface in which the annular groove is situated and the annular collar, - in that the flange axially overlaps the annular collar at a side averted from the annular groove, - in that the outer annular gap is at least twice as large as the inner annular gap and smaller than a wall thickness of the annular collar. - having a housing, - having a stator arranged in the housing, - having a rotor which is arranged in the stator and which is mounted on the housing so as to be rotatable about an axis of rotation, - wherein the rotor has a rotor shaft which is led out through a front wall of the housing, - wherein the rotor shaft has, on the outer side of the front wall, a drive element which serves for transmission of torque between the rotor and a drivetrain when the electric machine is incorporated into the drivetrain, - wherein the rotor shaft is rotatably mounted in a front bearing which is inserted into the front wall, - wherein the front bearing is, at an inner side of the front wall, sealed off with respect to an interior of the housing by way of a labyrinth seal, - wherein the labyrinth seal has a holding plate which is arranged on the inner side of the front wall and which has an annular collar inwardly protruding towards the rotor, - wherein the labyrinth seal has an annularly encircling flange which is formed on the rotor and which protrudes outwardly towards the front bearing, - wherein the flange axially overlaps the annular collar over a length, - wherein an outer annular gap is formed between the flange and the annular collar, - in that the labyrinth seal has an annular groove which is arranged on the rotor shaft and which is radially open, - in that the annular collar axially overlaps the annular groove, - in that an inner annular gap is formed between a surface in which the annular groove is situated and the annular collar, - in that the flange axially overlaps the annular collar at a side averted from the annular groove, - in that the outer annular gap is at least twice as large as the inner annular gap and smaller than a wall thickness of the annular collar.