Skip to content
ppharmaranks
Menu

Best treatments for heartburn

12 products may treat heartburn, spanning FDA drug classes such as histamine-2 receptor antagonist, proton pump inhibitor. The current highest-rated option is famotidine. Ranked below by our independent recall-safety rating (rated where FDA data exists) — not medical advice; always consult a professional.

Quick answer: Of the 12 drugs we list for heartburn, 7 are available as lower-cost generics, spanning classes such as histamine-2 receptor antagonist, proton pump inhibitor. They’re ranked by each drug’s FDA recall-safety record — not clinical effectiveness for heartburn — so confirm the right choice with your prescriber.

New to this? See the plain-language over-the-counter & self-care guide →

Rated against independent regulatory sources·Last updated August 19, 2026·How we rate

Get treated for heartburn online

Licensed online providers — consult & get prescribed if eligible.

Advertising disclosure: We may earn a commission, at no extra cost to you. This never affects our ratings. Details

Top-rated picks for heartburn: 1. Famotidine · 2. Nexium · 3. Nexium 24hr

Top-rated treatments for heartburn, ranked by pharmaranks score
#DrugRatingPharmacy pays
170/100$2View →
270/100View →
370/100View →
470/100$2View →
570/100View →
670/100$10View →
766/100View →
8Not yet ratedView →
9Not yet rated$10View →
10Not yet rated$126View →

Full ranking · 12 treatments

#1 of 11 in Histamine-2 Receptor Antagonist

famotidine

PrescriptionFDA-sourced

70/100

Famotidine is a histamine-2 receptor antagonist used to treat Duodenal Ulcer, Dyspepsia, Peptic Esophagitis, Gastroesophageal Reflux.

(1 data points)
histamine-2 receptor antagonistduodenal ulcerdyspepsia

Pharmacy pays

From ~$0.91/30· 5 forms
View details →
#1 of 7 in Proton Pump Inhibitor

nexium

PrescriptionFDA-sourced

70/100

Nexium (Esomeprazole Magnesium) is a proton pump inhibitor used to treat Duodenal Ulcer, Esophagitis, Gastroesophageal Reflux, Heartburn.

(1 data points)
proton pump inhibitorduodenal ulceresophagitis

Price varies

View details →
#1 of 7 in Proton Pump Inhibitor

nexium 24hr

Over-the-counterFDA-sourced

70/100

Nexium 24hr (Esomeprazole Magnesium) is a proton pump inhibitor used to treat Duodenal Ulcer, Esophagitis, Gastroesophageal Reflux, Heartburn.

(3 data points)
proton pump inhibitorduodenal ulceresophagitis
Available online
View details →
#1 of 11 in Histamine-2 Receptor Antagonist

pepcid ac

Over-the-counterFDA-sourced

70/100

Pepcid Ac (Famotidine) is a histamine-2 receptor antagonist used to treat Duodenal Ulcer, Dyspepsia, Peptic Esophagitis, Gastroesophageal Reflux.

(1 data points)
histamine-2 receptor antagonistduodenal ulcerdyspepsia

Pharmacy pays

From ~$0.91/30· 5 forms
View details →
#1 of 7 in Proton Pump Inhibitor

prilosec otc

Over-the-counterFDA-sourced

70/100

Prilosec OTC (Omeprazole Magnesium) is a proton pump inhibitor used to treat Duodenal Ulcer, Esophagitis, Gastroesophageal Reflux, Heartburn.

(1 data points)
proton pump inhibitorduodenal ulceresophagitis
Available online
View details →
#1 of 11 in Histamine-2 Receptor Antagonist

tagamet hb

Over-the-counterFDA-sourced

70/100

Tagamet Hb (Cimetidine) is a histamine-2 receptor antagonist used to treat Duodenal Ulcer, Dyspepsia, Peptic Esophagitis, Gastroesophageal Reflux.

(9 data points)
histamine-2 receptor antagonistduodenal ulcerdyspepsia

Pharmacy pays

From ~$6.30/30· 5 forms Save up to 84% in class
View details →

Frequently asked

What treats heartburn?
Our catalog lists 12 products that may treat heartburn, based on NIH RxClass (MED-RT “may treat”) drug-classification data — not the verbatim FDA label. They're rated where FDA recall-safety data exists; the current top-rated option is famotidine.
What is the best-rated treatment for heartburn?
By our independent recall-safety rating — not an efficacy measure — famotidine ranks highest among the products we list for heartburn. Always consult a professional.
How are these treatments ranked?
By our independent score, currently based on FDA regulatory recall-safety data (the methodology blends additional sources as they come online). See the How we rate page.
What types of drugs treat heartburn?
Treatments for heartburn span FDA drug classes including histamine-2 receptor antagonist, proton pump inhibitor. Compare every option side by side, ranked by independent rating, above.

Treatment associations are derived from NIH RxClass (MED-RT “may treat”) drug-classification data — not the verbatim FDA label. This is general reference, not medical advice — always consult a licensed professional.