The HSG is done as a simple procedure in which we try to pass a very thin catheter or a pipe which is only 1 or 2 mm through the opening of your uterus or the cervix. Once we pass the small pipe inside the uterine cavity, we try to fill the cavity with a dye, which eventually spills out inside the fallopian tubes and is picked up on the xray. When the dye is spilling from the uterus into the fallopian tubes and inside your abdominal cavity, some amount of pain or cramping is noted when the procedure is done. If you are experiencing this kind of pain, then it is a good sign and it shows that your tubes are open. This can be tested and can be seen in a couple of minutes. Once the procedure is done, which hardly takes about 5 – 10 minutes, you might experience little cramping for a couple of hours.