Health information to help you understand symptoms. It isn't a diagnosis.
Check symptoms

Heartburn

Also called: Acid reflux, GERD, acid indigestion

Heartburn is a burning feeling in the chest, behind the breastbone, often after eating or when lying down. It happens when stomach acid backs up into the esophagus (acid reflux). Occasional heartburn is common and eases with lifestyle changes and antacids. Chest pain that might be your heart needs 911.

Common causesAcid reflux, large or fatty meals, pregnancy, obesity
Usually serious?Usually not
Get checked ifIt happens more than twice a week or comes with trouble swallowing
If you think it's an emergency, call 911.Thinking about suicide? Call or text 988.

Overview

A muscle at the bottom of the esophagus normally keeps stomach acid from flowing back up. When it relaxes or weakens, acid can splash up and cause burning. You may also have a sour taste, burping, or food coming back up.

Heartburn that happens more than twice a week may be gastroesophageal reflux disease (GERD). Over time, GERD can damage the esophagus. Heart attack pain can feel like heartburn, so be careful with new chest pain.

When to get medical care

Call 911Chest pain with pressure, sweating, shortness of breath, or pain in the arm, jaw, or back (possible heart attack). Vomiting blood or material that looks like coffee grounds.
Get care todayBlack, tarry stools. Severe pain or food stuck in your throat. Heartburn with vomiting that won't stop.
See a doctor soonHeartburn more than twice a week. Heartburn that doesn't improve with over-the-counter medicines. Trouble or pain swallowing. Weight loss without trying. Hoarseness, cough, or wheezing with heartburn. Heartburn that started after age 60.

Causes

Common causes include large or fatty meals, lying down after eating, being overweight, pregnancy, smoking, alcohol, coffee, chocolate, peppermint, spicy and acidic foods, and a hiatal hernia. Some medicines can also cause it, like NSAIDs, some blood pressure medicines, and some osteoporosis medicines.

OwieClear has pages on 5 conditions that can cause heartburn. Each shows how soon to get care.

Common causes

  • Acid reflux (GERD)See a doctor if it doesn't get better

    Stomach acid flowing back into the esophagus, causing heartburn or a sour taste.

  • Esophagitis (inflamed food pipe)Often needs care today

    Inflammation of the food pipe from reflux, pills that get stuck (like doxycycline, iron, or bone medicines), infections such as yeast or herpes in people with…

Less likely causes

  • Chronic coughSee a doctor if it doesn't get better

    A cough lasting more than 8 weeks in adults (4 weeks in children).

  • Barrett's esophagusSee a doctor if it doesn't get better

    Changes in the lining of the food pipe caused by long-term acid reflux.

  • Esophageal adenocarcinomaSee a doctor if it doesn't get better

    The type of esophageal cancer linked to long-term acid reflux and Barrett's esophagus, usually in the lower esophagus near the stomach.

What you can do at home

  • Eat smaller meals, and avoid foods that trigger heartburn.
  • Don't lie down for 2 to 3 hours after eating.
  • Raise the head of your bed 6 to 8 inches with blocks or a wedge.
  • Lose weight if you're overweight.
  • Don't smoke, and limit alcohol and caffeine.
  • Wear loose clothing around your waist.

Medicines

Antacids (Tums, Maalox) give quick relief. H2 blockers like famotidine (Pepcid) and proton pump inhibitors like omeprazole (Prilosec) reduce acid. Don't use them for more than 2 weeks without talking to your provider.

At the doctor

Heartburn is often diagnosed from your symptoms.

Questions you may be asked

  • How often it happens and what triggers it
  • What helps
  • Trouble swallowing or weight loss
  • Vomiting or black stools
  • Your medicines

The exam

A physical exam.

Tests

  • Often no tests needed
  • An upper endoscopy if you have warning signs or symptoms that don't improve
  • pH monitoring of the esophagus
  • An ECG if heart pain is possible

Prevention

You can lower your chance of heartburn.

  • Eat smaller meals
  • Don't lie down after eating
  • Keep a healthy weight
  • Don't smoke

Check your symptoms

Most symptoms have more than one possible cause. The symptom checker looks at all of your symptoms together, plus your age, and shows how soon to get care.

Start the symptom checker

Sources

Last updated 2026-11-13.

See something wrong or unclear on this page? Suggest a correction. OwieClear is for education only and isn't medical advice.