Objective To investigate and analyze the risk of dislocation failure after total hip arthroplasty (THA). Methods The optical motion capture system was used to obtain the kinematic data of the lower limbs during actions of daily living (ADLs) from normal people. The visual hip prosthesis motion analysis software was designed and developed to measure the maximum safe motion space of the hip prosthesis with different design parameters and judge the safety of the hip prosthesis by analyzing the relative motion relation between the cup and prosthetic stem. Results Based on the measured kinematics data, the motion analysis software could compare the range of motion of the natural joints and that after THA. Thus, the relationship between the dislocation of hip prosthesis and ADLs was obtained and the dislocation risk after THA was investigated. Conclusions There is a high risk when activities that require a high flexion motion are performed, especially for the kneeling and squatting activity.