In order to investigate the influence of ambient temperature on the temperature field of coal gangue dumps governed by heat pipes (HPs), using self-developed heat pipe and intelligent cloud monitoring software, a 1-year field test was conducted in the spontaneous combustion coal gangue dump of Danao liang. This study analyzed the temperature distribution changes of a spontaneous combustion coal gangue dump under different ambient temperatures, as well as the temperature changes of the coal gangue at different time scales. Correlation analysis between ambient temperature and coal gangue temperature was conducted, and a quadratic regression model was established for goodness of fit and significance testing. The results show that ambient temperature affects the distribution of the temperature field of the spontaneous combustion coal gangue dump under the action of the HPs, and the cooling effect on the high-temperature zone is stronger in autumn and winter. The daily change in coal gangue temperature at each measurement point is similar, showing a peak-shaped curve of low at night and high during the day. The inter-day changes of each measuring point have seasonal characteristics: the cooling rate of the high-temperature zone measuring point is affected by the ambient temperature; the seasonal characteristics of the low-temperature zone measuring point are more obvious than the high-temperature zone, and its daily average temperature is affected by the ambient temperature. The ambient temperature and the internal temperature of the coal gangue dump are correlated, and the quadratic regression equation has a high degree of goodness of fit and meets the F-test, indicating that the quadratic regression model can be used for the empirical regression formula of the ambient temperature and the internal temperature of the coal gangue dump. The results of this study provide some references for the sustainable development of mining environments.