An intravenous pyelogram, or IVP, is an imaging test that uses X-rays and a special dye to take pictures of your urinary tract. The dye is injected into a vein in your arm, travels through your bloodstream to your kidneys, and then flows through the same path your urine takes. As it moves, it lights up on X-rays, giving doctors a clear view of your kidneys, the thin tubes (ureters) connecting them to your bladder, and the bladder itself. In males, it can also reveal the prostate.
Why Doctors Order an IVP
The main purpose of an IVP is to find problems in the urinary tract that wouldn’t show up on a standard X-ray. Because the contrast dye highlights the shape and flow of urine through your system, it can reveal kidney stones, blockages in the ureters, tumors, enlarged kidneys, or structural abnormalities you were born with. It also shows how well your kidneys are functioning by how quickly they process and pass the dye.
If you’ve had blood in your urine, recurring urinary tract infections, or unexplained flank pain, an IVP is one way to investigate the cause. It gives doctors a real-time look at your urinary system “in action,” which static imaging can miss.
What Happens During the Test
You’ll lie on an X-ray table, and the technologist will take a set of initial images before anything is injected. These baseline X-rays show the natural state of your urinary organs. Then the contrast dye goes into a vein in your arm.
Once the dye is in your bloodstream, your kidneys begin filtering it out, just like they filter waste from your blood every day. As the dye passes through, the technologist takes a series of X-rays at timed intervals to capture the kidneys processing the dye, the ureters filling, and the bladder collecting it. This sequence can reveal where flow is normal and where something might be slowed or blocked.
During the exam, you may be asked to shift positions or turn from side to side so the radiologist can get views from multiple angles. A compression band may be placed around your midsection to improve the visibility of certain structures. Near the end, you’ll likely be asked to empty your bladder so a final image can be taken showing how completely it drains. The whole process typically takes 30 to 60 minutes, though it can run longer if the dye moves slowly through your system.
How to Prepare
Your doctor’s office will give you specific instructions, but preparation usually involves fasting for several hours beforehand. An empty stomach reduces the chance of nausea from the contrast dye and keeps bowel contents from obscuring the images. You may also be told to drink extra fluids in the days leading up to the test and then stop at a certain point before the exam. If you take any medications, especially for diabetes, ask whether you need to adjust them, since some drugs interact with the contrast dye.
Risks and Side Effects of the Contrast Dye
The dye used in an IVP is iodine-based, and most people tolerate it without issues. The most common sensation is a warm, flushed feeling as it enters your bloodstream, sometimes accompanied by a metallic taste. These are normal and pass within minutes.
Reactions to intravenous contrast dye occur in roughly 5% to 8% of patients. Most of these are mild: warmth, nausea, or brief vomiting. About 1% of patients experience moderate reactions like hives, significant swelling, or more persistent vomiting, which typically require treatment. Severe, life-threatening reactions such as anaphylaxis are rare, occurring in about 0.1% of cases, with an estimated fatality rate of roughly 1 in 75,000.
If you’ve had a previous reaction to contrast dye, an iodine or shellfish allergy, or kidney problems, let your doctor know beforehand. People with reduced kidney function face a higher risk because their kidneys may struggle to clear the dye efficiently. Pregnancy is another concern, as the test involves both radiation and contrast material.
IVP vs. CT Urogram
If you’re reading about IVPs, you may notice that many hospitals now use CT scans instead. Between 2008 and 2012, there was a major shift away from IVPs toward non-contrast CT scans for evaluating conditions like acute flank pain. The reason is straightforward: CT scans are faster, don’t always require contrast dye, and are extremely accurate. For detecting kidney stones, CT has a sensitivity above 95% and specificity of 98%, making it the preferred tool in most emergency and outpatient settings.
That said, IVPs haven’t disappeared entirely. They can still be useful in specific situations where a doctor wants to see the functional flow of urine through the system over time, or in facilities where CT is less accessible. A CT urogram, which does use contrast, has largely replaced the IVP for detailed imaging of the urinary tract, but your doctor may choose one over the other depending on what they’re looking for and your medical history.
What the Results Can Show
A normal IVP shows two kidneys of similar size, ureters that are smooth and unobstructed, and a bladder that fills and empties properly. Abnormal findings might include a kidney that appears enlarged or shrunken, a ureter that’s dilated (suggesting a blockage downstream), filling defects that could indicate stones or tumors, or a bladder that doesn’t empty completely.
Your radiologist reads the images and sends a report to the doctor who ordered the test. From there, the results might lead to further testing, a referral to a urologist, or simply reassurance that your urinary tract looks normal.

