Skip to content
Sign in

My doctor has advised an HSG test. What happens during it, does it hurt, and when in the cycle is it done?

An AskHer answer: what is known, what depends on you, and what only a clinician can decide.

From AskHer’s editorial team. The team wrote this question to open the topic. It is not anyone’s submission, and nobody’s own words are in it.

Editorially reviewed Version 1 · Last reviewed 11 November 2026 · English

The short explanation

An HSG, or hysterosalpingogram, is an X-ray test to see whether the fallopian tubes are open. A thin tube is passed through the cervix, a dye is gently put into the womb, and X-ray pictures show whether the dye flows through the tubes. It usually takes around 15 to 30 minutes, and you go home the same day. Many women feel period-like cramping during the test, which may be strong for a few minutes and usually settles soon after. Asking about pain relief beforehand is reasonable.

What depends on your situation

The parts of this that change from woman to woman. Uncertainty is stated, not hidden.

  • The test is usually done in the first half of the cycle, after the period has stopped and before ovulation, so that there is no chance of an early pregnancy. You may be asked to avoid unprotected sex from your period until the test. Some clinics give an antibiotic beforehand to lower infection risk.
  • Sometimes a tube looks blocked because it went into spasm during the test, so a blocked result is sometimes rechecked by another method. Government hospitals with a radiology department often do HSG at a much lower cost than private centres. You can bring someone with you and ask for a woman staff member to be present.

What this answer cannot determine

The boundary of online education. These need a clinician who can see you.

  • This answer cannot tell what your result will show or whether the test is right for you. Some women are offered a scan-based test or laparoscopy instead.

Questions for your clinician

Take these with you. You can add any of them to an appointment card.

  1. Which day of my cycle should I book the test?
  2. What can I do for the pain, and can someone come with me?
  3. If one tube looks blocked, will it be rechecked?
  4. Is a scan-based tube test an option for me?

When to seek help

Clinician-approved guidance for this topic. When in doubt, being seen is never the wrong choice.

Get help the same day

  • Get care the same day if you develop fever, worsening belly pain or foul-smelling discharge in the days after the test.

Raise it at a routine appointment

  • Book a routine follow-up to discuss the result and next steps.

Sources

The evidence this explanation is built on.

  1. Infertility NHS
  2. Infertility MedlinePlus (NIH)

Who wrote and reviewed this

Every AskHer answer names its author. A clinically reviewed answer also names the clinician who signed it off — if no clinician is named below, it has not been clinically reviewed.

Author
AskHer Editorial (AI-assisted) AskHer's editorial team — not an individual clinician Works in English, தமிழ், हिन्दी
Clinical reviewer
Nobody yet No clinician has signed this answer off. That is what the “Editorially reviewed” badge means, and why it does not say “Clinically reviewed”. It was written and checked by AskHer’s editorial team against the sources listed above, and it is queued for a clinician who works in this area.
Review status
Editorially reviewed
Last reviewed
Last reviewed 11 November 2026
Version
1

Correction history

Substantive changes are listed, not quietly edited away.

No corrections have been made since this answer was first published.

Did this answer your question?

Whatever you choose is filed against this version of the answer, never against you, and it is never shown as a count.

Explain more simply

“Explain more simply” asks which part was hard to follow, so the author knows what to rewrite. “My question is different” tells the editorial team this answer missed your point, then lets you ask your own question privately. Nothing about you is sent with either.


Saving, following up and reporting are all private. Nothing you do on this page is visible to other readers or to the doctor who wrote it, unless you ask a question.