Catechins are pivotal determinants of tea quality, with soil environmental factors playing a crucial role in the synthesis and accumulation of these compounds. To investigate the impact of changes in tea garden soil environments on the catechin content in sun-dried tea, this study measured the catechin content in soil samples and corresponding tea leaves from Nanhua, Yunnan, China. By integrating the variations in catechin content with those of 17 soil factors and employing COX regression factor analysis, it was found that pH, organic matter (OM), fluoride, arsenic (As), and chromium (Cr) were significantly correlated with catechin content (p Accuracy of 0.870. This study explored the relationship between soil-related factors and variations in catechin content, paving a new way for the prediction of catechin content in tea and enhancing the practical application value of artificial intelligence technology in agricultural production.