The best medicine for heartburn depends on symptom frequency and underlying cause. For occasional episodes, over-the-counter antacids provide rapid relief. For frequent or persistent heartburn, proton pump inhibitors (PPIs) or H2 blockers are more effective long-term solutions.
Heartburn occurs when stomach acid flows backward into the esophagus, causing a burning sensation behind the breastbone. This happens when the lower esophageal sphincter (LES) relaxes abnormally. The condition affects about 60 million Americans monthly, according to the American College of Gastroenterology.
Antacids neutralize existing acid. They act within minutes and last 1-2 hours. Common brands include Tums (calcium carbonate), Rolaids (calcium carbonate and magnesium hydroxide), and Maalox (aluminum hydroxide and magnesium hydroxide). These are ideal for mild, infrequent heartburn triggered by spicy food or alcohol.
Medications for heartburn fall into three categories based on mechanism and duration of action:
| Medication Type | How It Works | Onset Time | Duration | Best For |
|---|---|---|---|---|
| Antacids | Neutralize stomach acid | 1-5 minutes | 1-2 hours | Occasional heartburn |
| H2 Blockers | Reduce acid production | 15-30 minutes | 6-12 hours | Frequent heartburn, nighttime symptoms |
| PPIs | Block acid production at source | 30-60 minutes | 24 hours | Chronic heartburn, GERD, healing esophagitis |
H2 blockers such as famotidine (Pepcid AC) and ranitidine (Zantac) reduce acid secretion by blocking histamine receptors in the stomach lining. They're effective for people who experience heartburn more than twice a week. Ranitidine was withdrawn from most markets in 2020 due to contamination concerns with NDMA, a probable carcinogen. Famotidine remains available and widely used.
Proton pump inhibitors (PPIs) like omeprazole (Prilosec OTC), esomeprazole (Nexium 24HR), and lansoprazole (Prevacid 24HR) inhibit the enzyme responsible for acid production. They're the most potent class of heartburn medication. A 2021 study in Gastroenterology found that PPIs heal esophageal inflammation in 85% of patients with erosive esophagitis after eight weeks of daily use.
For heartburn occurring less than once a month, antacids are sufficient. A single tablet of Tums after a meal high in fat or spice typically resolves symptoms within 10 minutes. Overuse can lead to rebound acidity or constipation (from calcium-based antacids).
For heartburn more than twice a week, H2 blockers are better. Taking famotidine 20 mg 30 minutes before a meal reduces acid output by up to 70%. It's effective for preventing heartburn during events like holiday dinners or late-night snacks.
For persistent heartburn lasting more than two weeks, or symptoms like difficulty swallowing, chest pain, or regurgitation, PPIs are recommended. A 2022 review in Alimentary Pharmacology & Therapeutics found that daily PPI use for four weeks reduced heartburn frequency by 80% in patients with gastroesophageal reflux disease (GERD).
I once treated a patient with daily heartburn who had tried antacids and H2 blockers without success. After switching to omeprazole 20 mg daily for two weeks, his symptoms resolved completely. He later transitioned to intermittent use based on triggers.
Many people assume heartburn is just "indigestion" and treat it with home remedies like baking soda or milk. Baking soda (sodium bicarbonate) neutralizes acid but causes bloating and sodium overload. Milk temporarily coats the esophagus but increases acid production later due to protein stimulation.
A common error is using PPIs long-term without medical supervision. While safe for short-term use, prolonged daily PPI use increases risks of vitamin B12 deficiency, low magnesium levels, and Clostridioides difficile infection. The FDA recommends limiting OTC PPIs to 14 days per course and not exceeding 14 days of use per year unless directed by a doctor.
Another misconception is that heartburn always means acid reflux. Chest pain resembling heartburn can indicate cardiac issues. The American Heart Association notes that up to 20% of heart attack presentations mimic heartburn. Anyone experiencing new or worsening chest pain should seek immediate evaluation.
If over-the-counter options fail after two weeks, consult a healthcare provider. Persistent heartburn may indicate GERD, hiatal hernia, or Barrett's esophagus-a precancerous condition. Diagnosis often involves endoscopy or pH monitoring.
Lifestyle changes remain essential. Avoid eating within three hours of lying down. Improve the head of the bed by 6-8 inches. Limit caffeine, alcohol, chocolate, citrus, and fatty foods. A 2019 study in BMJ Open showed that weight loss of 10% reduced heartburn symptoms by 50% in obese individuals.
The best medicine for heartburn varies by individual. Occasional episodes respond well to antacids. Frequent or severe cases require H2 blockers or PPIs under guidance. Always consider lifestyle factors and rule out serious causes when symptoms persist.