This paper emulates the changes of autocorrelation side lobe for spreading code by Matlab under the condition of the carrier frequency offset. It can be found that the peak and averaged values of autocorrelation side lobe change greatly as the carrier frequency offset changes,and the change is most obvious in 0 kHz–1 kHz. At the same time,the change of autocorrelation side lobe results in the change in the false alarm probability of the system correspondingly,and then led to a false acquisition. Nevertheless,the false alarm probability decreases greatly when adopting self-adaptive threshold. Therefore,the regular threshold based on Gauss distribution is not the best option in actual condition.