The invention discloses a slag removing machine for a PCB hole. The slag removing machine for the PCB hole comprises a base, a door frame, an air cylinder, guide rods, an upper bearing plate, a lower bearing plate, a speed regulating motor, an air box, a clamping head, a pre-pressing drilling tool mechanism, a cross laser, a Y axis feeding mechanism, an X axis feeding mechanism, a controller, a marking block with a cross-shaped marking groove and a placing mold, wherein the guide rods are symmetrically arranged along the air cylinder; a PCB needing to be subjected to slag removing is placed in the placing mold, the controller controls the air cylinder to push the upper bearing plate to move down, thereby pushing the pre-pressing drilling tool mechanism to move down to compress the PCB tightly, the speed adjusting motor works to drive the drilling tool mechanism to extend out slowly, and a tool bit arranged on the drilling tool mechanism smashes and removes the slag adhered to the interior of the hole. The slag removing machine is simple in structure, and can effectively remove the slag and dust adhered to the inner wall of the PCB hole, environmental protection is achieved, the dissociative waste slag can be collected to prevent secondary adhesion of the waste slag, and simultaneously pre-pressing can automatically carried out, so that the hole wall is prevented from being damaged due to deformation of the PCB, and the yield of the PCB is improved.