What to Expect During an HSG Exam

What happens during an HSG, what the results mean, and how to cope

Many women wonder if the hysterosalpingogram (HSG) test will cause pain. An HSG is a special kind of x-ray used to evaluate female fertility. An outpatient procedure, the test takes no longer than a half hour. It involves placing an iodine-based dye through the cervix and taking x-rays. These x-rays help evaluate the shape of the uterus and whether the fallopian tubes are blocked.

If you've had trouble conceiving, an HSG is one of the first fertility tests that may be ordered. If you've had two or more miscarriages, an HSG is also recommended.

So, will it hurt? The truthful but somewhat annoying answer is it depends. Some women report mild-to-moderate cramping. Some don't feel much of anything. Very few report severe cramping. Many say afterward that their fear of pain was much worse than any discomfort they felt.


An HSG should be done after your period but before ovulation. This is to reduce the risk of having the test when you're pregnant. Your fertility clinic or doctor will tell you when to call to schedule the test. Usually, it'll be somewhere between day ten and 12 of your menstrual cycle.

The HSG is performed while you are awake and does not involve general anesthesia. You won't need to fast the day or night before.

On the day of the test, your doctor may suggest taking a painkiller like ibuprofen an hour before your HSG is scheduled. This can help with the discomfort of the test. Also, some doctors prescribe antibiotics to reduce the risk of infection.

What the HSG Test Feels Like

You’ll lie down on a table, usually with stirrups. If they don't have stirrups, you might need to lie on the table, bend at your knees, with your feet (sort of) flat on the table, and hold your legs apart.

The doctor will perform a quick pelvic exam. The technician, nurse, or doctor will insert a speculum into your vagina. This is the same metal device used during your yearly gynecological exam.

If you experience pain during your annual visit, then this may be painful for you. (Women who suffer from sexual pain may also experience pain during gynecological exams.)

An x-ray machine will be lowered over your abdomen. This can be a bit awkward, especially with the speculum and your knees up. Next, they will insert a swab to clean off the cervix. This is to reduce the risk of infection. If your cervix is sensitive to touch, this may be a bit achy, but most women don’t experience pain from this.

Next, they will insert a plastic catheter called a cannula into the cervical opening. This feels kind of like a pap smear and might be a little uncomfortable. Or, you may not feel anything.

Finally, an iodine-based dye will be injected through the catheter. When the dye is injected, you may feel a warming sensation. This dye will go through your uterus, through the fallopian tubes (if they are open), and spill out into the pelvic cavity.

If your tubes are blocked, you may experience pain. Tell your doctor right away if you do. 

After injecting the dye, your doctor will take the x-rays. For each x-ray picture you'll be asked to hold your breath for a moment or two. You may be asked to change your position. For example, he may ask you to lie on your side. You may feel uncomfortable with the speculum inside and the x-ray over you. Your doctor understands. Ask for help if you need it.

Once the doctor has decided that the pictures are satisfactory, the x-ray machine will be lifted up and the speculum removed. You're free to go home!

Pain During the Test

In most women, the dye painlessly just passes through the uterus, through the fallopian tubes, and out into the abdominal cavity. However, if your tubes are blocked, the dye can cause pressure. This is what can then lead to substantial discomfort or even pain.

During the test, if you feel pain, tell your doctor right away. Don’t just grin and bear it, or assume it’s normal. They can quickly remove the catheter, which will release the pressure and should eliminate your pain.

The good news is that if you do feel intense pain, it shouldn't last for more than a minute.

Most doctors recommend taking ibuprofen an hour before the HSG. This can reduce mild cramping during the test. Anxiety and fear about the test can increase your perception of pain. The test can be nerve-wracking, with this big x-ray machine hovering over you while you're lying on your back, legs apart, with the speculum inside. The nurse or doctor may ask you to roll over to your side for an x-ray or two, and you have to do it with the speculum still between your legs.

After the Test

You may experience mild cramps and light spotting. Over-the-counter pain relievers should help with cramps. You'll be able to resume regular activity after the test.

Some doctors may tell you to refrain from sexual intercourse for a few days after the test.

While mild cramps are normal, if your discomfort seems to be increasing after the test or you develop a fever, contact your doctor. There is a rare risk of infection following an HSG. Increasing pain may hint to a brewing infection.

There is a rare risk of infection following an HSG. Increasing pain may hint there is an infection brewing.

Potential Risks

An HSG is a generally safe procedure. Still, there are potential risks.

Infection may occur in less than one percent of cases. This is more common if you've already had an infection or you're at risk for pelvic inflammatory disease (PID). If you experience fever or increasing pain after the test, call your doctor.

Another risk is fainting during or after the test. If you feel dizzy after the exam, tell your doctor. It may be better for you to remain lying down until you feel less woozy.

A rare but potentially serious risk is iodine allergy. If you are allergic to iodine or shellfish, tell your doctor before the test. If you have any itching or swelling after the test, tell your doctor.

Is the Radiation Safe?

Usually, when you have an x-ray, the first thing the technician does is cover your pelvic area. During an HSG, the x-ray is aimed right at the pelvis.

Be reassured that an HSG involves a very low amount of radiation. HSG radiation has not been found to cause any unwanted effects, even if you get pregnant later that cycle.

However, an HSG should not be done during pregnancy. If you think you may be pregnant, tell your doctor before you have the test.

What Do the Results Mean?

The HSG helps the doctor check out two important factors:

  1. Whether or not the fallopian tubes are blocked or open. If the fallopian tubes are blocked, a woman will not be able to get pregnant, because the egg can't meet the sperm. You can read more about diagnosis, causes, and treatment for blocked fallopian tubes here.
  2. Whether or not the shape of the uterus is normal. In 10 to 15 percent of women with recurrent pregnancy loss, an abnormally shaped uterus is to blame. Some uterine abnormalities can be treated with surgery. You can read more about the connection between uterine shape and miscarriage here.

If the x-ray shows a normal uterine shape, and the injected dye spills freely out from the ends of the fallopian tube, then the test results are considered normal. This doesn't, however, mean your fertility is normal. It just means whatever may be wrong wasn't seen on the HSG.

Hormonal-based causes of infertility will not be seen on an HSG. Not all uterine based fertility problems can be visualized with an HSG. One small study found a 35 percent incident of false negatives with an HSG. In other words, the HSG showed a normal uterine shape, but a hysteroscopy showed abnormalities. (Hysteroscopy involves placing a thin, telescope-like camera through the cervix to look at the inside of the uterus.)

Also, endometriosis can't be diagnosed with an HSG. Only an exploratory laparoscopy can rule-out or diagnose endometriosis. 

Abnormal Results

If the dye shows an abnormally shaped uterus, or if the dye does not flow freely from the fallopian tubes, there may be a problem.

It's important to know that 15 percent of women have a "false positive." This is when the dye doesn't get past the uterus and into the tubes. The blockage appears to be right where the fallopian tube and uterus meet. If this happens, the doctor may repeat the test another time or order a different test to confirm.

An HSG can show that the tubes are blocked, but it can't explain why. Your doctor may order further testing, including exploratory laparoscopy or a hysteroscopy. These procedures can both help investigate the issue and possibly correct the problem.

A Word From Verywell

It's okay to feel nervous before and during an HSG exam. Deep, relaxed breathing through the procedure can help. Also don't be afraid to tell the nurse or doctor that you're nervous. The nurse may even offer to hold your hand. Accept their support, which really can help you feel better.

Overall, the procedure is quick, and for some it's completely painless. If you will feel pain, in most cases it's short-lived and light. Alert your doctor if this isn't the case, and they will take quick steps to relieve pressure and pain as quickly as possible. Before your exam, also ask if your doctor recommends taking a painkiller.

Was this page helpful?

Article Sources

  • Hysterosalpingogram (HSG): Patient Fact Sheet. American Society for Reproductive Medicine.
  • Wang CW, Lee CL, Lai YM, Tsai CC, Chang MY, Soong YK. "Comparison of hysterosalpingography and hysteroscopy in female infertility." The Journal of the American Association of Gynecologic Laparoscopists. 1996 Aug; 3(4):581.