In order to analyze the effects of moisture on soil spectra detection, soil samples from three different places (Taoyuan-bao, Muchang, and Shanxi agricultural university) were collected. All soil samples were sieved, dried and prepared with different water content (20%, 15%and 10%). The spectra of soil samples with different water content were collected by ASD Field-Spec3. Finally, moisture was looked as the the external disturbance, and two-dimensional correlation near-infrared spectroscopy (2D-NIR) technique was applied to analyze the effect of moisture on soil spectra detection. 2DNIR analysis was realized by using shige software (2Dshige shigeaki Morita, Kwansei-Gakuin University). The results showed that, the sensitive bands of moisture in 2DNIR spectra were more obvious than one-dimensional spectra. In the region 350 approximately 2 500 nm, the synchronous spectra of soil samples from different places were similar. Two automatic peaks near 2 210 and 1 929 nm were strong, and one automatic peak near 1 415 nm was weak. Moreover, the peak 1 929 nm was most sensitive to moisture content, next was 2 210 nm, and the last one was 1 415 nm. The sensitive bands and sensitive degree were pointed out in this research It will be helpful for anti moisture model building.