An impact drill , comprising: an output shaft capable of rotating around a first axis and moving along the first axis; a housing comprising an accommodating portion for accommodating at least part of the output shaft; a first impact block fixedly connected to the output shaft; a second impact block arranged in the housing; an elastic member configured to have an elastic force that makes the first impact block and the second impact block separate from each other; a stopping element for stopping the output shaft from moving backward along the first axis; and a movable element mounted on the housing; wherein the housing is formed with a through hole for accommodating at least part of the movable element, the through hole passes through the housing in a first line , and the movable element is capable of moving to a first position and a second position along the first line; wherein when the movable element moves to the first position along the first line, the movable element abuts against a rear end of the stopping element to prevent the output shaft from moving backward; wherein when the movable element moves to the second position along the first line, the movable element disengages with the stopping element to allow the output shaft to move backward, characterized in that wherein the impact drill further comprises a limiting element fixedly arranged in the housing, the limiting element is used to limit the rotation of the stopping element, the stopping element further comprises a protrusion for matching with the movable element, and the limiting element is provided with a sliding groove for the protrusion to be embedded, and the protrusion can slide along the sliding groove. an output shaft capable of rotating around a first axis and moving along the first axis; a housing comprising an accommodating portion for accommodating at least part of the output shaft; a first impact block fixedly connected to the output shaft; a second impact block arranged in the housing; an elastic member configured to have an elastic force that makes the first impact block and the second impact block separate from each other; a stopping element for stopping the output shaft from moving backward along the first axis; and a movable element mounted on the housing; wherein the housing is formed with a through hole for accommodating at least part of the movable element, the through hole passes through the housing in a first line , and the movable element is capable of moving to a first position and a second position along the first line; wherein when the movable element moves to the first position along the first line, the movable element abuts against a rear end of the stopping element to prevent the output shaft from moving backward; wherein when the movable element moves to the second position along the first line, the movable element disengages with the stopping element to allow the output shaft to move backward, characterized in that wherein the impact drill further comprises a limiting element fixedly arranged in the housing, the limiting element is used to limit the rotation of the stopping element, the stopping element further comprises a protrusion for matching with the movable element, and the limiting element is provided with a sliding groove for the protrusion to be embedded, and the protrusion can slide along the sliding groove. <EOS>