There is provided a machine tool capable of housing workpieces of different sizes in a same workpiece storage unit without requiring a new workpiece storage unit. In a machine tool including a workpiece storage unit having a plurality of housing spaces housing workpieces and a processing machine processing a workpiece supplied from one of the housing spaces, the workpiece storage unit is structured so that the size of each housing space is changeable.