A bad kidney does not usually affect sperm, which is mainly what is produced in the testicles, gradually matured in the epididymis, and stored in the seminal vesicles. When a man has sexual intercourse, sperm can be ejaculated through ejaculation. It is mainly the testicles that function normally and can produce normal sperm. Therefore, good or bad sperm is not very directly related to the kidneys. Men with varicocele, prostatitis, and seminal vesiculitis may cause a decrease in sperm vitality and sperm quality, but they do not affect sperm production either. Men with orchitis, testicular torsion, and spermatoid effusion may affect sperm.