Transrectal ultrasound and scrotal ultrasound are useful in diagnosing male infertility. Transrectal ultrasound can detect midline cysts or stones obstructing the ejaculatory duct. It can also evaluate the seminal vesicles. Scrotal ultrasound can identify varicoceles, epididymitis, testicular tumors, and other abnormalities. X-rays are used for testicular venography to diagnose varicoceles. Imaging plays an important role in evaluating male infertility by detecting treatable causes and ensuring patient safety.