In recent years, 5-axis machine and multi-tasking machine have seen wide spread use. These tools can contribute to the enhancement of machining efficiency and precision. Conversely, their complex motion can cause numerous collision accidents between machines, tools, materials, and other parts. To prevent such accidents, it is now common to verify numerical control (NC) data using a machine motion simulator before performing the actual machining. However, the actual machining process is not always conducted in the expected manner. In some cases, the machining process is manually defined or altered, possibly causing a collision accident. In the present study, an online real-time collision free system was developed for the prevention of unexpected collisions. The effects of using this system are described in this article.