General relativity (GR) is a highly successful theory that describes gravity as a geometric phenomenon. The gravitational redshift, a classic test of GR, can potentially be violated in alternative gravity theories, and experimental tests on this effect are crucial for our understanding of gravity. In this paper, considering the space-ground clock comparisons with free-space links, we discuss a high-precision Doppler cancellation-based measurement model for testing gravitational redshift. This model can effectively reduce various sources of error and noise, reducing the influences of the first-order Doppler effect, atmospheric delay, Shapiro delay, etc. China’s Lunar Exploration Project (CLEP) is proposed to equip the deep-space H maser with a daily stability of 2×10−15 , which provides an approach for testing gravitational redshift. Based on the simulation, we analyze the space-ground clock comparison experiments of the CLEP experiment, and simulation analysis demonstrates that under ideal condition of high-precision measurement of the onboard H-maser frequency offset and drift, the CLEP experiment may reach the uncertainty of 3.7×10−6 after a measurement session of 60 days. Our results demonstrate that if the issue of frequency offset and drift is solved, CLEP missions have a potential of testing the gravitational redshift with high accuracy.