It is used in conditions where inhibition of gastric acid secretion may be beneficial including aspiration syndromes, dyspepsia, erosive esophagitis, gastro-esophageal reflux disease (GERD), benign gastric ulcer, duodenal ulcer, and hypersecretory conditions (e.g. Zollinger-Ellison syndrome).