To check for a kidney infection, you may be asked to provide a urine sample to test for bacteria, blood or pus in your urine. Your health care provider might also take a blood sample for a culture. A culture is a lab test that checks for bacteria or other organisms in your blood.

Other tests might include an ultrasound, a CT scan or a type of X-ray called a voiding cystourethrogram. A voiding cystourethrogram involves injecting a contrast dye to take X-rays of the bladder when full and while urinating.


Antibiotics for kidney infections

Antibiotics are the first line of treatment for kidney infections. The drugs used and the length of time of the treatment depend on your health and the bacteria found in your urine tests.

Symptoms of a kidney infection often begin to clear up within a few days of treatment. But you might need to continue antibiotics for a week or longer. Finish taking the full course of antibiotics even if you start feeling better.

Your provider might want you to have a repeat urine culture test to make sure that the infection has cleared. If the infection is still present, you'll need to take another course of antibiotics.

Hospitalization for severe kidney infections

If your kidney infection is severe, you may need to go to the hospital. Treatment might include antibiotics and fluids through a vein in your arm. How long you'll stay in the hospital depends on how severe your infection is.

Treatment for recurrent kidney infections

An underlying medical problem such as a misshapen urinary tract can cause you to have repeated kidney infections. In that case, you might be referred to a kidney specialist (nephrologist) or urinary surgeon (urologist). You might need surgery to repair a structural problem.

From Mayo Clinic to your inbox

Sign up for free and stay up to date on research advancements, health tips, current health topics, and expertise on managing health. Click here for an email preview.

To provide you with the most relevant and helpful information, and understand which information is beneficial, we may combine your email and website usage information with other information we have about you. If you are a Mayo Clinic patient, this could include protected health information. If we combine this information with your protected health information, we will treat all of that information as protected health information and will only use or disclose that information as set forth in our notice of privacy practices. You may opt-out of email communications at any time by clicking on the unsubscribe link in the e-mail.

Lifestyle and home remedies

To help you feel better while you recover from a kidney infection, you might:

  • Apply heat. Place a heating pad on your belly, back or side to ease pain.
  • Use pain medicine. For fever or discomfort, take a pain reliever such as acetaminophen (Tylenol, others). If you have chronic kidney disease, it's best to avoid or limit use of nonsteroidal anti-inflammatory drugs (NSAIDs), such as ibuprofen (Motrin IB, Advil, others).
  • Stay hydrated. Drinking fluids will help flush bacteria from your urinary tract. Avoid coffee and alcohol until your infection has cleared. They can worsen the feeling of needing to urinate.

Preparing for your appointment

You'll likely start by seeing your family provider or a general practitioner. If your health care provider suspects that an infection has spread to your kidneys, you might need to see a specialist who treats conditions that affect the urinary tract (urologist).

What you can do

When you make the appointment, ask if there's anything you need to do in advance, such as restrict your diet for certain tests.

Take note of:

  • Your symptoms, including any that seem unrelated to your condition. Also note when they began.
  • Key personal information, including recent life changes, such as a new sex partner, and past medical history.
  • All medicines, vitamins and other supplements you take, including doses.
  • Questions to ask your provider.

Take a family member or friend along, if possible, to help you remember everything you talk about with your provider.

For kidney infection, questions to ask your health care provider include:

  • What is the likely cause of my kidney infection?
  • What tests do I need?
  • What treatment do you think I need?
  • Will there be side effects from treatment?
  • Do I need to go to a hospital for treatment?
  • How can I prevent future kidney infections?
  • I have other health conditions. How can I manage them together?
  • Are there brochures or other printed material I can have? What websites do you suggest?

Be sure to ask any other questions that occur to you during your time with your provider.

What to expect from your doctor

Your health care provider is likely to ask you questions, such as:

  • Have your symptoms been ongoing or on-and-off?
  • How bad are your symptoms?
  • Does anything seem to make you feel better?
  • What things seem to make your symptoms worse?
Aug. 06, 2022
  1. Kidney infection (pyelonephritis). National Institute of Diabetes and Digestive and Kidney Diseases. https://www.niddk.nih.gov/health-information/kidney-disease/kidney-infection-pyelonephritis. Accessed June 2, 2022.
  2. Kidney infection — Symptoms, treatment and infection. American Kidney Fund. http://www.kidneyfund.org/kidney-disease/kidney-problems/kidney-infection.html. Accessed June 2, 2022.
  3. Hooton TM, et al. Acute complicated urinary tract infection (including pyelonephritis) in adults. https://www.uptodate.com/contents/search. Accessed June 2, 2022.
  4. FAQs. Urinary tract infections (UTIs). American College of Obstetricians and Gynecologists. https://www.acog.org/womens-health/faqs/urinary-tract-infections. Accessed June 2, 2022.
  5. Hooton TM, et al. Urinary tract infections and asymptomatic bacteriuria in pregnancy. https://www.uptodate.com/contents/search. Accessed June 2, 2022.
  6. Ferri FF. Pyelonephritis. In: Ferri's Clinical Advisor 2022. Elsevier; 2022. https://www.clinicalkey.com. Accessed June 2, 2022.
  7. Kolman KB. Cystitis and pyelonephritis: Diagnosis, treatment and prevention. Primary Care. 2019; doi:10.1016/j.pop.2019.01.001.
  8. Thongprayoon C, et al. Acute kidney injury in patients undergoing total hip arthroplasty: A systematic review and meta-analysis. Journal of Clinical Medicine. 2019; doi:10.3390/jcm8010066.


Products & Services