A machine tool for machining workpieces, wherein the machine tool comprises a first spindle assembly and at least one second spindle assembly, each having at least two working spindles which are arranged in a common spindle housing and on each of which a machining tool for workpiece machining can be arranged, wherein the machine tool comprises a work holding device for holding workpieces for workpiece machining by means of the machining tools, wherein the machine tool comprises a guide arrangement for the relative positioning of the work holding device holding the workpieces and of the first spindle assembly and the at least one second spindle assembly for workpiece machining, and wherein characterised in that the first spindle assembly is guided on a first spindle assembly guide of the guide arrangement and the at least one second spindle assembly is guided on a second spindle assembly guide separate from the first spindle assembly guide of the guide arrangement, so that the spindle assemblies are movable independently of one another into a working region, in which the workpieces are provided for workpiece machining by the work holding device, and a tool changing region provided for changing machining tools on the working spindles.