Excess stomach acid, sometimes called hyperchlorhydria, happens when the acid-producing cells in your stomach lining go into overdrive. The causes range from bacterial infections and rare tumors to everyday triggers like stress, caffeine, and even stopping certain medications. Your stomach normally maintains a pH between 1.0 and 2.5 when empty, which is intensely acidic by design. Problems arise when acid production exceeds what your stomach’s protective lining can handle, or when it persists at times it shouldn’t.
How Your Stomach Controls Acid Production
Understanding what goes wrong starts with how the system normally works. Your stomach lining contains specialized parietal cells whose sole job is pumping out hydrochloric acid. These cells don’t act on their own. They respond to three chemical signals: histamine, acetylcholine (released by nerve endings), and gastrin (a hormone produced by G cells in the lower part of the stomach). Each of these messengers binds to a different receptor on the parietal cell surface, and together they activate what’s called the proton pump, the molecular machinery that pushes acid into your stomach.
Your body also has a built-in brake system. When the stomach becomes acidic enough, cells in the lower stomach release somatostatin, a hormone that tells the G cells to stop producing gastrin. This feedback loop keeps acid levels in a tight range. Nearly every cause of excess stomach acid involves either too much stimulation of parietal cells or a failure of this braking mechanism.
H. pylori Infection
One of the most common causes of excess acid is infection with Helicobacter pylori, a bacterium that colonizes the stomach lining. When H. pylori settles primarily in the lower portion of the stomach (the antrum), it disrupts the release of somatostatin, the hormone that normally signals G cells to dial back gastrin production. Without that brake, gastrin levels climb, and parietal cells keep pumping acid well beyond what’s needed.
This pattern of antral-predominant infection is what predisposes people to duodenal and prepyloric ulcers. The excess acid flows into the upper small intestine, which lacks the stomach’s thick mucus barrier, and eats into the lining. Roughly half the world’s population carries H. pylori, but only a fraction develops this specific pattern of overproduction. The location of the infection within the stomach, along with individual immune responses, determines whether acid goes up, stays normal, or in some cases actually drops.
Zollinger-Ellison Syndrome
The most dramatic cause of excess stomach acid is Zollinger-Ellison syndrome, a rare condition caused by tumors called gastrinomas. These tumors, usually found in the pancreas or the wall of the small intestine, continuously secrete gastrin regardless of how acidic the stomach already is. The normal feedback loop is bypassed entirely. The result is massive acid overproduction, far exceeding the normal basal acid output of 0 to 5 millimoles per hour.
People with Zollinger-Ellison syndrome often develop severe, recurring peptic ulcers that resist standard treatment, along with chronic diarrhea caused by the sheer volume of acid flooding the digestive tract. Diagnosis typically involves measuring fasting gastrin levels in the blood, which are dramatically elevated. The condition is very rare, but it’s an important consideration when ulcers keep coming back despite appropriate treatment.
Stress and the Vagus Nerve
Chronic stress genuinely can increase stomach acid, and the pathway runs through the vagus nerve. This long nerve connects your brain to your gut and is the main channel of the parasympathetic nervous system in your digestive tract. When activated, it increases bowel motility and glandular secretion, including acid production. Acetylcholine, released at nerve endings in the stomach wall, directly stimulates parietal cells.
Under acute stress, your body’s fight-or-flight response can initially suppress digestion. But chronic, ongoing stress creates a more complex picture. Repeated vagal stimulation and shifts in gut hormones like cholecystokinin (which promotes gastric acid secretion, among other digestive functions) can push acid output higher than baseline over time. This is one reason why people under sustained psychological pressure often report heartburn, stomach pain, or a gnawing sensation, even without an obvious structural problem.
Caffeine, Alcohol, and Dietary Triggers
Caffeine stimulates acid secretion through multiple routes. It activates bitter taste receptors on parietal cells themselves, directly triggering acid production. It also promotes the release of gastrin and histamine from hormone-producing cells in the stomach lining. Interestingly, caffeine isn’t unique in this regard. Other bitter compounds, including those found in hops (the bitter acids in beer), certain tea compounds like catechins, and even artificial bitter substances, all trigger gastrin release or acid secretion through similar taste-receptor pathways.
Alcohol, particularly at higher concentrations, also stimulates gastric acid. Spicy foods, high-fat meals, and large meal volumes can all increase acid output in the short term. For most people, these dietary triggers cause temporary spikes that resolve on their own. But if you’re already prone to excess acid from another underlying cause, regularly stacking these triggers can keep your stomach in a persistently hyperacidic state.
Rebound Acid After Stopping PPIs
Proton pump inhibitors (PPIs), the medications commonly prescribed for acid reflux and ulcers, can paradoxically cause excess acid production when you stop taking them. This phenomenon, called rebound acid hypersecretion, is one of the more frustrating causes because it can trap people in a cycle of dependence on the medication.
Here’s the mechanism: PPIs work by blocking proton pumps on parietal cells, sharply reducing acid output. Your stomach senses the drop in acidity and responds by ramping up gastrin production, since the normal feedback signal (acid suppressing gastrin) is gone. Over weeks and months of PPI use, gastrin levels climb, and the gastrin-producing G cells and histamine-releasing cells in the stomach lining actually grow in number. When you abruptly stop the medication, all those extra cells are suddenly free to drive acid production well above your original baseline.
Symptoms typically appear 5 to 14 days after stopping PPIs, though about 38% of people in one study experienced onset at weeks 3 to 4. The rebound symptoms, including heartburn and stomach discomfort, last an average of 4 to 5 days but can persist. After long-term PPI use of a year or more, rebound acid secretion can last more than 8 weeks but generally resolves within 6 months. This is why doctors often recommend tapering PPIs gradually rather than stopping cold.
Kidney Disease
Chronic kidney disease can raise stomach acid levels through a less obvious route. The kidneys play an important role in breaking down and clearing gastrin from the bloodstream. When kidney function declines, gastrin accumulates because it’s not being degraded efficiently. At the same time, kidney disease can reduce the stomach’s own acid production in the short term, which weakens the feedback signal that normally keeps G cells in check. Without that signal, G cells are chronically stimulated. Over time, they multiply and increase their output, leading to elevated gastrin levels and, eventually, higher acid secretion.
Secondary hyperparathyroidism, a common complication of kidney disease involving excess parathyroid hormone, further contributes to this cycle. The combined effect of reduced gastrin clearance and increased gastrin synthesis makes hypergastrinemia a frequent finding in patients with chronic renal failure.
Surgical Complications
A rare but well-documented surgical cause is retained antrum syndrome. This occurs in patients who’ve had a specific type of stomach surgery (Billroth II gastrectomy), where a small portion of the gastrin-producing antral tissue is inadvertently left behind at the duodenal stump. That retained tissue continues releasing gastrin, but because it’s no longer in contact with stomach acid, the normal feedback mechanism can’t suppress it. The result is persistent hypergastrinemia and recurrent ulcers. Diagnosing it requires specialized imaging, and definitive treatment involves surgically removing the retained tissue.
Recognizing Excess Acid
The symptoms of excess stomach acid overlap heavily with other digestive conditions, which makes it hard to self-diagnose. Burning pain in the upper abdomen, especially between meals or at night, is the most classic sign. Frequent heartburn, nausea, bloating, and a sour taste in the mouth are also common. Some people notice that eating temporarily relieves the pain (because food buffers the acid), only for it to return an hour or two later.
If you have recurring ulcers, persistent heartburn that doesn’t respond to lifestyle changes, or digestive symptoms that worsen after stopping acid-suppressing medication, the cause may be one of the conditions above rather than simple overindulgence. Testing can include blood gastrin levels, breath or stool tests for H. pylori, and in some cases direct measurement of acid output, where the normal basal range is 0 to 5 millimoles per hour.

