The food crisis has increased demand for agricultural resources due to various factors such as extreme weather, energy crises, and conflicts. A solar greenhouse enables counter-seasonal winter cultivation due to its thermal insulation, thus alleviating the food crisis. The root temperature is of critical importance, although the mechanism of soil thermal environment change remains uncertain. This paper presents a comprehensive study of the soil thermal environment of a solar greenhouse in Jinzhong City, Shanxi Province, employing a variety of analytical techniques, including theoretical, experimental, and numerical simulation, and deep learning modelling. The results of this study demonstrate the following: During the overwintering period, the thermal environment of the solar greenhouse floor was divided into a low-temperature zone, a constant-temperature zone, and a high-temperature zone; the distance between the low-temperature boundary and the southern foot was 2.6 m. The lowest temperature in the low-temperature zone was 11.06 °C and the highest was 19.05 °C. The floor in the low-temperature zone had to be heated; the lowest value of the constant-temperature zone was 18.29 °C, without heating. The minimum distance between the area of high temperature and the southern foot of the solar greenhouse was 8 m and the lowest temperature reading was 19.29 °C. The indoor soil temperature tended to stabilise at a depth of 45 cm, and the lowest temperature reading at a horizontal distance of 1400 mm from the south foot was 19.5 °C. The Fluent and LSTM models fitted well and the models can be used to help control soil temperature during overwintering in extreme climates. The research can provide theoretical and data support for the crop areas and the heating of pipelines in the solar greenhouse.