A hole machining method for machining first (H1) and second (H2) holes extending in a Z-axis direction in a surface of a workpiece (W) by a machine tool that comprises X-, Y-, and Z-feed axes for relatively moving a rotating tool (T) mounted to an end of a spindle which rotates about a rotation axis and the workpiece (W) arranged to face the spindle , in three-axis directions of X, Y, and Z, orthogonal to each other, in which a direction of the rotation axis of the spindle is set at the Z-axis, the hole machining method characterized by : calculating distances in the X-axis and Y-axis directions between a position for end of the machining of the first hole (H1) and a position for start of the machining of the second hole (H2); determining an X-axis reference value obtained by dividing the distance in the X-axis direction by a maximum acceleration of the X-feed axis as well as a Y-axis reference value obtained by dividing the distance in the Y-axis direction by a maximum acceleration of the Y-feed axis; setting a higher value of the X-axis reference value and the Y-axis reference value at a maximum reference value; multiplying the maximum reference value by a maximum acceleration of the Z-feed axis to determine a retraction distance in the Z-axis direction; generating a connection path having a shape of an ellipse of which a major or minor axis is a line segment of which both ends are at the position for the end of the machining of the first hole (H1) and the position for the start of the machining of the second hole (H2), and which extends into a plane perpendicular to an XY plane, wherein the retraction distance is 1/2 of the minor or major axis of the ellipse; moving the rotating tool (T) from the position for the end of the machining of the first hole (H1) in the workpiece (W) to the position for the start of the machining of the second hole (H2) in the workpiece (W) along the connection path ; and driving the rotating tool (T) toward an interior of the workpiece (W) along the rotation axis. calculating distances in the X-axis and Y-axis directions between a position for end of the machining of the first hole (H1) and a position for start of the machining of the second hole (H2); determining an X-axis reference value obtained by dividing the distance in the X-axis direction by a maximum acceleration of the X-feed axis as well as a Y-axis reference value obtained by dividing the distance in the Y-axis direction by a maximum acceleration of the Y-feed axis; setting a higher value of the X-axis reference value and the Y-axis reference value at a maximum reference value; multiplying the maximum reference value by a maximum acceleration of the Z-feed axis to determine a retraction distance in the Z-axis direction; generating a connection path having a shape of an ellipse of which a major or minor axis is a line segment of which both ends are at the position for the end of the machining of the first hole (H1) and the position for the start of the machining of the second hole (H2), and which extends into a plane perpendicular to an XY plane, wherein the retraction distance is 1/2 of the minor or major axis of the ellipse; moving the rotating tool (T) from the position for the end of the machining of the first hole (H1) in the workpiece (W) to the position for the start of the machining of the second hole (H2) in the workpiece (W) along the connection path ; and driving the rotating tool (T) toward an interior of the workpiece (W) along the rotation axis. <EOS>