If you’ve struggled to become pregnant or carry a pregnancy to term, your doctor may order a hysterosalpingogram (HSG) to investigate the cause. This imaging test allows a radiologist to visualize the uterus and fallopian tubes to detect blockages and other abnormalities that can interfere with pregnancy. In this article, we’ll discuss how an HSG is performed, how it can help identify the source of female fertility issues, and what to expect if you undergo the exam.