Collectively, these findings suggest that bacterial infections compromise sperm quality via the TLR2/4 signaling pathway. Here, TLR2 is linked to bacterial infectious disease.