Machine tool for, in particular, machining workpieces, comprising - a front loading space and a rear working space with at least one working spindle for, in particular, machining workpieces, - a swivel carrier arranged between the loading space and the working space, which is mounted so as to be rotatable about a horizontal main axis of rotation and has at least one workpiece carrier (10a, 10b) on each of two carrier sides (9a, 9b) disposed opposite each other with respect to the main axis of rotation for clamping workpieces, wherein the swivel carrier is oriented upright in a first rotational end position and in a second rotational end position rotated through 180° relative to the first rotational end position, wherein in the first rotational end position of the swivel carrier, one of the two workpiece carriers (10a, 10b) is arranged in the loading space for loading with workpieces and the other workpiece carrier is arranged in the working space for machining workpieces, and in the second rotational end position of the swivel carrier, the two workpiece carriers (10a, 10b) are interchanged with each other, wherein the swivel carrier protrudes less far into the loading and working spaces (3, 4) in the two rotational end positions than during the swivelling between the two rotational end positions, and - at least one functional device (17, 17') which interacts with the clamped workpieces and is movably mounted driven by a motor between at least one parking position, which is located outside an enveloping cylinder defined by rotation of the swivel carrier, and at least one working position, which is located inside the enveloping cylinder and in the two rotational end positions of the swivel carrier in front of one of the two workpiece carriers (10a, 10b) in each case, characterized in that the at least one functional device (17, 17') is guided in a manner such that it can be displaced in the axial direction of the main axis of rotation between the at least one parking position and the at least one working position by means of at least one guide (18, 18') which is arranged in the loading or working space (3, 4) outside the enveloping cylinder. - a front loading space and a rear working space with at least one working spindle for, in particular, machining workpieces, - a swivel carrier arranged between the loading space and the working space, which is mounted so as to be rotatable about a horizontal main axis of rotation and has at least one workpiece carrier (10a, 10b) on each of two carrier sides (9a, 9b) disposed opposite each other with respect to the main axis of rotation for clamping workpieces, wherein the swivel carrier is oriented upright in a first rotational end position and in a second rotational end position rotated through 180° relative to the first rotational end position, wherein in the first rotational end position of the swivel carrier, one of the two workpiece carriers (10a, 10b) is arranged in the loading space for loading with workpieces and the other workpiece carrier is arranged in the working space for machining workpieces, and in the second rotational end position of the swivel carrier, the two workpiece carriers (10a, 10b) are interchanged with each other, wherein the swivel carrier protrudes less far into the loading and working spaces (3, 4) in the two rotational end positions than during the swivelling between the two rotational end positions, and - at least one functional device (17, 17') which interacts with the clamped workpieces and is movably mounted driven by a motor between at least one parking position, which is located outside an enveloping cylinder defined by rotation of the swivel carrier, and at least one working position, which is located inside the enveloping cylinder and in the two rotational end positions of the swivel carrier in front of one of the two workpiece carriers (10a, 10b) in each case,