Heartburn Treatment: Natural Antacids, Medication, and More

Ways to Prevent and Relieve Heartburn Symptoms

Natural antacids, over-the-counter (OTC) antacids, H2 blockers, PPIs, and dietary changes can help improve heartburn symptoms. Usually, successful treatment involves a mix of prevention strategies and medications.

A few ways to treat heartburn include:

  • Changing your diet and lifestyle (e.g., quitting smoking, losing weight, avoiding trigger foods)
  • Using natural antacids (e.g., baking soda, aloe vera, licorice)
  • Taking OTC heartburn medications (e.g., Mylanta, Tums, Pepcid, Nexium)
  • Getting a prescription-strength heartburn treatment (e.g., Prilosec, Prevacid)

This article discusses heartburn treatments, including home remedies, lifestyle changes, over-the-counter medications, prescription drugs, and complementary therapies.

Diet and Lifestyle Changes

The best heartburn treatment may not be a medical treatment at all. You can alleviate heartburn by avoiding food that causes heartburn and making other lifestyle choices that can minimize what heartburn feels like.

The following tips can help to relieve occasional heartburn.

Lifestyle changes that minimize heartburn

Verywell / Jessica Olah

Don't Smoke

Nicotine in cigarette smoke relaxes the lower esophageal sphincter. Smoking also stimulates the production of stomach acid. If you get heartburn, stop smoking and avoid secondhand smoke as well.

What Is the LES?

The lower esophageal sphincter, or LES, is a band of muscle at the bottom of the esophagus. It normally acts like a trap door that lets food and drink in but keeps stomach acid from bubbling out. Heartburn occurs when the LES is not functioning properly.

Lose Weight if Overweight

Being overweight or obese places pressure on the abdomen and increases the risk of heartburn. Heartburn is one of many reasons to aim for a healthy body mass index (BMI) of 25 or lower.

It also helps to loosen the waistband on clothes if you have regular heartburn. Anything that compresses the abdomen can directly affect the function of the esophagus. Opt instead for loose-fitting clothes when occasional heartburn strikes.

Avoid Food Triggers

Some common heartburn triggers can be avoided in the following ways:

  • Limit alcohol. Alcohol relaxes the lower esophageal sphincter (LES) muscle. Drinking alcohol can also cause excessive eating, which contributes to heartburn.
  • Avoid foods that affect the LES. These include chocolate, peppermint, caffeinated drinks, carbonated beverages, alcohol, fatty foods, and greasy or fried foods.
  • Avoid irritating foods. These include citrus fruits and juices, tomatoes and tomato-based products, chili peppers, and black pepper.

Create a heartburn-friendly diet by keeping a food diary to record which foods are safe for you and which are more likely to trigger heartburn.

Adjust Your Eating Habits

Beyond what you eat and drink, how and when you eat can also trigger heartburn symptoms. To help prevent symptoms:

  • Eat smaller, more frequent meals: Eating five or six smaller meals may be easier on the stomach than three larger ones.
  • Eat Slowly: A handy trick is to put your fork or spoon down between bites.
  • Avoid lying down after eating: Wait for at least two to three hours before lying down, ensuring your head and chest are elevated above the stomach.
  • Avoid late-night snacking: Again, don't eat within two to three hours of going to bed to avoid nighttime heartburn.
  • Chew gum: Chewing gum or sucking on a lozenge after a meal stimulates the production of saliva, which is alkaline, and may help counteract stomach acids.
  • Sip herbal tea: Sipping herbal tea can dilute and flush stomach acids from the esophagus. However, avoid caffeinated tea.

Adjust Your Sleep Habits

Around half of those with GERD experience sleep disturbances related to their symptoms. Besides avoiding food before bedtime, there are ways to avoid nocturnal acid reflux:

  • Sleep with your head elevated. Lying flat allows stomach acids to seep through the LES. Elevating the head with an extra pillow or a special wedge-shaped pillow makes reflux less likely to occur.
  • Lie on your left side. Doing so reduces the likelihood of reflux by elevating the LES.
  • Wear loose-fitting pajamas. The less pressure you place on the abdomen, the better.

Heartburn Doctor Discussion Guide

Get our printable guide for your next doctor's appointment to help you ask the right questions.

Doctor Discussion Guide Old Man

Natural Antacids

While some foods can spur acid, others can tamp it down. Some foods that can act as natural antacids include:

Bananas, Melons, and Cauliflower

These foods are alkaline foods, which have a higher pH and can help offset strong stomach acid. By reducing stomach acid, heartburn may improve.

Milk and Yogurt

Note that whole and 2% milk contain fat that can lead to acid reflux and heartburn. Skim milk or nonfat yogurt, on the other hand, is fat-free and may help to relieve heartburn.

Ginger

A review of two studies found that participants taking ginger-containing supplements experienced fewer acid reflux symptoms, which should reduce heartburn. Ginger root is a well-known herbal digestive aid that has been used for centuries as a folk remedy for heartburn, but studies have not evaluated fresh ginger root or ginger tea to be certain of the effects.

Chamomile Tea

Chamomile tea is thought to have a soothing effect on the stomach, but currently, there aren't any studies evaluating the effect of chamomile specifically on stomach acid or heartburn.

Turmeric Tea

Turmeric has anti-inflammatory properties. In theory, reducing inflammation may help reduce heartburn, but no studies have been conducted to evaluate turmeric and its effects on acid reflux or heartburn.

Baking Soda

Baking soda, also known as sodium bicarbonate, is a natural antacid. Dissolving a teaspoon of baking soda into 8 ounces of water and drinking it may help neutralize stomach acid and temporarily ease heartburn. Side effects include burping and bloating.

Speak with your healthcare provider before using baking soda for heartburn. Sodium bicarbonate may decrease the effectiveness of aspirin. It should also not be used in pregnant people due to the risk of abnormal fluid build-up.

Aloe Vera

Aloe vera juice has been used in traditional medicine to treat esophageal irritation. While it is unwise to use unprocessed aloe vera (as it has potent laxative effects), some products are specially formulated for internal use.

This includes AloeCure, a formulated remedy containing organic processed aloe juice. Marketed as an all-natural remedy for digestive disorders, AloeCure was found to relieve heartburn in several small studies.

Talk to your healthcare provider before using aloe vera. Aloe vera should be avoided in people taking diabetes medications as it can lower blood sugar and cause hypoglycemia. Aloe vera can also interact with blood thinners like Coumadin (warfarin) and Plavix (clopidogrel), increasing the risk of easy bruising and bleeding.

Deglycyrrhizinated Licorice

Deglycyrrhizinated licorice is a natural remedy sometimes used to soothe heartburn and other digestive ailments.

On its own, licorice can raise blood pressure and cause undesirable side effects. By contrast, deglycyrrhizinated licorice has removed the ingredient responsible for this effect (called glycyrrhizic acid).

Some studies suggest that deglycyrrhizinated licorice may be useful in relieving occasional heartburn and indigestion.

Despite having few side effects, deglycyrrhizinated licorice can interact with diuretics, corticosteroids, or other medications that lower the body's potassium level. Taking them together can cause a potentially severe drop in blood potassium known as hypokalemia. Make sure to discuss the potential side effects of deglycyrrhizinated licorice with your healthcare provider.

Over-the-Counter Heartburn Treatments

There are several over-the-counter (OTC) remedies for heartburn, some of which were only available by prescription a few years ago. These include antacids, H2 blockers, and proton pump inhibitors.

Antacid Medications

Antacids are commonly used to treat heartburn. They help relieve occasional heartburn and indigestion by neutralizing stomach acids.

Antacids are sold under the following brand names, each of which has slightly different formulations and/or ingredients:

  • Tums: Tums contain calcium carbonate, which tends to be stronger and work longer than some antacid ingredients. Calcium carbonate may also increase esophageal motility (movement), limiting the amount of acid that enters the esophagus.
  • Rolaids: Rolaids contain calcium carbonate and magnesium hydroxide. This medication is available in different strengths (including Extra-Strength and Ultra-Strength) as well as in different forms (such as soft chews and liquid).
  • Mylanta: Mylanta contains aluminum hydroxide and magnesium hydroxide. Mylanta Ultra, available in tablet, chewable, and gelcap forms, contains calcium carbonate.
  • Gaviscon: Gaviscon contains alginic acid and sodium bicarbonate in addition to aluminum hydroxide and magnesium carbonate. The combination creates a gel-like barrier that literally floats on the stomach acid, reducing the amount that enters the LES.
  • Chooz: This is a sugar-free gum with calcium carbonate as the active ingredient.

Antacids can interfere with the absorption of certain drugs, including HIV medications. Speak with a healthcare provider before using antacids to ensure they do not interact with your other medications.

Pregnant people should not use antacids containing sodium bicarbonate or magnesium trisilicate as they can cause excessive fluid buildup and affect the development of the fetus.

H2 Blockers

H2 blockers, also known as H2-receptor antagonists, are medicines that reduce stomach acid. They block a chemical called histamine-2 (H2) that stimulates acid-producing cells in the stomach.

H2 blockers are sold under the following brand names:

  • Axid (nizatidine)
  • Pepcid (famotidine)
  • Tagamet (cimetidine)

Side effects of this heartburn treatment are uncommon but may include headache, diarrhea, fatigue, and dizziness.

Proton Pump Inhibitors (PPI)

Proton pump inhibitors (PPIs) are another heartburn treatment that blocks the production of stomach acid, albeit in a different way. They do so by shutting down a system known as the proton pump that is integral to the production of stomach acid.

Over-the-counter PPIs include:

  • Nexium 24H (esomeprazole)
  • Prilosec OTC (omeprazole)
  • Prevacid 24H (lansoprazole)
  • Zegerid OTC (omeprazole/sodium bicarbonate)

PPIs are generally taken for two weeks and should not be used for an extended period of time.

Side effects include headache, diarrhea, constipation, stomach upset, cough, hoarseness, nausea, and vomiting.

Prescription Heartburn Treatments

Most people experience heartburn occasionally, but some have more frequent or serious heartburn symptoms. If OTC medications and lifestyle changes fail to control heartburn, you may need a combination of approaches and your healthcare provider may recommend prescription versions of H2 blockers and PPIs.

Prescription H2 Blockers

Besides the OTC-strength H2 blockers, there are versions of Axid (nizatidine), Pepcid (famotidine), and Tagamet (cimetidine) available by prescription.

Prescription H2 blockers are higher in dosage than their OTC version. These are intended for the short-term relief of severe heartburn only.

Prescription Proton Pump Inhibitors (PPIs)

Prescription PPIs are available under the following brand names:

  • Prilosec (omeprazole)
  • Prevacid (lansoprazole)
  • Protonix (pantoprazole)
  • Nexium (esomeprazole)
  • Aciphex (rabeprazole)
  • Dexilant (dexlansoprazole)

Prescription PPIs are meant to be taken under a healthcare provider's supervision and only for a limited time. Some studies have shown that chronic use of these heartburn treatments are associated with an increased risk of bone fractures, kidney disease, and heart attacks.

Summary

Occasional heartburn (acid reflux) can often be treated or prevented with lifestyle changes such as quitting smoking, maintaining a healthy weight, avoiding food triggers, eating smaller meals, and sleeping on your left side or with your head elevated.

Complementary and alternative medicines (CAM) like baking soda, aloe vera, and deglycyrrhizinated licorice have been used to treat occasional heartburn, but the evidence supporting their use is weak.

Over-the-counter antacids, H2 blockers, and proton pump inhibitors (PPIs) also relieve occasional heartburn. People with severe heartburn may require prescription H2 blockers or PPIs to control their symptoms. Medications like these are intended for short-term use only.

Frequently Asked Questions

  • What is the quickest heartburn treatment?

    Over-the-counter antacids, like Tums, Mylanta, or Rolaids, work by neutralizing stomach acid and are a good option for rapid, short-term relief.

  • What should I take for heartburn during pregnancy?

    Try eating low-fat yogurt or drinking nonfat milk. Adding a tablespoon of honey may also help. Some antacids are not recommended during pregnancy, so speak with your healthcare provider before using one.

  • Does water help heartburn?

    It can. Water dilutes stomach acid, which can make it less painful. But drink slowly, especially if your stomach is already full. Chugging water may initially cause more discomfort and strain the lower esophageal sphincter, ramping up heartburn.

  • How long does heartburn last?

    Heartburn may last anywhere from just a few minutes to several hours. For some, it's an occasional occurrence; for others, it may occur frequently. Make an appointment to see a doctor if you have heartburn more than twice weekly.

  • Are heartburn and GERD the same thing?

    Though heartburn is related to gastroesophageal reflux disease (GERD), the terms are not interchangeable. GERD is a more severe, chronic form of acid reflux, while heartburn is essentially a symptom of acid reflux and GERD.

11 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. InformedHealth.org [Internet]. Cologne, Germany: Institute for Quality and Efficiency in Health Care (IQWiG); 2006-. Heartburn and GERD: Treatment options for GERD.

  2. Harvard Health Publishing, Harvard Medical School. What to eat when you have chronic heartburn.

  3. National Institute of Diabetes and Digestive and Kidney Diseases. Treatment for GER & GERD.

  4. Kurin M, Shibli F, Kitayama Y, Kim Y, Fass R. Sorting out the relationship between gastroesophageal reflux disease and sleep. Curr Gastroenterol Rep. 2021;23(9):15. doi:10.1007/s11894-021-00815-4

  5. Johns Hopkins Medicine. GERD diet: foods that help with acid reflux (heartburn).

  6. Martin Z, Spry G, Hoult J, et al. What is the efficacy of dietary, nutraceutical, and probiotic interventions for the management of gastroesophageal reflux disease symptoms? A systematic literature review and meta-analysisClin Nutr ESPEN. 2022;52:340-352. doi:10.1016/j.clnesp.2022.09.015

  7. Harvard Medical School. Herbal remedies for heartburn.

  8. Soleimani V, Sahebkar A, Hosseinzadeh H. Turmeric (Curcuma longa) and its major constituent (curcumin) as nontoxic and safe substances: ReviewPhytother Res. 2018;32(6):985-995. doi:10.1002/ptr.6054

  9. Garg V, Narang P, Taneja R. Antacids revisited: review on contemporary facts and relevance for self-managementJ Int Med Res. 2022;50(3):3000605221086457. doi:10.1177/03000605221086457

  10. Panahi Y, Khedmat H, Valizadegan G, Mohtashami R, Sahebkar A. Efficacy and safety of aloe vera syrup for the treatment of gastroesophageal reflux disease: A pilot randomized positive-controlled trial. J Tradit Chin Med. 2015;35(6):632-636. doi:10.1016/s0254-6272(15)30151-5.

  11. Yeh AM, Golianu B. Integrative treatment of reflux and functional dyspepsia in children. Children (Basel). 2014;1(2):119-33. doi:10.3390/children1020119

Additional Reading

By Sharon Gillson
 Sharon Gillson is a writer living with and covering GERD and other digestive issues.