Applications for 5-axis have increased tremendously in recent years. Machining curved surfaces using CNC software represents a challenging task. The conventional interpolation algorithms for 5-axis CNC machining are focused on studying a curved surface is approximated by a linear grid of closely spaced points, which are traversed in a linear or circular interpolation mode to machine the desired shape. However, it can not only cause machining path error, but also cause a lot of wear and tear on the machines. To overcome these problems, a research on interpolation algorithm for 5-axis tool paths generated using quaternion-quintic spherical Bezier spline for tool positioning and orientation was presented In this paper. The proposed algorithm was verified by Matlab platform. The analysis of results was also provided in this paper. This proposed algorithm is suitable for 5-axis highspeed and high-precision machining.