Generic omeprazole is Prilosec, generic famotidine is Pepcid, generic calcium carbonate is Tums: the FDA requires the identical active ingredient at the same dose. Yet the brand costs two to three times more. So the honest way to buy heartburn relief is by cost per dose, and by matching the type to how often you actually get it. Here is every option ranked.
Prices reviewed 31 July 2026 . Typical cost per dose, in USD; read the label. Not medical advice, see a doctor for persistent heartburn.
We costed 11 OTC heartburn medicines by cost per dose. Generic omeprazole is about $0.25 a pill versus Prilosec OTC; generic famotidine is pennies versus Pepcid; generic calcium carbonate undercuts Tums. All are the same active ingredient the FDA requires. The trick is matching the type to how often you get heartburn.
Method: typical cost per standard dose from common US pack prices. Generic and brand versions of each drug are the same active ingredient at the same strength and FDA-bioequivalent. The three types work differently: antacids are immediate, H2 blockers last hours, PPIs are once-daily for frequent heartburn. Prices are indicative and change. Cite this: "usefulHQ Heartburn Medicine Cost Study 2026", usefulhq.com/heartburn-medicine-cost/.
Occasional sufferers use an antacid a few days a month; frequent heartburn (twice a week or more) usually means a daily PPI.
| Heartburn medicine | Type | Per dose | Per month | Per year | Best for | |
|---|---|---|---|---|---|---|
| Generic calcium carbonateCheapest The same drug as Tums; neutralises acid in minutes for occasional, mild heartburn. |
Antacid | $0.03 | $0.60 | $7 | Cheapest, immediate relief | Check price |
| Generic famotidine (bulk) The same drug as Pepcid; cuts acid for hours, pennies a tablet in a large count. |
H2 blocker | $0.06 | $1.20 | $14 | Cheapest few-times-a-week | Check price |
| Tums (brand) Calcium carbonate; the same chewable as generic at a brand premium. |
Antacid | $0.06 | $1.20 | $14 | Brand antacid | Check price |
| Store-brand famotidine The same as Pepcid in retailer packaging; lasts several hours. |
H2 blocker | $0.15 | $3.00 | $36 | Store-brand H2 | Check price |
| Generic alginate The same as Gaviscon; forms a foam barrier that helps with reflux after meals. |
Antacid | $0.15 | $3.00 | $36 | Reflux barrier | Check price |
| Generic omeprazole The same drug as Prilosec OTC; one pill a day for frequent heartburn, a fraction of the brand. |
PPI (24-hour) | $0.25 | $5.00 | $60 | Best value daily PPI | Check price |
| Generic esomeprazole Identical to Nexium 24HR; 24-hour acid control once daily. |
PPI (24-hour) | $0.29 | $5.80 | $70 | Same as Nexium | Check price |
| Pepcid (brand) Famotidine; identical to the generic, several times the price per tablet. |
H2 blocker | $0.30 | $6.00 | $72 | Brand H2 blocker | Check price |
| Generic lansoprazole Identical to Prevacid 24HR; another once-daily PPI option. |
PPI (24-hour) | $0.35 | $7.00 | $84 | Same as Prevacid | Check price |
| Prilosec OTC (brand) Omeprazole; the exact same drug as generic at two to three times the price. |
PPI (24-hour) | $0.70 | $14.00 | $168 | Brand daily PPI | Check price |
| Nexium 24HR (brand) Esomeprazole; identical to the generic and the dearest per dose here. |
PPI (24-hour) | $0.85 | $17.00 | $204 | Priciest brand PPI | Check price |
Yes, the identical drug (omeprazole) at the same dose, FDA-bioequivalent. Generic omeprazole is about 25 to 30 cents a pill versus 70+ for brand Prilosec OTC. Same for famotidine and Pepcid, esomeprazole and Nexium, calcium carbonate and Tums.
Match it to frequency: antacids (Tums) for immediate occasional relief, H2 blockers (famotidine) for a few times a week, PPIs (omeprazole) once daily for frequent heartburn (twice a week or more). PPIs take 1 to 4 days to fully work.
Generic calcium carbonate (Tums) at a few cents a dose for occasional relief, and bulk generic famotidine at about 5 to 10 cents. For daily treatment, generic omeprazole is the value pick at ~25 cents vs 70+ for brand.
Antacids and H2 blockers are fine occasionally. PPIs are meant for 14-day courses a few times a year, not indefinite daily use without medical advice, and stopping suddenly can cause rebound acid. Frequent need for more than two weeks warrants a doctor's visit.