We investigate the accurate control of a liquid crystal wavefront corrector. First, the Gamma correction technique is adopted to amend the nonlinear phase modulation. Then, the control method and wavefront reconstruction are considered. Lastly, a closed loop correction experiment is carried out and a high correction accuracy is obtained with peak to valley (PV) of 0.08λ (λ = 632.8 nm), the wavefront phase rms 0.015λ, as well as the Strehl ratio of 0.99. The diffraction-limited resolution is achieved.