The invention discloses a machining device capable of accurately adjusting a gap. The machining device comprises a fine adjustment mechanism, a movable seat, a connecting seat, an adjusting head, a sliding groove, a driving gear, a driven gear, a screw device and a first threaded hole. The device is reasonable and simple in structure, low in production cost and convenient to install, the adjusting head drives the driving gear to rotate, the driving gear rotates to drive the whole screw device to rotate through the driven gear, and the screw device rotates to enable the movable seat and the fine adjustment mechanism to drive the driving arm to move. Therefore, rapid coarse adjustment of the fit clearance between the bottom of the driving arm and the cam is achieved, and the adjustment efficiency is improved. According to the fine adjustment mechanism, the distance of the inclined surface block can be finely adjusted through a differential thread mechanism composed of an adjusting sleeve body, a stud and the like, meanwhile, an inclined surface moving mechanism composed of the inclined surface block and an inner inclined surface groove is further matched, so that the fine adjustment precision is improved, and the driving arm can be driven to be finely adjusted through the connecting block.