Esomeprazole is used for treatment of gastroesophageal reflux disease (in short term situations) for patients with irritation and swelling of the esophagus and are unable to take medications by mouth. Esomeprazole can also be taken in order to reduce the risk of bleeding ulcers post-endoscopy.

The method of action of esomeprazole is that it works as a proton pump inhibitor and so reduces the amount of acid produced in the stomach.

Esomeprazole is NOT recommended if the patient suffers from low blood B12/ potassium/magnesium levels, and diuretics are not recommended to be taken with esomeprazole as they can exacerbate the risk of low blood magnesium levels.