BackgroundThe COVID-19 pandemic increases the risk of psychological problems, especially for the infected population. Sleep disturbance and feelings of defeat and entrapment are well-documented risk factors of anxiety symptoms. Exploring the psychological mechanism of the development of anxiety symptoms is essential for effective prevention. This study aimed to examine the mediating effects of entrapment and defeat in the association between sleep disturbance and anxiety symptoms among asymptomatic COVID-19 carriers in Shanghai, China.MethodsA cross-sectional study was conducted from March to April, 2022. Participants were 1,283 asymptomatic COVID-19 carriers enrolled from the Ruijin Jiahe Fangcang Shelter Hospital, Shanghai (59.6% male; mean age = 39.6 years). Questionnaire measures of sleep disturbance, entrapment, defeat, anxiety symptoms, and background characteristics were obtained. A mediation model was constructed to test the mediating effects of entrapment and defeat in the association between sleep disturbance and anxiety symptoms.ResultsThe prevalence rates of sleep disturbance and anxiety symptoms were 34.3% and 18.8%. Sleep disturbance was positively associated with anxiety symptoms (OR [95%CI]= 5.013 [3.721–6.753]). The relationship between sleep disturbance and anxiety symptoms (total effect: Std. Estimate = 0.509) was partially mediated by entrapment (indirect effect: Std. Estimate = 0.129) and defeat (indirect effect: Std. Estimate= 0.126). The mediating effect of entrapment and defeat accounted for 50.3% of the association between sleep disturbance and anxiety symptoms.ConclusionSleep disturbance and anxiety symptoms were prevalent among asymptomatic COVID-19 carriers. Entrapment and defeat mediate the association between sleep disturbance and anxiety symptoms. More attention is needed to monitoring sleep conditions and feelings of defeat and entrapment to reduce the risk of anxiety.