The interaction between the pipeline and the surrounding soil is a critical factor in the buckling analysis of the pipeline operating at high temperatures and pressures. The heating pipeline alters the temperature and induces excess pore pressure in the surrounding soil, which in turn affects the mechanical properties of the soil. Therefore, a comprehensive understanding of the thermo-mechanical response of the soil surrounding the pipeline during operation and shutdown is essential. To address this issue, this study developed a temperature-controlled pipe model test device that simulates the heating and cooling cycle of the pipe and the temperature field and pore pressure response of the surrounding kaolin clay. The test results showed that the soil temperature at the closest location to the pipe (0.1 D) reached a peak value of approximately 48.7°C when the pipe was heated from 12.5°C to 55°C. The peak temperature decreased with increasing distance, reaching 22.5°C at 0.875D. Heat transfer analysis using ABAQUS software revealed that the influence range of the pipeline on the soil temperature field during the heating cycle was about 2D. Additionally, a parametric study focused on the thermal conductivity (λsoil) of kaolin, and the best-fit value was determined to be 0.6 W/(m·°C. The excess pore pressures were generated in the kaolin surrounding the pipes during the heating cycle, and negative pore pressures were observed after cooling cycle. Furthermore, a theoretical solution for calculating the thermally induced pore pressure was derived, and preliminary verification showed good agreement between the theoretically computed and experimentally measured results. These findings provide valuable insights into the thermo-mechanical response of the soil surrounding pipelines during operation and shutdown, which can improve the design and safety of oil and gas pipelines.