The response mechanism of fiber grating to temperature and strain is analyzed. The principle of cross-sensitivity of temperature and strain of fiber Bragg grating sensors is described. The temperature compensation of FBGs sensors for strain measurement is realized using reference fiber Bragg grating,which is studied experimentally in this paper. The experiment results and theory indicate that the method of reference fiber Bragg grating is very simple in principle, and has more accurate sensitivity.