Disclosed are a method of online tracing pesticide residues and visualizing an warning on the basis of high resolution mass spectrum, the Internet and geographic information. Among the problems in data analysis on pesticide residue detection for edible agricultural products, problems such as multiple data dimensions, complex data relationships, and requirements for high accuracy of analysis are difficult to solve at present. Thus, a cross-field technology combining three different elements, high resolution mass spectrum, the Internet and geographic information, is adopted and a data collection and intelligent analysis system for pesticide residue detection for edible agricultural products is developed; four major basic sub-databases such as a nationwide pesticide residue detection result database, a multinational MRL standard database and so on are established; a multi-dimensional cross analysis method for pesticide residue detection data and a comprehensive evaluation and warning model for pesticide residue