Information last reviewed: May 2026 — for educational purposes only.
Nexium (esomeprazole magnesium) is a proton pump inhibitor (PPI) — one of the most prescribed drug classes worldwide — used for the treatment of gastroesophageal reflux disease (GERD), healing of erosive esophagitis, maintenance of esophagitis remission, H. pylori eradication (in combination regimens), and Zollinger-Ellison syndrome. Nexium 20 mg is available over the counter for frequent heartburn; Nexium 40 mg requires a prescription for more serious conditions including erosive esophagitis and GERD management.
What Is Esomeprazole?
Esomeprazole is the S-enantiomer of omeprazole (the original Prilosec). As a pure single isomer, esomeprazole has more predictable and consistent pharmacokinetics compared to the racemic mixture of omeprazole — resulting in slightly higher and more consistent plasma concentrations and somewhat better acid control at equivalent doses in comparative studies. This made Nexium a major commercial success (one of the best-selling drugs in history) when it debuted in 2001, even though the clinical advantage over generic omeprazole for most patients is modest.
Like all PPIs, esomeprazole inhibits the H+/K+-ATPase (proton pump) in the gastric parietal cell — the final step of acid secretion. It is a prodrug that requires activation in the acidic secretory canaliculus of the parietal cell. Maximum effect builds over the first 3–5 days of daily dosing because only actively secreting pumps are inhibited. For best efficacy, PPIs should be taken 30–60 minutes before a meal.
OTC vs. Prescription Status
OTC (Nexium 24HR): 20 mg delayed-release capsules; indicated for adults with frequent heartburn (2+ days/week); self-treatment for up to 14 days; may repeat every 4 months if needed; not for immediate relief of a single episode.
Prescription: 20 mg and 40 mg delayed-release capsules; also available as oral suspension 10/20/40 mg packets; IV esomeprazole for hospital use. Rx indications include erosive esophagitis (40 mg daily for 4–8 weeks), GERD maintenance (20–40 mg daily), H. pylori eradication (40 mg + antibiotics), and Zollinger-Ellison syndrome (doses up to 240 mg/day in divided doses).
Strengths and Available Forms
- 20 mg delayed-release capsules — OTC Nexium 24HR; also Rx maintenance dose
- 40 mg delayed-release capsules — Rx only; standard healing and GERD management dose
- 2.5 mg, 5 mg, 10 mg, 20 mg, 40 mg oral suspension packets — Rx; for patients who cannot swallow capsules (dispersed in water); 2.5/5 mg for paediatric use in GERD age ≥1 year
- 20 mg and 40 mg IV injection — for hospital use when oral not feasible; active peptic ulcer bleeding
- Esomeprazole strontium 49.3 mg (Rx) — equivalent to 40 mg esomeprazole magnesium; alternative salt form
Note: Nexium capsules can be opened and the granules mixed with an acidic drink (applesauce or apple juice) for patients who cannot swallow capsules. Do not crush or chew the granules — the enteric coating is essential for protecting the drug through the stomach.
Price of Generic Esomeprazole
Generic esomeprazole became available in the US after Nexium's patent expiry. Generic 40 mg delayed-release capsules are available at low cost with or without insurance. The OTC 20 mg Nexium 24HR is moderately priced; store-brand generics are cheaper. For Rx doses, generic esomeprazole 40 mg is typically very affordable with GoodRx or insurance.
Frequently Asked Questions
Is Nexium (esomeprazole) better than Prilosec (omeprazole)?
For most patients with GERD, generic omeprazole provides equivalent clinical benefit to esomeprazole at much lower cost. Head-to-head trials show modest differences in healing rates for severe erosive esophagitis (where esomeprazole may have a slight edge), but for typical GERD and heartburn control, they perform similarly. Generic omeprazole 20–40 mg is therefore a cost-effective first choice; esomeprazole may be preferred when omeprazole provides insufficient acid control.
Should I take Nexium before or after meals?
PPIs including esomeprazole work best when taken 30–60 minutes before a meal (breakfast is ideal for once-daily dosing). This timing ensures the drug is absorbed and activated when parietal cells are most active in response to food. Taking PPIs after meals or at bedtime without a prior meal reduces their effectiveness.
Are there long-term risks of taking PPIs like Nexium daily?
Long-term PPI use has been associated with reduced magnesium absorption (hypomagnesaemia), reduced calcium absorption (potential bone density loss with very long-term use), increased risk of Clostridium difficile infection, and potential B12 deficiency. For patients requiring chronic PPI therapy, periodic monitoring and using the lowest effective dose are recommended. Discuss the benefits versus risks of long-term use with your physician.
Disclaimer: This page is for general informational purposes only and does not constitute medical advice. Always consult a licensed healthcare professional before taking any medication. See our full disclaimer.