A drug that blocks acid from being made in the stomach. It is used to treat acid reflux disease and to prevent certain types of gastrointestinal ulcers. Esomeprazole is being studied in the prevention of esophageal cancer and in the treatment of other conditions, including side effects of chemotherapy. It is a type of anti-ulcer agent. Also called esomeprazole magnesium and Nexium.