The choice of antibiotic depends on the species and antibiotic sensitivity profile of the infecting organism, and may include fluoroquinolones, cephalosporins, aminoglycosides, or trimethoprim/sulfamethoxazole, either alone or in combination. Simple
A 2018 systematic review recommended the use of norfloxacin as it has the lowest rate of side effects with a comparable efficacy to commonly used antibiotics.In people who do not require hospitalization and live in an area where there is a low prevalence of antibiotic-resistant bacteria, a fluoroquinolone by mouth such as ciprofloxacin or levofloxacin is an appropriate initial choice for therapy. In areas where there is a higher prevalence of fluoroquinolone resistance, it is useful to initiate treatment with a single intravenous dose of a long-acting antibiotic such as ceftriaxone or an aminoglycoside, and then continuing treatment with a fluoroquinolone. Oral trimethoprim/sulfamethoxazole is an appropriate choice for therapy if the bacteria is known to be susceptible. If trimethoprim/sulfamethoxazole is used when the susceptibility is not known, it is useful to initiate treatment with a single intravenous dose of a long-acting antibiotic such as ceftriaxone or an aminoglycoside. Oral beta-lactam antibiotics are less effective than other available agents for treatment of pyelonephritis. Improvement is expected in 48 to 72 hours. Complicated
People with acute pyelonephritis that is accompanied by high fever and leukocytosis are typically admitted to the hospital for intravenous hydration and intravenous antibiotic treatment. Treatment is typically initiated with an intravenous fluoroquinolone, an aminoglycoside, an extended-spectrum penicillin or cephalosporin, or a carbapenem. Combination antibiotic therapy is often used in such situations.
Risk is increased in the following situations:
Mechanical: any structural abnormalities in the urinary tract, vesicoureteral reflux (urine from the bladder flowing back into the ureter), kidney stones, urinary tract catheterization, ureteral stents or drainage procedures (e.g., nephrostomy), pregnancy, neurogenic bladder (e.g., due to spinal cord damage, spina bifida or multiple sclerosis) and prostate disease (e.g., benign prostatic hyperplasia) in men
Constitutional: diabetes mellitus, immunocompromised states
Behavioral: change in sexual partner within the last year, spermicide use
Positive family history (close family members with frequent urinary tract infections)

Diagnosis
Laboratory examination
Analysis of the urine may show signs of urinary tract infection. Specifically, the presence of nitrite and white blood cells on a urine test strip in patients with typical symptoms are sufficient for the diagnosis of pyelonephritis, and are an indication for empirical treatment. Blood tests such as a complete blood count may show neutrophilia. Microbiological culture of the urine, with or without blood cultures and antibiotic sensitivity testing are useful for establishing a formal diagnosis, and are considered mandatory. Imaging studies
If a kidney stone is suspected (e.g. on the basis of characteristic colicky pain or the presence of a disproportionate amount of blood in the urine), a kidneys, ureters, and bladder x-ray (KUB film) may assist in identifying radioopaque stones. Where available, a noncontrast helical CT scan with 5 millimeter sections is the diagnostic modality of choice in the radiographic evaluation of suspected nephrolithiasis. All stones are detectable on CT scans except very rare stones composed of certain drug residues in the urine.