A laser machining device (100) is provided with a Z-axis motor (6) that changes the position of a machining head (3) in a direction that changes the distance between a machining nozzle (10) and a work (7), a first distance sensor (8) that outputs on the basis of the distance between the machining nozzle (10) and the work (7) by detecting the work (7) within a first range and tracks the machining head (3) in the direction that changes the distance between the machining nozzle (10) and the work (7), a second distance sensor (9) that outputs on the basis of the distance between the machining nozzle (10) and the work (7) by detecting the work (7) within a second range and does not track the machining head (3) in the direction that changes the distance between the machining nozzle (10) and the work (7) and a control device (1) that controls the Z-axis motor (6) and performs tracer control, wherein the control device (1) changes tracer control conditions on the basis of the output of the second distance sensor (9) and performs tracer control on the basis of the output of the first distance sensor (8) under the changed conditions.