An acute kidney infection, known medically as acute pyelonephritis, is a bacterial infection that reaches the kidney itself, almost always by traveling upward from the bladder through the ureter. The bacterium responsible in the vast majority of cases is a specialized strain of E. coli, and the infection typically announces itself with a sudden onset of flank pain, fever, and nausea. While most cases resolve with a course of antibiotics, the condition is far from trivial: delayed or inadequate treatment can lead to serious complications including abscess formation, sepsis, and lasting kidney damage.
How Bacteria Reach the Kidney
Your urinary tract is designed as a one-way system. Urine flows from the kidneys down through the ureters into the bladder, and then out. But bacteria sometimes defeat this architecture. The most common route is ascending infection: bacteria that colonize the area around the urethra travel up into the bladder, where they establish a lower urinary tract infection. If the infection is not cleared, the bacteria can continue climbing through a ureter and into the kidney.
The culprit in most cases is uropathogenic E. coli (UPEC), a group of E. coli strains equipped with specialized tools for attaching to and invading urinary tract tissue. These strains carry a range of features that let them stick to the lining of the bladder and ureters, break through the mucosal barrier, and resist the body’s attempts to flush them out.1PubMed Central. Role of Uropathogenic Escherichia coli Virulence Factors in Development of Urinary Tract Infection and Kidney Damage Other bacteria can also cause kidney infections, including Klebsiella, Proteus, and Enterococcus species, but E. coli dominates by a wide margin.
Less commonly, bacteria reach the kidney through the bloodstream rather than ascending from below. This hematogenous route is more typical in people who already have an infection elsewhere in the body or who have weakened immune systems. Structural problems in the urinary tract, like kidney stones blocking a ureter, urinary reflux (where urine flows backward toward the kidney), or an enlarged prostate, raise the odds substantially because they create stagnant pools of urine where bacteria thrive.
Why Some People Are More Susceptible
Not everyone exposed to the same bacteria gets a kidney infection. Some of the disparity comes down to anatomy and circumstance: women have shorter urethras, making the ascent easier for bacteria. Pregnancy, catheter use, and diabetes all increase risk. But there is also a genetic component that helps explain why certain people, especially children, get kidney infections repeatedly while others never do.
Research has identified variations in genes involved in the innate immune response to urinary bacteria. One well-studied example involves the CXCR1 receptor, which plays a role in recruiting white blood cells to fight infection in the kidney. Individuals carrying certain variants of this gene show reduced CXCR1 expression, which weakens neutrophil-driven defenses against bacteria in the urinary tract. Studies have confirmed that these variants are associated with increased susceptibility to acute pyelonephritis in both children and adults.2PLoS ONE. A Genetic Basis of Susceptibility to Acute Pyelonephritis Broader reviews have pointed to variations in pattern recognition molecules, chemokines, and other elements of the immune system as additional contributors to individual differences in susceptibility.3PubMed Central. The Genetics of Urinary Tract Infections and the Innate Defense of the Kidney and Urinary tract
This genetic dimension is worth knowing about because it reframes the conversation. If you or your child keeps getting kidney infections, it is not necessarily a hygiene failure or bad luck. The immune system’s ability to detect and respond to uropathogens varies person to person, and some people simply have a harder time mounting an effective defense.
Recognizing the Symptoms
The classic presentation of acute pyelonephritis in adults is a triad of flank pain (pain in your side or back, typically on one side), fever, and nausea or vomiting.4PubMed. The diagnosis and management of a patient with acute pyelonephritis The flank pain can range from a dull ache to sharp and severe, often worsening with gentle tapping over the affected kidney. Many people also have symptoms of a lower urinary tract infection at the same time: burning with urination, frequent urges to go, and cloudy or foul-smelling urine. A high fever, chills, and general malaise distinguish a kidney infection from a simple bladder infection, which rarely causes fever.
In older adults, though, the picture can look completely different. A systematic review on urinary tract infections in the elderly found that symptoms are frequently atypical in this population. Rather than the classic fever-and-flank-pain combination, older adults may present with confusion, delirium, dizziness, drowsiness, falls, loss of appetite, or new urinary incontinence. One referenced study found that only about 11% of older adults with a confirmed urinary tract infection had a fever, while nearly 29% presented with delirium as a prominent symptom.5PubMed Central. Urinary Tract Infection Induced Delirium in Elderly Patients: A Systematic Review This makes diagnosis genuinely difficult: a sudden change in mental status in an elderly person could be many things, and a kidney infection might not be the first thing anyone suspects.
Children present their own diagnostic challenge. Infants and toddlers cannot report flank pain or burning, so the signs tend to be nonspecific: irritability, poor feeding, vomiting, and fever without an obvious source. Older children may describe tummy pain or back pain but rarely localize it as precisely as adults do.
How Doctors Confirm the Diagnosis
A urine sample is the starting point. Urinalysis can detect signs of infection, including white blood cells and bacteria in the urine, with very high sensitivity. However, urine culture, which grows the bacteria in a lab to identify them and test which antibiotics work against them, is not always straightforward. Culture results typically take one to two days, so treatment usually begins before they come back. And research in pediatric populations has shown that roughly 10% to 35% of acute pyelonephritis cases confirmed by kidney imaging actually have negative urine cultures, meaning the culture misses a meaningful fraction of genuine infections.6Korean Journal of Pediatrics. Reconsideration of urine culture for the diagnosis of acute pyelonephritis in children
Imaging is not needed for every case. Most straightforward kidney infections in otherwise healthy adults are diagnosed on symptoms and urine results alone. An ultrasound within the first 48 hours is generally enough to rule out the main concern that imaging addresses: an obstructed kidney that needs emergency drainage.7Diagnostic and Interventional Imaging. Imaging in upper urinary tract infections When the infection is complicated, when the patient is not improving on antibiotics, or when there is concern about an abscess or other structural problem, CT scanning is the go-to. It is far more sensitive than ultrasound for detecting complications and for characterizing the extent of infection within the kidney.8PubMed Central. CT and MRI in Urinary Tract Infections: A Spectrum of Different Imaging Findings
On the research frontier, scientists are exploring urine biomarkers that could distinguish a kidney infection from a simple bladder infection more quickly than current methods. One recent study examined a combination of two urine markers, lipocalin-2 and copper, and found that using them together could identify upper tract infections with about 78% sensitivity and 65% specificity.9ACS Omega. Potential Utility of Combined Urine Lipocalin‑2 and Copper Test in Diagnosing Acute Pyelonephritis or Cystitis Those numbers are not yet good enough to replace current diagnostic approaches, but they point toward a future where a rapid urine test could tell clinicians whether bacteria have reached the kidney.
Antibiotic Treatment and the Resistance Problem
Antibiotics are the cornerstone of treatment. In uncomplicated cases, oral antibiotics taken at home for seven to fourteen days are typically sufficient. The choice of antibiotic depends on local resistance patterns and the patient’s history, but commonly used options include fluoroquinolones and certain cephalosporins. When the infection is more severe or when the patient has risk factors for complications, intravenous antibiotics in the hospital may be needed. Updated guidelines for complicated urinary tract infections recommend starting with drugs like third- or fourth-generation cephalosporins, piperacillin-tazobactam, or fluoroquinolones, adjusting once culture results identify the specific bacterium and its vulnerabilities.10Clinical Infectious Diseases. IDSA 2025 Guideline Update on Complicated Urinary Tract Infections
Antibiotic resistance, however, has become a serious complication in managing kidney infections. Fluoroquinolones, once the default oral treatment for pyelonephritis, are increasingly ineffective. A U.S. study of patients with pyelonephritis found that fluoroquinolone resistance had exceeded guideline thresholds in some communities, and extended-spectrum beta-lactamase (ESBL)-producing E. coli infections had emerged as a community-acquired problem. Among patients with ESBL infections, roughly three-quarters were initially treated with an antibiotic that turned out to be ineffective against their particular strain.11PubMed Central. Fluoroquinolone-Resistant and Extended-Spectrum β-Lactamase-Producing Escherichia coli Infections in Patients with Pyelonephritis, United States
The practical consequence of rising resistance is that more patients now need hospitalization for intravenous antibiotics when oral options fail, placing additional strain on both patients and healthcare systems.12PubMed Central. Fluoroquinolone resistance in urinary tract infections: Epidemiology, mechanisms of action and management strategies If you are prescribed antibiotics for a kidney infection, finishing the full course matters. If your symptoms are not improving within 48 to 72 hours, your doctor should revisit the antibiotic choice based on culture results. The days of assuming a single go-to antibiotic will work are increasingly over.
Complications When Treatment Fails or Is Delayed
Most kidney infections respond well to antibiotics and resolve without lasting harm. But when treatment is delayed, when the wrong antibiotic is chosen, or when the patient has underlying health conditions, the infection can escalate in dangerous ways.
A renal abscess is a pocket of pus that forms within or around the kidney. It often requires prolonged antibiotic courses and sometimes drainage. In one reported series, patients with gas-forming renal abscesses all had diabetes and presented with high blood sugar, fever, flank pain, and pus in the urine. CT scans revealed gas pockets within the kidney tissue. These patients required an average of 23 days of intravenous antibiotics followed by about nine weeks of oral therapy, and it took months for the gas to fully resolve on imaging.13PubMed. Clinical and radiological findings in patients with gas forming renal abscess treated conservatively
Emphysematous pyelonephritis is an especially severe form where gas-producing bacteria cause tissue destruction within the kidney. It occurs almost exclusively in people with diabetes or urinary obstruction and carries a significant mortality risk. Case reports document it progressing to surrounding tissues, including instances where the infection spread from the kidney into the abdominal and chest walls.14PubMed Central. Necrotizing Fasciitis of Thoracic and Abdominal Wall with Emphysematous Pyelonephritis and Retroperitoneal Abscess
Urosepsis, where the infection spills into the bloodstream and triggers a systemic inflammatory response, is the most feared complication. Research into risk factors has consistently identified diabetes, the presence of a urinary catheter, advanced age, and kidney obstruction (hydronephrosis) as major predictors. A study in patients with chronic kidney disease found that those infected with Klebsiella species had roughly 3.5 times the odds of developing urosepsis compared to patients infected with E. coli.15PubMed Central. Risk factors for urosepsis in chronic kidney disease patients with urinary tract infections A separate study of diabetic patients with kidney or ureteral stones identified female sex, advanced age, fever, severe hydronephrosis, and markedly elevated urine white blood cells and glucose as independent predictors of urosepsis.16PubMed Central. Risk factors for urosepsis in diabetic patients with renal and ureteral calculi
The consistent thread across complications research is that diabetes is a powerful amplifier of risk. Poorly controlled blood sugar impairs the immune response and creates conditions that favor bacterial growth and gas production. If you have diabetes and develop symptoms of a urinary tract infection, treating it aggressively and early is especially important.
Kidney Infections During Pregnancy
Pregnancy creates a perfect storm for kidney infections. Hormonal changes relax the smooth muscle of the ureters, slowing urine flow. The growing uterus compresses the ureters, causing urine to pool. And the immune system is partially suppressed to avoid rejecting the fetus. The result is that pregnant individuals are more vulnerable both to developing a kidney infection and to experiencing severe complications from one.
Professional guidelines recommend that pyelonephritis in pregnancy be initially managed in the hospital with intravenous antibiotics. Once the patient is improving, the antibiotics can be switched to oral form, but the total course should last 14 days. Antibiotic selection needs to account for both effectiveness against the likely organism and safety for the developing fetus.17Obstetrics & Gynecology. Urinary Tract Infections in Pregnant Individuals – Section: Pyelonephritis
A systematic review of reported adverse outcomes found that maternal complications of pyelonephritis in pregnancy included sepsis, respiratory distress, anemia, and acute kidney injury. Preterm delivery occurred in about 23% of reported cases, and other adverse fetal outcomes including stillbirth and neonatal intensive care admissions were also documented. The review emphasized that early diagnosis and management led to fewer of these complications.18PubMed. Acute pyelonephritis during pregnancy: a systematic review of the aetiology, timing, and reported adverse perinatal risks during pregnancy This is why prenatal care routinely screens for bacteria in the urine even when no symptoms are present. Treating asymptomatic bacteriuria during pregnancy prevents many cases of pyelonephritis from developing in the first place.
Kidney Scarring in Children
In children, the stakes of a kidney infection extend beyond the acute illness. Acute pyelonephritis can cause scarring in the kidney tissue, and that scarring, once established, is permanent. Over the long term, renal scarring in childhood carries the risk of high blood pressure, protein in the urine, preeclampsia during future pregnancies, and in severe cases, progressive loss of kidney function.19PubMed Central. Renal scar formation after urinary tract infection in children
The question of whether preventing recurrent infections actually prevents scarring has been studied in a major clinical trial known as RIVUR, which randomized children with vesicoureteral reflux (a condition where urine flows backward from the bladder toward the kidney) to either daily low-dose antibiotic prophylaxis or placebo. Antibiotic prophylaxis did reduce the rate of recurrent infections. But the overall rate of new kidney scarring was similar between the two groups: about 6% in the prophylaxis group versus 7% in the placebo group.20PubMed Central. Renal Scarring in the Randomized Intervention for Children with Vesicoureteral Reflux (RIVUR) Trial
A deeper analysis of the same trial, however, found that children who did develop recurrent infections had about four times the odds of new scarring, and that among those who had recurrences, the antibiotic prophylaxis group had a lower rate of scarring than the placebo group (2% versus 5%).21PubMed Central. Why Does Prevention of Recurrent Urinary Tract Infection not Result in Less Renal Scarring? A Deeper Dive into the RIVUR Trial The nuance is important: preventing infections helps reduce scarring in the children who would otherwise get re-infected, but some scarring appears to be driven by the underlying anatomical abnormality itself rather than by infection alone. The recognition that underlying kidney anomalies can cause scarring independent of infection has shifted how pediatric urologists think about this problem.
The Mental Health Burden of Recurrent Infections
One dimension of kidney infections that rarely gets discussed is the psychological toll, particularly for people who experience recurrent episodes. A kidney infection is painful, disruptive, and sometimes frightening. When it keeps coming back, it becomes a source of chronic anxiety.
Research bears this out. A prospective study found that roughly 62% of patients with recurrent urinary tract infections showed some degree of depression at baseline. When the number of infections decreased over a six-month study period, anxiety and depression scores dropped substantially, and measures of social and functional impairment improved in parallel.22PubMed Central. Recurrent Lower Urinary Tract Infections Have a Detrimental Effect on Patient Quality of Life Another study found that women with recurrent infections had significantly higher anxiety scores than those without.23PubMed Central. Psychosocial burden of recurrent uncomplicated urinary tract infections Newer quality-of-life instruments being developed for this population specifically measure depression, anxiety, and internalized self-blame as components of the disease burden.24PubMed Central. Recurrent UTI quality of life questionnaire: pilot study evaluating the impact of recurrent urinary tract infection on quality of life in postmenopausal women
The self-blame finding is worth pausing on. Many people with recurrent infections assume they are doing something wrong, that they are not drinking enough water, not wiping correctly, or somehow causing the problem. While behavioral factors play a role in some cases, the genetic and anatomical contributors discussed earlier mean that recurrence often reflects biology more than behavior. Clinicians who acknowledge this and treat the whole patient, not just the bacteria, tend to see better outcomes and less distress.