Humans are at the core of the social-technical system, and their behavioral errors affect the reliability and safety of the entire system in varying degrees. Occupational accidents and large-scale industrial accidents are often attributed to human errors, accounting for more than 80% of accidents. In view of the complexity of systems and the coupling of elements, a new HFA method is proposed based on a complex network. According to system safety theory, a complex network is regarded as a network composed of humans, matters, environments, and management, and the basic structure of the HFA network is summarized. On this basis, a system safety method of HFA is developed which proposes a universal human error causation model. Moreover, a network analysis method for human errors is also presented, which is a comprehensive analysis of human errors that have occurred. Finally, the above methods are applied to gas explosion accidents that occurred in China. Results show that the two methods proposed are universal to all fields, and their combination improves the effectiveness of human error management and promotes the targeted, proactive, systematic, and dynamic prevention of critical nodes and paths from a holistic perspective.