The best heartburn medicine depends largely on two questions: how quickly do you need relief, and how frequently does the heartburn occur? Antacids, H2 blockers, and proton pump inhibitors all reduce heartburn symptoms differently — antacids act fastest but wear off soonest, while OTC PPIs are built for frequent heartburn rather than immediate relief.
Antacids: Faster, Shorter Relief
Antacids neutralize acid already present in the stomach.
Common ingredients include:
- Calcium carbonate
- Magnesium hydroxide
- Aluminum hydroxide
- Sodium bicarbonate
Antacids may work relatively quickly for occasional symptoms, but their effects may not last as long as other options.
They can interact with prescription medications by changing absorption. Separate them from other medicines when directed by a pharmacist or product label.
Ask before use when you have kidney disease, heart failure, sodium restrictions, or take several medications.
H2 Blockers: Longer Acid Reduction
H2 blockers reduce the amount of acid produced by the stomach.
A common OTC example is famotidine.
They may take longer to work than antacids but can provide relief for a longer period.1
Some products combine an H2 blocker with an antacid for both faster and longer relief.
Proton Pump Inhibitors: Frequent Heartburn
OTC proton pump inhibitors, or PPIs, include products containing:
- Omeprazole
- Esomeprazole
- Lansoprazole
FDA states that OTC PPIs are intended for frequent heartburn occurring two or more days per week. They are not intended for immediate relief and may take one to four days to reach full effect.1
OTC PPIs are generally taken as a treatment course according to the Drug Facts label, not randomly as immediate rescue medication.
Do not continue repeated OTC courses without discussing persistent symptoms with a healthcare professional.
Which Option Fits the Symptom Pattern?
Occasional, Mild Heartburn
An antacid may provide quick, temporary relief.
Heartburn Expected After a Trigger
An H2 blocker may be considered when used according to its label.
Frequent Heartburn
An OTC PPI may be appropriate for adults who meet the label criteria, but persistent or recurrent symptoms should be medically evaluated.
Lifestyle Measures That May Help
Depending on the person, symptoms may improve by:
- Avoiding meals close to bedtime
- Eating smaller portions
- Identifying personal food triggers
- Limiting alcohol
- Stopping tobacco use
- Elevating the head during sleep when appropriate
- Addressing weight when recommended by a healthcare professional
Do not assume every episode of chest discomfort is heartburn.
When Heartburn Could Be Something More Serious
Seek urgent medical attention for:
- Chest pressure or squeezing
- Pain spreading to the arm, jaw, back, or shoulder
- Sweating
- Shortness of breath
- Dizziness
- Fainting
- Sudden severe symptoms
Contact a healthcare professional for:
- Trouble or pain with swallowing
- Vomiting blood
- Black or bloody stools
- Unexplained weight loss
- Persistent vomiting
- Frequent nighttime symptoms
- Symptoms continuing despite appropriate OTC treatment
- New symptoms later in life
- Heartburn during pregnancy
- Long-term need for medication
Medication Interactions Matter
Acid-reducing medicines can change the absorption of other medications.
Antacids, H2 blockers, and PPIs are not always interchangeable when another drug depends on stomach acidity for proper absorption.
Provide your complete medication list to the pharmacist before selecting a product.
The Bottom Line
For heartburn: antacids generally act faster, H2 blockers reduce acid for longer, and OTC PPIs are designed for frequent heartburn rather than instant relief. Persistent heartburn should not become permanent furniture in your life without medical evaluation.
Frequently Asked Questions
What's the fastest-acting heartburn medicine?
Antacids like calcium carbonate or magnesium hydroxide neutralize acid already in the stomach and typically work fastest, though relief doesn't last as long as with H2 blockers or PPIs.
Can I use an OTC PPI for occasional heartburn?
No. FDA states OTC PPIs like omeprazole are intended for frequent heartburn occurring two or more days per week, not for immediate relief. They can take one to four days to reach full effect.
How long can I take an OTC heartburn medication before seeing a doctor?
OTC PPIs are meant to be used as a defined treatment course per the label, not indefinitely. Don't repeat courses without discussing persistent symptoms with a healthcare professional.
When is heartburn actually something more serious?
Seek urgent care for chest pressure or squeezing, pain spreading to the arm, jaw, back, or shoulder, sweating, shortness of breath, dizziness, or fainting — these can signal a heart attack rather than heartburn.
Match the medication to the pattern: antacids for occasional relief, H2 blockers for longer coverage after a known trigger, and OTC PPIs for frequent heartburn used as a defined course, not an as-needed rescue.
References
- U.S. Food & Drug Administration. Over-the-Counter (OTC) Heartburn Treatment. fda.gov/drugs/understanding-over-counter-medicines/over-counter-otc-heartburn-treatment