FREE ONLINE ED ASSESSMENT. Start Here

Caffeine and Erectile Dysfunction (ED): Can It Help?

Kristin Hall, FNP

Reviewed by Kristin Hall, FNP

Written by Steph Coelho

Published 09/17/2017

Updated 11/27/2023

Caffeine has a complicated reputation. Ask around, and you’ll get different answers about whether it’s good or bad for you. 

Ultimately, though, there’s some solid evidence that antioxidant-rich coffee has health benefits — as long as you don’t go overboard.

If you’re dealing with erectile dysfunction (ED), you might be wondering whether your AM java habit is negatively impacting your sexual health. Or…. could it *gasp* be improving it? 

PDE-5 inhibitors like Viagra and Cialis probably come to mind when you think of treatment for ED. These meds work by increasing blood flow to your penis, and are safe and effective treatments. 

But researchers have also looked at natural alternatives for treating ED, like caffeine.  

The research on caffeine and erectile dysfunction isn’t clear-cut. While drinking coffee isn’t a treatment for ED, it might help boost your overall health, making you less likely to develop erectile problems.

Below, we dig into the link between caffeine and ED, including whether that morning cuppa is an effective treatment for ED (spoiler alert: it’s not!), caffeine side effects and research-backed ED treatments.

Choose your chew

Add a boost to your sex life with our new chewable formats

The Link Between Caffeine and ED

Let’s talk caffeine and erections. First off, is coffee good or bad for you? What’s the deal?

The good: Some evidence links drinking several cups of coffee and tea daily to a lower risk of stroke and dementia.

The bad: Too much caffeine — more than five cups per day — may have adverse health effects, according to the Food and Drug Administration (FDA).  

Okay, so coffee is both good and bad for you generally, but is it good for erectile dysfunction? 

Coffee and other substances containing caffeine might help with ED, but overall the evidence is mixed.

Moderate amounts of caffeine seem to lessen the risk of ED, according to some studies. 

One survey-based study from 2015 published in the journal PLOS One analyzed National Health and Nutrition Examination Survey data from 3,724 American men. The study authors noted a link between caffeine intake and a lower risk of ED in all participants except those with diabetes.

But how much caffeine are we talking about? An intake equivalent to about two to three cups of coffee per day was associated with a reduction in the prevalence of ED. 

But while it’s possible that caffeine might help prevent ED, it’s important to note that causation does not equal correlation. 

Bottom line: the jury’s still out.

If you’re interested in learning more about the link between sexual dysfunction and coffee, check out our blog on the benefits of coffee sexually.

Choose your chew

Add a boost to your sex life with our new chewable formats

Can I Use Caffeine to Treat Erectile Dysfunction?

No. Caffeine alone isn’t a solid solution for ED, at least according to the currently available evidence. You can’t caffeinate your way into an erection.

While a few cups of morning joe can be a part of a healthy routine, it’s not a magic pill for ED or a replacement for conventional ED medications like sildenafil (generic Viagra) and tadalafil (generic Cialis).  

That said, if you have ED, there’s nothing to suggest it’s time to give up your coffee-drinking habit. 

Quick note, though: Energy drinks and other sugary drinks containing caffeine probably aren’t the best choice, since they often contain ultra-high levels of caffeine or sugar. 

Conversely though, one 2014 study found a link between increased caffeine and sugar intake and lower incidence of erectile dysfunction. This may point to a possible protective effect from caffeine, though the study authors don’t dig into the why behind these results.

Want to learn more about the effects of energy drinks on your sexual health? Check out our article on whether energy drinks cause erectile dysfunction.

Side Effects of Using Caffeine for ED

Tea, coffee, lattes, espresso, chocolate-covered coffee beans and energy drinks — all tasty caffeine-filled options. 

Caffeine isn’t for everyone, though. 

For some, too much caffeine can leave them feeling jittery and unsettled. Others might get an upset stomach. And let’s not even mention the bathroom-related side effects of just a cup of coffee in the morning.

What about caffeine and erectile dysfunction? Can your aromatic brew negatively affect your ability to get and maintain an erection? Does caffeine cause ED in some cases?

Here are a few of the ED-related side effects possible with caffeine consumption:

  • Increased blood pressure. Things that go together: coffee and chocolate, peanut butter and jelly. Things that don’t? High blood pressure and erections. Drinking coffee can make you temporarily hypertensive, which can negatively impact your erection. 

  • Sleep troubles. It’s a good idea to avoid coffee and other caffeinated beverages after 3 p.m. That’s because caffeine can seriously mess with your sleep, causing insomnia and poor sleep quality. And we can bet you won’t be raring to go if you’re running on fumes.

  • Stomach troubles. The effects of caffeine can make you go in more ways than one. Not exactly the ideal starter for a romantic encounter.

  • Withdrawal can cause headaches. Your body can become dependent on caffeine, which means that regular coffee drinkers might experience (unsexy) headaches if they skip their usual cuppa.

Choose your chew

Sildenafil Chews

The same active ingredients as Viagra®. Starts working in 30 minutes and lasts up to 6 hours.

Tadalafil Chews

Same active ingredient as Cialis®. Starts working in 1 hour and lasts up to 24 hours.

Vardenafil Hard Mints

Exclusively at Hims, starts working in 15 minutes and lasts up to 6 hours. Same active ingredients as Levitra®.

Alternatives to Caffeine for ED

Real talk. You don’t have to give up caffeine if you have ED, but since coffee and tea don’t cut it as treatments for erection issues, it’s time to dig into some proven ED treatments.

If you’re having problems getting or keeping an erection, a healthcare professional might recommend the following meds:

If your causes of ED are more psychological, than physical though, you may need a different treatment. 

Stress, sexual performance anxiety and trauma can all mess with your ability to fully enjoy sex. If emotional issues like anxiety or depression are interfering with your sex life, it might be a good idea to talk to a professional about how you’re feeling, whether online or in person. In some cases, a combo of meds and behavioral treatments will be most effective.

Addressing the root cause of ED — like mental health issues — can help put you on the path to a healthier, less stress-inducing sex life. 

And speaking of root causes, adopting general healthy habits — drinking tea and coffee included! —can also help boost your sexual function and prevent erectile issues. Here are a few lifestyle factors to consider:

  • Regular exercise. Medical conditions like high blood pressure and heart disease can impact vascular health, damaging the blood vessels in your penis and putting you at higher risk for ED. Physical activity can help lower your risk of cardiovascular disease.

  • Dietary changes. A healthy, nutrient-dense diet can help you avoid all sorts of nasty health issues like heart disease and diabetes. Also key? Limiting alcohol consumption and quitting smoking, both risk factors for ED.

  • Meditation or yoga. If evil went by another name, it would probably be stress. Because if you think about it, stress is kind of the root of all evil — emotional and physical. Finding healthy ways to cope with daily stressors has many benefits. And less stress equals an easier time getting and keeping erections.

Sildenafil citrate

Get hard for 95% cheaper than Viagra

Caffeine and ED: The Bottom Line

Here’s the thing: caffeine isn’t an approved treatment for ED. While there’s no harm in continuing to drink tea and coffee as you usually would, it’s not going to have much of an impact on ED symptoms.

Let’s recap:

  • TRUE, combining caffeine intake with other healthy habits might help improve your overall health and, in turn, your erectile function.

  • BUT coffee isn’t a substitute for conventional medication treatments for ED.

  • AND, caffeine intake might even mess with your ability to enjoy sex, giving you the rumblies, impacting your sleep and increasing your blood pressure.

  • SO, if you’re looking for a way to solve your sexual performance issues, your best bet is to get medical advice from a qualified healthcare professional. 

How can you treat ED symptoms effectively? Erectile dysfunction medications like Viagra and Cialis are FDA-approved to help with erection troubles. 

10 Sources

  1. Lopez, D. S., Wang, R., Tsilidis, K. K., Zhu, H., Daniel, C. R., Sinha, A., & Canfield, S. (2015). Role of Caffeine Intake on Erectile Dysfunction in US Men: Results from NHANES 2001-2004. PloS one, 10(4), e0123547. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4412629/
  2. Zhang, Y., et al. (2021). Consumption of coffee and tea and risk of developing stroke, dementia, and poststroke dementia: A cohort study in the UK Biobank. PloS Medicine. Retrieved from https://journals.plos.org/plosmedicine/article?id=10.1371/journal.pmed.1003830
  3. Lopez, D. S., et al. (2018). Coffee intake and incidence of erectile dysfunction. Journal of Epidemiology, 187(5), 951-959. Retrieved from https://doi.org/10.1093/aje/kwx304
  4. Lopez, D. S., Wang, R., Tsilidis, K. K., Zhu, H., Daniel, C. R., Sinha, A., & Canfield, S. (2015). Role of Caffeine Intake on Erectile Dysfunction in US Men: Results from NHANES 2001-2004. PloS one, 10(4), e0123547. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4412629/
  5. Spilling the beans: How much caffeine is too much? (2023, September 7). Retrieved from https://www.fda.gov/consumers/consumer-updates/spilling-beans-how-much-caffeine-too-much
  6. Lopez, D.S., et al. (2014). MP32-06 Role of Caffeine and Sugar Consumption on Erectile Dysfunction in US Men. Journal of Urology, 191(4S), e332-e333. Retrieved from https://doi.org/10.1016/j.juro.2014.02.936
  7. Cappelletti, S., Piacentino, D., Sani, G., & Aromatario, M. (2015). Caffeine: cognitive and physical performance enhancer or psychoactive drug?. Current neuropharmacology, 13(1), 71–88. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4462044/
  8. Caffeine. (2021, September 8). Retrieved from https://medlineplus.gov/caffeine.html
  9. Treatment for erectile dysfunction. (2017, July). Retrieved from https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/treatment
  10. Symptoms & causes of erectile dysfunction. (2017, July). Retrieved from https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/symptoms-causes
Editorial Standards

Hims & Hers has strict sourcing guidelines to ensure our content is accurate and current. We rely on peer-reviewed studies, academic research institutions, and medical associations. We strive to use primary sources and refrain from using tertiary references. See a mistake? Let us know at [email protected]!

This article is for informational purposes only and does not constitute medical advice. The information contained herein is not a substitute for and should never be relied upon for professional medical advice. Always talk to your doctor about the risks and benefits of any treatment. Learn more about our editorial standards here.

Kristin Hall, FNP

Kristin Hall is a board-certified Family Nurse Practitioner with decades of experience in clinical practice and leadership. 

She has an extensive background in Family Medicine as both a front-line healthcare provider and clinical leader through her work as a primary care provider, retail health clinician and as Principal Investigator with the NIH

Certified through the American Nurses Credentialing Center, she brings her expertise in Family Medicine into your home by helping people improve their health and actively participate in their own healthcare. 

Kristin is a St. Louis native and earned her master’s degree in Nursing from St. Louis University, and is also a member of the American Academy of Nurse Practitioners. You can find Kristin on LinkedIn for more information.

Read more