A urinary tract infection can affect the liver, though most people with a simple bladder infection will never notice it. The connection becomes real when a UTI spreads to the kidneys or triggers a systemic inflammatory response, both of which can stress the liver enough to cause measurable changes in liver enzymes, jaundice, or, in rare cases, more serious damage. The antibiotics prescribed to treat the UTI can also be part of the problem. The relationship is more layered than a simple yes-or-no, and it depends heavily on how severe the infection is, how your body responds, and what treatment you receive.
Kidney Infections and Liver Enzyme Spikes
The most common way a UTI leads to liver trouble is when the infection climbs from the bladder to the kidneys, a condition called pyelonephritis. A study of over 400 adults hospitalized with acute pyelonephritis found that roughly one in five patients without any pre-existing liver disease developed abnormally elevated liver enzymes during the acute phase of the illness.1PubMed. Abnormalities in aminotransferase levels during acute pyelonephritis The elevations were moderate in most cases and linked to markers of more severe infection, such as high fever and low blood pressure. Pediatric data tells a similar story: among children hospitalized with UTIs, about 20% showed elevated liver enzymes at admission, and in a few cases the numbers climbed quite high.2PubMed Central. Increase in Aminotransferase Levels during Urinary Tract Infections in Children
The reassuring part is that these liver enzyme changes almost always resolve on their own once the infection clears. In the adult pyelonephritis study, levels tended to normalize during convalescence without any liver-specific treatment. In the pediatric study, enzyme levels returned to normal within a month after discharge in nearly every case.2PubMed Central. Increase in Aminotransferase Levels during Urinary Tract Infections in Children This means that if you are hospitalized for a kidney infection and your blood work shows mildly abnormal liver numbers, your doctor may not be alarmed, particularly if the values are not dramatically high and are trending downward as the infection responds to antibiotics.
Why the Liver Reacts to an Infection Elsewhere
It might seem odd that an infection centered in the urinary tract would register in the liver, but the liver is the body’s central filtering station for blood. Bacteria in the kidneys can release toxins, particularly endotoxins from gram-negative organisms like E. coli, which is by far the most common cause of UTIs. Those endotoxins enter the bloodstream and pass through the liver, where they can impair bile flow and disrupt normal liver cell function. Research on isolated liver tissue has demonstrated that E. coli endotoxin causes a dose-dependent reduction in bile flow and impairs the liver’s ability to excrete certain substances, providing direct evidence that circulating bacterial toxins can produce a form of cholestasis even without the bacteria physically colonizing the liver.3PubMed. Cholestatic effects of Escherichia coli endotoxin on the isolated perfused rat liver
In plain terms, the liver is doing its job by processing the toxins the infection generates. When the bacterial load is heavy enough, that processing overwhelms parts of the liver’s machinery, leading to the enzyme elevations and occasionally the mild jaundice seen in severe UTIs. This is a systemic inflammatory response, not an infection of the liver itself, which is why it resolves once the source infection is brought under control.
When a UTI Triggers Sepsis
The most dangerous pathway from UTI to liver damage runs through sepsis. When bacteria from a urinary infection enter the bloodstream and provoke a whole-body inflammatory reaction, the liver is one of the organs most vulnerable to collateral damage. Sepsis-induced liver injury can show up in several ways: low blood flow to the liver can cause a type of damage called hypoxic hepatitis, the inflammatory cascade can disrupt bile production and flow (cholestasis), and in prolonged cases, the bile ducts themselves can be affected.4PubMed Central. Liver injury in sepsis: manifestations, mechanisms and emerging therapeutic strategies
Sepsis-induced cholestasis, where bile backs up because the liver’s excretory system fails under inflammatory stress, is a recognized complication in critically ill patients. The mechanism is still being worked out in detail, but reduced blood flow to the liver is considered one of the primary contributors.5PubMed Central. Acute Sepsis-Induced Cholestatic Disease Presenting With Isolated Hyper-Bilirubinemia A patient who develops urosepsis, meaning sepsis originating from a urinary source, might present with yellowing skin, dark urine, and significantly abnormal liver tests even though the liver was perfectly healthy before the infection started. This is a medical emergency, and the liver abnormalities are typically part of a broader picture that includes dropping blood pressure, confusion, and organ dysfunction.
Liver Abscess as a Rare Complication
In uncommon situations, a UTI can lead to a pyogenic liver abscess, which is an actual pocket of pus that forms in the liver tissue. This happens when bacteria from the upper urinary tract spread to the liver through the bloodstream or through nearby anatomical connections. The condition is sometimes called a pyelo-hepatic abscess, reflecting the kidney-to-liver route of infection. Known risk factors include urinary stones and having a ureteral stent in place for an extended period, particularly longer than about three months, both of which create opportunities for bacteria to persist and disseminate beyond the urinary tract.6PubMed Central. A Rare Case and Literature Review of Pyelo-Hepatic Abscess in an Immunocompetent Patient: When Effective Source Control and Targeted Antimicrobial Therapy Might Not Be Enough
Liver abscesses from urinary sources are serious and typically require both antibiotics and drainage. They can occur even in people with otherwise healthy immune systems. The rarity of this complication means it is not something most UTI patients need to worry about, but it is relevant for anyone with recurrent kidney infections, urinary stones, or indwelling urinary hardware. Persistent fever and right-sided abdominal pain after a diagnosed kidney infection warrant imaging to rule out this kind of secondary complication.
Antibiotics That Treat UTIs Can Harm the Liver Too
Sometimes the liver problem is not from the infection itself but from the drug prescribed to treat it. Several antibiotics commonly used for UTIs have well-documented associations with liver toxicity, and the overlap creates a diagnostic puzzle: are abnormal liver tests caused by the infection or by the medication?
Nitrofurantoin
Nitrofurantoin is one of the most frequently prescribed antibiotics for uncomplicated bladder infections, and it carries a real, if uncommon, risk of liver injury. In rare cases, it can trigger autoimmune-like hepatitis, where the drug appears to set off an immune attack on the liver. One documented case involved a patient who developed autoimmune hepatitis less than three weeks after starting nitrofurantoin for a UTI.7PubMed Central. Acute onset nitrofurantoin-induced autoimmune hepatitis after urinary tract infection treatment Data from drug-induced liver injury registries shows that about one in five patients with nitrofurantoin-induced liver injury develop this autoimmune-like pattern, and some of those patients require immunosuppressive treatment because their liver enzymes do not normalize on their own after stopping the drug.8PubMed Central. Nitrofurantoin-induced liver injury: long-term follow-up in two prospective DILI registries
The risk increases with prolonged or repeated courses. Nitrofurantoin is sometimes prescribed as a long-term prophylactic for people who get recurrent UTIs, and this extended exposure is when liver injury is more likely to surface. If you are taking nitrofurantoin for more than a short course, periodic liver function checks are a reasonable precaution to discuss with your doctor.
Fluoroquinolones
Ciprofloxacin and levofloxacin, both fluoroquinolones used for more complicated UTIs and kidney infections, have also been linked to liver damage. A retrospective study of nearly 8,000 patients without prior liver disease found a meaningful association between fluoroquinolone treatment and hepatotoxicity, with ciprofloxacin and moxifloxacin carrying the highest risk. Among patients who developed liver problems from fluoroquinolones, the injury tended to appear quickly, within two to nine days, and resolved rapidly once the drug was stopped.9American Journal of Case Reports. A Case of Levofloxacin-Induced Hepatotoxicity Older patients appear to be at greater risk, which matters because older adults are also the group most likely to develop complicated UTIs requiring these stronger antibiotics.
Why Jaundice in Newborns Should Prompt a UTI Check
One of the more surprising intersections between UTIs and liver-related symptoms occurs in newborns and young infants. Babies with UTIs frequently present not with the obvious urinary symptoms adults experience but with jaundice, the yellow discoloration of skin and eyes caused by elevated bilirubin. Because bilirubin is processed by the liver, this symptom mimics liver problems even though the underlying cause is an infection in the urinary tract.
How common is this overlap? Among 150 jaundiced infants evaluated in one study, 29% turned out to have a UTI.10PubMed Central. Risk factors for urinary tract infection in infants with unexplained hyperbilirubinemia Another study of 120 jaundiced newborns found UTIs in about 12.5% of them, with all affected infants showing the unconjugated form of hyperbilirubinemia.11PubMed. Unexplained neonatal jaundice as an early diagnostic sign of urinary tract infection A separate study in admitted jaundiced infants under eight weeks old found a UTI incidence of about 5.5%, leading the authors to recommend routine urine testing in this group.12PubMed. Hyperbilirubinemia with urinary tract infection in infants younger than eight weeks old
The practical takeaway for parents is that unexplained jaundice in a newborn, especially beyond the first few days of life when normal “physiological” jaundice peaks, can be a sign of UTI. Pediatricians are increasingly aware of this link, but if your infant develops or re-develops jaundice and no clear cause has been identified, asking about a urine test is reasonable. Infants with UTI-associated jaundice whose bilirubin is the conjugated (direct) type tend to have higher liver enzyme levels, longer duration of jaundice, and a higher rate of E. coli infection compared to those with the unconjugated type, suggesting that the conjugated pattern may indicate a more significant effect on liver function.
People With Pre-Existing Liver Disease
If you already have chronic liver disease, particularly cirrhosis, a UTI poses a different and more dangerous set of risks. People with cirrhosis have weakened immune defenses and are especially prone to bacterial infections, including UTIs. When these infections develop, they can trigger a cascade of complications beyond what a healthy liver would face. Bacterial infections in cirrhosis patients can provoke excessive inflammatory responses that worsen liver function, potentially precipitating hepatic encephalopathy (confusion and cognitive changes caused by toxins the failing liver cannot clear) or acute kidney injury through cardiovascular and endothelial dysfunction.13PubMed Central. Spectrum of bacterial infections and predictors of mortality in adult cirrhotic patients
For people with cirrhosis who are awaiting liver transplantation, infections including UTIs significantly affect disease progression and increase mortality both before and after the transplant. Identifying and treating these infections early is considered a critical part of managing transplant candidates.14PubMed Central. Sepsis in Patients With Cirrhosis Awaiting Liver Transplantation: New Trends and Management Even a seemingly straightforward bladder infection in someone with advanced liver disease deserves prompt attention, because the margin for the liver to absorb additional stress is already thin.
Older Adults and Compounding Risks
UTIs are among the most common infections in older adults, and this population is also the group where the UTI-liver connection is most likely to become clinically relevant. Several factors converge. Older kidneys are more susceptible to ascending infection, so pyelonephritis is more common. The systemic inflammatory response to infection tends to be more pronounced or harder to detect early in elderly patients, increasing the risk of sepsis. And the antibiotics used to treat UTIs in this group carry a higher risk of liver-related side effects because aging changes how the body metabolizes drugs, affecting both how much of a drug reaches the bloodstream and how quickly the liver can clear it.15Springer Link. Safety and Tolerability of Antimicrobial Agents in the Older Patient
This creates a situation where an older adult might develop abnormal liver tests during a UTI and the cause could be any combination of the infection itself, the body’s inflammatory response, or the antibiotic. Sorting out which factor is responsible matters because the treatment differs: if the infection is driving the liver changes, you continue antibiotics; if the antibiotic is the culprit, you switch to a different one. Doctors often rely on the timing of liver enzyme changes relative to when the antibiotic was started and whether the numbers improve or worsen as treatment continues.
When to Be Concerned About Your Liver During a UTI
Most uncomplicated bladder infections, the kind that cause burning with urination and increased frequency but no fever or flank pain, are unlikely to affect your liver in any meaningful way. The risk rises with the severity and location of the infection. Situations where liver involvement becomes a real possibility include:
- Kidney infection: fever above 101°F (38.3°C), back or flank pain, nausea, and sometimes shaking chills suggest the infection has moved beyond the bladder.
- Signs of sepsis: confusion, rapid heart rate, very high or very low temperature, and feeling much sicker than a typical UTI would explain.
- Yellowing of skin or eyes: jaundice during a UTI is unusual and warrants immediate evaluation.
- Right upper abdominal pain: discomfort under the right rib cage during a urinary infection could signal liver or gallbladder involvement.
- Prolonged antibiotic use: if you have been on nitrofurantoin or a fluoroquinolone for more than a few days and develop fatigue, nausea, or dark urine, liver function should be checked.
For people with existing liver disease, any UTI with fever warrants contact with their medical team rather than waiting it out. The threshold for concern is simply lower when the liver is already compromised.
How Doctors Distinguish the Source of Liver Changes
When a patient with a UTI shows abnormal liver tests, clinicians look at the pattern of which enzymes are elevated and by how much. A mild rise in aminotransferases (the enzymes commonly referred to as AST and ALT) during a febrile kidney infection fits the expected profile of infection-related liver stress and usually needs only monitoring. A cholestatic pattern, where bilirubin and alkaline phosphatase are disproportionately elevated, raises more concern about bile flow obstruction or drug reaction. Very high aminotransferase levels, sometimes in the hundreds, can occur in hypoxic hepatitis from sepsis-related shock.
Imaging studies such as ultrasound help rule out structural problems like liver abscesses or bile duct obstruction. The timeline also matters: liver changes that appear before antibiotics are started point toward the infection, while those that emerge several days into treatment may implicate the drug. In the adult pyelonephritis data, the association between aminotransferase elevation and signs of sepsis like high fever and low blood pressure suggests that infection severity is the strongest predictor of whether the liver will be affected.1PubMed. Abnormalities in aminotransferase levels during acute pyelonephritis Younger age was also a factor in children, where younger patients were more likely to have elevated enzymes than older ones.2PubMed Central. Increase in Aminotransferase Levels during Urinary Tract Infections in Children
Recovery of Liver Function After a UTI
For the vast majority of people who develop liver enzyme abnormalities during a UTI, the prognosis is excellent. Once the infection is treated and resolved, liver function returns to normal without any specific liver-directed therapy. In children, this normalization happened within a month in nearly every documented case.2PubMed Central. Increase in Aminotransferase Levels during Urinary Tract Infections in Children Adults with pyelonephritis follow a similar pattern, with enzymes trending back toward baseline during recovery from the infection.1PubMed. Abnormalities in aminotransferase levels during acute pyelonephritis
The exceptions are worth knowing about. Drug-induced liver injury from nitrofurantoin can sometimes persist after the drug is stopped, especially in the autoimmune-like variant, and may require immunosuppressive treatment. Liver abscesses need drainage and extended antibiotic courses. And patients who developed liver dysfunction in the context of sepsis may have a longer and more complicated recovery depending on whether other organs were also affected. But these are the outliers. If your doctor mentions mildly abnormal liver tests during a bout of pyelonephritis, the most likely outcome is that they will return to normal as you recover from the infection, with no lasting consequence for your liver.