The invention provides a drilling method for a numerically controlled milling machine with a tiltable spindle. First, clamp the workpiece to be drilled on the machine tool; tilt the machine tool spindle around the Y-axis of the machine tool coordinate system according to the processing requirements, and use a sine gauge to verify the tilt angle, so that the machine tool spindle is perpendicular to the surface to be drilled; secondly, clamp the drill bit on the machine tool spindle, And control the rapid feed of the drill bit, so that the drill tip moves to the position of the hole top, and determine the coordinates (x0, y0, z0) of the hole top in the machining coordinate system; take (x0, y0, z0) as the coordinates of the first drilling start point , according to the determination of the coordinates (x1, y1, z1) of the end point of one drilling, where l is the moving distance of the drill bit along the drilling direction; the drill bit is retracted after one drilling, and then the end point coordinates of the previous drilling are used as the new The coordinates of the starting point of a drilling cycle are carried out until the hole depth meets the processing requirements. The method realizes the drilling processing task that cannot be completed by the ordinary numerical control milling machine under the working condition with poor openness, and at the same time, the required cost is also greatly reduced compared with the five-coordinate machining center.