In the duodenum, gastric acid is neutralized by bicarbonate. This also blocks gastric enzymes that have their optima in the acid range of pH. The secretion of bicarbonate from the pancreas is stimulated by secretin. This polypeptide hormone gets activated and secreted from so-called S cells in the mucosa of the duodenum and jejunum when the pH in the duodenum falls below 4.5 to 5.0. The neutralization is described by the equation:
:HCl + NaHCO → NaCl + HCO
The carbonic acid rapidly equilibrates with carbon dioxide and water through catalysis by carbonic anhydrase enzymes bound to the gut epithelial lining, leading to a net release of carbon dioxide gas within the lumen associated with neutralisation. In the absorptive upper intestine, such as the duodenum, both the dissolved carbon dioxide and carbonic acid will tend to equilibrate with the blood, leading to most of the gas produced on neutralisation being exhaled through the lungs.