These 9 Medications Can Cause Heartburn

Medication may ease your health issues, but sometimes, it can also trigger heartburn.

Getty Images

Heartburn is a form of indigestion that happens when stomach acid backs up into the esophagus, the tube that connects the stomach to the throat. And if you have heartburn, pills can be your best friend and worst enemy.

Some medications (such as antacids) soothe the painful burning you may experience after downing an order of buffalo wings or drinking one too many glasses of wine.

Other pills—the ones you take for health conditions that are not related to heartburn—may make the acid reflux worse or even trigger heartburn in the first place. Is your medication to blame for your pain? This guide will help you find out.


The world's wonder drug may be able to ease everything from headaches to heart attacks. But for those who experience heartburn, it also comes with a cost: more acid production in the stomach.

Aspirin also keeps the body from forming protective prostaglandins in the digestive tract. Prostaglandins are compounds made by the body and act like hormones. The ones in the stomach prevent cells in the stomach wall from producing and releasing acid.


Popular over-the-counter ibuprofen products such as Motrin and Advil can increase acid production in the stomach and reduce protective prostaglandins.

Instead, you can try acetaminophen (Tylenol) for pain relief, which does not increase acid levels, according to Vivek Kaul, MD, a gastroenterologist at the University of Rochester Medical Center, in Rochester, New York.

Even a narcotic such as oxycodone acetaminophen (Percocet) may be better for your stomach than taking six Motrin tablets a day, said Dr. Kaul. But some narcotics can cause heartburn—in addition to being habit-forming—so discuss your options with a healthcare provider.


Antibiotics like tetracyclines (a class of broad-spectrum antibiotics) that are used to treat common bacterial infections can also cause heartburn.

If you experience heartburn often and need an antibiotic, ask a healthcare provider for one that's gentle on the esophagus and stomach if possible.

Or, an enteric-coated pill may be less abrasive. That's because the coating keeps the pill intact as it passes through the stomach and causes it to dissolve in your small intestine instead of in your stomach.

Blood Pressure Drugs

Blood pressure medications known as calcium channel blockers and beta blockers can provoke heartburn. They might do so by relaxing the lower esophageal sphincter (LES), which can allow stomach acid to seep up into the esophagus.

If this happens to you, ask a healthcare provider about alternatives. "There are a lot of blood pressure medications out there, and sometimes you can successfully switch," said Timothy Pfanner, MD, assistant professor of internal medicine at Texas A&M Health Science Center College of Medicine, in College Station.

Bone-Strengthening Drugs

Drugs for osteoporosis known as bisphosphonates—including alendronate (Fosamax), ibandronate (Boniva), and risedronate (Actonel)—are notorious for causing heartburn.

Some formulations that are taken less frequently may be easier on the stomach. Zoledronic acid (Reclast), for instance, is an infusion drug that needs to be taken only once a year.

If you're still on a daily or weekly bisphosphonate pill, taking it with a full glass of water and not lying down for 30 minutes afterward may help avoid heartburn.

Sleeping Pills and Sedatives

Medications known as benzodiazepines—such as diazepam (Valium) and lorazepam (Ativan)—are designed to relieve anxiety and help you relax. But they also relax your LES, which may lead to heartburn.

It also doesn't help that most people lie down after taking these medications: Lying down can aggravate acid reflux. When you recline, gravity no longer helps keep stomach acid down, making it easier for the acid to get into the esophagus.

Tricyclic Antidepressants

Some of the older tricyclic antidepressants (such as imipramine or amitriptyline) may contribute to heartburn by slowing the speed at which the stomach empties, said Dr. Kaul.

"If the stomach isn't emptying as it's supposed to, then acid and food products will sit there for a long time and will be more likely to reflux back," explained Dr. Kaul. Tricyclic antidepressants can also relax the LES, which increases the risk of heartburn.

Generally speaking, some psychiatric drugs work in a more targeted way and have fewer gastrointestinal side effects.

Iron Supplements

Iron is a mineral that your body needs for many functions. It spurs the body to produce more red blood cells, which carry oxygen throughout the body. Your body needs the right amount of iron; if you have too little iron, you may develop iron deficiency anemia.

Iron deficiency anemia is a common condition that's treated with iron supplementation. Taking iron supplements as pills can irritate the lining of your esophagus and lead to acid reflux.

Research has suggested that iron erodes the mucosa of the gastrointestinal (GI) tract. Researchers commented that iron pill–induced gastritis (inflammation of the stomach lining) has only been documented when iron supplementation is given in pill form, not in liquid form.

Ask a healthcare provider for alternative forms of iron supplements, or reduce the odds of reflux by taking the pills sitting up or standing, not lying down.

Potassium Supplements

These supplements are often taken to help normalize high blood pressure, but they can irritate the lining of the esophagus, said Dr. Kaul.

Not every person who takes potassium is going to experience heartburn. But to reduce the chances, be sure to take the medicine while sitting up, and wash it down with plenty of water.

If you still feel the burn, ask a healthcare provider for another type of blood pressure medication or for a slow-release enteric-coated version of potassium.

Dietary supplements are minimally regulated by the FDA and may or may not be suitable for you. The effects of supplements vary from person to person and depend on many variables, including type, dosage, frequency of use, and interactions with current medications. Please speak with your healthcare provider or pharmacist before starting any supplements.

How To Reduce Heartburn Risk

Along with talking to a healthcare provider about alternative medications that don't cause heartburn, there are many lifestyle changes that can reduce or prevent heartburn. Incorporating these changes into your daily routine may help:

  • Not lying down within a few hours of eating a meal or taking medication
  • Eating smaller meals
  • Losing weight if needed
  • Avoiding tight-fitting clothes

There are also a number of foods and drinks for you to avoid that can trigger heartburn. They include:

  • Alcohol
  • Carbonated drinks
  • Citrus fruits and juices
  • Caffeine (including chocolate)
  • Full-fat dairy products
  • Mint (e.g., peppermint, spearmint)
  • Spicy, fatty, or fried foods
  • Tomatoes and tomato sauces

Also, take medications with water and, if it's okay to do so, with food. Check with a healthcare provider for each medication to make sure that food doesn't intervene with how the medications are absorbed in your body. Additionally, you don't want to change or stop any medications without talking with a healthcare provider first.

A Quick Review

One cause of heartburn can be medications, such as antibiotics, sleeping pills, and bone-strengthening drugs. If you're taking any medicines that may be giving you heartburn, talk with a healthcare provider about other treatment options.

You can also help reduce or prevent heartburn with lifestyle changes, like not wearing tight-fitting clothes or avoiding foods and drinks that trigger heartburn. But seek medical attention if you still have heartburn issues that won't let up.

Was this page helpful?
22 Sources 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. Medline Plus. Aspirin.

  2. Angiolillo DJ, Prats J, Deliargyris EN, et al. Pharmacokinetic and pharmacodynamic profile of a novel phospholipid aspirin formulationClin Pharmacokinet. 2022;61(4):465-479. doi:10.1007/s40262-021-01090-2

  3. National Cancer Institute. Prostaglandin.

  4. Malik K, Dua A. Prostaglandins. In: StatPearls. StatPearls Publishing; 2022.

  5. American College of Gastroenterology. Peptic ulcer disease.

  6. Ghlichloo I, Gerriets V. Nonsteroidal anti-inflammatory drugs(NSAIDs). In: StatPearls. StatPearls Publishing; 2022.

  7. Salawi A. Pharmaceutical coating and its different approaches, a reviewPolymers. 2022;14(16):3318. doi:10.3390/polym14163318

  8. Li Z tong, Ji F, Han X wei, Wang L, Yue Y qiang, Wang Z gao. The role of gastroesophageal reflux in provoking high blood pressure episodes in patients with hypertensionJournal of Clinical Gastroenterology. 2018;52(8):685-690. doi:10.1097/MCG.0000000000000933

  9. Bone Health & Osteoporosis Foundation. Side effects of bisphosphonates.

  10. Bone Health & Osteoporosis Foundation. Zolendronic acid (Reclast).

  11. Rosen HN. Bisphosphonate therapy for the treatment of osteoporosis. UpToDate.

  12. Osadchuk AM, Davydkin IL, Gricenko TA, Osadchuk MA. Gastroesophageal reflux disease and esophagitis associated with the use of drugs: the modern state of the problem. Terapevticheskii arkhiv. 2019;91(8):135-140.doi:10.26442/00403660.2019.08.000228

  13. Medline Plus. GERD.

  14. Medline Plus. Amitriptyline.

  15. Medline Plus. Imipramine.

  16. MedlinePlus. Heartburn.

  17. Mokhtare M, Chaharmahali A, Bahardoust M, et al. The effect of adding duloxetine to lansoprazole on symptom and quality of life improvement in patients with gastroesophageal reflux diseases: A randomized double-blind clinical trialJ Res Med Sci. 2021;26(1):4. doi:10.4103/jrms.JRMS_300_19

  18. Philpott HL, Nandurkar S, Lubel J, Gibson PR. Drug-induced gastrointestinal disordersFrontline Gastroenterology. 2014;5(1):49-57. doi:10.1136/flgastro-2013-100316

  19. National Library of Medicine Medline Plus. Iron.

  20. Onorati M, Nicola M, Renda A, Lancia M, Di Nuovo F. Iron overload in gastric mucosa: underdiagnosed condition rarely documented in clinical and pathology reportsCureus. 12(5):e8234. doi:10.7759/cureus.8234

  21. Hashash JG, Proksell S, Kuan SF, Behari J. Iron pill-induced gastritisACG Case Rep J. 2013;1(1):13-15. Published 2013 Oct 8. doi:10.14309/crj.2013.7

  22. Medline Plus. Esophagitis.

Related Articles