It is used in conditions where inhibition of gastric acid secretion may be beneficial, including gastro-oesophageal reflux disease, peptic ulcer disease, for Non-Steroidal Anti-Inflammatory Drug (NSAID)-associated ulceration, and in the treatment of pathological hypersecretory states such as the Zollinger-Ellison syndrome.