One of the patterns I pay close attention to in complex gastrointestinal cases is a history of long-term acid suppression followed by persistent indigestion, reflux, belching, early fullness, poor tolerance of protein-rich meals, iron or vitamin B12 abnormalities, recurrent dysbiosis, or repeated treatment for H. pylori. These symptoms are often grouped together as “poor digestion,” but they can arise from very different physiological problems. Stomach acid is not simply produced by one switch. Hydrochloric acid secretion is the final result of a coordinated system involving the brain, vagus nerve, acetylcholine, gastrin, histamine, somatostatin, enterochromaffin-like cells, parietal cells, mitochondrial ATP production, membrane trafficking, potassium and chloride transport, carbonic anhydrase, and the gastric H plus potassium ATPase proton pump. If acid output is genuinely low, the important question is not simply how to add more acid, but where this circuit has been interrupted.

The actual acid-producing cells are the parietal cells, located mainly in the body and fundus of the stomach. Inside these cells, carbon dioxide and water are converted through carbonic anhydrase into carbonic acid, which separates into hydrogen ions and bicarbonate. The hydrogen ions are then transported into the stomach through the H plus potassium ATPase. This pump uses ATP to exchange intracellular hydrogen for potassium, while chloride is transported separately into the gastric lumen, where hydrogen and chloride combine to form hydrochloric acid. The physical challenge faced by the parietal cell is remarkable. The intracellular environment remains around neutral pH while the actively secreting stomach can approach a luminal pH near 1. Because each pH unit represents a tenfold difference in hydrogen-ion concentration, moving from approximately pH 7 inside the cell toward pH 1 in the gastric lumen represents roughly a one-millionfold proton concentration gradient. This is one of the reasons gastric acid production carries such a large bioenergetic cost.

Parietal cells are among the most mitochondria-rich cells in the body. They require continuous ATP production to support the proton pump as well as the potassium recycling, chloride movement, membrane potential, intracellular pH regulation, and membrane trafficking necessary for acid secretion. This means acid secretion is not purely an endocrine event. It is also an energy-dependent cellular process. A parietal cell can receive acetylcholine, gastrin, and histamine signals, but the final secretory response still requires ATP. Severe disturbances in mitochondrial function could therefore theoretically reduce secretory reserve even when the upstream receptors remain intact. That possibility is mechanistically interesting in complex metabolic and inflammatory states, but it needs to be interpreted carefully. We do not currently have validated clinical evidence showing that findings such as systemic NAD depletion, CD38 activation, altered bile-acid patterns, or another isolated metabolic biomarker can by themselves diagnose mitochondrial failure of gastric parietal cells. These pathways may be relevant to a broader systems model, but they should remain hypotheses unless direct evidence of impaired gastric secretion supports them.

Another important feature of the parietal cell is that the proton pumps are not simply fixed permanently on the cell surface. During the resting state, large numbers of H plus potassium ATPase molecules are stored inside specialized intracellular membranes called tubulovesicles. When the correct signals arrive, these tubulovesicles physically fuse with the secretory canalicular membrane. This dramatically expands the acid-secreting surface area and inserts large numbers of proton pumps into the membrane facing the gastric lumen. The stomach can therefore move rapidly from relatively low acid secretion to strong acid production after a meal. This also means that acid production depends on more than the presence of a proton pump. The cell must be able to mobilize and insert that pump into the correct membrane compartment. Receptor signaling, cytoskeletal organization, vesicular trafficking, membrane fusion, and the lipid environment of the membrane all contribute to this process. A proton pump stored inside a tubulovesicle is physiologically very different from a proton pump actively inserted into the canalicular membrane.

The major physiological signals driving this transition are acetylcholine, gastrin, and histamine. Acetylcholine provides much of the neural component. Digestion begins before food physically enters the stomach. Seeing food, smelling it, tasting it, chewing it, and anticipating a meal activate the cephalic phase of digestion. Signals originating in the brain travel through vagal pathways and the enteric nervous system to prepare the gastrointestinal tract for the incoming meal. Acetylcholine activates M3 muscarinic receptors on parietal cells, which signal through G proteins, phospholipase C, inositol trisphosphate, and intracellular calcium. The rise in intracellular calcium helps activate the machinery responsible for moving proton pumps into the secretory membrane. The vagus also influences other parts of the gastric endocrine system. Vagal signaling promotes gastrin release through gastrin-releasing peptide and can influence somatostatin-producing D cells. The nervous system therefore coordinates acid secretion through several cellular compartments at once. This is why autonomic physiology may matter in some people with abnormal digestion, particularly when there is evidence of dysautonomia, altered gastric emptying, impaired gastric accommodation, or severe meal-related symptoms. At the same time, this should not be reduced to the popular claim that every digestive problem is caused by “low vagal tone.” Heart-rate variability, for example, cannot tell us how much acetylcholine is actually reaching parietal-cell M3 receptors.

Gastrin provides the endocrine component of this system. It is produced primarily by G cells in the gastric antrum. Protein fragments, amino acids, gastric distension, and neural input stimulate gastrin release after a meal. Gastrin then enters the circulation and reaches the acid-producing body of the stomach, where it binds CCK2 receptors. Although gastrin can act directly on parietal cells, one of its most important effects occurs on enterochromaffin-like cells, usually called ECL cells. These cells release histamine directly within the gastric mucosa. This histamine is not simply the same phenomenon people think about when discussing allergy symptoms, flushing, itching, mast cells, or circulating histamine. It functions as a highly localized paracrine signal. The ECL cell sits close to the parietal cell and releases histamine into the local microenvironment, where histamine activates H2 receptors on the parietal cell. The H2 receptor activates Gs proteins, which stimulate adenylate cyclase, increase cyclic AMP, activate protein kinase A, and strongly amplify the parietal-cell secretory response.

This cyclic AMP pathway works synergistically with the calcium signaling generated by acetylcholine and gastrin. The stomach therefore does not operate through three completely independent acid switches. These signals reinforce one another. Vagal cholinergic signaling generates a calcium signal. Gastrin stimulates CCK2 receptors and drives ECL-cell histamine release. Histamine activates the H2 receptor and increases cyclic AMP signaling. Calcium and cyclic AMP then converge on tubulovesicle trafficking, proton pump insertion, and acid secretion. This is why blocking only one of these pathways can still have a substantial effect on gastric acidity.

This is also where the term “antihistamine” can become confusing. Most people hear antihistamine and think of allergy medications such as cetirizine, loratadine, fexofenadine, levocetirizine, diphenhydramine, or hydroxyzine. These medications primarily target the H1 histamine receptor. The histamine receptor most directly responsible for gastric acid secretion is the H2 receptor. The classic H2 receptor blockers include famotidine, commonly sold as Pepcid, cimetidine, sold as Tagamet, and nizatidine, sold as Axid. Ranitidine, formerly sold as Zantac, was another H2 antagonist. These medications interfere directly with the ECL histamine to H2 receptor pathway.

Famotidine does not destroy the proton pump. It removes one of the strongest upstream signals responsible for activating the acid-secretory machinery. When the H2 receptor is blocked, cyclic AMP signaling falls. Acetylcholine and gastrin may still be present, but the histamine-dependent amplification of the parietal cell has been reduced. That is why H2 receptor antagonists reduce gastric acidity. This becomes particularly relevant when someone has taken famotidine chronically and later presents with digestive symptoms. It does not prove that the medication caused every subsequent gastrointestinal problem, but it does mean that the gastric environment has been pharmacologically altered and that this history should be incorporated into the analysis.

Older first-generation H1 antihistamines such as diphenhydramine and hydroxyzine are different. They do not primarily suppress gastric acid through H2 blockade, although some have meaningful anticholinergic activity. Because acetylcholine contributes to gastric secretion, motility, and coordination, these medications can still affect gastrointestinal physiology through another mechanism. Proton pump inhibitors act even farther downstream. Omeprazole, esomeprazole, pantoprazole, lansoprazole, dexlansoprazole, and rabeprazole inhibit the H plus potassium ATPase itself. In this situation, the brain can still activate the vagus, acetylcholine can still activate M3 receptors, G cells can still release gastrin, ECL cells can still release histamine, and histamine can still activate H2 receptors, but the final common output machinery responsible for secreting hydrogen ions has been pharmacologically inhibited. H2 blockers therefore suppress an upstream amplification signal, while PPIs suppress the final proton pump. Potassium-competitive acid blockers such as vonoprazan also act at the proton pump but through a different pharmacological mechanism.

These medications have legitimate clinical indications. The important point is not that acid suppression should never be used. The important point is that a stomach undergoing chronic pharmacological acid suppression is not displaying its untreated physiological state. This becomes especially important when interpreting laboratory markers such as gastrin. The stomach contains a strong negative-feedback system that prevents uncontrolled acid secretion. As gastric acidity increases, antral D cells release somatostatin. Somatostatin suppresses G-cell gastrin release, reduces ECL-cell histamine signaling, and inhibits further acid secretion. When acid production falls substantially, that acidic feedback signal weakens and gastrin may rise.

This means elevated fasting gastrin does not automatically indicate excessive stomach acid. Sometimes the opposite is true. The body is producing more gastrin precisely because the expected acid response is missing. This distinction is critical because high gastrin can occur in very different physiological states. A gastrin-secreting tumor can produce high gastrin together with high acid secretion, while autoimmune destruction of parietal cells can produce very high gastrin with extremely low acid output because the stomach has lost the ability to generate the acid that normally suppresses gastrin. The same blood marker can therefore correspond to opposite gastric environments, which is why medication history and gastric acidity are essential for interpreting significant hypergastrinemia.

H. pylori adds another level of complexity because the organism can alter acid secretion in different directions depending on where the inflammation occurs. When H. pylori predominantly affects the antrum, inflammatory changes can impair somatostatin-producing D cells. Less somatostatin means less inhibition of G cells, gastrin rises, and if the acid-producing body of the stomach remains intact, parietal cells can respond to increased gastrin and histamine signaling by producing more acid. This pattern has historically been associated with duodenal ulcer disease.

The biology changes when inflammation becomes corpus-predominant or progresses extensively into the body and fundus. These regions contain the oxyntic glands and much of the parietal-cell population. Chronic inflammation can progressively impair these glands and eventually produce atrophy. Once significant parietal-cell mass is lost, no amount of additional gastrin can fully compensate because the cellular machinery receiving the signal is disappearing. Acid production falls, and advanced disease can progress toward severe hypochlorhydria or achlorhydria. H. pylori therefore cannot accurately be classified simply as a high-acid or low-acid infection. The anatomical distribution and stage of gastric injury determine the resulting physiology.

Autoimmune gastritis can produce a similar final acid phenotype through a different mechanism. In autoimmune gastritis, immune injury is directed primarily against the oxyntic mucosa and parietal-cell machinery. The gastric H plus potassium ATPase itself is one of the important autoantigenic targets. Over time, chronic immune-mediated destruction can reduce parietal-cell mass. At that point the problem is no longer insufficient stimulation of an otherwise healthy proton pump. The tissue containing the proton pumps is being lost. A person taking famotidine may have structurally healthy parietal cells whose H2 signaling is temporarily blocked. A person taking pantoprazole may have healthy parietal cells whose pumps are pharmacologically inhibited. Someone with advanced autoimmune gastritis may have progressively fewer parietal cells available to stimulate. All three can have elevated gastric pH, but they do not have the same biological problem.

Parietal cells also produce intrinsic factor. As parietal-cell mass declines in autoimmune or severe atrophic gastritis, intrinsic factor can fall along with acid production. This creates an important connection between gastric physiology and vitamin B12. Food-bound vitamin B12 must first be liberated from dietary protein. Acid and pepsin contribute to that process. B12 then binds to carrier proteins before later interacting with intrinsic factor. After pancreatic enzymes release B12 from its initial carrier proteins in the small intestine, intrinsic factor binds the vitamin and carries it to receptors in the terminal ileum. Gastric dysfunction can therefore affect B12 at more than one level. Reduced acid and pepsin activity can impair liberation of food-bound B12, while progressive loss of parietal cells can reduce intrinsic factor. These mechanisms can coexist, which is why a person with advanced corpus atrophy may eventually develop borderline or low serum B12, elevated methylmalonic acid, or overt B12 deficiency.

Iron physiology can provide an earlier clue. Non-heme dietary iron is strongly influenced by gastric chemistry. The acidic environment helps keep iron soluble and favors chemical forms that can be absorbed more readily in the proximal small intestine. When gastric acidity is chronically reduced, non-heme iron absorption can become less efficient. Persistent low ferritin or unexplained iron deficiency can therefore sometimes be part of the same upper gastrointestinal physiology, particularly when it occurs alongside elevated gastrin, abnormal pepsinogens, B12 changes, parietal-cell antibodies, or histological evidence of corpus atrophy. Iron deficiency and B12 abnormalities should not automatically be attributed to the stomach because both have many other causes, but when several of these findings converge, they can form a coherent physiological pattern rather than unrelated nutrient abnormalities.

Another important downstream effect of elevated gastric pH is reduced pepsin activity. Chief cells in the stomach release pepsinogen, the inactive precursor of pepsin. The acidic gastric environment helps convert pepsinogen into active pepsin and allows pepsin to function effectively. When gastric pH remains substantially elevated, pepsin activity declines. This means impaired acidification can interfere with protein digestion before food even reaches the pancreatic enzymes of the small intestine. The sequence can therefore extend from impaired gastric signaling to altered luminal chemistry, reduced pepsin activity, impaired liberation of food-bound nutrients, and changes in downstream digestive physiology. This is part of what makes unexplained low ferritin, borderline B12, elevated methylmalonic acid, poor protein tolerance, and evidence of gastric atrophy potentially meaningful when they occur together. They should not be treated as proof of one mechanism, but they can represent multiple downstream readouts of the same failing gastric compartment.

Gastric acid is also one of the body’s first antimicrobial barriers. Microorganisms continuously enter the gastrointestinal tract through food, water, saliva, and oral secretions. The stomach is not sterile, but its extremely acidic environment creates a powerful ecological filter. Many organisms cannot survive prolonged exposure to this acidity. When gastric pH remains chronically elevated, more viable organisms can survive transit through the stomach. This does not mean hypochlorhydria automatically causes SIBO. Small-intestinal colonization resistance also depends on migrating motor complex activity, gastric emptying, intestinal motility, bile acids, pancreatic secretions, antimicrobial peptides, mucosal immunity, anatomy, and nutrient availability. Gastric acid is one component of this larger defense network. This is one reason recurrent dysbiosis in someone with years of powerful acid suppression deserves a broader analysis. Repeatedly targeting intestinal organisms without considering the gastric environment may leave an important upstream ecological pressure unchanged.

Reflux should also not automatically be interpreted as evidence of excessive gastric acid. Reflux describes movement of gastric contents into the esophagus. Whether gastric contents move upward depends on lower esophageal sphincter function, transient lower esophageal sphincter relaxations, hiatal hernia, gastric distension, delayed gastric emptying, intra-abdominal pressure, esophageal clearance, and tissue sensitivity. A person can therefore have severe reflux while producing normal or relatively low amounts of gastric acid. Another person can produce substantial gastric acid without experiencing reflux because their antireflux barrier remains intact. The amount of acid present determines how injurious the refluxate may be, but it is not the only factor determining whether reflux occurs. For the same reason, belching, early satiety, nausea, bloating, and poor protein tolerance cannot diagnose hypochlorhydria. These symptoms can also occur with functional dyspepsia, impaired gastric accommodation, delayed gastric emptying, visceral hypersensitivity, gastritis, pancreatic disease, gallbladder disorders, aerophagia, supragastric belching, and many other conditions.

This is why suspected low stomach acid should be treated as a physiological hypothesis rather than inferred from symptoms alone. Medication history is one of the first places I look. Current and previous exposure to famotidine, cimetidine, nizatidine, omeprazole, esomeprazole, pantoprazole, lansoprazole, dexlansoprazole, rabeprazole, vonoprazan, frequent antacids, and medications with substantial anticholinergic activity can all alter interpretation. Calcium carbonate products such as Tums do not inhibit the proton pump; they neutralize acid already present in the stomach. Magnesium hydroxide and aluminum hydroxide work similarly. Their mechanism is different from PPIs or H2 blockers, but frequent use can still transiently change gastric pH. Dose, duration, timing relative to symptoms, and whether these medications were being taken when testing was performed are all important.

Active H. pylori should then be investigated appropriately. Urea breath testing and stool antigen testing can identify current infection, while biopsy-based testing can be performed when upper endoscopy is clinically appropriate. Test preparation matters because PPIs, potassium-competitive acid blockers, antibiotics, and bismuth can suppress H. pylori and increase the risk of a false-negative result. Blood antibody testing has a different limitation because antibodies can remain detectable after eradication and therefore do not always distinguish past exposure from current infection.

When the concern shifts toward parietal-cell failure or gastric atrophy, fasting gastrin becomes more informative, but it should not be viewed as a stand-alone marker. Its meaning depends on gastric acidity, medications, and the state of the oxyntic mucosa. Pepsinogen I and pepsinogen II can provide additional structural information. Pepsinogen I is produced predominantly in the gastric body and fundus, while pepsinogen II is produced more broadly. When oxyntic glands in the gastric corpus are progressively lost, pepsinogen I tends to fall disproportionately, causing the ratio of pepsinogen I to pepsinogen II to fall as well. A pattern of elevated gastrin together with low pepsinogen I and a low pepsinogen I to II ratio raises substantially more concern for corpus-predominant atrophic physiology than an isolated gastrin result.

Parietal-cell antibodies and intrinsic-factor antibodies can add an autoimmune dimension. Parietal-cell antibodies tend to be more sensitive but are not completely specific. Intrinsic-factor antibodies are more specific when positive but substantially less sensitive. A negative intrinsic-factor antibody therefore cannot reliably exclude autoimmune gastritis. The useful information comes from convergence. Elevated fasting gastrin, low pepsinogen I, a reduced pepsinogen I to II ratio, positive parietal-cell antibodies, iron depletion, abnormal B12 physiology, and compatible histology together create a far stronger mechanistic picture than any one result on its own.

A deeper laboratory evaluation can therefore include a complete blood count, ferritin, serum iron, transferrin saturation, vitamin B12, methylmalonic acid, fasting gastrin, parietal-cell antibodies, intrinsic-factor antibodies, and pepsinogen I and II where available. Red blood cell indices also need to be interpreted carefully. Iron deficiency tends to reduce red cell size, while vitamin B12 deficiency tends to increase it. If both are occurring simultaneously, their effects can partially oppose one another and leave the mean corpuscular volume deceptively normal. Chromogranin A may also appear in the evaluation of significant hypergastrinemia because chronic gastrin stimulation affects ECL cells, but proton pump inhibitors themselves can elevate chromogranin A substantially. An elevated result in someone taking a PPI should therefore not automatically be interpreted as evidence of a neuroendocrine tumor.

If the actual question is whether someone truly has impaired acid secretion, direct gastric physiology is stronger evidence than symptoms or surrogate biomarkers. Intragastric pH can be measured directly using specialized techniques. Historically, gastric aspiration could measure basal acid output and then maximal or peak acid output after pharmacological stimulation. That distinction is important because a person can have a temporarily elevated gastric pH without having lost the ability to produce acid. A meal itself buffers stomach acid and temporarily raises pH. What ultimately matters is the stomach’s ability to restore and maintain an appropriately acidic environment. Direct secretory testing therefore asks not only what the stomach pH happens to be at one moment, but whether the parietal-cell system can mount an adequate acid response when stimulated.

This is also why I am cautious about treating the betaine hydrochloride challenge as a diagnostic test. Betaine HCl can acidify the gastric lumen, but that only demonstrates that external acid can lower gastric pH. It does not establish why endogenous acid secretion was reduced. It cannot distinguish H2 receptor blockade from PPI exposure, H. pylori-associated corpus injury, autoimmune gastritis, parietal-cell loss, or another cause. Similarly, taking increasing amounts of betaine HCl until warmth or discomfort occurs should not be treated as a validated measurement of parietal-cell function.

When blood markers suggest true gastric atrophy, upper endoscopy with appropriately distributed biopsies becomes much more informative. Sampling the antrum, incisura, and gastric body allows the anatomical pattern of gastritis to be determined. Pathology can identify H. pylori-associated inflammation, glandular loss, intestinal metaplasia, corpus-predominant atrophy, autoimmune-pattern injury, or another structural process. That anatomical distinction is essential because a healthy parietal cell with an H2 receptor blocked by famotidine is different from a healthy parietal cell whose proton pump is inhibited by pantoprazole. Both are different from a parietal cell injured by corpus-predominant H. pylori gastritis, and all are different again from advanced autoimmune gastritis in which the parietal-cell population itself has progressively disappeared.

This is ultimately why I think the term “low stomach acid” is too superficial when used as a final explanation. The complete physiological chain extends from the cephalic brain response through vagal cholinergic signaling, M3 receptor calcium signaling, gastrin, ECL-cell histamine release, H2 receptor cyclic AMP signaling, tubulovesicle trafficking, proton pump insertion, mitochondrial ATP production, potassium recycling, chloride transport, and finally hydrochloric acid secretion. The failure can occur upstream in the neural signal, at the level of histamine amplification, through pharmacological suppression from H2 blockers or PPIs, through H. pylori-associated inflammation, through autoimmune destruction of the oxyntic glands, or potentially through broader cellular energetic impairment. The downstream consequences can then converge on reduced pepsin activity, impaired protein digestion, altered iron handling, impaired liberation of food-bound vitamin B12, loss of intrinsic factor when parietal cells are destroyed, and weakening of the gastric antimicrobial barrier.

These findings may appear to be separate problems when viewed individually, but in the correct patient they can represent different physiological readouts of the same failing gastric system. The goal should therefore not simply be to make the stomach more acidic. The goal should be to identify where the gastric acid-production circuit has failed, why it failed, and whether the problem represents reversible signaling suppression, medication effect, inflammatory injury, or actual loss of the acid-producing tissue.