Background: Depression is a potential factor affecting semen quality. However, the relationship between depression and semen quality remains to be fully elucidated. We investigated the association between depression and semen quality in men during the COVID-19 pandemic.Methods: Cross‐sectional, participants completed a questionnaire assessing lifestyle factors the Patient Health Questionnaire-9 (PHQ-9) was used to evaluate the psychological depression status of subjects. Semen quality assessment implements the requirements of the fifth edition of the World Health Organization (WHO )manual ,multivariable logistic regression analysis and linear regression analysis were conducted to assess the associations between depression and semen quality.Results: Of the 896 participants, 173 were depressed (19.30%). A Linear regression model was fitted to assess the strength and significant level of the association between depressive symptoms and semen quality. After adjusting for potential confounders, depression was significantly associated with 9.27 (95% confidence interval [CI] 3.39, 15.15), 0.57(95% CI 0.27, 0.87), 62.20 (95% CI 32.93, 91.48), and 12.96 (95% CI 10.55, 15.37) reduction in sperm concentration, sperm volume, total sperm count, and progressive motility, respectively. Which are consistent with the logistic regression analysis results. The semen concentration and total sperm count were linearly correlated with depression scores, whereas the semen volume and progressive motility of sperm were nonlinearly correlated with depression scores.Conclusions: Depression were associated with lower levels of semen concentration, semen volume, total sperm count, and progressive motility, which could affect male reproductive health.