The invention provides a food tracing and query analysis system and method based on an HACCP system, and relates to the technical field of food quality control. The system comprises a registration andlogin module, an information input module and a query and analysis module, The registration login module provides login, registration and user classification functions for users; The information input module provides an information input function for a product production and sales related party; The query analysis module provides a product information query function for a product purchaser, analyzes the key nodes of the food supply chain network based on the HACCP system, finds out the key nodes needing key monitoring, and provides reference for product production and transportation parties.The invention further provides a specific method for analyzing the key nodes of the food supply chain network based on the HACCP system. According to the food tracing and query analysis system and method provided by the invention, the problem product source can be traced more conveniently, the problem node can be found out, the problem product can be recalled, and decision support can be providedfor determining the key control point in the HACCP system.