A typical adult human stomach will secrete about 1.5 liters of gastric acid daily. Gastric acid secretion is produced in several steps. Chloride and hydrogen ions are secreted separately from the cytoplasm of parietal cells and mixed in the canaliculi. Gastric acid is then secreted into the lumen of the gastric gland and gradually reaches the main stomach lumen. The exact manner in which the secreted acid reaches the stomach lumen is controversial, as acid must first cross the relatively pH-neutral gastric mucus layer.
Chloride and sodium ions are secreted actively from the cytoplasm of the parietal cell into the lumen of the canaliculus. This creates a negative potential of between −40and−70mV across the parietal cell membrane that causes potassium ions and a small number of sodium ions to diffuse from the cytoplasm into the parietal cell canaliculi.
The enzyme carbonic anhydrase catalyses the reaction between carbon dioxide and water to form carbonic acid. This acid immediately dissociates into hydrogen and bicarbonate ions. The hydrogen ions leave the cell through H/K ATPase antiporter pumps.
At the same time, sodium ions are actively reabsorbed  . This means that the majority of secreted K (potassium) and Na (sodium) ions return to the cytoplasm. In the canaliculus, secreted hydrogen and chloride ions mix and are secreted into the lumen of the oxyntic gland.
The highest concentration that gastric acid reaches in the stomach is 160mM in the canaliculi. This is about 3 million times that of arterial blood, but almost exactly isotonic with other bodily fluids. The lowest pH of the secreted acid is 0.8, but the acid is diluted in the stomach lumen to a pH of between 1 and 3.
There is a small continuous basal secretion of gastric acid between meals of usually less than 10mEq/hour.
There are three phases in the secretion of gastric acid which increase the secretion rate in order to digest a meal:
# The cephalic phase: Thirty percent of the total gastric acid secretions to be produced is stimulated by anticipation of eating and the smell or taste of food. This signalling occurs from higher centres in the brain through the vagus nerve (Cranial Nerve X). It activates parietal cells to release acid and ECL cells to release histamine. The vagus nerve (CN X) also releases gastrin releasing peptide onto G cells. Finally, it also inhibits somatostatin release from D cells.
# The gastric phase: About sixty percent of the total acid for a meal is secreted in this phase. Acid secretion is stimulated by distension of the stomach and by amino acids present in the food.
# The intestinal phase: The remaining 10% of acid is secreted when chyme enters the small intestine, and is stimulated by small intestine distension and by amino acids. The duodenal cells release entero-oxyntin which acts on parietal cells without affecting gastrin.