Upon stimulation, the gastric parietal cell secretes a large quantity of isotonic HCl across its apical membrane which must be accompanied by the generation of base in the cytosol. The ability of this cell type to regulate cytosolic pH (pHi) was examined as a function of stimulation of acid secretion by histamine or forskolin. The pHi was estimated from the change of fluorescence of the trapped dye, 2',7'-bis(carboxyethyl)-5(6)-carboxyfluorescein-bis-carboxyethylcarbo xy fluorescein in a purified cell suspension of rabbit parietal cells. Stimulation of the cell suspension raised pHi by an average of 0.13 +/- 0.038 pH units. The H+,K+-ATPase inhibitor, SCH28080 (2-methyl-8-[phenyl-methoxy]-imidazo-(1,2)-pyridine-3-acetonitrile) had only a small effect on the increase of pHi, therefore, was largely independent of H+,K+-ATPase activity. In Na+-free medium, where Na+/H+ exchange would be absent, the rise of pHi was only 0.03 pH units. This increase was blocked by SCH28080, showing that this small increment was the result of acid secretion. In Na+-containing medium, 90% of the increase was inhibited by an inhibitor of Na+/H+ exchange, dimethyl amiloride (DMA). This compound also blocked changes in pHi due to changes in extracellular Na+. Accordingly, most of the change in pHi upon stimulation of acid secretion by histamine and forskolin is due to activation of Na+/H+ exchange in the parietal cell basal-lateral membrane. The addition of DMA to stimulated, but not resting cells, gave a rapid acidification that was blocked by inhibition of anion exchange by 4,4'-diisothiocyanostilbene-2,2'-disulfonic acid (DIDS), showing that anion exchange was also activated by stimulation. In single cell recording, canalicular and cytosolic pH were monitored simultaneously using 9-amino acridine and dimethyl carboxyfluorescein, respectively. Cytosolic alkalinization correlated with acid accumulation in the secretory canaliculus until a set point was reached. Thereafter, acidification continued without further change in pHi. To determine the role of Na+/H+ and Cl-/HCO3- exchange in acid secretion, Cl(-)-depleted cells were suspended in medium containing 40 mM Cl-. DMA and DIDS each blocked acid secretion by about 40%, but in combination, acid secretion was blocked by more than 90%. Thus, basal-lateral Na+/H+ and Cl-/HCO3- exchange activities are necessary for acid secretion across the apical membrane of the parietal cell.