Gastroesophageal reflux disease (GERD) is a very common medical condition that affects about 20% of people. Sometimes, people simply refer to it as “acid reflux” or “heartburn.” GERD happens when acid from the stomach travels back up — or “refluxes” — into the food pipe (esophagus).
There’s a tight muscle at the end of your esophagus called a “sphincter.” Normally, that muscle squeezes shut to prevent stomach contents from going back up during digestion. Sometimes, though, that muscle doesn’t close the way it should. And stomach contents can get back into the esophagus and cause irritation and discomfort.
Anyone, at any age — even children and babies — can have GERD. And it can happen for many different reasons.
In many cases, reflux is related to diet. Well-known foods that can cause reflux include heavy, spicy, or greasy foods. But others can cause it too. Foods that might increase the acidity in your stomach and make GERD symptoms worse include:
Oranges
Grapefruit
Lemons
Tomatoes
Tomato-based sauces
Other foods, like chocolate or peppermint, can lead to reflux. That’s because they tend to relax the muscle that separates the esophagus from the stomach. Alcohol use, and in some cases carbonated drinks, can also lead to symptoms for some people.
Besides food, other factors and medical conditions may increase the risk of GERD:
Obesity
Pregnancy
Smoking or exposure to smoke
Hiatal hernia, a condition where the upper part of the stomach bulges up into the chest
Meals or snacks too close to bedtime
Certain medications can also lead to GERD symptoms, including:
Benzodiazepines
Nonsteroidal anti-inflammatory drugs (NSAIDs)
Calcium channel blockers
Tricyclic antidepressants
Asthma medications
Common symptoms of GERD include:
A burning sensation or pain in the middle of the chest
Nausea
Difficulty or pain with swallowing
Food coming back up, or tasting acid
Chronic cough
Laryngitis or hoarseness
Symptoms of GERD can be a bit different for different people. Some experience more pain or burning. Others don’t have pain but instead develop a cough or experience belching.
Diagnosing GERD typically begins with having a conversation about your symptoms with a healthcare professional. Often, your symptoms — along with a physical exam — can be enough to make a diagnosis of GERD.
You may notice a pattern of symptoms. For example, your symptoms might happen after eating certain foods or at certain times of day. If so, it can be helpful to keep a food diary. Like we mentioned, some foods are much more likely to cause symptoms than others.
Sometimes, a healthcare professional may refer you to a gastroenterologist for further medical evaluation. Gastroenterologists can perform an endoscopy of your upper gastrointestinal (GI) tract, known as an esophagoduodenoscopy (EGD). This is a procedure in which they use a small camera to look inside your esophagus, stomach, and the first part of your intestine. Seeing the inside of the stomach and esophagus can help confirm the diagnosis of GERD. Or it can determine if there are other causes for your symptoms.
Occasionally, you may need to undergo other diagnostic tests. Examples of these include:
X-rays of the upper GI tract to show what happens to food when you swallow
Esophageal pH testing to see how much acid there is in your esophagus
Esophageal motility tests to look at how the esophagus moves
There are different types of medications that can help with GERD symptoms. Medications commonly used to treat GERD are antacids, H2 blockers, and proton pump inhibitors.
Over-the-counter (OTC) medications like antacids can temporarily relieve your symptoms. Examples of these medications include calcium carbonate (Tums) and Maalox.
These medications work well for mild symptoms or rare episodes of acid reflux. If you find that you need to use these medications daily, or even 2 to 3 times a week, you should talk with a healthcare professional about your symptoms.
Medications commonly prescribed for GERD include:
H2 blockers: These prevent histamine from stimulating the stomach to produce acid. These medications are common in the early treatment of acid reflux or for mild cases. Examples of H2 blockers include famotidine (Pepcid AC) and cimetidine (Tagamet HB).
Proton pump inhibitors: These decrease the amount of acid that the stomach produces. Healthcare professionals often prescribe these medications if H2 blockers don’t work or in more severe cases of acid reflux. Examples include omeprazole (Prilosec) and Protonix (pantoprazole).
Healthcare professionals will recommend medications as a treatment for GERD. However, diet can also help improve symptoms. Common recommendations for diet changes include:
Avoiding or minimizing trigger foods
Eating less greasy or spicy foods
Not eating within 2 hours of bedtime
Lifestyle changes may also help relieve GERD. Examples of these are stopping smoking, getting regular exercise, and losing weight. In some cases, people with GERD no longer needed their medications after they lost 10 lbs to 15 lbs.
Other recommended lifestyle changes include:
Raising the head of the bed by 6 to 10 inches with a wedge under the mattress
Avoiding tight clothing
Avoiding lying down within 2 hours of eating
Avoiding or lowering alcohol use
Sometimes, if symptoms don’t improve with lifestyle changes or treatment, people elect to have surgical treatment. Surgery for GERD involves making the connection between the stomach and esophagus stronger, so that stomach contents can’t go back up. Talking about your symptoms and concerns with a gastroenterologist and a surgeon can help you decide if surgery may be right for you.
If you have GERD, it’s important to get treatment not just to relieve symptoms. That’s because untreated GERD can have long-term consequences. Over time, when the lining of the esophagus is repeatedly exposed to stomach acid, it can change the tissue that makes up the lining. This is known as Barrett’s esophagus, and it’s a risk factor for developing esophageal cancer. But the good news is that treating GERD can reduce the acid in the esophagus. And it can decrease the risk of developing Barrett’s esophagus and esophageal cancer.
Drinking water — rather than soda, coffee, or carbonated drinks — may help with GERD symptoms. In one study, researchers showed that a glass of water reduced the acidity in the stomach within 1 minute. It took longer for GERD medications to reduce the stomach acid. But acid reduction from medications lasted longer than from water alone. There’s also some evidence that alkaline water can help with GERD symptoms by counteracting stomach acid.
Just as there are some foods that make GERD symptoms worse, there are also some foods that can help decrease the amount of acid in your stomach. Here are some examples of foods that may help ease heartburn:
High-fiber foods: starchy vegetables like potatoes and carrots, green vegetables like green beans and broccoli, and whole grains
Foods that counteract stomach acid: like bananas, nuts, and melons
Watery foods: fruits and vegetables that have a lot of water in them, like cucumber, celery, and watermelon
Eating these foods may help some people with GERD, but each case is unique. You may have to try different foods in these categories — or even different combinations of food. In some cases, diet changes alone may not be enough to control GERD symptoms.
Although omeprazole can help make you feel better, it won’t cure GERD. Omeprazole (Prilosec) is a proton pump inhibitor. This is a type of medication that works to decrease the amount of acid in the stomach. While it can definitely help with symptoms, it only works while you’re taking it. When you stop taking it, the amount of acid in your stomach would go back to what it was before you started the medication.
There’s some evidence that fasting may help GERD symptoms. In one small study, 75% of people changed their diet to eating only 2 solid meals a day. They had an improvement in their reflux symptoms after 2 weeks. Some amount of fasting may be helpful for some people with GERD. But more research is needed to say for certain that fasting will improve GERD.
It’s possible for GERD to go away, depending on what’s causing it. If it’s due to a temporary condition like pregnancy, symptoms of GERD can go away completely. Sometimes, diet and lifestyle changes — especially weight loss and stopping smoking — can get rid of GERD. If a medication is causing your symptoms, you may notice that your GERD goes away after stopping it. A healthcare professional can help you identify a cause and how to remedy your symptoms.
Many people with symptoms of GERD may think they have a stomach ulcer. But these are actually two different conditions with different causes. Stomach ulcers are small sores that develop from erosion of the stomach lining. They can sometimes lead to serious bleeding if left untreated.
American Academy of Allergy, Asthma, and Immunology. (2024). Gastroesophageal reflux disease.
American College of Gastroenterology. (n.d.). Acid reflux / GERD (gastroesophageal reflux disease).
Balzora, S. M. (2018). Upper GI endoscopy (EGD). American College of Gastroenterology.
Johns Hopkins Medicine. (n.d.). GERD diet: Foods that help with acid reflux (heartburn).
Karamanolis, G., et al. (2008). A glass of water immediately increases gastric pH in healthy subjects. Digestive Diseases and Sciences.
Koufman, J. A., et al. (2012). Potential benefits of pH 8.8 alkaline drinking water as an adjunct in the treatment of reflux disease. Annals of Otology, Rhinology, and Laryngology.
MedlinePlus. (2018). GERD.
MedlinePlus. (2018). Hiatal hernia.
National Cancer Institute. (2025). Esophageal cancer prevention (PDQ)–patient version. National Institutes of Health.
National Institute of Diabetes and Digestive and Kidney Diseases. (2020). Diagnosis of GER & GERD. National Institutes of Health.
National Institute of Diabetes and Digestive and Kidney Diseases. (2020). Symptoms & causes of GER & GERD. National Institutes of Health.
National Institute of Diabetes and Digestive and Kidney Diseases. (2024). Definition & facts for Barrett’s esophagus. National Institutes of Health.
News in Health. (2018). Feeling the burn? National Institutes of Health.
Randhawa, M. A., et al. (2015). An old dietary regimen as a new lifestyle change for gastro esophageal reflux disease: A pilot study. Pakistan Journal of Pharmaceutical Sciences.
Sawada, A., et al. (2020). Belching in gastroesophageal reflux disease: Literature review. Journal of Clinical Medicine.
Surdea-Blaga, T., et al. (2019). Food and gastroesophageal reflux disease. Current Medicinal Chemistry.