Provided are a laser machining device and a laser machining method capable of stably operating an autofocus function without causing an unfavorable state such as an overshoot etc. A laser machining device and a laser machining method of the present invention performs a normal AF (autofocus) control when a scan position of the machining laser light and the detecting laser light is located in a work central portion, and performs a slow-tracking AF (autofocus) control with a trackability to a displacement of a main surface of a work reduced to be lower than a trackability of the normal AF control when the scan position of the machining laser light and the detecting laser light is located in a work end portion.