Why does Viagra give you heartburn?

Clinical psychologist and AASECT-certified sex therapist Dr. Shannon Chavez
Reviewed By
Dr. Shannon Chavez
Written by
Mojo’s Research Team
Published on
July 8, 2022
Bearded man standing in a bathroom with one hand pressed to his chest
Table of contents
Chevron down icon

Viagra (sildenafil) can cause heartburn because it relaxes the muscle valve between your stomach and esophagus, which lets stomach acid rise. Dyspepsia, the clinical term for heartburn-type discomfort, showed up in about 7% of people taking it in clinical trials, rising to 17% at the highest dose (Pfizer, 2017). Here’s why it happens, whether other ED medications do the same thing, and what actually helps.

Does Viagra cause heartburn?

Yes. Dyspepsia is one of the most common side effects listed in Viagra’s FDA-approved prescribing information (Pfizer, 2017).

In both trial comparisons, about 2% of people taking a placebo reported it (Pfizer, 2017).

How Viagra causes heartburn

You can read how Viagra works in more depth elsewhere, but here’s the short version: Viagra relaxes smooth muscle throughout your whole body, not just in your penis, and that’s why heartburn shows up as a side effect.

At the bottom of your esophagus sits a ring of muscle called the lower esophageal sphincter (LES). It works like a valve, staying closed to keep stomach acid where it belongs.

Sildenafil (the active ingredient in Viagra) relaxes this same valve. Research shows PDE5 inhibitors significantly reduce resting pressure in the LES, which can let acid travel back up into the esophagus (Gholami et al., 2023). Other research points the same way: sildenafil appears to lower LES pressure and change how the esophagus moves food and acid (Fox et al., 2007). That’s what causes the burning feeling of heartburn.

This is a side effect of how the drug works in your whole body. It isn’t something you’re doing wrong.

Heartburn vs. GERD: what’s the difference?

Heartburn is the burning feeling you get when stomach acid moves up into your esophagus. It’s also called acid reflux, and it usually lasts a few minutes to a few hours.

Common symptoms include (Cleveland Clinic, 2022):

  • A burning feeling in your chest
  • A bitter or acidic taste in your mouth
  • Pain that gets worse when you lie down or bend over
  • Trouble swallowing

Occasional heartburn is common. But if it happens more than twice a week, it might be gastroesophageal reflux disease, or GERD (Cleveland Clinic, 2022).

Does Viagra cause acid reflux?

Yes, it can. PDE5 inhibitors lower resting pressure in the lower esophageal sphincter, the valve that keeps acid in your stomach (Gholami et al., 2023). Sildenafil appears to do the same, so acid can travel back up into the esophagus, which is reflux (Fox et al., 2007).

Can sildenafil make GERD worse?

Research on this is limited. In a systematic review, sildenafil lowered resting pressure in the lower esophageal sphincter in healthy volunteers (Gholami et al., 2023), so its effect on that valve shows up in people without reflux problems. Heartburn more than twice a week may point to GERD (Cleveland Clinic, 2022), so talk to your doctor about it.

Other Viagra side effects to know about

Heartburn isn’t the only side effect worth knowing. If you want the bigger picture on erectile dysfunction (ED) and how it’s treated, our full guide to erectile dysfunction covers that in depth. Here, the focus is what the FDA-approved prescribing information says about Viagra specifically.

The most common side effects include (Pfizer, 2017):

  • Headache
  • Flushing (redness in the face)
  • Nasal congestion
  • Nausea
  • Dizziness
  • Dyspepsia (heartburn)

Less common reported reactions include insomnia and nosebleeds (Pfizer, 2017).

If any of these are worrying you, talk to your doctor or pharmacist. They can help you weigh the trade-offs or look at other options.

Do other ED medications cause heartburn too?

Yes, in principle. All PDE5 inhibitors work the same way, though the evidence for each specific drug varies. Here’s how they compare.

Brand nameActive ingredientTypical durationHeartburn/reflux evidence
ViagraSildenafil~4-5 hoursFDA label: dyspepsia is listed as a common side effect (Pfizer, 2017)
CialisTadalafilUp to 36 hoursA research review found that PDE5 inhibitors as a class can lower LES pressure (Gholami et al., 2023), but Cialis doesn't have its own FDA-label percentage for heartburn
Levitra / StaxynVardenafil~4-5 hoursThe same research review found this drug class can lower LES pressure (Gholami et al., 2023), but Levitra and Staxyn don't have their own FDA-label percentage for heartburn
StendraAvanafil~6 hoursNot covered by the Gholami et al. (2023) review. There isn't clear data on Stendra and heartburn yet, so the risk here just isn't known

This answers a question a lot of people have: does Cialis or Levitra cause the same problem as Viagra? They work through the same mechanism, but only sildenafil has a specific FDA-label percentage to point to.

How to manage heartburn while taking Viagra

Start with the simplest fix: drink a full glass of water when you take your dose. This helps the pill move through your stomach and can ease irritation. Beyond that, here’s what else can help.

CategoryWhat to tryWhy it helps
Timing and foodTake Viagra with a light meal, and avoid alcohol and spicy or fatty food around your doseCuts down on acid-reflux triggers on top of the drug's effect on the LES
LifestyleStay upright for a few hours after taking it, avoid tight clothing, and don't lie down right awayReduces the physical pressure that pushes acid upward
Over-the-counterAntacids or H2 blockers, checked with a doctor or pharmacist firstCan reduce acid without changing your Viagra dose yourself
Talk to a doctor or pharmacistAsk about the lowest effective dose or an alternative PDE5 inhibitorOnly a doctor or pharmacist should adjust your dosage or switch your medication

When heartburn needs a doctor’s help

In severe cases that don’t improve with other treatment, doctors may discuss a procedure called fundoplication. It tightens the area around the esophagus to help stop acid from moving upward (NIDDK, 2020). This is a decision made with a doctor, not something to pursue alone.

What to do if Viagra’s side effects aren’t worth it

You don’t have to choose between a side effect you hate and giving up on your erections entirely.

Pills like Viagra address blood flow. They don’t address the stress, performance pressure, or nervous system patterns that are often driving the problem in the first place.

If you’re unsure whether your ED is physical or psychological, here’s how to tell if your ED is physical or psychological.

Experts
“Sex therapy isn't just about sex. It's about your relationship with your body.”
Dr. Shannon Chavez
Licensed Clinical Psychologist, AASECT Certified Sex Therapist, and Certified Clinical Sexologist

One study found up to 30% of men under 40 have experienced erection difficulties at all (Nguyen et al., 2017).

It’s also worth asking whether Viagra actually helps psychological ED in the first place, since for a lot of men it’s treating a symptom rather than a root cause. That’s the gap The Erection Reset is built to close: an evidence-based course that helps you understand what’s driving your erection difficulties and work through them, without relying on a pill that comes with its own side effects.

Programs
The Erection Reset
Your erection isn’t failing. It’s signalling. This course teaches you to retrain the pattern behind it.
Learn more

If your ED has a physical cause, treatment beyond pills includes penis pumps, ED rings, and other approaches a doctor can walk you through.

FAQs

How do you stop heartburn when taking Viagra?
Chevron down icon

Drink water with your dose, avoid large meals right before or after, and ask your doctor or pharmacist about an antacid or H2 blocker if it keeps happening.

Can I take an antacid with Viagra?
Chevron down icon

Often, yes, because antacids and H2 blockers are commonly used for Viagra-related heartburn. Check with your doctor or pharmacist first, especially if you take other medications.

Does Cialis or Levitra cause heartburn too?
Chevron down icon

Yes, Cialis and Levitra work the same way as Viagra, so heartburn is possible with each of them (Gholami et al., 2023).

Is heartburn from Viagra dangerous?
Chevron down icon

Usually no, but heartburn more than twice a week can signal GERD (Cleveland Clinic, 2022). Talk to your doctor if that happens.

Do erection issues always need medication?
Chevron down icon

No. Non-medication approaches exist alongside or instead of pills.

Sources

  1. Pfizer. (2017). Viagra (sildenafil citrate) tablets: Highlights of prescribing information.
  2. Shafiee, A., Bahri, R. A., Athar, M. M. T., Afsharrezaei, F., & Gholami, M. (2023). Phosphodiesterase 5 (PDE-5) inhibitors (sildenafil, tadalafil, and vardenafil) effects on esophageal motility: A systematic review. BMC Gastroenterology, 23(1), 170.
  3. Fox, M., et al. (2007). The effect of sildenafil on segmental oesophageal motility and gastro-oesophageal reflux. Alimentary Pharmacology & Therapeutics.
  4. Cleveland Clinic. (2022). GERD (chronic acid reflux).
  5. National Institute of Diabetes and Digestive and Kidney Diseases. (2020). Treatment for GER & GERD.
  6. Nguyen, H. M. T., Gabrielson, A. T., & Hellstrom, W. J. G. (2017). Erectile dysfunction in young men—A review of the prevalence and risk factors. Sexual Medicine Reviews, 5(4), 508–520.
Editorial standards

Mojo aims to provide useful wellbeing resources to its users; however, you should not solely rely on opinions or advice available on the Website or given by the Community. Always seek advice from a qualified medical doctor or other healthcare professional before acting.

About the experts

Clinical psychologist and AASECT-certified sex therapist Dr. Shannon Chavez
Dr. Shannon Chavez
Clinical psychologist & AASECT-certified sex therapist

A clinical psychologist and AASECT-certified sex therapist, Shannon counsels couples and helps men see erection issues as nervous system patterns, not defects.

Learn more
Next arrow
Tired of trading one problem for another?
Dismiss

The Erection Reset helps you understand what's really driving your erection issues and work on them, without relying on a pill that brings its own side effects.