A varicocele is diagnosed after a physical exam. If the results are inconclusive, your doctor may need to perform a scrotal ultrasound.