The effect of metallic elements on semen quality remains controversial, with limited evidence on the effects of metal mixtures. We conducted a study involving 338 participants from multiple centers in Eastern China, measuring 17 urinary metals and semen quality parameters. Our analysis used various statistical models, including multivariate logistic and linear regression, Bayesian Kernel Machine Regression, and weighted quantile sum models, to examine the associations between metal levels and semen quality. Logistic regression showed that higher urinary lead was associated with increased risk of abnormal sperm concentration (OR = 1.86, p = 0.021), arsenic to higher abnormal progressive motility risk (OR = 1.49, p = 0.027), and antimony to greater abnormal total motility risk (OR = 1.37, p = 0.018). Conversely, tin was negatively correlated with the risk of abnormal progressive motility (OR = 0.76, p = 0.012) and total motility (OR = 0.74, p = 0.003), respectively. Moreover, the linear models showed an inverse association between barium and sperm count, even after adjusting for other metals (β = - 0.32, p < 0.001). Additionally, the WQS models showed that the metal mixture may increase the risk of abnormal total motility (βWQS = 0.55, p = 0.046). In conclusion, semen quality may be adversely affected by exposure to metals such as arsenic, barium, lead, and antimony. The combined effect of the metal mixture appears to be particularly impaired total motility.