The invention belongs to the technical field of milling machines, and particularly relates to a four-axis numerical control drilling and milling machine. The four-axis numerical control drilling and milling machine comprises a base, a supporting plate, a moving frame, a motor, a drill bit holder, a fixed plate, a moving plate, a first micro motor, a first screw, a first nut, a connecting rod, a second screw, a second nut, a first through groove, a rectangular groove, a second micro motor, a two-way screw, ball nut pairs, clamping plates, a groove, a round rod, a square groove, a T-shaped groove, an I-shaped rod, a second through groove, a ball, a containing groove, a water spraying pipe, water spraying holes and a discharge chute. The first nut moves to drive the connecting rod to move soas to drive the moving plate to move, through movement of the moving plate, the motor is driven to move and the second screw is driven to move along the first through groove, and the moving plate is prevented from rotating; and the second micro motor works to drive the two-way screw to rotate so as to drive the two ball nut pairs to move oppositely, and through movement of the ball nut pairs, thetwo clamping plates are driven to move so as to clamp and fix a workpiece.