The gastric H(+)/K(+)-ATPase is located within an infolding (secretory canaliculus) of the apical plasma membrane of gastric parietal cells. Our aim was to measure the pH values in the cytosol and canaliculus of the acid-secreting parietal cell and the adjacent gland lumen in situ. We used ultrafine double-barreled tip-sealed microelectrodes at high acceleration rates for intracellular and canalicular measurements. Immunohistochemical staining of the parietal cells was used to identify the track of the electrode and to estimate the position of the electrode tip at the time of the last intracellular measurement. En route to the deepest regions of the mucosa, where the average gland lumen pH was approximately 3, and on advancing in steps of 2 mum, the electrode entered the cytosol of the parietal cells, where the pH value was 7.4. Advancing the electrode further resulted, in several instances, in a sharp decrease in pH to an average value of 1.7 +/- 0.2, which we interpreted as the measurement within the canaliculus. When the electrode was advanced even further, the pH reading returned to the cytosolic value. From the difference in pH between the secreting canaliculus and the adjacent gland lumen, we concluded that the released acid was immediately buffered. Thus, the only cellular structure directly exposed to the highly acidic canalicular content is the apical membrane forming the canaliculus in the parietal cell.