The invention discloses an e-commerce website cheat user identification method and system based on a random forest algorithm. The system comprises an e-commerce website user data processing module, an e-commerce website user data storage module, an e-commerce website user data analysis module and a result display module, wherein the e-commerce website user data processing module, the e-commerce website user data storage module, the e-commerce website user data analysis module and the result display module are connected in sequence. The method includes the steps of data collection, data pre-processing, data conversion, data analysis, data display and the like. On the basis of the random forest algorithm in a machine learning method, static data and dynamic data of a user are collected, data mining and data analysis are carried out fast, and not only are completeness, continuousness and effectiveness of information of the user guaranteed, but also a good classification result is obtained.