How To Get Rid of Heartburn Quickly: Medications & Home Remedies

By Zina Semenovskaya, MD
Medically reviewed checkmarkMedically reviewed
February 4, 2022

If you’ve ever experienced a burning sensation in your chest after eating, you’ve probably had heartburn.

Caused by stomach acid coming up into the esophagus—which is called acid reflux—heartburn can happen to anyone, and it may get worse after eating certain foods, bending over, or lying down. 

Heartburn, as common as it is, can be painful and even debilitating.

Luckily, there are several at-home remedies for heartburn that can help improve your symptoms, including over-the-counter (OTC) medications.

If you find your heartburn symptoms are occurring more frequently or not going away when you try to treat them, it’s important to talk to a doctor who can rule out serious medical conditions and help you find a treatment that decreases your discomfort. 

What is Heartburn?

Your esophagus is the tube that connects your mouth to your stomach.

When you swallow, a small muscle called your esophageal sphincter opens up to allow food or drink to pass down into your stomach.

If this muscle for some reason does not tighten again, stomach acid can flow back into your esophagus and cause a burning sensation behind your breastbone.

This process is called acid reflux, and it results in the burning sensation many people call heartburn. 

Do you experience heartburn? Chat with a doctor today for just $35
Chat Now

Symptoms

Heartburn most commonly causes a burning sensation in your chest, right behind your breastbone.

It can also result in other symptoms, including: 

  • Pain in your chest whenever you bend over or lie down 
  • A bitter, hot, or sour taste in the back of your throat 
  • A burning sensation in your throat 
  • Trouble swallowing

While heartburn symptoms can occur anytime after eating, people most commonly experience acid reflux right after they eat, especially if they overeat, or if they bend over or lie down too soon after eating.

Causes

Heartburn is caused by acid reflux, which happens when the esophageal sphincter relaxes and allows stomach acid to back up into the esophagus.

While heartburn can affect anyone, but some medical conditions are more likely to cause reflux, including: 

  • Pregnancy 
  • A hiatal hernia, which occurs when your stomach bulges into your chest
  • Use of some medications, including aspirin and some anti-inflammatory drugs

A chronic condition called GERD, or gastroesophageal reflux disease, can also cause heartburn.

It’s possible you may have GERD if your heartburn is frequent and doesn’t respond to over-the-counter medications.

It’s important to treat GERD, because chronic acid reflux can result in long-term damage to the esophagus. 

Certain foods can also cause people to experience heartburn symptoms, such as: 

  • Spicy food
  • Citrus, including fruit juice
  • Onions 
  • Tomato and tomato products 
  • Fatty foods
  • Fried foods
  • Chocolate 
  • Peppermint
  • Alcohol 
  • Coffee
  • Carbonated drinks

Lastly, your eating habits can cause heartburn symptoms.

You may experience acid reflux if you eat a large meal, for example, or if you eat too close to bedtime.

How to Relieve Heartburn

Heartburn can be really uncomfortable, but there are several treatments that can help decrease your symptoms.

If you regularly experience acid reflux, start by talking to your doctor or a K doctor, who can help diagnose you and recommend medications and home remedies to soothe your discomfort. 

If you are a smoker, you should stop. 

Here are some of the most common heartburn treatments people try to improve their symptoms.  

OTC Medication

Over-the-counter (OTC) medications, which are available without a prescription, can help to relieve heartburn and prevent bothersome symptoms.

Your doctor may recommend any of the below OTC medications: 

  • Antacids like Tums, Rolaids, and Maalox, provide relief for heartburn by neutralizing your stomach acid.
  • H-2 receptor antagonists (H2RAs), such as famotidine (Pepcid AC, Pepcid Oral, and Zantac 360), reduce the amount of stomach acid your body produces. These medications may provide longer-term relief than antacids; however, they usually don’t work as fast. 

If you still have heartburn after trying these medications, then your doctor might recommend a workup to further investigate the cause(s) and a prescription medication instead.

Posture Changes

Lying down or bending over after eating can cause acid from your stomach to move into your esophagus, resulting in heartburn.

To prevent acid reflux, always sit up while you’re eating and avoid bending over or lying down for at least two hours after you eat.

It may also help to walk around after you eat so your digestive tract flows in the right direction. 

GERD-friendly diet

Because certain foods can make heartburn worse or even cause heartburn, your doctor may suggest you adhere to a GERD-friendly diet.

First, avoid foods that are known to exacerbate reflux symptoms, such as: 

  • Spicy foods
  • Citrus, including lemon, lime, orange, and grapefruit 
  • Onions 
  • Tomato and tomato products, including ketchup and marinara sauce
  • Fatty foods
  • Fried foods
  • Chocolate 
  • Peppermint
  • Alcohol 
  • Coffee
  • Carbonated drinks, including sparkling water and soda
  • Tobacco products

While the above foods might worsen heartburn, some foods can actually help stave off acid reflux.

According to Johns Hopkins Medicine, it can be helpful to increase your fiber intake if you have GERD.

Fibrous foods help you feel full, so you’ll be less likely to overeat and experience heartburn.

Watery foods, like fruits, vegetables, broth-based soup, and herbal tea, may also help reduce heartburn by diluting stomach acid. 

Body weight 

Being overweight is one risk factor for experiencing acid reflux, so focusing on maintaining a healthy weight may be helpful.

A 2006 study published in the New England Journal of Medicine confirmed that higher weights are linked to a higher risk of heartburn. 

In the study, women who were obese (with a BMI higher than 30) had close to triple the risk of GERD symptoms, while those with a BMI of 25-30 were more than twice as likely than people with a BMI below 25. 

If you want to decrease your risk of GERD and other chronic health conditions, maintain a healthy weight by eating a nutritious diet and exercising frequently.

The Centers for Disease Control and Prevention (CDC) recommends 150 minutes of exercise a week. 

Baking soda

Much like an over-the-counter antacid, baking soda—which is alkaline in pH—can help to neutralize stomach acid and reduce heartburn symptoms.

So if you have heartburn but don’t have antacids on hand, swallowing a teaspoon of baking soda could help. (Just keep in mind it probably won’t taste very good.)

Baking soda is quite high in sodium, so you shouldn’t use it on a regular basis. It’s also not safe for pregnant women. 

Ginger

Ginger is known for its soothing effects on the digestive system, and it’s commonly recommended for nausea and indigestion.

It contains a compound called phenols, which are thought to resolve gastrointestinal irritation and gastric contractions.

For this reason, ginger could prevent acid reflux from backing up into your esophagus. 

Ginger is widely available at grocery stores, and you can also find it in herbal tea form.

The combination of ginger and water, which can dilute stomach acid, may help to reduce heartburn symptoms.

You can also chew ginger candy, also available at many grocers, if you’re struggling with indigestion.

Chewing gum

If you get heartburn regularly, it may be worth keeping some chewing gum on hand to relieve your discomfort.

According to one small study, chewing sugar-free gum for 30 minutes after a meal can improve reflux symptoms.

The idea is that chewing gum may reduce the amount of acid in your esophagus, which in turn can improve your pain.

If peppermint has worsened your heartburn in the past, then avoid mint-flavored gum when you’re experiencing discomfort from acid reflux. 

Apple cider vinegar

Apple cider vinegar, which is made from crushed and fermented apples, is another common home remedy for heartburn.

It’s thought that organic apple cider that contains nutritionally beneficial enzymes and proteins, can help improve health. 

Some people experience acid reflux because they have too little stomach acid, and one theory is that apple cider vinegar introduces more acid into the digestive system.

That said, there’s not any scientific research proving it helps. 

If you want to try apple cider vinegar for heartburn, try diluting a tablespoon in a cup of water and sipping it.

Adding a bit of honey may help if you find the flavor too sour. 

Stop smoking

It’s well known that smoking can be damaging to overall health, but experts say smoking cigarettes can also worsen people’s heartburn.

That’s because nicotine relaxes smooth muscles in the body, including your esophageal sphincter.

When this muscle is relaxed, it’s more likely to allow stomach acid to back up into the esophagus.

Smoking can also cause your stomach to produce more acid, which can increase your chances of experiencing pain and discomfort from acid reflux. 

If you currently smoke and you want to improve your health and heartburn, it’s best to quit. Y

our doctor can help you quit with medication if necessary.

Bananas

While some fruits, like citrus, can trigger heartburn, bananas may relieve it.

Because they are high in potassium, bananas are considered an alkaline food. So theoretically, a banana could help combat stomach acid, preventing reflux symptoms.

If you use bananas to combat heartburn, always choose a ripe one—an unripe banana could actually be a heartburn trigger. 

Aloe vera juice

Aloe vera juice, the thick liquid from the aloe vera plant leaf, isn’t just soothing to the skin.

Studies suggest it may also help with acid reflux.

One trial from 2015 concluded that consuming the juice is a safe and effective way to relieve heartburn and other GERD symptoms, including food regurgitation and belching.

In some cases, it was even more effective than an over-the-counter medication. 

If you want to try aloe vera for heartburn, start with a few tablespoons a day; taking too much can result in diarrhea. Avoid aloe vera if you’re pregnant or thinking of getting pregnant. 

Wear loose clothing

Wearing tight-fitting clothing, including pants, shirts, and shapewear, can put pressure on your abdomen and worsen heartburn symptoms.

If you’re prone to acid reflux or you have GERD, try to wear comfortable, loose-fitting clothing during and after your meals. 

Peppermint

Peppermint is known to be soothing to GI discomfort like nausea and indigestion, so if you have heartburn, sipping some peppermint tea or sucking on a peppermint candy might help decrease your symptoms.

However, peppermint isn’t the best choice for everyone. 

For some people, peppermint relaxes the esophageal sphincter, which can allow stomach acid back into the esophagus and worsen heartburn. 

Probiotics

Introducing healthy bacteria into your digestive tract through a probiotic supplement or probiotic-rich foods can help with overall digestive health.

A number of studies also suggest probiotics can help with GERD symptoms, including regurgitation and heartburn—but there’s not enough strong evidence to know for sure how helpful they are. 

If you want to include more probiotics in your diet, try eating more yogurt, consuming fermented foods like sauerkraut, or drinking kefir or kombucha.

Your doctor can also recommend a probiotic supplement, which should be easy to find at the drugstore or grocery store.

Do you experience heartburn? Chat with a doctor today for just $35
Chat Now

When to See a Doctor

Heartburn often resolves on its own or with treatment.

But if you have frequent heartburn, it’s a good idea to check in with your doctor to make sure you don’t have GERD, which can result in long-term damage to your esophagus.

See your doctor or a K doctor if you: 

  • Have heartburn more than twice a week 
  • Your symptoms don’t resolve with over-the-counter medication 
  • You experience persistent nausea, vomiting, or difficulty swallowing
  • You experience unintentional weightloss 
  • You notice blood in your stool
  • You experience abdominal pain

Call 911 or go to the emergency room if you are experiencing severe chest pain or pressure, or if your chest pain is accompanied by pain in your jaw, arms, or back, or if you experience shortness of breath or lightheadedness.

How K Health Can Help

Did you know you can get affordable primary care with the K Health app?

Download K to check your symptoms, explore conditions and treatments, and if needed text with a doctor in minutes. K Health’s AI-powered app is HIPAA compliant and based on 20 years of clinical data.

Frequently Asked Questions

Will heartburn go away on its own?
Heartburn often resolves on its own after your food moves through your digestive tract. But if your discomfort is bothering you, then trying an OTC medication or a home remedy for heartburn may help relieve your symptoms. If you experience persistent or frequent heartburn, make sure to talk with your doctor.
Will drinking water worsen heartburn?
Not usually. Water typically has a neutral pH, which means it can dilute acidic stomach fluid and reduce heartburn discomfort. That said, if you drink water during a large meal, you may be at risk for worse heartburn or GERD symptoms.
Can heartburn cause permanent damage to the esophagus?
Over time, stomach acid can cause damage to the esophagus and increase a person’s risk for other serious medical conditions. That said, one episode of heartburn isn’t likely to harm you. Chronic acid reflux, such as GERD, is more concerning. If you think you may have GERD, your doctor can diagnose and treat you to prevent long-term damage to your esophagus.

K Health articles are all written and reviewed by MDs, PhDs, NPs, or PharmDs and are for informational purposes only. This information does not constitute and should not be relied on for professional medical advice. Always talk to your doctor about the risks and benefits of any treatment.

Zina Semenovskaya, MD

Dr. Semenovskaya specializes in emergency medicine, and received her medical degree from Weill Cornell Medical College. She is currently the medical director at Remote Emergency Medicine Consulting, LLC and splits her time working clinically as an emergency medicine attending in California and Alaska. She is the first of our doctors to be fluent in Russian.

K Health logo (used on certain page templates)