Heartburn; Types, Causes, Symptoms, Diagnosis, Treatment

Patient Tools

Read, save, and share this guide

Use these quick tools to make this medical article easier to read, print, save, or share with a family member.

Article Summary

Heartburn is a sensation of burning in the chest caused by stomach acid backing up into the esophagus (food pipe). It is also known as acid indigestion, is a burning sensation in the central chest or upper central abdomen. The pain often rises in the chest and may radiate to the neck, throat, or angle of the jaw.  The burning is usually in the central part of the chest, just behind the sternum...

Key Takeaways

  • This article explains Causes of Heartburn in simple medical language.
  • This article explains Symptoms of Heartburn in simple medical language.
  • This article explains Diagnosis of Heartburn in simple medical language.
  • This article explains Treatment of Heartburn in simple medical language.
Educational health guideWritten for patient understanding and clinical awareness.
Reviewed content workflowUse writer and reviewer profiles for stronger trust.
Emergency safety firstUrgent warning signs are highlighted below.

Seek urgent medical care if you notice

These warning signs are general safety guidance. Local emergency numbers and clinical judgment should always come first.

  • Chest pain, severe shortness of breath, fainting, or sudden severe weakness.
  • Sudden face drooping, arm weakness, speech trouble, confusion, or vision change.
  • A rapidly worsening condition or symptoms that feel life-threatening.
1

Emergency now

Use emergency care for severe, sudden, rapidly worsening, or life-threatening symptoms.

2

See a doctor

Book a professional medical evaluation if symptoms persist, worsen, recur often, affect daily activities, or occur in a high-risk patient.

3

Learn safely

Use this article to understand possible causes, tests, treatment options, prevention, and questions to ask your clinician.

Heartburn is a sensation of burning in the chest caused by stomach acid backing up into the esophagus (food pipe). It is also known as acid indigestion, is a burning sensation in the central chest or upper central abdomen. The pain often rises in the chest and may radiate to the neck, throat, or angle of the jaw.  The burning is usually in the central part of the chest, just behind the sternum (breastbone). The burning can worsen or can be brought on by lying flat or on the right side. Pregnancy tends to aggravate heartburn.

Causes of Heartburn

Heartburn is actually a symptom of GERD (gastroesophageal reflux disease), and is caused by acid refluxing back into the esophagus. Risk factors include those that increase the production of acid in the stomach, as well as structural problems that allow acid reflux into the esophagus.

  • Some common foods that we eat and drink, stimulate increased stomach acid secretion setting the stage for heartburn. Over-the-counter medications also may precipitate heartburn. Examples of these irritants include:
    • caffeine,
    • aspirin
    • buprofen
    • Naproxen
    • carbonated beverages,
    • acidic juices (grapefruit, orange, pineapple)
    • acidic foods (tomatoes, grapefruit, and oranges)
  • Smoking and the consumption of high-fat content foods tend to affect function of the lower esophageal sphincter (LES), causing it to relax from the stomach and allow acid to reflux into the esophagus.
  • A hiatal hernia where a portion of the stomach lies within the chest instead of the in abdomen, can affect the way the LES works and is a risk factor for reflux. Hiatal hernias by themselves cause no symptoms. It is only when the LES fails that heartburn occurs.
  • Pregnancy can cause increased pressure within theabdominal cavity and affect LES function and predispose it to reflux.
  • Obesity may also cause increased pressure in the abdomen, and thus reflux in the same way.
  • Primary diseases of the esophagus can also present with heartburn as a symptom. These include, among others, scleroderma and sarcoidosis.
  • Some types of food aggravate heartburn, including:
    • Alcohol, which relaxes the oesophageal sphincter
    • Coffee and chocolate
    • Orange juice and other acidic juices
    • Acidic foods, such as tomatoes, oranges, and grapefruits
    • Fatty or fried foods
    • Black pepper, mustard, and spicy foods
    • Large meals or portion sizes.

Symptoms of Heartburn

Diagnosis of Heartburn

To evaluate if there is any damage and how severe your heartburn is, the doctor my suggest some of the following tests:

  • Endoscopy – A flexible scope is passed down the esophagus to examine the esophagus as well as the stomach. Biopsies can be taken if indicated. This lets the doctor see if there is any obvious damage, and also eliminate other reasons for the patient’s symptoms (foreign body, malignancy).
  • Upper GI series (upper GI series) – After drinking a liquid that coats the inside of the digestive tract, X-ray sare taken. These X-rays will show the outline of the digestive system.
  • Ambulatory pH testing – This test measures the acidity in the esophagus via a small tube that goes through the nose into the stomach.
  • Manometry and pH testing – Less commonly, when conventional therapy has failed to confirm the diagnosis, or when symptoms are atypical, use of pressure monitors and acid measurements from within the esophagus may be helpful in making the diagnosis.

Treatment of Heartburn

Common OTC antacids such as Rolaids, Tums or Maalox are effective for some individuals;

Other people may do well with proton pump inhibitors (PPIs) such as

There are many over-the-counter and prescription medications available. These fall into three major categories

Medications that neutralize stomach acid (antacids) 

Antacids  provide quick relieve because they decrease the acid. These medications don’t heal existing damage to your esophagus nor prevent future episodes of heartburn.

Medications that reduce the production of acid 

These medications are named after the receptor they block (H-2 blockers) and are available as over-the-counter as well as prescription medications. Their symptom relief tends to last longer than antacids, but it also takes longer for them to start working.

Others may need H2 receptor antagonists such as

Medications that block acid production  

Proton pump inhibitors (for example, omeprazole , lansoprazole  block the production of acid. This then allows healing of the damaged esophagus.

Prevention of Heartburn

Food and drink tips for night-time heartburn relief

  • Reduce heartburn risk by limiting acidic foods such as grapefruit, oranges, tomatoes, and vinegar.
  • Spicy foods giving you heartburn? Cut back on pepper and chillies.
  • Don’t lie down for at least three hours after you eat. When you are sitting up, gravity helps prevent food and stomach acid from going up into the gullet (oesophagus) and causing heartburn.
  • Enjoy lean meats and non-fatty foods. Greasy foods – such as chips and burgers – can trigger heartburn.
  • Avoid or reduce drinks that can trigger reflux such as alcohol, drinks with caffeine and fizzy drinks.
  • Size matters – eat smaller meals and you may avoid triggering heartburn symptoms.
  • Enjoy an after-work drink? You may want to turn teetotal – alcohol can relax the oesophageal sphincter, worsening heartburn.
  • Crazy about colas? It may be time to cut back. Colas can be related to reflux and to heartburn symptoms.
  • Avoid snacking at bedtime. Eating close to bedtime can trigger heartburn symptoms.

Lifestyle tips for night-time heartburn relief

  • Steer clear of tight clothes. Tight belts, waistbands and underwear can press on your stomach triggering heartburn.
  • Strive for a less stressful life. Stress may increase stomach acids, increasing heartburn symptoms.
  • Heavy? Try losing weight. The pressure of excess weight increases the chance stomach acid will reflux back up into the oesophagus causing heartburn.
  • Popping antacids more than once a week? You may have GORD and need specific treatment.
  • Try chewing gum at night. This can boost the production of saliva, which helps neutralise stomach acid.
  • Not all “trigger” foods cause heartburn symptoms in everyone. Keep track of your symptoms to find your personal triggers.
  • Pregnant? You may experience heartburn or GORD. Seek medical adviceabout finding relief.
  • Heartburn worse after exercise? Drink plenty of water. It helps with hydration and digestion.
  • Try keeping a diary or heartburn log to keep track of activities that might trigger attacks.
  • Wait for your work-out if you don’t want to trigger heartburn. Wait at least two hours after a meal before exercising.
  • Nicotine can cause your oesophageal sphincter to relax. If you smoke, stop smoking.
  • Some medicines can worsen reflux and heartburn. Seek medical advice about alternatives.
  • Use blocks or bricks under the bedpost to raise the head of your bed 15cm (6in) so you can sleep with head and chest elevated. You can also try a wedge pillow.
  • Bend with your knees. Bending over at the waist tends to increase reflux and heartburn symptoms.

How can I reduce heartburn during pregnancy

Prevention is your best bet to reduce heartburn during your pregnancy. Though you may not be able to avoid the condition entirely, here are some ways to prevent it and minimize any discomfort:

  • Avoid food and drinks that upset your stomach – These include carbonated drinks, alcohol, caffeine, chocolate, citrus fruits and juices, tomatoes, mustard, vinegar, mint products, processed meats, and foods that are fatty, spicy, fried, or highly seasoned.
  • Eat small meals – Instead of three large meals, eat several small ones throughout the day. Take your time eating and chew thoroughly.
  • Drink water in between meals – It’s important to drink plenty of water daily during pregnancy, but too much liquid can distend your stomach. Stay hydrated by drinking most of your water in between meals.
  • Chew gum after eating – Chewing gum stimulates your salivary glands, and saliva can help neutralize acid.
  • Eat two or three hours before bedtime – This gives your body time to digest before you lie down.
  • Sleep propped up – Elevate your upper body by about 6 inches with several pillows or a wedge when you sleep. This helps stomach acid stay down and aids digestion.
  • Dress comfortably – Wear loose, relaxed clothing. Don’t wear clothes that are tight around your waist and tummy.
  • Ask your provider about heartburn medicines – An antacid that contains magnesium or calcium may ease discomfort. Check with your provider before taking one because some brands are high in sodium or contain aluminum or aspirin. You can also talk to your provider about prescription heartburn medications that are safe during pregnancy.
  • Don’t smoke – In addition to contributing to serious health problems, smoking boosts the acid in the stomach.

References

Heartburn; Types, Causes, Symptoms, Diagnosis, Treatment

Patient safety assistant

Check your symptom safely

Hi, I am RX Symptom Navigator. I can help you understand what to read next and what warning signs need care.
Warning: Do not use this in emergencies, pregnancy, severe illness, or as a substitute for a doctor. For children or teens, use with a parent/guardian and clinician.
A rural-friendly guide: warning signs, when to see a doctor, related articles, tests to discuss, and OTC safety education.
1 Symptom 2 Severity 3 Safe guidance
First safety question

Is there chest pain, breathing trouble, fainting, confusion, severe bleeding, stroke-like weakness, severe injury, or pregnancy danger sign?

Choose quickly

Browse by body area
Start here: Write or select a symptom. The guide will show warning signs, doctor guidance, diagnostic tests to discuss, OTC safety education, and related RX articles.

Important: This tool is educational only. It cannot diagnose, treat, or replace a doctor. OTC information is not a prescription. In an emergency, contact local emergency services or go to the nearest hospital.

Doctor visit helper

Prepare before seeing a doctor

A simple rural-patient checklist to help you explain symptoms clearly, ask better questions, and avoid unsafe self-treatment.

Safety note: This is not a prescription or diagnosis. For severe symptoms, pregnancy danger signs, children with serious illness, chest pain, breathing difficulty, stroke-like weakness, or major injury, seek urgent care.

Which doctor may help?

Start with a registered doctor or the nearest qualified health center.

What to tell the doctor

  • Write when the problem started and how it changed.
  • Bring old prescriptions, investigation reports, and current medicines.
  • Write allergies, pregnancy status, diabetes, kidney/liver disease, and major past illnesses.
  • Bring one family member if the patient is weak, elderly, confused, or a child.

Questions to ask

  • What is the most likely cause of my symptoms?
  • Which danger signs mean I should go to hospital quickly?
  • Which tests are necessary now, and which can wait?
  • How should I take medicines safely and what side effects should I watch for?
  • When should I come for follow-up?

Tests to discuss

  • Vital signs: temperature, pulse, blood pressure, oxygen saturation
  • Basic physical examination by a clinician
  • CBC, urine test, blood sugar, or imaging only when clinically needed

Avoid these mistakes

  • Do not use antibiotics, steroid tablets/injections, or strong painkillers without proper medical advice.
  • Do not hide pregnancy, kidney disease, ulcer, allergy, or blood thinner use.
  • Do not delay emergency care when danger signs are present.

Medicine safety and first-aid guide

This section is for patient education only. It does not replace a doctor, pharmacist, or emergency care.

Safe first steps

  • Avoid heavy lifting, sudden bending, and prolonged bed rest.
  • Use comfortable posture and gentle movement as tolerated.
  • Discuss physiotherapy, X-ray, or MRI only when clinically needed.

OTC medicine safety

  • For mild back pain, pain-relief medicine may be discussed with a doctor or pharmacist.
  • Avoid repeated painkiller use if you have kidney disease, stomach ulcer, uncontrolled blood pressure, or are taking blood thinners.

Avoid these mistakes

  • Do not start antibiotics without a proper medical decision.
  • Do not use steroid tablets or injections casually for quick relief.
  • Do not delay emergency care because of home remedies.

Get urgent help if

  • Back pain with leg weakness, numbness around private area, loss of urine/stool control, fever, cancer history, or major injury needs urgent care.
Medicine names, dose, and timing must be decided by a qualified clinician or pharmacist after checking age, pregnancy, allergy, other diseases, and current medicines.

For rural patients and family caregivers

Patient health record and symptom diary

Write your symptoms, medicines already taken, test results, and questions before visiting a doctor. This note stays on your device unless you print or copy it.

Doctor to discuss: Emergency care / cardiology / medicine doctor
Tests to discuss with doctor
  • ECG as early as possible when chest pain suggests heart risk
  • Troponin or cardiac blood tests if doctor suspects heart attack
  • Blood pressure, oxygen level, chest examination, and other tests as advised urgently
Questions to ask
  • What is the most likely cause of my symptoms?
  • Which warning signs mean I should go to emergency care?
  • Which tests are really needed now?
  • Which medicines are safe for my age, pregnancy status, allergy, kidney/liver/stomach condition, and current medicines?
  • Is this heart-related, and do I need emergency observation?

Emergency warning signs such as chest pain, severe breathing difficulty, sudden weakness, confusion, severe dehydration, major injury, or loss of bladder/bowel control need urgent medical care. Do not wait for online information.

Safe pathway to proper treatment

Back pain care roadmap

Use this simple roadmap to understand the next safe steps. It is educational and does not replace examination by a doctor.

Go to emergency care if you notice:
  • New leg weakness, numbness around private area, or loss of bladder/bowel control
  • Back pain after major injury, fever, unexplained weight loss, cancer history, or severe night pain
Doctor / service to discuss: Orthopedic/spine specialist, physical medicine doctor, physiotherapist under guidance, or qualified clinician.
  1. Step 1

    Check danger signs first

    If danger signs are present, seek emergency care and do not wait for online information.

  2. Step 2

    Record the symptom story

    Write when symptoms started, severity, medicines already taken, allergies, pregnancy status, and test results.

  3. Step 3

    Visit a qualified clinician

    A doctor, nurse, or qualified healthcare provider can examine you and decide which tests or treatment are needed.

  4. Step 4

    Do only useful tests

    Discuss neurological examination first. X-ray or MRI may be needed only when red flags, injury, nerve weakness, or persistent severe symptoms are present.

  5. Step 5

    Follow up and return early if worse

    If symptoms worsen, new warning signs appear, or treatment is not helping, return for review quickly.

Rural patient practical tips
  • Take a written symptom diary and all previous prescriptions/test reports.
  • Do not hide medicines already taken, even herbal or over-the-counter medicines.
  • Ask which warning signs mean urgent referral to hospital.
  • Avoid forceful massage or bone-setting when there is weakness, injury, fever, or nerve symptoms.

This roadmap is for education. A real diagnosis and treatment plan requires history, examination, and clinical judgment.

RX Patient Help

Ask a health question safely

Write your symptom story. A health professional or site editor can review it before any answer is prepared. This box is not for emergency care.

Emergency first: Severe chest pain, breathing trouble, unconsciousness, stroke signs, severe injury, heavy bleeding, or rapidly worsening symptoms need urgent local medical care now.

Frequently Asked Questions

Is this article a replacement for a doctor?

No. It is educational content only. Patients should consult a qualified clinician for diagnosis and treatment.

When should I seek urgent care?

Seek urgent care for severe symptoms, rapidly worsening condition, breathing difficulty, severe pain, neurological changes, or any emergency warning sign.

References

Add references, clinical guidelines, textbooks, journal articles, or trusted medical sources here. You can edit this area from the RX Article Professional Blocks panel.