The gastric H,K-ATPase, a member of the P(2)-type ATPase family, is the integral membrane protein responsible for gastric acid secretion. It is an alpha,beta-heterodimeric enzyme that exchanges cytoplasmic hydronium with extracellular potassium. The catalytic alpha subunit has ten transmembrane segments with a cluster of intramembranal carboxylic amino acids located in the middle of the transmembrane segments TM4, TM5,TM6, and TM8. Comparison to the known structure of the SERCA pump, mutagenesis, and molecular modeling has identified these as constituents of the ion binding domain. The beta subunit has one transmembrane segment with N terminus in cytoplasmic region. The extracellular domain of the beta subunit contains six or seven N-linked glycosylation sites. N-glycosylation is important for the enzyme assembly, maturation, and sorting. The enzyme pumps acid by a series of conformational changes from an E(1) (ion site in) to an E(2) (ion site out) configuration following binding of MgATP and phosphorylation. Several experimental observations support the hypothesis that expulsion of the proton at 160 mM (pH 0.8) results from movement of lysine 791 into the ion binding site in the E(2)P configuration. Potassium access from the lumen depends on activation of a K and Cl conductance via a KCNQ1/KCNE2 complex and Clic6. K movement through the luminal channel in E(2)P is proposed to displace the lysine along with dephosphorylation to return the enzyme to the E(1) configuration. This enzyme is inhibited by the unique proton pump inhibitor class of drug, allowing therapy of acid-related diseases.