Objective To analyze the status of anxiety and depression and its influencing factors in patients with olfactory dysfunction after omicron variant infection to lay a theoretical foundation for formulating effective psychological intervention measures.Methods A online questionnaire-based survey was conducted from December 2022 to January 2023 during the severe acute respiratory syndrome coronavirus 2(SARS-CoV-2)epidemic in Chongqing.The psychological assessment included generalized anxiety disorder scale(GAD-7)for anxiety symptoms,the patient health questionnaire(PHQ-9)for depressive symptoms,and visual analogue scale(VAS)for olfactory function.Chi-square test and multivariate logistic regression were used to analyze the status of anxiety and depression and its influencing factors.Results A total of 367 patients were collected,including 182 patients with olfactory dysfunction and 185 patients without olfactory dysfunction.The detection rates of anxiety and depression in patients with olfactory dysfunction were 46.7% and 63.2% respectively,both higher than those without olfactory dysfunction.Multivariate logistic regression showed that the patients with long duration of olfactory decline(OR=1.660)and high VAS scores of olfactory function(OR=8.993)had a higher risk of anxiety.Female(OR=2.964)and high VAS scores of olfactory function(OR=4.423)were risk factors for depression.Conclusions There is a certain degree of depression and anxiety among patients with SARS-CoV-2 infection.Patients with olfactory dysfunction have a higher detection rate of anxiety and depression.Psychological counseling and humanistic care should be strengthened to improve and promote their psychological health.