As a physiological phenomenon, acid secretion from the stomach was known already at least in the 17th century. But its mechanism was elucidated in more recent times only. At the end of the 20th century, gastric H(+)/K(+)-ATPase in the parietal cells was found to be responsible for a final step of H(+) secretion in these cells. In this century, several Cl(-)-transporting proteins for gastric acid (hydrochloric acid; HCl) secretion have been found. As inhibitors of gastric acid secretion, histamine H2 receptor antagonists (H2 blockers) were developed in the 1970's. This discovery brought a great benefit; that is, peptic ulcers became treatable by administration of a drug. In 1980's, proton pump inhibitors (PPIs) were developed. The target of PPIs is gastric H(+)/K(+)-ATPase and the PPIs exert generally more potent effects compared with H2 blockers. Most recently, several K(+)-competitive inhibitors of the ATPase are being developed. Here, we introduce gastric H(+)/K(+)-ATPase and its related proteins for gastric acid secretion, and several gastric diseases and their treatment by medicines.