Pyelonephritis is a bacterial infection of the kidney, and it is one of the most common serious infections of the urinary tract. It typically starts when bacteria travel upward from the bladder through the ureters into the kidney itself, triggering inflammation, fever, and flank pain that can escalate quickly if left untreated. The condition ranges from a straightforward outpatient illness treatable with oral antibiotics to a life-threatening emergency requiring hospitalization, and the outcome depends heavily on how quickly treatment begins, what organism is involved, and whether any underlying anatomical or immune problems are at play.
What Causes It
Escherichia coli is by far the leading culprit. It accounts for the majority of community-acquired cases, with Klebsiella pneumoniae a distant second.1PubMed. Etiology and pathophysiology of pyelonephritis In one study of 329 pyelonephritis patients, E. coli caused roughly three-quarters of cases overall. The split was even more dramatic in infections acquired outside of hospitals: out of 219 community-onset cases, 194 were E. coli and just 25 were Klebsiella. In healthcare-associated infections, though, the gap narrowed considerably, with Klebsiella representing a larger share.2PubMed Central. Comparison of Escherichia coli and Klebsiella pneumoniae Acute Pyelonephritis in Korean Patients Other organisms that show up include Proteus mirabilis, Enterococcus species, and Pseudomonas aeruginosa, particularly in people with catheters, structural abnormalities, or repeated hospital stays.
The usual route of infection is ascending: bacteria colonize the urethra, move into the bladder, and then climb up through the ureters to the kidneys. But this is not the only path. Research in animal models has shown that for certain organisms, like group B streptococcus, the blood can carry bacteria directly to the kidneys without any preceding bladder infection. In mouse studies, brief, low-level bacteremia led to high bacterial loads sustained in kidney tissue for days, while bladder infection with the same organism did not lead to kidney involvement at all.3PubMed. Evaluation of hematogenous spread and ascending infection in the pathogenesis of acute pyelonephritis due to group B streptococcus in mice This blood-borne route matters clinically because it means kidney infections can occasionally appear in people who never had typical bladder symptoms first.
Why Some People Are More Vulnerable
Not every bladder infection becomes a kidney infection. Whether bacteria can make the jump depends on a tug-of-war between how aggressive the bacteria are and how well your body can fend them off. On the bacterial side, uropathogenic strains of E. coli carry a toolbox of virulence factors that help them stick to and invade urinary tract tissue.4PubMed Central. Role of Uropathogenic Escherichia coli Virulence Factors in Development of Urinary Tract Infection and Kidney Damage Studies comparing E. coli strains isolated from urinary infections with strains from the gut found virulence factors in about 65% of urinary isolates versus only 20% of fecal control strains. Biofilm formation was especially skewed: roughly 62% of urinary strains produced biofilm compared with just 1% of gut strains.5PubMed Central. Virulence factors of uropathogenic Escherichia coli (UPEC) and correlation with antimicrobial resistance
On the host side, your kidneys are not passive bystanders. The cells lining the kidney’s tubules detect bacterial components through immune sensors called Toll-like receptors and respond by releasing signaling molecules that recruit white blood cells to fight the infection.6Clinical and Experimental Immunology. Toll-like receptors TLR2 and TLR4 initiate the innate immune response of the renal tubular epithelium to bacterial products When this defense system works well, infections are contained or cleared. But some people have genetic variations that weaken the response. Researchers identified mutations in a gene called CXCR1 that were far more common in children prone to pyelonephritis. Among patients without reflux, over half carried sequence variants in this gene, compared with about 7% of controls. These variants reduced the amount of CXCR1 protein the body made, meaning fewer neutrophils could be recruited to the infected kidney.7PubMed Central. A genetic basis of susceptibility to acute pyelonephritis
Beyond genetics, practical risk factors play a large role. Anything that blocks or slows urine flow gives bacteria more time to multiply: kidney stones, an enlarged prostate, or a kinked ureter after surgery. Long-term urinary catheters are a well-established risk. One autopsy study found that the prevalence of chronic pyelonephritis at death was 10% among patients catheterized for more than 90 days during their last year of life, versus zero among those catheterized for 90 days or less. Chronic kidney inflammation short of full pyelonephritis was even more common, affecting 43% of the longer-catheterized group.8PubMed. Long-term urethral catheterization increases risk of chronic pyelonephritis and renal inflammation Diabetes, immunosuppression, and a history of prior urinary infections also raise the odds.
How It Is Diagnosed
The classic presentation is hard to miss in adults: sudden fever, chills, pain in the flank or lower back, and often nausea or vomiting. Most people also have bladder symptoms like burning or urgency, though not always. A urine test showing white blood cells and bacteria points toward infection. In straightforward cases, a urine culture and sensitivity test is often enough to confirm the diagnosis and guide antibiotic choice. When the infection is complicated, as in pregnancy, recurring infections, or suspected kidney involvement, clinicians generally push further with manual microscopy and formal culture to identify the organism and its resistance pattern.9PubMed Central. Urinalysis and urinary tract infection: update for clinicians
In children, though, the diagnosis gets trickier. Fever and irritability may be the only signs, and younger children cannot describe flank pain. Clinical and lab findings alone have poor specificity for distinguishing a kidney infection from a simple bladder infection. One study found that even with sensitivity as high as 80 to 100%, the specificity of standard tests was below 28%. Using clinical and lab criteria alone, about a third of children with bladder infections were incorrectly labeled as having pyelonephritis, and about a fifth of those with true pyelonephritis were missed.10PubMed. Diagnostic significance of clinical and laboratory findings to localize site of urinary infection Specialized imaging like DMSA renal scintigraphy, which shows areas of the kidney that are not functioning normally, gives a more accurate picture in this age group.
In adults, imaging is reserved for situations where the diagnosis is uncertain or the patient is not improving with antibiotics. CT is widely considered the best imaging tool for evaluating complicated pyelonephritis, identifying potential abscess formation, or detecting gas-forming infections.11Journal of the American College of Radiology. ACR Appropriateness Criteria Acute Pyelonephritis For most otherwise healthy adults who respond to treatment within 48 to 72 hours, no imaging is needed.
Treatment and the Antibiotic Resistance Problem
Antibiotics are the cornerstone of treatment. For an uncomplicated case in someone who is not severely ill, oral fluoroquinolones or trimethoprim-sulfamethoxazole are often used, depending on local resistance patterns. Complicated infections or those with signs of sepsis demand intravenous therapy. The Infectious Diseases Society of America recommends choosing among third- or fourth-generation cephalosporins, carbapenems, piperacillin-tazobactam, or fluoroquinolones for patients with sepsis, guided by the severity of illness and local susceptibility data. When sepsis is not present, the guidelines suggest similar agents but recommend holding carbapenems in reserve.12Clinical Infectious Diseases. IDSA 2025 Guideline Update on Complicated Urinary Tract Infections
Antibiotic resistance is making these choices harder. A growing proportion of E. coli strains that cause urinary infections produce extended-spectrum beta-lactamases, or ESBLs, enzymes that break down many standard antibiotics. These ESBL-producing strains tend to carry resistance to fluoroquinolones at the same time. One study of ESBL-producing E. coli from urinary isolates found that nearly 80% were also resistant to ciprofloxacin, and about two-thirds showed simultaneous resistance to ciprofloxacin and another antibiotic.13PubMed Central. ESBL genotypes in fluoroquinolone-resistant and fluoroquinolone-susceptible ESBL-producing Escherichia coli urinary isolates in Manitoba This kind of multi-drug resistance is more common in hospital-acquired infections and in people who have recently been hospitalized, lived in long-term care facilities, or spent time in intensive care units.14PubMed Central. Are Fluoroquinolones Appropriate for the Treatment of Extended-Spectrum β-Lactamase-Producing Gram-Negative Bacilli?
Even more worrying, surveillance data have shown a trend of increasing fluoroquinolone resistance in both ESBL-positive and ESBL-negative E. coli strains isolated from urinary infections. The resistance rate in ESBL-producing strains was roughly 180% higher than in non-ESBL strains across all years studied. Because non-ESBL strains are far more common in the community, rising resistance among those strains threatens the reliability of empiric treatment choices for routine outpatient infections.15Revista da Sociedade Brasileira de Medicina Tropical. Monitoring fluoroquinolone resistance among ESBL-positive and ESBL-negative Escherichia coli strains isolated from urinary tract infections The practical takeaway is that urine cultures matter, especially for kidney infections that are not responding to initial treatment or for anyone with recent healthcare exposure.
Pyelonephritis During Pregnancy
Pregnancy creates a perfect setup for kidney infections. Hormonal changes relax the smooth muscle of the ureters, urine flow slows, and the growing uterus can partially compress the ureters. Even bacteria in the urine without symptoms, known as asymptomatic bacteriuria, is riskier during pregnancy than at other times. If left untreated, up to 30% of pregnant women with asymptomatic bacteriuria go on to develop acute pyelonephritis, with an increased risk of complications including preeclampsia, preterm birth, restricted fetal growth, and low birth weight.16PubMed. Urinary tract infection during pregnancy: current concepts on a common multifaceted problem This is why prenatal care routinely includes screening for bacteria in the urine during the first trimester, even when there are no symptoms. Treating bacteriuria early with a short course of antibiotics dramatically lowers the chance of it progressing to pyelonephritis.
When pyelonephritis does develop during pregnancy, it typically requires hospitalization for intravenous antibiotics and monitoring. The infection can provoke uterine contractions and, in severe cases, trigger preterm labor. Antibiotic choices are also more limited because fluoroquinolones and certain other drugs are avoided due to potential harm to the fetus.
Children, Reflux, and the Risk of Kidney Scarring
In children, pyelonephritis is closely linked to a structural condition called vesicoureteral reflux, where urine flows backward from the bladder toward the kidneys. Reflux is the most common underlying cause of febrile urinary infections in kids, and repeated kidney infections in this setting can lead to renal scarring, high blood pressure, and protein loss in the urine over time.17PubMed Central. Urinary tract infection in the setting of vesicoureteral reflux In a coordinated research project, 72% of children with reflux had parenchymal renal damage compared with 52% of those without reflux, and the risk was amplified by recurring infections and older age at the time of first infection.18PubMed. Relationship between acute pyelonephritis, renal scarring, and vesicoureteral reflux
That said, reflux is not required. One study of children with febrile urinary infections demonstrated reflux in only 37% of the 62 children confirmed to have pyelonephritis, meaning the majority developed kidney infections without detectable reflux.19PubMed. Relationship among vesicoureteral reflux, P-fimbriated Escherichia coli, and acute pyelonephritis in children with febrile urinary tract infection The bacteria’s own virulence factors, especially adhesion structures that let E. coli cling to kidney tissue, can drive upper-tract infection without any anatomical abnormality.
The long-term consequences of childhood pyelonephritis with scarring are significant. A 27-year follow-up of patients who developed focal renal scarring from childhood pyelonephritis found that three had reached end-stage kidney failure, seven had developed hypertension, and two of 16 women had experienced toxemia during pregnancy. Even patients who had not undergone kidney surgery or reached end-stage disease had significantly lower kidney function and higher blood pressure than healthy matched controls decades later.20British Medical Journal. Development of hypertension and uraemia after pyelonephritis in childhood: 27 year follow up Childhood pyelonephritis is the primary cause of acquired renal scarring in children, which in a small but meaningful fraction of patients progresses to chronic kidney disease.21PubMed Central. Renal scar formation and kidney function following antibiotic-treated murine pyelonephritis
When It Gets Dangerous: Abscesses and Gas-Forming Infections
Most pyelonephritis resolves with antibiotics, but some cases progress to complications that require more aggressive intervention. Intrarenal abscesses, pockets of pus within the kidney tissue, often respond to antibiotics alone. Perinephric abscesses, collections that form in the tissue surrounding the kidney, are a different story: they are harder to diagnose, carry a more serious prognosis, and frequently require drainage or even partial or complete removal of the kidney in addition to antibiotic therapy.22PubMed. Renal and perirenal abscesses
The most feared variant is emphysematous pyelonephritis, a rare necrotizing infection that produces gas within the kidney and surrounding tissue. It occurs predominantly in people with diabetes, which makes sense given the proposed mechanism: high tissue glucose feeds gas-forming bacteria, impaired blood supply in diabetic kidneys creates a low-oxygen environment that favors bacterial growth, and immune function is weakened when glucose levels are elevated.23PubMed Central. Emphysematous Pyelonephritis in a Diabetic Patient with Remarkable Radiological Findings and Excellent Outcome without Surgical Intervention or Drainage24Indian Journal of Nephrology. A rare association of emphysematous pyelonephritis with unrecognized diabetes and polycystic kidney The condition affects women about three times as often as men. It presents with the same symptoms as regular pyelonephritis (fever, flank pain, urinary symptoms), so imaging with CT is essential to spot the telltale gas pockets. Historically, emergency nephrectomy was the standard treatment, though selected patients with less extensive disease have been managed successfully with antibiotics and drainage alone.25Clinical Diabetes. Successful Medical Management of Severe Bilateral Emphysematous Pyelonephritis: Case Studies
Reducing the Chance of Recurrence
For people who get pyelonephritis once, the biggest fear is that it will come back. Recurrent urinary infections in general, whether they stay in the bladder or climb to the kidneys, are frustratingly common in women. The traditional approach has been long-term low-dose antibiotics to prevent relapses, but concerns about resistance and side effects have driven interest in non-antibiotic strategies.
A study of women with recurrent urinary infections tested a bundled approach that combined behavioral changes, vaginal and oral probiotics, D-mannose (a sugar thought to block bacterial adhesion), and cranberry. Over six months, participants experienced a 76% reduction in urinary infections and a greater than 90% reduction in total antibiotic exposure. Adherence was high at about 87%, and roughly 80% of women reported improved quality of life.26PubMed. The Management of Recurrent Urinary Tract Infection: Non-Antibiotic Bundle Treatment This was a single study without a placebo control group, so the results need to be interpreted carefully, but the size of the effect and the reduction in antibiotic use are encouraging.
Standard prevention advice also applies: staying well hydrated, urinating promptly when you feel the urge, and wiping front to back. For postmenopausal women, vaginal estrogen therapy can help restore the protective bacterial flora of the vagina and reduce urinary infections. Addressing structural problems, managing diabetes well, and removing unnecessary catheters as early as possible are all proven ways to lower risk.
How the Understanding of Pyelonephritis Evolved
The term “pyelonephritis” was coined in 1898 by Ernst Leblanc, though the condition had been recognized before that as a form of kidney inflammation linked to what was then called Bright’s disease. The understanding shifted from purely anatomical descriptions in the nineteenth century to a bacteriological framework in the twentieth century, driven by the discovery of bacteria and the development of urine culture techniques.27PubMed Central. Pyelonephritis: A Historical Reappraisal That shift was pivotal because it transformed pyelonephritis from a vague pathological finding observed at autopsy into something that could be diagnosed in a living patient and, more importantly, treated. The mid-twentieth-century introduction of antibiotics turned what had been a frequently fatal condition into one that is overwhelmingly survivable with prompt care. Today the challenge has circled back to the bacterial side: as organisms evolve resistance to the drugs designed to kill them, clinicians face treatment choices that would have looked familiar to physicians a generation ago, when the available antibiotic arsenal was smaller and the stakes of choosing wrong were higher.

