Esomeprazole: what it treats, how to take it, side effects

Last updated September 3, 2026.

Esomeprazole is a proton pump inhibitor that reduces the amount of acid your stomach makes. You may know it as Nexium. It lives in two worlds: over the counter for frequent heartburn, and by prescription for reflux damage, ulcer prevention, and high-acid conditions.

What does it treat?

Over the counter: frequent heartburn (at least 2 days a week) in adults. By prescription: the symptoms and esophagus damage of GERD, ulcer prevention in people taking NSAIDs, H. pylori ulcer treatment combined with other medications, and excess-acid conditions like Zollinger-Ellison syndrome.

How do you take it?

Once a day, at least 1 hour before a meal - the OTC course is every morning for 14 days in a row, and MedlinePlus is strict about it: do not take it longer than 14 days or repeat a course more often than once every 4 months without a doctor. It is not an instant fix: full benefit takes 1 to 4 days, so it is useless as an as-needed rescue. Prescription schedules run once or twice daily, commonly 20 or 40 mg once daily for 4 to 8 weeks per the label. Swallow capsules whole; if you cannot, open the capsule, sprinkle the pellets on a tablespoon of cool applesauce, and swallow immediately without chewing. Missed dose: take it when you remember unless the next one is close; never double up.

Side effects to know

Questions about esomeprazole

Start a free AI doctor consult →

Who should not take it?

Anyone allergic to esomeprazole or other PPIs. One interaction stands above the rest: the label says to avoid taking it with clopidogrel - esomeprazole blunts the antiplatelet's activation. St. John's wort and rifampin are also to be avoided, iron supplements interact, and the label flags methotrexate. Tell your doctor about low magnesium, calcium, or potassium, hypoparathyroidism, low B12, osteoporosis, lupus, and liver disease (severe liver impairment caps the dose at 20 mg). The OTC version has a see-a-doctor-first list: heartburn lasting 3 months or more, heartburn with lightheadedness, sweating, or dizziness, chest or shoulder pain, shortness of breath, pain spreading to arms, neck, or shoulders, unexplained weight loss, vomiting (especially bloody), stomach pain, trouble swallowing, or black or bloody stools. If you are 70 or older, talk risks and benefits with your doctor first.

When is it an emergency?

Chest pain with shortness of breath, sweating, or pain spreading to your arms, neck, or shoulders is not heartburn - treat it as an emergency first. Trouble breathing or swallowing and facial or throat swelling mean 911. For an overdose, call Poison Control at 1-800-222-1222. Pymander's escalation routing is built and tested specifically for this class of decision; see the safety architecture working paper.

What a Pymander AI doctor consult looks like

Day 5 of the 14-day esomeprazole course - is the heartburn easing off by now?
Took it an hour before breakfast every day. Yesterday was the first day without the afternoon burn. Planning to finish all 14 days.
Thanks for giving me all this information. Based on what you've said, the course is kicking in on the expected 1-to-4-day schedule and finishing all 14 days is the right call. If the burn returns before 4 months are up, that is a doctor visit rather than another box. Here's your care note to share with your care team.
Care note
Esomeprazole course check
Day 5 of OTC esomeprazole 14-day course; heartburn improving since day 4. Taking 1 hour before breakfast. Plans to complete course.
View care note →

Illustrative example, not a real member's messages.

Common questions

Why can't I just take Nexium whenever heartburn hits?

Because it is a course, not a rescue. MedlinePlus says nonprescription esomeprazole is not for immediate relief and can take 1 to 4 days to reach full benefit - it works by turning down acid production over days. The OTC course is 14 days, once a day before breakfast, and no more than one course every 4 months without a doctor.

Can I take esomeprazole with clopidogrel?

Avoid it. The label says to avoid using esomeprazole with clopidogrel because it interferes with the enzyme that activates the antiplatelet - the same warning MedlinePlus gives for omeprazole. If you take clopidogrel, your doctor picks your acid reducer. That conversation is not optional.

What happens if my heartburn comes back after the 14 days?

Timing decides. If symptoms return sooner than 4 months after finishing, MedlinePlus says call your doctor rather than repeating the course. Heartburn that keeps bouncing back needs a workup, not a subscription to the purple box.

How is esomeprazole different from omeprazole?

They are nearly siblings - both are proton pump inhibitors with the same mechanism, OTC courses, and interaction lists. Esomeprazole is the newer, single-isomer version of the same chemistry. Choice between them is mostly about price, insurance, and what your body responds to; your pharmacist can compare them for you.

Can I drink alcohol while taking esomeprazole?

Neither the FDA label nor MedlinePlus lists a specific alcohol interaction. Alcohol relaxes the valve that holds stomach acid down and triggers the exact heartburn you are treating, so it works against the course - limiting it during the 14 days is the sensible move.

Are there risks to taking a PPI long-term?

Yes, and they are duration-dependent. MedlinePlus flags low magnesium, low B12, osteoporosis, and autoimmune flares, and the label notes long-term use can lead to B12 deficiency and rarely low magnesium, with a 20 mg cap for severe liver impairment. MedlinePlus says if you are 70 or older, talk through risks and benefits with your doctor - long-term use is a reviewed decision.

Sources

Pymander is not a replacement for a physician and does not provide medical advice, diagnosis, or treatment.

Free AI doctor, 24/7 by textStart a free AI doctor consult