Skip to content

FREE SHIPPING IN THE US

HSG Test

An HSG test, short for hysterosalpingogram, is an X-ray procedure used to check the shape of the uterus and whether the fallopian tubes are open. It is one of the...

An HSG test, short for hysterosalpingogram, is an X-ray procedure used to check the shape of the uterus and whether the fallopian tubes are open. It is one of the most common tests used during a fertility evaluation, especially when a couple has been trying to conceive without success. Although the test is performed on the female partner, many men researching infertility come across it because fertility workups often involve evaluating both partners at the same time.

In simple terms, an HSG test helps answer a key question: can an egg and sperm physically meet? If the fallopian tubes are blocked or the uterine cavity has a structural issue, conception may be harder even when ovulation and sperm health are normal.

At a glance: The HSG test uses contrast dye and X-ray imaging to look for blocked fallopian tubes, scar tissue, uterine abnormalities, and other issues that may affect fertility, miscarriage risk, or treatment planning.

Table of Contents

Key takeaways

  • An HSG test evaluates the uterus and fallopian tubes using contrast dye and X-ray imaging.
  • Its main role is to check whether the fallopian tubes are open and whether the uterine cavity looks normal.
  • It is commonly ordered during an infertility evaluation, recurrent pregnancy loss workup, or before certain fertility treatments.
  • Mild to moderate cramping during the procedure is common, but the test is usually brief.
  • A normal HSG shows dye filling the uterus and spilling freely out of both fallopian tubes.
  • An abnormal HSG may suggest tubal blockage, scarring, adhesions, uterine polyps, fibroids affecting the cavity, or congenital uterine differences.
  • The test does not assess egg quality, ovulation, sperm quality, or all causes of infertility.
  • If an HSG is abnormal, the next step may include repeat imaging, sonohysterography, hysteroscopy, laparoscopy, or fertility treatment planning.

What is an HSG test?

The HSG test, or hysterosalpingography, is a diagnostic imaging procedure in which a clinician places a thin catheter through the cervix and injects contrast dye into the uterus. As the dye moves through the uterine cavity and into the fallopian tubes, X-ray images are taken in real time.

The purpose is to see:

  • whether the uterine cavity has a normal shape
  • whether one or both fallopian tubes are blocked
  • whether dye spills into the pelvic cavity, suggesting the tubes are open

You may also see it called:

  • HSG
  • hysterosalpingogram
  • tubal patency test (less specific, but often used conversationally)

Why the HSG test matters in fertility

Pregnancy depends on more than healthy sperm and regular ovulation. The reproductive tract also needs to be physically accessible. Even if semen analysis, hormone levels, and ovulation patterns look good, conception may not happen if:

  • the fallopian tubes are blocked
  • the uterine cavity is distorted
  • scar tissue interferes with sperm transport, fertilization, or embryo implantation

This is why an HSG often becomes part of a complete infertility evaluation. For couples, it provides structural information that complements other testing such as semen analysis, ovulation tracking, hormone labs, and pelvic ultrasound.

From a men’s fertility perspective, the HSG matters because unexplained delays in conception are not always caused by sperm issues. A normal semen analysis does not rule out female-factor barriers like tubal blockage. In many cases, both partners need evaluation to avoid wasted time and delayed treatment.

What an HSG can show

An HSG test is best known for checking whether the fallopian tubes are open, but it can also reveal changes in uterine shape and contour.

Common findings an HSG may detect

  • Blocked fallopian tubes on one or both sides
  • Hydrosalpinx, when a tube is enlarged and fluid-filled
  • Uterine adhesions or scar tissue, sometimes linked to prior procedures, infection, or Asherman syndrome
  • Congenital uterine anomalies, such as a septate uterus or other shape differences
  • Submucosal fibroids or large fibroids that distort the uterine cavity
  • Endometrial polyps or space-occupying defects inside the cavity
  • Cornual or proximal tubal obstruction near the uterus
  • Distal tubal blockage near the end of the tube

What it does not show well

  • Egg quality
  • Ovulation function
  • Endometriosis outside the uterine cavity
  • Most ovarian issues
  • Sperm count, motility, morphology, or DNA fragmentation
  • Subtle implantation problems

Who may need an HSG test?

A doctor may recommend an HSG test in several situations, especially when there is concern about tubal patency or uterine anatomy.

Common reasons for ordering an HSG

  • Trouble getting pregnant after a period of trying
  • Possible tubal factor infertility
  • History of pelvic inflammatory disease or severe pelvic infection
  • Prior ectopic pregnancy
  • History of abdominal or pelvic surgery
  • Recurrent miscarriage or concern for uterine cavity abnormalities
  • Evaluation before fertility treatment such as IUI
  • Concern for uterine adhesions after miscarriage management or uterine procedures

Some clinicians may also use other imaging options first or in addition, depending on symptoms, ultrasound findings, and treatment goals.

When in the menstrual cycle is an HSG test done?

An HSG is usually performed after menstrual bleeding ends but before ovulation, often in the first half of the menstrual cycle. This timing helps reduce the chance of performing the test during an early pregnancy and often provides clearer imaging.

The exact day can vary by clinician and cycle length, but many patients are scheduled around:

  • Cycle days 6 to 11, or
  • soon after the period stops and before expected ovulation

You may be asked to:

  • avoid intercourse for a short period before the test
  • take a pregnancy test if there is any uncertainty
  • take an over-the-counter pain reliever beforehand if recommended

How the HSG test is performed

Knowing what happens step by step can make the test feel less intimidating.

  1. Positioning: You lie on an exam table, usually in a position similar to a pelvic exam.
  2. Speculum placement: A speculum is inserted into the vagina so the cervix can be seen.
  3. Cervix cleansing: The cervix is cleaned with an antiseptic solution.
  4. Catheter insertion: A small catheter is placed through the cervical opening.
  5. Contrast dye injection: Dye is slowly injected into the uterus.
  6. X-ray imaging: Real-time fluoroscopy images track the dye as it fills the uterus and moves through the tubes.
  7. Tube spill assessment: If the tubes are open, dye spills out into the pelvic cavity.
  8. Completion: The catheter and speculum are removed, and the test is over.

The procedure itself is often short, commonly lasting around 5 to 15 minutes, though the full visit may take longer.

What the radiologist or fertility specialist is looking for

  • Is the uterine cavity triangular and smooth, or irregular?
  • Does the dye enter both tubes?
  • Does the dye move freely through the tubes?
  • Is there free spill from one side, both sides, or neither?
  • Is there resistance suggesting spasm or blockage?

Does an HSG test hurt?

This is one of the most searched questions about HSG testing, and the honest answer is: it varies.

Many people describe the test as uncomfortable rather than truly painful. Others experience stronger cramping, especially when the dye stretches the uterus or when a tube is blocked. The discomfort is often brief and tends to peak during dye injection.

Common sensations during the test

  • Pelvic pressure
  • Menstrual-like cramping
  • A brief sharp cramp when dye is injected
  • Mild dizziness or nausea in some cases

What may affect how uncomfortable it feels

  • Individual pain sensitivity
  • Anxiety and muscle tension
  • Cervical sensitivity
  • Whether a tube is blocked
  • How quickly the dye is injected

Ways doctors may help reduce discomfort

  • Recommending ibuprofen or another pain reliever beforehand
  • Using a gentle technique and slower dye injection
  • Talking through each step so the patient knows what to expect

If someone has a history of severe pelvic pain, trauma, vasovagal episodes, or difficult gynecologic exams, it is worth discussing that before the procedure.

How to understand HSG test results

HSG results are usually described as normal or abnormal, but there are shades of gray. A report may mention uterine contour, tubal filling, tubal spill, and whether there is any sign of obstruction or cavity distortion.

Finding What it may mean Possible next step
Normal uterine cavity with bilateral tubal spill Uterus appears normal and both tubes appear open Continue fertility workup or treatment based on the bigger picture
Unilateral tubal blockage One fallopian tube may be blocked Interpret alongside symptoms, ultrasound, and fertility history
Bilateral tubal blockage Both tubes may be blocked, reducing the chance of natural conception Further evaluation or IVF discussion may be needed
Proximal tubal obstruction Blockage near the uterine end of the tube; sometimes due to spasm rather than true blockage Repeat imaging or selective tubal cannulation may be considered
Hydrosalpinx Dilated, fluid-filled tube that may impair fertility and IVF success Fertility specialist evaluation is often important
Irregular uterine cavity Could suggest fibroids, polyps, adhesions, or a uterine anomaly Sonohysterogram, hysteroscopy, or MRI may be considered

Can an HSG be wrong?

Sometimes, yes. A tube can appear blocked because of tubal spasm, mucus, technical factors, or catheter positioning. This is why HSG findings are interpreted in context rather than in isolation.

A suspected abnormality on HSG may lead to confirmatory testing rather than immediate assumptions.

What’s normal vs what’s not?

If you are reading a report or trying to understand a fertility workup, this quick comparison helps.

Feature Usually considered normal May be abnormal or need follow-up
Uterine shape Smooth, regular cavity Irregular contour, filling defect, divided cavity, distortion
Tube filling Dye enters both tubes Dye fails to enter one or both tubes
Spill from tubes Free spill of dye into pelvis No spill or delayed spill, suggesting blockage
Tube appearance Normal caliber, smooth filling Dilated tube, clubbed appearance, hydrosalpinx, irregular narrowing
Cavity defects No obvious internal defects Possible fibroid, polyp, adhesion, scarring, or congenital anomaly

Important nuance

A “normal” HSG does not guarantee pregnancy, and an “abnormal” HSG does not always mean pregnancy is impossible. Fertility depends on many variables, including age, ovarian reserve, ovulation, sperm quality, timing, endometriosis, and more.

What the HSG test cannot tell you

The HSG is useful, but it is not a complete fertility test. It is best thought of as a structural screening tool.

The HSG does not directly evaluate

  • Sperm health or male infertility factors
  • Whether ovulation is happening normally
  • Egg quality or embryo quality
  • Hormonal causes of infertility
  • Pelvic adhesions outside the uterus and tubes
  • All cases of endometriosis
  • Whether implantation will occur successfully

That is why couples often need a broader workup, not just one imaging study.

Risks and side effects of an HSG test

HSG is generally considered safe, but like any procedure, it carries some risks.

Common, usually mild side effects

  • Cramping for a few hours
  • Light spotting
  • Leaking of contrast dye
  • Mild pelvic discomfort

Less common but more important risks

  • Infection, especially if there is a history of prior tubal disease or pelvic infection
  • Allergic reaction to contrast material, though this is uncommon
  • Vasovagal reaction, causing lightheadedness, nausea, or fainting
  • Radiation exposure, which is generally low in diagnostic HSG
  • Uterine injury, which is rare

When to call a doctor after an HSG

  • Fever
  • Severe pelvic pain that does not improve
  • Heavy bleeding
  • Foul-smelling vaginal discharge
  • Fainting or persistent dizziness

What to expect after the test

Most patients can return to normal activities the same day. Mild cramping and light spotting are common for a short time after the procedure.

Typical post-HSG expectations

  • Some discharge or leakage of dye
  • Brief cramps similar to period pain
  • Possibly using a pad for spotting

Your clinician may give specific guidance on intercourse, tampon use, or signs to watch for, especially if there is concern for infection risk.

Can you try to conceive after an HSG?

In many cases, yes, depending on the timing in the cycle and your doctor’s recommendations. Some studies and clinical observations suggest pregnancy rates may be slightly higher in the months following tubal flushing in certain patients, though this depends on the type of dye used and the broader fertility context. It should not be viewed as a guaranteed fertility treatment.

What the HSG test means in a male fertility workup

Even though an HSG is not a test performed on men, it matters in men’s fertility conversations because infertility is often a shared diagnosis pathway. About half of infertility cases involve a male factor alone or in combination with female factors, so one partner’s normal or abnormal test does not exclude issues in the other.

Why men should understand the HSG test

  • It helps explain why conception may not happen even with decent sperm parameters
  • It prevents the assumption that infertility must be “male” or “female” only
  • It supports a faster, more efficient couples-based fertility evaluation
  • It can influence treatment planning, including timed intercourse, IUI, or IVF

Example of how tests fit together

Partner Common test What it evaluates
Male partner Semen analysis Sperm count, motility, morphology, semen volume
Male partner Hormone testing Testosterone, FSH, LH, prolactin, estradiol as needed
Female partner Ovulation and hormone testing Whether ovulation is occurring and broader endocrine function
Female partner HSG test Tubal patency and uterine cavity shape
Female partner Pelvic ultrasound Uterus, ovaries, fibroids, cysts, antral follicle count

For couples, the big takeaway is simple: an HSG answers a structural question, not the whole fertility question.

What can cause an abnormal HSG test?

If an HSG is abnormal, the cause can range from a mild, treatable issue to a more significant fertility barrier.

Potential causes of blocked tubes or an abnormal cavity

  • Prior pelvic infection, including sexually transmitted infections that led to pelvic inflammatory disease
  • Endometriosis, which can contribute to distortion, scarring, or adhesions
  • Previous surgery, such as pelvic or abdominal operations
  • Prior ectopic pregnancy
  • Fibroids that distort the cavity
  • Polyps
  • Adhesions after uterine procedures or infection
  • Congenital uterine anomalies
  • Tubal spasm, which can mimic blockage during the procedure

Not every abnormality carries the same fertility implications. For example, one open tube may still allow natural conception, while bilateral blockage often changes treatment options more significantly.

What happens if the HSG test shows blocked tubes?

Next steps depend on where the blockage appears to be, whether one or both tubes are affected, and whether the finding matches symptoms and history.

Possible follow-up options

  1. Repeat imaging if spasm is suspected.
  2. Sonohysterography or saline infusion sonography if uterine cavity detail is needed.
  3. Hysteroscopy to directly look inside the uterus.
  4. Laparoscopy if endometriosis, adhesions, or pelvic disease is suspected.
  5. Selective tubal cannulation in selected proximal blockages.
  6. IVF consultation, especially if both tubes are blocked or there is hydrosalpinx.

If there is hydrosalpinx

A hydrosalpinx is a damaged, fluid-filled fallopian tube. This matters because it can lower fertility and may reduce IVF success rates. Fertility specialists often take hydrosalpinx seriously when planning treatment, and management may involve surgery before IVF in some cases.

Is an HSG test a treatment or only a diagnostic test?

The HSG is considered a diagnostic test, not a primary treatment. That said, some people conceive in the cycles after an HSG, and tubal flushing may transiently improve fertility in select cases. The reasons are not entirely straightforward and may depend on patient selection and the type of contrast used.

It is best to think of any fertility boost after HSG as a possible secondary effect, not the main purpose of the procedure.

HSG test vs other fertility imaging tests

Several tests can assess the uterus and reproductive tract. They are not interchangeable, but they often complement each other.

Test Main purpose Best for Limitations
HSG X-ray with dye Checking tubal patency and uterine cavity outline Limited detail on tissue; may miss conditions outside the cavity
Pelvic ultrasound Ultrasound imaging Ovaries, fibroids, uterine size, cysts Does not reliably show whether tubes are open
Sonohysterogram Saline ultrasound of uterine cavity Polyps, fibroids, adhesions, intracavitary lesions Less direct for tubal patency than HSG
Hysteroscopy Direct camera view inside uterus Diagnosing and treating uterine cavity abnormalities More invasive than HSG
Laparoscopy Surgical visualization of pelvis Endometriosis, pelvic adhesions, tubal disease Requires surgery and anesthesia

If you are researching an HSG, you may also come across these related fertility terms:

  • Semen analysis: Measures sperm count, motility, morphology, and volume.
  • Ovulation testing: Assesses whether and when ovulation is occurring.
  • AMH: A hormone used as part of ovarian reserve assessment.
  • Sonohysterogram: Ultrasound-based test that outlines the uterine cavity using saline.
  • Hysteroscopy: A camera-based procedure to examine the inside of the uterus.
  • Hydrosalpinx: A fluid-filled, damaged fallopian tube.
  • Tubal patency: Whether the fallopian tubes are open.
  • Ectopic pregnancy: Pregnancy outside the uterus, often in a fallopian tube.
  • Pelvic inflammatory disease: Infection that can scar the reproductive tract.

Common misconceptions about the HSG test

“If the HSG is normal, there is no fertility problem.”

Not true. A normal HSG does not assess sperm quality, ovulation, egg quality, endometriosis severity, or implantation biology.

“If one tube is blocked, pregnancy is impossible.”

Not necessarily. Some people can conceive naturally with one open tube, depending on age, ovulation, sperm health, and the overall clinical picture.

“An HSG always causes severe pain.”

Experiences vary. Some people have only mild cramping, while others have more pronounced discomfort. Severe, lasting pain is not typical and should be evaluated.

“The HSG itself treats infertility.”

Its primary purpose is diagnosis. While fertility may improve after tubal flushing in some cases, it is not guaranteed and should not be viewed as a stand-alone solution.

“Infertility workups should focus on only one partner at a time.”

Usually not ideal. Delays happen when couples assume the issue must be only male or only female. Efficient fertility care usually evaluates both partners early.

When to seek medical advice

Consider discussing fertility testing, including whether an HSG is appropriate, if:

  • you have been trying to conceive without success
  • there is a history of pelvic infection, ectopic pregnancy, or pelvic surgery
  • there have been multiple pregnancy losses
  • menstrual symptoms suggest possible structural or pelvic issues
  • a clinician suspects tubal factor infertility

After an HSG, seek prompt medical care if there is fever, worsening pelvic pain, heavy bleeding, or signs of infection.

Questions to ask your doctor

  • Why are you recommending an HSG in my case?
  • What day of my cycle should the test be scheduled?
  • Should I take pain medicine before the procedure?
  • Do I need antibiotics or any special preparation?
  • What exactly will this test rule in or rule out?
  • If the result is abnormal, what are the likely next steps?
  • Could a blocked tube on HSG be due to spasm instead of true blockage?
  • How will the HSG findings affect our chances with timed intercourse, IUI, or IVF?
  • Should both partners complete fertility testing at the same time?

Frequently asked questions

What does HSG stand for?

HSG stands for hysterosalpingogram or hysterosalpingography. It is an X-ray test of the uterus and fallopian tubes using contrast dye.

What is an HSG test used for?

It is mainly used to check whether the fallopian tubes are open and whether the uterine cavity has a normal shape. It is commonly part of an infertility evaluation.

Is an HSG test painful?

It can cause cramping and discomfort, but the intensity varies. Many people tolerate it well, especially with pre-procedure pain relief if recommended.

How long does an HSG test take?

The imaging part is usually brief, often around 5 to 15 minutes, though the entire appointment may be longer.

Can you get pregnant after an HSG test?

Yes, some people do conceive after an HSG. In some cases, tubal flushing may be associated with slightly improved short-term fertility, but the procedure is still considered primarily diagnostic.

What does it mean if dye does not spill from the tube?

It may suggest tubal blockage, but sometimes tubal spasm or technical factors can mimic obstruction. Your doctor may recommend follow-up testing depending on the finding.

Can an HSG detect endometriosis?

Not reliably. It may show indirect effects if scarring has altered the tubes or cavity, but it does not diagnose most endometriosis on its own.

Why would a man need to know about an HSG test?

Because fertility is evaluated as a couple. A normal semen analysis does not rule out female structural issues, and an abnormal HSG does not rule out male-factor infertility either.

Is HSG the same as a sonohysterogram?

No. An HSG uses X-ray and dye, while a sonohysterogram uses ultrasound and saline. They can overlap in purpose, but they are different tests.

What happens if both fallopian tubes are blocked?

That often changes treatment planning significantly. Depending on the details, follow-up evaluation may be needed, and IVF is commonly discussed when both tubes are truly blocked.

References

  • American College of Obstetricians and Gynecologists (ACOG). Resources on infertility evaluation and hysterosalpingography.
  • American Society for Reproductive Medicine (ASRM). Committee opinions and patient education materials on fertility evaluation and tubal assessment.
  • Radiological Society of North America (RSNA) and American College of Radiology (ACR). RadiologyInfo.org: Hysterosalpingography.
  • Merck Manual Consumer Version. Infertility and diagnostic testing resources.
  • National Institute for Health and Care Excellence (NICE). Fertility problems: assessment and treatment guidelines.
  • Practice documents and peer-reviewed literature on tubal factor infertility, uterine cavity assessment, and contrast-based fertility imaging.