A numerical control machine tool including a holding means (58, 60, 210) adapted to hold a workpiece, a barrier setting means adapted to set a barrier with respect to the holding means (58, 60, 210), a machining means adapted to machine the workpiece, a movement means adapted to move the machining means, a machining control section including a control means, an interference checking means and a writing means, wherein the control means are adapted to control movement of the movement means in accordance with a machining program through which the workpiece is machined, and the interference checking means are adapted to stop the movement of the movement means when it is determined that the machining means enters the barrier for the holding means (58, 60, 210), the machine tool characterized by further comprising: a manipulation means (150, 155) through which a barrier canceling command for canceling the barrier set with respect to the holding means (58, 60, 210) is input; wherein, when the movement of the movement means is stopped due to determination by the interference checking means that interference occurs during an initial machining of the workpiece by executing the machining program, the writing means is adapted to write, based on manipulation of the manipulation means (150, 155), the barrier canceling command in a corrected version of the machining program for a position where the interference checking means determines that interference occurs, the barrier canceling command causing to cancel the interference check executed by the interference checking means, wherein the writing means is further adapted to register the corrected machining program in a memory, wherein the machining control section is adapted to control the movement of the movement means for a next workpiece being of the same type as the workpiece in the initial machining in accordance with the corrected machining program, wherein the interference checking means is caused to omit the interference check for the portion in which the barrier canceling command has been written, and the machining control section continues an execution of the corrected machining program. a manipulation means (150, 155) through which a barrier canceling command for canceling the barrier set with respect to the holding means (58, 60, 210) is input; wherein, when the movement of the movement means is stopped due to determination by the interference checking means that interference occurs during an initial machining of the workpiece by executing the machining program, the writing means is adapted to write, based on manipulation of the manipulation means (150, 155), the barrier canceling command in a corrected version of the machining program for a position where the interference checking means determines that interference occurs, the barrier canceling command causing to cancel the interference check executed by the interference checking means, wherein the writing means is further adapted to register the corrected machining program in a memory, wherein the machining control section is adapted to control the movement of the movement means for a next workpiece being of the same type as the workpiece in the initial machining in accordance with the corrected machining program, wherein the interference checking means is caused to omit the interference check for the portion in which the barrier canceling command has been written, and the machining control section continues an execution of the corrected machining program.