Mountainous areas in southwest China are rainy in summer. The rainfall infiltration process involves complex soil thermal-hydraulic-mechanical (THM) coupling problems. The researches on soil THM coupling are mostly focused on numerical simulations, whereas the corresponding model tests are relatively few, and the existing model test studies often ignore the effect of temperature gradients in the soil. However, temperature gradients in the soil can cause water migration and affect the THM behavior of soil, so it cannot be ignored. This paper describes an experimental device that can test the changes of temperature, moisture and displacement in unsaturated soil columns with temperature gradients under rainfall infiltration conditions. By using the apparatus, the model tests of homogeneous soil column (H), homogeneous soil column with infiltration (HI), and preferential flow soil column with infiltration (P) under different temperature gradients are respectively conducted, and the results of moisture and heat migration and deformation properties in soils under different conditions are presented and discussed. A rainfall of low intensity and long duration is applied in the experiments, and the temperature of infiltration rainwater is consistent with that of the soil upper boundary. The results show that: (1) The infiltration of rainfall will increase the temperature of the soil column. The appearance of preferential flow results in faster heat transfer within the soil column, but causes the steady-state temperature to be lower than that of the homogeneous soil (HI); (2) Under infiltration conditions, the preferential flow soil column has an earlier outflow time but a later time for water field to reach steady state, while its water distribution is different from that of the homogeneous soils, with accumulation occurring near the end of preferential flow channel; (3) Under the action of temperature gradient, water migration occurs in homogeneous soil column (H), accompanied by soil settlement, while the infiltrated columns (HI and P) exhibit an increase in both water content and top displacement. In addition, the larger the temperature gradient, the more obvious the thermally induced hydraulic-mechanical response. The research results in this paper can provide experimental evidence for the theoretical study and numerical simulation of the soil THM coupling problems.