Abstract. It has been demonstrated that sleep has a great relationship with humans' health and activities. Sleep staging is an important method to analysis sleep. Lots of methods have been adopted for automatic sleep staging. Some of the results are good and some of them are poor. For the poor, the sleep spindle detection can help to correct the results, because in the sleep stage 2(S2), the characteristic wave is sleep spindle and in the later of sleep stage 1(S1), the waves less than the duration time of sleep spindles but have the same period with sleep spindles (immature sleep spindles) appear on the electroenphalography (EEG). Therefore, a time-domain method for detecting sleep spindles is mentioned in this paper. With this method, the majority of sleep spindles and immature sleep spindles can be detected and the duration time of these detected waves can be used as the feature for sleep staging correction, especially the results of S1 and S2. The experiment results show that the accuracy of sleep staging is increased from 65.68% to 66.22%, 47.2% to 48% of S1 and 72.4% to 74.3% of S2.