Male infertility can be caused by problems in the hypothalamus, pituitary gland, testes, or reproductive tract. Common causes include varicocele, genetic issues like Klinefelter syndrome, infections, injuries, and environmental factors. Diagnosis involves medical history, physical exam, semen analysis, and sometimes hormone levels or imaging tests. Treatment options include surgery, hormones, assisted reproduction, and cryopreservation of sperm for future use.