Hydrochloric acid is made in one place in the body: the stomach. Specialized cells set deep in tiny glands in the stomach lining do the work, and they don’t keep ready-made acid on hand. They assemble it at the moment of release from two separate ingredients, so no cell is ever harmed by holding it. The same lining that makes the acid also shields itself from it, which is why a healthy stomach doesn’t digest itself.1PubMed. Gastroduodenal mucus bicarbonate barrier: protection against acid and pepsin
The Parietal Cells That Make Stomach Acid
The acid makers are called parietal cells, a name you may run into in textbooks or in explanations of anemia linked to the stomach.2PubMed Central. The Physiology of the Gastric Parietal Cell They sit in the glands lining the main body of the stomach, alongside other cells that make digestive enzymes and mucus. Their job is to release acid that helps digest food, absorb minerals, and control harmful bacteria.3PubMed Central. The Physiology of the Gastric Parietal Cell
Each parietal cell has a pump, often called the proton pump, that pushes hydrogen ions into the stomach while taking potassium back in.4PubMed Central. The Physiology of the Gastric Parietal Cell The pump runs on ATP, the cell’s energy currency, which lets it push acid against a steep difference in acidity.5TeachMePhysiology. Gastric Acid Production – Regulation – PPI Chloride then travels into the stomach through its own channel.6TeachMePhysiology. Gastric Acid Production – Regulation – PPI Hydrogen and chloride meet in the stomach space and form hydrochloric acid there, not inside the cell.7PubMed Central. The Physiology of the Gastric Parietal Cell The acid-making cells sit partway down narrow glands, so the acid is released into a tight channel and then flows upward through the gland opening onto the lining surface, where it mixes with food.
After a meal, these cells change visibly. At rest, the pumps sit in membranes inside the cell, out of contact with the stomach space. When the cell is switched on, those pump-bearing membranes move to the cell surface, giving the cell far more surface for pumping acid into the gland. The cell is packed with energy-producing mitochondria, which fits the heavy ATP demand of running the pump. When the signal fades, the pumps are pulled back inside and acid release slows.
Making each hydrogen ion also produces a bicarbonate ion, a mild base, inside the cell.8TeachMePhysiology. Gastric Acid Production – Regulation – PPI Large amounts of it must be moved out to keep the cell from becoming too alkaline.9PubMed. The alkaline tide phenomenon The cell swaps the bicarbonate into the blood in exchange for chloride, and that exchange supplies the chloride for the acid.10TeachMePhysiology. Gastric Acid Production – Regulation – PPI As a result, blood leaving the stomach after a meal is slightly more alkaline.11PubMed. The alkaline tide phenomenon
How Strong Stomach Acid Is and What It Does
Normal stomach fluid has a pH of about 1.5 to 3.5, with about 20 to 100 mL present on a stomach acid test.12UCSF Benioff Children’s Hospitals. Stomach acid test The pH is an acidity scale where lower numbers mean more acidic and 7 is neutral, so the stomach sits far below water and well below most acidic foods.
Each whole step on the acidity scale is a tenfold change, so pH 2 is ten times more acidic than pH 3. And 1.5 to 3.5 describes normal fluid, not a fixed value: stomach pH rises when food buffers the acid, then drops again afterward.
Acid starts protein digestion by unfolding food proteins, exposing their chains so enzymes can work on them.13LibreTexts Medicine. Protein Digestion The drop in pH also converts an inactive enzyme from the stomach wall into active pepsin.14LibreTexts Medicine. Protein Digestion Pepsin cuts proteins into smaller pieces that are later absorbed in the small intestine.15Integrative Therapeutics®. The Role Of Hydrochloric Acid (Hcl) In Aiding Digestion
Pepsin is made and stored in an inactive form so it can’t digest the cells that produce it. It works best in a strongly acidic setting and loses its power in the less acidic small intestine.
Acid also helps absorb iron from plant foods. Strongly cutting acid reduced absorption of iron from a meal’s plant and non-meat sources by 42% to 65%.16PubMed. Role of gastric acid in food iron absorption But a dose that cut acid by 60% to 80% reduced iron absorption by only 28%.17PubMed. Role of gastric acid in food iron absorption The body normally makes more acid than iron absorption needs, and iron falls only when acid drops a lot.18PubMed. Role of gastric acid in food iron absorption
Acid is also a germ barrier. Most germs swallowed with food never reach the intestine because stomach acid inactivates them.19PubMed. Gastric juice: a barrier against infectious diseases A stomach pH of 1 to 2 is harmful to many disease-causing microbes.20PubMed. The role of gastric acid in preventing foodborne disease and how bacteria overcome acid conditions Stomach acid protects against salmonella food poisoning and cholera,21PubMed. Gastric juice: a barrier against infectious diseases and it quietly reduces the germ load in the food and water you take in.
Why Stomach Acid Doesn’t Burn the Stomach
The lining is coated with a thick layer of mucus gel, its first line of defense.22PubMed. Overview of gastroduodenal mucosal protection Cells under the mucus release bicarbonate into it, neutralizing acid that seeps in.23PubMed. Gastroduodenal mucus bicarbonate barrier: protection against acid and pepsin The mucus is sticky and slows the acid, giving bicarbonate time to react. The cells themselves stay at about pH 7 to 8 even with acid in the stomach.24PubMed. Overview of gastroduodenal mucosal protection The mucus also blocks pepsin, so the lining isn’t digested like food.25PubMed. Gastroduodenal mucus bicarbonate barrier: protection against acid and pepsin
Across a thin mucus layer, acidity can shift from about pH 2.3 on the stomach side to about pH 7.3 next to the cells.26PubMed Central. Demonstration of a pH gradient across mucus adherent to rabbit gastric mucosa: evidence for a ‘mucus-bicarbonate’ barrier Keeping this difference takes cell energy, so it fails if the cells stop working.27PubMed Central. Demonstration of a pH gradient across mucus adherent to rabbit gastric mucosa: evidence for a ‘mucus-bicarbonate’ barrier
When mucus or bicarbonate falls short, acid and pepsin reach the cells and can wear sores into the stomach or duodenum. Common culprits are H. pylori infection and regular anti-inflammatory painkillers.
Heartburn is a different problem of place. The esophagus lacks this thick protective barrier, so acid splashing upward irritates it and causes burning. The burn comes from acid in the wrong place, not from extra acid in the stomach.
What Switches Acid Production On and Off
Acid release is driven by histamine, the hormone gastrin, and acetylcholine from nerves. Histamine strongly boosts the effect of both gastrin and nerve signals,28PubMed. Control of acid secretion and with all three present, they amplify each other even more.29PubMed. Regulation of gastric acid secretion
Each signal reaches the acid-making cells differently. Histamine is released by nearby cells in the stomach wall and acts on them directly. Gastrin travels through the blood from cells in the lower stomach, and part of its effect works by prompting histamine release. Acetylcholine comes from nerve endings and acts on the acid-making cells and on other cells nearby. Because of this overlap, blocking histamine has a large effect.
Around a meal, the sequence runs like this. Seeing, smelling, or thinking about food triggers nerve signals. Food stretching the stomach, along with protein, raises gastrin, so acid production rises in proportion to the meal. Food also buffers acid, which temporarily raises pH and keeps the signals on. Acid peaks during digestion and falls as the stomach empties, and between meals output is low.
There is a built-in brake too. Cells in the stomach release a hormone that forms a feedback loop that holds acid back.30PubMed. A model for integrative study of human gastric acid secretion As the stomach becomes very acidic, the brake helps stop overproduction.
How Acid-Reducing Medicines Work
Proton pump inhibitors, or PPIs, such as omeprazole, are activated by acid inside the acid-making cells and lock onto the acid pump.31PubMed Central. Comparing the Safety and Efficacy of Proton Pump Inhibitors and Histamine-2 Receptor Antagonists in the Management of Patients With Peptic Ulcer Disease: A Systematic Review Once a PPI binds, that pump is switched off and stops releasing hydrogen ions.32PubMed Central. Comparing the Safety and Efficacy of Proton Pump Inhibitors and Histamine-2 Receptor Antagonists in the Management of Patients With Peptic Ulcer Disease: A Systematic Review H2 blockers such as famotidine reduce acid by blocking histamine’s signal to the parietal cells.33PubMed Central. Comparing the Safety and Efficacy of Proton Pump Inhibitors and Histamine-2 Receptor Antagonists in the Management of Patients With Peptic Ulcer Disease: A Systematic Review Antacids work differently: they don’t stop production, they neutralize acid already in the stomach.
A PPI only binds pumps that are active, because it needs acid inside the cell to become active itself. Pumps are most active once a meal begins, so a dose taken 30 to 60 minutes before eating meets many active pumps.
Once a PPI binds a pump, the bond is long-lasting, so acid stays reduced after the drug has left the blood. Acid returns only as the cells build new pumps. A daily dose therefore builds to its full effect over a few days.
Lowering acid has trade-offs. Neutralizing or blocking acid may raise the risk of food- or waterborne illness,34PubMed. The role of gastric acid in preventing foodborne disease and how bacteria overcome acid conditions and an antacid with a meal cut plant-iron absorption by about half.35PubMed. Role of gastric acid in food iron absorption If you take acid blockers regularly, take extra care with undercooked food and untreated water. If you’ve been on them long term, ask your doctor about your iron. And don’t stop a long-term PPI suddenly without advice, since acid can rebound.
What Happens When You Make Too Little Acid
Long-term inflammation of the stomach lining from H. pylori infection is thought to be a common cause of lasting low acid.36PubMed. The clinical importance of hypochlorhydria (a consequence of chronic Helicobacter infection): its possible etiological role in mineral and amino acid malabsorption, depression, and other syndromes The bacterium lives in the lining, and over years the inflammation can damage the acid-making glands so fewer cells make acid. Not everyone infected loses acid, though. Some people with H. pylori make more, depending on where the inflammation is.
Reduced mineral absorption with low acid is fairly well documented.37PubMed. The clinical importance of hypochlorhydria (a consequence of chronic Helicobacter infection): its possible etiological role in mineral and amino acid malabsorption, depression, and other syndromes Animals unable to make stomach acid were infected by smaller doses of food-poisoning bacteria.38PubMed Central. Influence of Gastric Acid on Susceptibility to Infection with Ingested Bacterial Pathogens
H. pylori can be tested for with breath, stool, or blood tests, and treating the infection can let acid production recover. Self-treating with acid supplements without a diagnosis can harm an ulcer.
Other Places the Body Makes Acid
No other organ makes hydrochloric acid, but bone-clearing cells release acid as part of normal bone remodeling. They attach to bone and release acid into a sealed pocket between themselves and the bone surface.39PubMed. Osteoclastic acidification pathways during bone resorption The acid dissolves bone mineral so old bone can be removed and rebuilt.40PubMed. Osteoclastic bone resorption by a polarized vacuolar proton pump They use a different pump, paired with chloride flow, so the chemistry resembles stomach acid but in a tiny enclosed space.41PubMed. Osteoclastic acidification pathways during bone resorption
To build that pocket, the cell presses against the bone with a ring that seals off a small space beneath it. Its membrane facing the bone is folded into a ruffled border that increases the surface for releasing acid. The acid dissolves the mineral part of bone, and enzymes released into the same pocket then break down the protein framework left behind.

