Gastritis on its own does not typically raise liver enzymes, but the two problems show up together often enough that the question is worth taking seriously. The overlap usually comes not from the stomach inflammation itself damaging the liver, but from shared underlying causes: the same infection, the same medication, or the same drinking pattern can inflame the stomach lining and stress the liver at the same time. In some cases the relationship runs in the opposite direction, with liver disease producing stomach symptoms that look and feel like gastritis.
Why the Two Seem Connected
Liver enzymes are proteins that leak into the bloodstream when liver cells are irritated or damaged. The ones you’ll see on a standard blood panel are ALT, AST, alkaline phosphatase, and GGT. Gastritis, meanwhile, is inflammation of the stomach lining. On the surface, the stomach and the liver are doing very different jobs, and simple stomach irritation from spicy food or stress does not send liver enzymes climbing. But the digestive system is tightly interconnected, and many conditions that harm the stomach also affect the liver through a handful of well-documented pathways.
The most common reason someone with gastritis also has elevated liver enzymes is that both problems share a root cause. Rather than one condition causing the other, a third factor is driving both at once. Understanding those shared drivers is more useful than looking for a direct stomach-to-liver pipeline.
Alcohol and NSAIDs as Dual Offenders
Alcohol is one of the most straightforward examples. Heavy or chronic drinking irritates the stomach lining and is a leading cause of gastritis, while simultaneously damaging liver cells and pushing enzymes like AST and GGT upward. Standard liver function markers can reflect altered liver activity from alcohol, including signs of obstruction and direct injury to liver cells.
Nonsteroidal anti-inflammatory drugs like ibuprofen and naproxen present a similar double threat. NSAIDs are well known for causing stomach ulcers and gastritis, particularly in older adults, but their toxicity profile also includes liver problems. Hepatic dysfunction from NSAIDs is rarer than stomach damage, yet older patients carry the greatest risk for serious liver injury from these drugs.1PubMed. Nonsteroidal anti-inflammatory drug toxicity: increased risk in the elderly If you’ve been taking an over-the-counter painkiller regularly and your doctor finds both gastritis and abnormal liver tests, the medication itself may be the culprit behind both findings.
The H. Pylori Factor
Helicobacter pylori, the bacterium responsible for most cases of chronic gastritis worldwide, has an increasingly documented relationship with the liver. Research has linked H. pylori infection to insulin resistance, non-alcoholic fatty liver disease, liver fibrosis, and even cirrhosis.2PubMed Central. From the stomach to other organs: Helicobacter pylori and the liver The connection is not fully understood, but it appears to involve systemic inflammation triggered by the infection rather than the bacterium colonizing the liver directly.
In practical terms, studies have found that people with H. pylori who also have fatty liver disease tend to have higher ALT and AST levels and greater liver stiffness compared to those without the infection.3PubMed Central. Relationship Between Helicobacter pylori Infection and Nonalcoholic Fatty Liver Disease (NAFLD) in a Developing Country: A Cross-Sectional Study A separate study in patients with metabolic liver disease found that H. pylori-positive individuals had significantly higher AST levels and increased liver stiffness on imaging.4PLOS ONE. The interplay between Helicobacter pylori infection and rs738409 PNPLA3 in metabolic dysfunction-associated steatotic liver disease So if you have H. pylori gastritis and your liver enzymes come back elevated, the infection may be contributing to both problems at once.
That said, the picture is not entirely clean. At least one study found that while H. pylori-positive patients with fatty liver showed some worsening liver markers, ALT levels specifically did not always differ significantly between infected and uninfected groups.5PubMed Central. Helicobacter pylori infection may increase the severity of nonalcoholic fatty liver disease via promoting liver function damage, glycometabolism, lipid metabolism, inflammatory reaction and metabolic syndrome The relationship likely depends on other factors like body weight, metabolic health, and genetics. H. pylori probably acts as a contributor rather than a standalone cause of liver enzyme elevations.
The Gut-Liver Axis
The stomach and the liver are connected by the portal vein, which carries blood from the digestive tract directly to the liver. This arrangement means the liver is the first organ to encounter everything absorbed from the gut, including nutrients, toxins, and bacteria. When the gut barrier becomes compromised, a condition sometimes described as “leaky gut,” bacteria and their toxic byproducts can pass into the portal blood and reach the liver in larger-than-normal quantities. This bacterial translocation is recognized as an important factor in driving complications of liver disease.6PubMed Central. Gut-liver axis in liver cirrhosis: How to manage leaky gut and endotoxemia
Chronic gastritis, especially when it involves widespread inflammation or atrophy of the stomach lining, can alter the stomach’s ability to act as a barrier against harmful microorganisms. Reduced stomach acid allows bacteria to survive the trip through the stomach and proliferate in the intestines, which can increase the burden on the liver. Research in mice has shown that when stomach acid production is suppressed, animals develop more severe liver injury after alcohol exposure, partly because bacteria like Enterococcus overgrow in the intestine and translocate to the liver.7Nature Communications. Gastric acid suppression promotes alcoholic liver disease by inducing overgrowth of intestinal Enterococcus That same study found that humans who took a proton pump inhibitor for two weeks showed a significant increase in intestinal Enterococcus. This doesn’t mean acid-suppressing drugs inevitably cause liver damage, but it offers a mechanism by which long-term suppression of stomach acid could theoretically affect liver health.
Proton Pump Inhibitors and Liver Enzymes
PPIs like omeprazole and lansoprazole are among the most commonly prescribed medications for gastritis, acid reflux, and ulcers. They work by shutting down acid-producing pumps in the stomach lining. Most people tolerate them well, and clinically significant liver enzyme elevations from PPIs alone are uncommon. However, they do appear on the list of drugs that can occasionally cause mild, transient rises in ALT or AST. If you’re taking a PPI and your liver enzymes tick upward, it’s worth flagging to your doctor, though the more likely scenario is that whatever caused your gastritis is also affecting the liver independently.
The more interesting concern is the indirect route described above: by reducing stomach acid, PPIs may shift the intestinal microbiome in ways that increase bacterial translocation to the liver. This has been explored most directly in the context of alcohol-related liver disease, where suppressed acid production appeared to worsen liver injury in animal models.7Nature Communications. Gastric acid suppression promotes alcoholic liver disease by inducing overgrowth of intestinal Enterococcus Whether this matters in people who drink moderately or not at all remains an open question. Clinical guidelines still recommend PPIs for appropriate indications, but the research has added fuel to the conversation about avoiding long-term use when the original reason for prescribing them no longer applies.
When Liver Disease Mimics Gastritis
Sometimes the relationship is reversed: the liver is the primary problem, and the stomach symptoms come second. People with advanced liver disease, particularly cirrhosis, frequently develop a condition called portal hypertensive gastropathy. When the liver becomes scarred and stiff, blood backs up in the portal vein, raising pressure in the blood vessels that supply the stomach. The stomach lining becomes congested and fragile, producing symptoms that overlap with garden-variety gastritis, including pain, nausea, and sometimes bleeding.
In a Japanese study of over 260 patients with liver cirrhosis, about 40% had portal hypertensive gastropathy, and more than half of those cases were classified as severe.8PubMed Central. Portal Hypertensive Gastropathy in Liver Cirrhosis: Prevalence, Natural History, and Risk Factors Risk factors included the presence of enlarged veins in the esophagus, an enlarged spleen, and more severe liver impairment. For these patients, the elevated liver enzymes are not caused by the stomach inflammation; the stomach inflammation is caused by the liver disease. Treating the gastric symptoms alone without addressing the underlying liver problem would miss the bigger picture.
A case report illustrates the same principle from a different angle: a young woman presented with what initially looked like non-specific gastritis along with reduced appetite and weight loss. Her liver enzymes turned out to be elevated, and a liver biopsy eventually revealed primary biliary cirrhosis, a chronic autoimmune liver disease.9PubMed Central. Primary biliary cirrhosis presenting with gastritis, hyperlipidemia and marked weight loss Gastric symptoms were the first thing she noticed, but the liver disease was driving the entire picture.
Autoimmune Overlap
Autoimmune gastritis, a specific form where the immune system attacks the acid-producing cells of the stomach, has a well-documented tendency to cluster with other autoimmune conditions, including autoimmune liver diseases. In a cohort of patients with autoimmune liver diseases, roughly one in five tested positive for the antibody associated with autoimmune gastritis, and among those who underwent biopsy, over 90% had confirmed gastric atrophy.10PubMed Central. Immunological and clinical overlap between autoimmune gastritis and autoimmune liver diseases: a prospective cohort study Primary biliary cholangitis was especially overrepresented in that overlap group.
A separate study found a similar pattern: about one in five patients with autoimmune liver disease who were screened had autoimmune atrophic gastritis, and again primary biliary cholangitis accounted for most of those overlapping cases.11Digestive and Liver Disease. Autoimmune liver diseases and autoimmune atrophic gastritis: an overlooked association? The implication is that if you have autoimmune gastritis and elevated liver enzymes, it may be worth screening for autoimmune liver conditions, and vice versa. The two are not causing each other in a mechanical sense, but they share an immune system that tends to go after multiple targets.
Conditions That Look Like Gastritis But Raise Liver Enzymes on Their Own
Upper abdominal pain, nausea, and bloating are common enough symptoms that they get loosely labeled as “gastritis” even when the real source is somewhere else. Several conditions that mimic gastritis symptoms also independently cause liver enzyme elevations, which can create the illusion that one is causing the other.
Gallstones are a classic example. When a stone blocks the bile duct, the resulting pain can be severe and located in the upper abdomen, closely resembling an episode of gastritis. But the obstruction also causes a sharp rise in liver enzymes, particularly ALT and AST, even when the liver itself is perfectly healthy. A case series found that women presenting with severe upper abdominal pain and markedly elevated transaminases were ultimately diagnosed with bile duct stones rather than any primary liver disease.12PubMed Central. Markedly Elevated Liver Enzymes in Choledocholithiasis in the absence of Hepatocellular Disease: Case Series and Literature Review Once the stone was removed, the enzymes normalized. A similar pattern has been documented after gallbladder surgery, where retained or newly formed stones in the bile duct produced abdominal pain along with elevated bilirubin, transaminases, and alkaline phosphatase.13Nature Reviews Gastroenterology & Hepatology. A patient with abdominal pain and markedly elevated transaminase levels after cholecystectomy
Celiac disease is another underappreciated culprit. The immune reaction to gluten damages the small intestine, but it can also affect the liver. Among patients with unexplained elevated liver enzymes, celiac disease has been found in up to 9%, and in most of those cases the enzymes returned to normal after adopting a gluten-free diet.14PubMed Central. Celiac Disease and Elevated Liver Enzymes: A Review Because celiac disease also causes nausea, bloating, and upper abdominal discomfort, it can easily be mistaken for chronic gastritis, particularly if a doctor does not think to test for it.
Herbal Supplements and “Natural” Remedies
People with chronic stomach discomfort frequently turn to herbal supplements or dietary products marketed as stomach soothers. Some of these products carry real risks for the liver that users rarely anticipate. A large review of case reports documented a wide spectrum of liver injuries linked to herbs and dietary supplements, ranging from mild enzyme elevations to hepatitis, liver failure requiring transplant, and death.15PubMed. Liver toxicity related to herbs and dietary supplements: Online table of case reports. Part 2 of 5 series Products containing green tea extract, kava, comfrey, and various traditional herbal mixtures have all appeared in reports of liver toxicity.
If you’ve been taking an herbal supplement for your stomach and your liver enzymes come back elevated, mention the supplement to your doctor. Many people don’t volunteer this information because they assume “natural” products are not real medications. But the liver processes everything you swallow, and some plant compounds are genuinely toxic to liver cells. The supplement may have nothing to do with your gastritis in the first place, and stopping it could resolve the enzyme issue entirely.
Critical Illness and Shock
In hospital settings, gastritis and liver enzyme elevations sometimes appear together in seriously ill patients for a different reason entirely: reduced blood flow. When someone is in shock from severe infection, blood loss, dehydration, or heart failure, blood supply to the gut and the liver drops simultaneously. The stomach lining, which needs constant blood flow to maintain its protective mucus layer, develops stress-related gastritis. At the same time, the liver sustains direct damage from oxygen deprivation, a condition called ischemic hepatitis, which occurs in roughly one in 200 ICU patients who experience severe drops in blood pressure or cardiorespiratory failure.16PubMed Central. Leaky Gut and Gut-Liver Axis in Liver Cirrhosis: Clinical Studies Update In these cases, both findings are consequences of the same hemodynamic crisis, and treating the underlying shock is what resolves both.
What to Do If You Have Both
If your doctor tells you that you have gastritis and your liver enzymes are elevated, the first step is figuring out whether the two findings share a cause or are coincidental. A few practical questions can help narrow things down:
- Medications: Are you taking NSAIDs, acetaminophen, PPIs, antibiotics, or any herbal supplements? Each of these can affect the liver, and NSAIDs in particular can cause both problems.
- Alcohol: Even moderate drinking can elevate liver enzymes, and heavier use causes both gastritis and liver injury.
- H. pylori status: If you haven’t been tested for H. pylori, ask about it. Treating the infection may improve both the stomach and the liver picture.
- Autoimmune history: If you have one autoimmune condition, the odds of having a second are higher than average. Autoimmune gastritis and autoimmune liver diseases overlap more often than previously appreciated.
- Imaging and further testing: An ultrasound can check for gallstones, fatty liver, or signs of cirrhosis. If enzymes remain unexplained, screening for celiac disease is reasonable given how frequently it turns up in that workup.
Most of the time, mildly elevated liver enzymes in someone with gastritis turn out to have a straightforward explanation: a shared medication, an underlying metabolic condition like fatty liver, or an infection that affects both organs. Persistently elevated or worsening enzymes warrant a closer look, but the gastritis itself is rarely the direct cause. Thinking of the two as fellow travelers rather than as cause and effect will usually point you and your doctor in a more productive diagnostic direction.