change of unfrozen water content in pores of rock during freeze-thaw process is one of the key factors affecting its mechanical properties. In this paper, the sandstone is taken as the research object, and the pore water content of rock during freeze-thaw process (20, 0, -2, -4, -6, -10, -15, -10, -6, -4, -2, 0, 20 degrees C) is monitored by low-field nuclear magnetic resonance system (NMR), and the evolution law of unfrozen water content with temperature is analyzed. The influence of the evolution of unfrozen water content on the mechanical properties of rock during freeze-thaw process is also discussed. The research findings show that the pore water in rocks during the freezing-thawing process is significantly influenced by temperature, passing through five stages: supercooling, rapid freezing, slow freezing, slow melting, and accelerated melting. A distinct hysteresis phenomenon is observed in the rock during thawing. At identical temperatures, the unfrozen water content during freezing is notably higher than during thawing. Consequently, the peak intensity and elastic modulus during thawing are significantly greater than during freezing. The relationship between uniaxial compressive strength, rock elastic modulus, and unfrozen water content in freeze-thaw process can be expressed by exponential function. At the beginning of freezing, the change of rock mechanical parameters is mainly affected by the increase of pore ice content and the cementation effect of pore ice on rock particles. With the further decrease of temperature, the thickness of adsorbed water film decreases, and the adsorption capacity increases, so that the integrity between pore ice and rock particles is enhanced, and rock mechanical parameters further change.