Objective:To investigate the sleeping status and its related factors in senior high school students.Methods:A total of 1770 high school students from 3 middle schools in Chifeng, Inner Mongolia, China were investigated with the Insomnia Severity Index, Epworth Sleeping Scale, Self-rating Anxiety Scale, Connor-Davidson Resilience Scale, and STOP-Bang questionnaire to investigate their sleep, mood, and mental resilience, and the factors related to sleep were analyzed by Logistic regression analysis and Hierarchical regression analysis.Results:Among the 1770 high school students surveyed, 565 (31.9%) had insomnia. In the analysis of psychological conditions such as anxiety, we found that the degree of anxiety of insomniacs was significantly higher than that of people without insomnia (P<0.001), and the psychological resilience score was significantly lower (P<0.001). The average sleep duration was the shortest in senior two students, but the reported insomnia severity was the highest in senior one students. Logistic regression analysis showed that anxiety level (OR=1.074, P<0.001) and psychological resilience level (OR=-0.971, P<0.001) were significantly correlated with insomnia, and the scores of these two scales could predict whether the subjects would have insomnia (area under curve=0.724, P<0.001).Conclusion:Anxiety and psychological resilience are significantly correlated with sleep. With the increase of anxiety, sleep quality decreases significantly, and better psychological resilience is a protective factor against insomnia.