Heartburn usually lasts from a few minutes to a few hours. See a doctor if it happens often or lasts more than two weeks.
Duration
Occasional heartburn lasts a few minutes to a few hours, usually 30 minutes to 2 hours after a meal.
Quick relief
- Antacids (Tums) work in minutes.
- H2 blockers (famotidine) in about an hour.
- PPIs (omeprazole) take 1 to 4 days for full effect.

Triggers
Spicy and fatty foods, coffee, alcohol, large meals and lying down after eating.
Prevention
Eat smaller meals, avoid eating 3 hours before bed, raise the head of the bed and lose excess weight.
See a doctor if
Heartburn happens more than twice a week, lasts over 2 weeks, or comes with trouble swallowing, weight loss or black stool.
Emergency
Chest pain with sweating or arm pain may be a heart attack, so call 911.
Based on data from the American College of Gastroenterology and the Mayo Clinic.







