urine X ray explained
Informed by recognized medical guidance
Overview
A urine X-ray is a type of scan that takes pictures of your kidneys, ureters (tubes from kidneys to bladder), and bladder. It is often called a KUB X-ray (kidney, ureter, bladder) or an intravenous pyelogram (IVP) if dye is used. This test helps doctors see stones, blockages, or other problems in your urinary system.
Key facts
- A urine X-ray usually takes less than 30 minutes.
- You may be asked to empty your bladder before the test.
- If dye is used, you might feel a warm flush when it is injected.
- The test uses a small amount of radiation, similar to a chest X-ray.
Yes, it is a common and quick way to check for kidney stones and other urinary issues.
Anyone with symptoms like pain in the side or blood in urine may have this test. It is often done in adults, but children can have it too.
Symptoms
- Inability to urinate at all
- Severe pain that doesn't go away
- High fever with chills or shaking
- Vomiting and unable to keep liquids down
- ⚠Blood in urine that you can see
- ⚠Pain in the side that gets worse
- ⚠Fever above 100.4°F (38°C)
- ⚠Feeling sick or weak with urinary symptoms
Common symptoms
- Sharp pain in the side or lower back (often called flank pain)
- Blood in urine (pink, red, or cola-colored)
- Frequent or urgent need to urinate
- Pain or burning when urinating
Symptoms in children
- Unexplained fever without other cause
- Pain in the belly or side
- Urine that looks cloudy or smells bad
Symptoms in older adults
- Confusion or sudden changes in mental state (can be a sign of infection)
- Less specific pain or discomfort in the back
- Feeling very tired or weak
Causes
Main causes
- Kidney stones (hard deposits that form in the kidneys)
- Urinary tract infections (UTIs) that are severe or keep coming back
- Blockages in the tubes that carry urine
- Injury to the kidneys or bladder
Risk factors
- Not drinking enough water
- Having a family history of kidney stones
- Being dehydrated often
- Certain medical conditions like gout or repeated UTIs
When to see a doctor
See a doctor urgently if:
- If you have fever and chills along with pain or blood in urine
- If you cannot pass urine at all
- If you have sudden, severe pain in your back or side
Book a routine appointment if:
- If you have mild pain or discomfort that comes and goes
- If you notice a small amount of blood in your urine
- For follow-up after a kidney stone or other urinary problem
Diagnosis
The test is done in a hospital or clinic by a radiographer (X-ray technician). You will lie on a table while the machine takes pictures. If dye is needed for better detail, it will be injected into a vein in your arm.
Tests that may be done
- KUB X-ray (plain film of kidney, ureter, bladder)
- IVP (intravenous pyelogram – X-ray with contrast dye)
- Ultrasound (sometimes done first, especially in children or pregnancy)
What to expect at your appointment
You will be asked to remove any metal objects (jewelry, belts) and wear a gown. The test is painless. If you get dye, you might have a warm feeling or metallic taste that goes away quickly. You can go home right after.
Treatment
Treatment depends on what the X-ray finds. If it shows a kidney stone, small stones often pass on their own with drinking plenty of water. Larger stones may need other procedures. If there is an infection, antibiotics can help.
Self-care at home
- Drink plenty of water (aim for 6–8 cups a day, unless your doctor says otherwise)
- Take over-the-counter pain relief as recommended by your doctor or pharmacist
- Rest and use a heating pad for mild pain
Medical treatments
Your doctor may prescribe medicines to help pass stones or treat infection. For larger stones, treatments like shock wave therapy (lithotripsy) or minor procedures to remove them may be used. Always follow your doctor's advice.
When is surgery considered?
Surgery is rarely needed for kidney stones. It may be considered if the stone is very large, causes a blockage, or leads to severe pain or infection that cannot be treated otherwise.
Living with this condition
If you have kidney stones or a urinary condition, staying hydrated is key. Carry a water bottle and sip throughout the day. Follow up with your doctor as recommended.
Lifestyle tips
- Drink enough fluids so your urine is light yellow or clear
- Reduce salt in your diet to help prevent new stones
- Avoid excess protein from red meat and other animal sources if you are prone to stones
Diet and exercise
Eat a balanced diet with plenty of fruits and vegetables. Limit foods high in oxalates (like spinach, nuts, chocolate) if you have certain types of stones. Stay active – walking and gentle exercise are fine.
Mental health and emotional wellbeing
Living with pain or repeated tests can be stressful. It is normal to feel anxious or frustrated. Talk to your doctor or a counselor if you feel overwhelmed.
Prevention
You may reduce your risk of kidney stones by drinking enough water and eating a balanced diet. But not all urinary problems are preventable.
Screening programmes
If you have had stones before, your doctor may recommend periodic urine tests or imaging to check for new stones.
Complications
If left untreated
- Kidney stones can grow larger and block urine flow, damaging the kidney
- Untreated infections can spread to the kidneys (pyelonephritis) or blood (sepsis)
- Chronic blockages can lead to kidney function loss over time
Long-term outlook
With proper care, most urinary problems can be managed well. Many people pass stones without long-term issues. Early treatment helps prevent complications.
Find support
External links open third-party websites. Ruqelo Health is not responsible for external content. Listing an organisation does not imply endorsement.
Always verify with your doctor
Health guidelines vary by country and region. The information in this article is based on international clinical guidelines but may not reflect the specific guidelines, medications, or practices in your country. Always discuss your health concerns with your own doctor or healthcare provider, and refer to your local national health guidelines where available.
Important notice This information is for educational purposes only. It does not replace professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider about your specific situation. If you are experiencing a medical emergency, call your local emergency services immediately.
Related conditions
Sources and guidance
This article is educational and is prepared with reference to recognized health information and clinical guidance sources where available. Specific source links may vary by topic.
Last updated: July 30, 2026
Educational note: This information is for education only and is not a diagnosis.
Use it to support, not replace, advice from a licensed clinician.
If symptoms are severe, worsening, or urgent, call your local emergency number or seek emergency care.