In this study, in order to analyze the multiple factors affecting grain production in Sichuan Province, grain production data and its related variables from 1982 to 2022 were selected as the object of the study and empirical research was conducted. The unit root test and cointegration test were applied to ensure the smoothness of the data, heteroskedasticity and autocorrelation tests were performed, and the model was adjusted to finally select a feasible generalized least squares model. The results show that all the examined influencing factors have a significant impact on grain yield in Sichuan Province, especially the sown area of grain crops, which has the most significant effect. Based on these findings, this study proposes the following recommendations: ensure sufficient sown area and high-quality arable land resources, accelerate the process of agricultural mechanization and intelligence, and use chemical fertilizers rationally, in order to enhance the grain production capacity of Sichuan Province and guarantee food security.