A hysterosalpingogram (HSG, sometimes called a “tube X-ray”) is an X-ray of the womb and fallopian tubes taken after a contrast dye is injected through the cervix; it checks that the tubes are open and that the uterine cavity is normal. It is done in the first half of the cycle, after your period and before ovulation, when there is no pregnancy and no infection. The test takes about 15 minutes and usually causes brief, moderate cramping.
A hysterosalpingogram (often called an "HSG" or "tube test") shows:
It is one of the first-line tests in a couple's fertility work-up. The 2022 guidelines of the French College of Gynaecologists and Obstetricians (CNGOF) recommend checking whether the tubes are open either by HSG or by HyFoSy, an ultrasound scan performed with a contrast foam. The tubes can be damaged by a past pelvic infection, surgery or endometriosis.
The test is not only used for fertility investigations. It may also be requested to examine the womb cavity before surgery, to look for a cause of recurrent miscarriage (a uterine malformation or adhesions), or to check the womb and tubes after certain operations. It does not replace a pelvic ultrasound, which remains the basic test for looking at the womb and ovaries.
| Criterion | Hysterosalpingogram (HSG) | HyFoSy |
|---|---|---|
| Technique | X-ray after injection of an iodine-based dye | Transvaginal ultrasound after injection of a foam |
| X-rays | Yes, at a low dose | No |
| Iodine-based dye | Yes | No |
| What it examines | Tubes, womb cavity, cervix | Tubes, womb and ovaries at the same time |
| Place in the work-up (CNGOF 2022) | First line | First line |
| Availability | Widely available | Varies between centres |
The choice between the two depends on your medical history, any iodine allergy and which technique is available locally. Both tests are scheduled under the same conditions: first half of the cycle, no pregnancy and no infection.
The test is booked in the first half of the cycle, usually between the end of your period and ovulation. Scheduling instructions are provided by the radiology practice.
This timing makes sure there is no early pregnancy and gives clearer images of the womb cavity. If there is any doubt, a pregnancy test is requested. You are advised to avoid unprotected sex between the start of your period and the test, following the radiologist's instructions.
If your cycles are irregular, mention it when you book: the timing will be adjusted, and a pregnancy test may be done on the day. If you are bleeding, the test cannot always be performed in good conditions.
The whole procedure takes about 15 minutes. The X-ray dose is low. The radiologist often comments on the images at the end; the report is then discussed with your gynaecologist.
Depending on your history, the doctor may prescribe a painkiller to take beforehand, or an antibiotic.
After the test, wear a sanitary pad for any dye leaking out. You can shower the same day; most women return to their usual activities the next day.
Most women feel cramps similar to period pain when the dye is injected. They usually last a few minutes. The pain can be stronger when a tube is blocked, because the dye builds up under pressure.
To reduce discomfort:
| Result | Possible meaning | Usual next step |
|---|---|---|
| Open tubes, normal cavity | No visible obstacle to the passage of sperm and egg | Fertility work-up continues according to the other results |
| One tube not visible | A blockage, or simply a spasm of the tube during the test | Cautious interpretation; may be checked with another technique |
| Both tubes blocked | Probable tubal blockage | Confirmation, discussion of surgery or IVF |
| Swollen tube (hydrosalpinx) | Damaged tube filled with fluid | Surgical treatment recommended before IVF (CNGOF 2022) |
| Abnormal image in the cavity | Polyp, fibroid, adhesions, malformation | Further assessment by saline infusion sonography or hysteroscopy |
Pregnancy sometimes occurs in the months after a normal HSG. A Dutch randomised trial published in the NEJM in 2017, in 1,119 women, found an ongoing pregnancy rate at six months of 39.7% after a test with an oil-based dye, compared with 29.1% with a water-based dye. A Cochrane review (2020) supports this trend with low-quality evidence, and notes that harmless passage of dye into the blood vessels is more common with oil-based dyes. The choice of dye depends on the centre and on the patient.
Afterwards, light discharge stained with dye or blood and mild cramps are common for one or two days. Complications are rare:
See a doctor promptly, or call 15 or 112 in France, or your local emergency number, if symptoms are severe, if in the following days you have:
The test is not performed during pregnancy, with an active genital infection or with heavy bleeding. A severe allergy to iodine-based dye leads to discussing another technique.
The alternatives are:
Usually yes, but it is a good idea to have someone with you if you are worried about pain or have fainted before. Allow a few minutes of rest before leaving.
Yes, as long as you have no fever or unusual pain. If the test is normal, you can try to conceive in the same cycle.
In France, an HSG prescribed by a doctor is reimbursed by the Assurance maladie (French national health insurance) under the usual conditions.
No, unless the radiology centre tells you otherwise.
The flow of dye can sometimes clear a small obstruction, which may explain some of the pregnancies seen after the test. It does not replace treatment when a tube is truly blocked or damaged.
A question about your situation?Appointments at the practice or by video consultation, usually within one week to 10 days.
Book an appointmentGeneral information article: it does not replace a medical consultation. In an emergency, call 15 or 112 in France, or your local emergency number.