An axial flux machine comprising: - a shaft having a rotational axis in axial direction; - a stator having a central axis corresponding to the rotational axis, and comprising a plurality of coils, and - a rotor comprising a first and a second rotor disk having a central axis corresponding to the rotational axis, wherein the first and the second rotor disk are mounted on both sides of the stator, each of the rotor disks (101, 102) being axially separated from the stator by an air gap (901, 902) and comprising permanent magnets, wherein the rotor comprises: - a shifting element, rotatably mounted while secured in axial direction relative to the stator; - a first (501, 401) and a second pair (502, 402) of mechanical mating elements, adapted to mate the shifting element and the first respectively second rotor disk, and enabling an axial displacement of the first respectively second rotor disk relative to the shifting element by rotating the first respectively second rotor disk relative to the shifting element, wherein an equal rotation of the first and the second rotor disk relative to the shifting element, results in an equally-sized but opposite axial displacement of the first and second rotor disk relative to the shifting element; - a coupling element, mechanically coupling the first and the second rotor disk, thereby blocking a rotation of the first rotor disk relative to the second rotor disk while allowing for an axial displacement of the first rotor disk relative to the second rotor disk, CHARACTERIZED IN THAT: - the first respectively second pair of mechanical mating elements comprises a first respectively second guiding spline, adapted to mesh with a corresponding spline (401, 402) comprised in the first respectively second rotor disk, the first guiding spline and the second guiding spline both being comprised in a cylindrical surface of the shifting element; - the coupling element comprises a third guiding spline, adapted to mesh with a corresponding spline (403, 404) comprised in the first respectively second rotor disk, the third guiding spline being comprised in a cylindrical surface of the coupling element; - the shifting element and the coupling element are separate elements mounted coaxially, the cylindrical surface of the coupling and shifting element having a central axis corresponding to the rotational axis. - a shaft having a rotational axis in axial direction; - a stator having a central axis corresponding to the rotational axis, and comprising a plurality of coils, and - a rotor comprising a first and a second rotor disk having a central axis corresponding to the rotational axis, wherein the first and the second rotor disk are mounted on both sides of the stator, each of the rotor disks (101, 102) being axially separated from the stator by an air gap (901, 902) and comprising permanent magnets, - a shifting element, rotatably mounted while secured in axial direction relative to the stator; - a first (501, 401) and a second pair (502, 402) of mechanical mating elements, adapted to mate the shifting element and the first respectively second rotor disk, and enabling an axial displacement of the first respectively second rotor disk relative to the shifting element by rotating the first respectively second rotor disk relative to the shifting element, - a coupling element, mechanically coupling the first and the second rotor disk, thereby blocking a rotation of the first rotor disk relative to the second rotor disk while allowing for an axial displacement of the first rotor disk relative to the second rotor disk, - the first respectively second pair of mechanical mating elements comprises a first respectively second guiding spline, adapted to mesh with a corresponding spline (401, 402) comprised in the first respectively second rotor disk, the first guiding spline and the second guiding spline both being comprised in a cylindrical surface of the shifting element; - the coupling element comprises a third guiding spline, adapted to mesh with a corresponding spline (403, 404) comprised in the first respectively second rotor disk, the third guiding spline being comprised in a cylindrical surface of the coupling element; - the shifting element and the coupling element are separate elements mounted coaxially, the cylindrical surface of the coupling and shifting element having a central axis corresponding to the rotational axis.