The problem addressed by the present invention is to provide a machine tool (1) that has a simple structure and can suppress thermal deformation of a bed (5) resulting from the heat of a spindle motor (4). The machine tool (1) is provided with: a bed (5) at which a headstock (2) is disposed; a spindle motor (4) that drives the headstock (2); and a spacer (8) that is disposed between the bed (5) and the spindle motor (4) and that demarcates an air layer (A) interconnecting to the outside between the bed (5) and the spindle motor (4).