Nexium (esomeprazole) and Prevacid (lansoprazole) are proton pump inhibitors (PPIs) that are both sold over the counter and by prescription. They control heartburn and heal reflux damage similarly at standard doses. Differences include available forms (Prevacid has a dissolving SoluTab), interaction with clopidogrel (Prevacid has less effect), and pediatric approvals.
- OTC versions: Nexium 24HR (esomeprazole 20 mg) and Prevacid 24HR (lansoprazole 15 mg), each taken once daily for a 14-day course, up to 3 courses a year.
- Prescription doses: Nexium 20 or 40 mg; Prevacid 15 or 30 mg.
- Effectiveness: some trials show slightly faster healing of erosive esophagitis with esomeprazole 40 mg than lansoprazole 30 mg; for symptom relief, they’re similar.
- Easy-to-swallow forms: Prevacid SoluTab melts on the tongue; both have capsules that can be opened onto applesauce.
- Clopidogrel (Plavix): avoid esomeprazole; lansoprazole has less effect.
- Long-term risks (both): C. difficile infection, fractures, low magnesium, low vitamin B12 and kidney inflammation.
This is general information, not medical advice. See a doctor if heartburn returns soon after an OTC course, or if you have trouble swallowing, weight loss, vomiting blood or black stools.
Nexium vs Prevacid at a glance
| Nexium (esomeprazole) | Prevacid (lansoprazole) | |
|---|---|---|
| OTC product | Nexium 24HR 20 mg | Prevacid 24HR 15 mg |
| Prescription doses | 20 mg, 40 mg | 15 mg, 30 mg |
| Forms | Capsules, tablets (OTC), granules, IV | Capsules, SoluTab (dissolving tablet) |
| When to take | At least 1 hour before a meal | Before eating, usually breakfast |
| Children | 1 month and older for some uses | 1 year and older for some uses |
| Clopidogrel interaction | Avoid | Less effect |
| Generics | Yes | Yes |
How they work
Both drugs switch off the stomach’s proton pumps, which make acid. Because pumps keep being replaced, a PPI needs a few days of daily use to reach full effect. They aren’t designed for instant relief; antacids (Tums) or an H2 blocker (Pepcid) work faster for occasional heartburn.
Which works better?
- Erosive esophagitis: in a large trial, esomeprazole 40 mg healed slightly more people at 8 weeks than lansoprazole 30 mg (about 93% vs 89%), with a bigger gap in more severe esophagitis.
- Heartburn symptoms: both relieve symptoms similarly in most people.
- H. pylori: both are used in combination antibiotic regimens.
For most people, the difference between them is small. Timing (before breakfast) and consistency matter more.
Dosing
OTC
| Nexium 24HR | Prevacid 24HR | |
|---|---|---|
| Dose | 20 mg once daily | 15 mg once daily |
| How | Morning, before eating, with water | Morning, before eating, with water |
| Course | 14 days | 14 days |
| Repeat | No more than every 4 months | No more than every 4 months |
Prescription
- Nexium: 20 to 40 mg once daily, usually 4 to 8 weeks for esophagitis.
- Prevacid: 15 to 30 mg once daily, depending on the condition; 30 mg twice daily in some H. pylori regimens.
- Prevacid SoluTab: place on the tongue and let it dissolve, then swallow. Can also be dissolved in water for an oral syringe or feeding tube.
Drug interactions
| Interacting drug | Nexium | Prevacid |
|---|---|---|
| Clopidogrel (Plavix) | Avoid | Less effect; often acceptable |
| Methotrexate (high dose) | Can raise levels | Can raise levels |
| Rilpivirine, atazanavir (HIV) | Avoid or adjust | Avoid or adjust |
| Tacrolimus | May raise levels | May raise levels |
| Theophylline | Little effect | May lower levels slightly |
| Drugs needing acid to absorb (ketoconazole, iron) | Reduced absorption | Reduced absorption |
| Warfarin | Monitor INR | Monitor INR |
Side effects
Common:
- headache
- diarrhea or constipation
- nausea and stomach pain
Long-term use risks (both):
- C. difficile diarrhea
- hip, wrist and spine fractures
- low magnesium
- vitamin B12 deficiency
- kidney inflammation (acute interstitial nephritis)
- fundic gland polyps
- rarely, lupus-like reactions
Lansoprazole has also been linked in some reports to microscopic colitis, a cause of watery diarrhea, somewhat more often than other PPIs. If you develop persistent watery diarrhea on any PPI, tell your doctor.
How they compare with other heartburn medicines
| Medicine | Type | Speed | Best for |
|---|---|---|---|
| Tums, Rolaids | Antacid | Minutes | Occasional heartburn, fast relief |
| Pepcid AC (famotidine) | H2 blocker | 15 to 60 minutes | Heartburn a few times a week; taken before trigger meals |
| Prilosec OTC (omeprazole) | PPI | 1 to 4 days | Frequent heartburn; similar to Nexium |
| Nexium 24HR, Prevacid 24HR | PPI | 1 to 4 days | Frequent heartburn (2 or more days a week) |
| Protonix (pantoprazole) | PPI, prescription only | 1 to 4 days | Reflux in people on clopidogrel or many other drugs |
Esomeprazole is the “S” mirror-image form of omeprazole (Prilosec), so the two behave similarly. Read our comparisons of Nexium vs Protonix and Pepcid vs Protonix.
Lifestyle steps that make any PPI work better
- Take it before breakfast, not at bedtime, unless your doctor says otherwise.
- Avoid lying down within 3 hours of eating.
- Raise the head of your bed 15 to 20 cm (6 to 8 inches) if you have night-time symptoms.
- Lose weight if you’re overweight; even modest weight loss reduces reflux.
- Notice your triggers: large or fatty meals, alcohol, chocolate, coffee, mint, spicy foods and smoking affect many people.
- Stop smoking, which weakens the valve between the esophagus and stomach.
PPIs in pregnancy and breastfeeding
Heartburn is very common in pregnancy. Lifestyle changes and antacids are usually tried first, then an H2 blocker. If those aren’t enough, doctors may prescribe a PPI; large studies haven’t shown a clear increase in birth defects with PPIs, and omeprazole and lansoprazole have the most data. Always check with your obstetrician before starting any PPI in pregnancy or while breastfeeding.
Stopping a PPI
After several weeks of daily use, stopping suddenly can cause rebound acid, a short-lived increase in heartburn that can make it seem like you still need the drug. To reduce this:
- step down to the lowest dose, or every other day, for a week or two
- use an antacid or famotidine for breakthrough symptoms
- give it 2 to 4 weeks before deciding the PPI is still needed
If you take a PPI for Barrett’s esophagus, severe esophagitis or ulcer prevention, don’t stop without your doctor’s advice.
Which should you choose?
| Your situation | Typical choice |
|---|---|
| Frequent heartburn, self-treating | Either OTC version for 14 days |
| Trouble swallowing pills | Prevacid SoluTab |
| Taking clopidogrel | Prevacid or pantoprazole rather than Nexium |
| Severe erosive esophagitis | Either; esomeprazole 40 mg may heal slightly faster |
| Infant or young child | Ask a pediatrician; approvals and forms differ |
| Lowest cost | Store-brand esomeprazole or lansoprazole |
When to see a doctor
Don’t keep self-treating if you have:
- heartburn more than twice a week despite OTC treatment
- difficulty or pain when swallowing
- unexplained weight loss
- vomiting blood or material that looks like coffee grounds
- black, tarry stools
- chest pain with sweating or breathlessness (call 911; it could be the heart)
- heartburn for the first time over age 60
Frequently asked questions
Is Nexium better than Prevacid?
For most people they work similarly. A large trial found esomeprazole 40 mg healed erosive esophagitis slightly better than lansoprazole 30 mg, especially in severe cases, but symptom relief is comparable.
Can I take Nexium and Prevacid together?
No. Both are PPIs, so combining them adds risk without benefit.
How long does it take Nexium or Prevacid to work?
Some relief may start on day 1, but full effect takes 1 to 4 days of daily use. For immediate relief, an antacid works faster.
Which is better with Plavix?
Avoid esomeprazole (Nexium) with clopidogrel. Lansoprazole (Prevacid) and pantoprazole have less effect on clopidogrel. Ask your doctor before combining.
Can I take OTC Nexium or Prevacid longer than 14 days?
Not without a doctor’s advice. The OTC label allows a 14-day course up to 3 times a year. If you need more, see a doctor to look for the cause and the right long-term plan.
References
- FDA. Over-the-counter heartburn treatment
- Castell DO, et al. Esomeprazole (40 mg) compared with lansoprazole (30 mg) in the treatment of erosive esophagitis. Am J Gastroenterol. 2002;97:575-583
- DailyMed. Clopidogrel label: avoid omeprazole or esomeprazole
- MedlinePlus. Lansoprazole
- MedlinePlus. Esomeprazole
- Katz PO, et al. ACG clinical guideline for GERD. Am J Gastroenterol. 2022;117:27-56
About this article
Written by the Health Linear Editorial Team from primary sources such as FDA prescribing information, DailyMed, NIH and peer-reviewed studies, which are linked in the article. Last updated October 30, 2026.
Read our editorial process and medical disclaimer. Spotted an error? Tell us and we will correct it.