Key takeaways
Caffeine doesn’t cause erectile dysfunction (ED) — certainly not in moderate doses, and not directly.
Some research suggests moderate caffeine consumption could have a positive impact on erectile health, but other studies have found no correlation.
Consuming caffeine may offer some benefits for other conditions that can contribute to ED, such as depression and diabetes.
Energy drinks can have a higher caffeine content, which could pose risks for people with certain heart conditions, which could be indirectly harmful for erectile health.
Here's what we'll cover
Here's what we'll cover
Here's what we'll cover
Key takeaways
Caffeine doesn’t cause erectile dysfunction (ED) — certainly not in moderate doses, and not directly.
Some research suggests moderate caffeine consumption could have a positive impact on erectile health, but other studies have found no correlation.
Consuming caffeine may offer some benefits for other conditions that can contribute to ED, such as depression and diabetes.
Energy drinks can have a higher caffeine content, which could pose risks for people with certain heart conditions, which could be indirectly harmful for erectile health.
If you’ve ever wondered, “does caffeine cause erectile dysfunction?” the short answer is probably not — at least not in moderate doses and not directly. Some research suggests moderate caffeine consumption could even have a positive impact on erectile dysfunction (ED) or on other parts of health that could contribute to sexual function.
Super high doses (we’re looking at you, energy drinks) may be a different story and could potentially have harmful impacts on your general health and sex life.
Read on as we explore the connection between caffeine and ED, and how to safely consume caffeine for better energy, both in and out of the bedroom.
Does caffeine improve ED?
Let’s cut right to the chase: it’s not only unlikely caffeine causes ED, but there’s at least some possibility it could improve it. The results aren’t so clear cut, though.
While some research suggests a moderate intake of caffeine may reduce the risk of ED, the results are mixed. It’s also difficult to prove causation between caffeine and decreased ED, since the data is not randomized and controlled. Here are some examples:
In one national study, men who consumed 170–375 mg of caffeine daily (around 2–3 cups of coffee) were found to be less likely to experience ED than men who had no caffeine or barely any (0–7 mg daily). This finding held true for men without comorbidities, as well as men with obesity, overweight, or high blood pressure — but not for those with diabetes.
However, in a later study with a larger sample size, the same researchers did not find any correlation between caffeine intake and ED.
Additionally, a 2024 meta-analysis looking at over 50,000 men did not find a significant relationship between caffeine intake and ED.
Given these mixed results, it’s difficult to make any definitive statements about the relationship between these two variables and it’s possible they aren’t linked at all.
Laboratory and animal studies suggest a possible mechanism for caffeine’s potential positive impact on ED may have something to do with caffeine’s effects on blood flow. Specifically, caffeine may relax the arteries that bring blood into the penis, as well as the erectile tissues themselves, enabling blood to easily flow in and fill up the penis.
That being said, caffeine can have opposing vascular effects in other circumstances and this potential mechanism hasn’t been confirmed in humans.
Similar effects on blood flow occur when you get an erection, as well as when you take ED medications like Cialis (tadalafil) or Viagra (sildenafil).
Coffee can give you an energy boost, too. Studies have found that drinking coffee about an hour before a resistance workout can boost performance and muscular endurance — qualities that may be useful if you’re also looking to last longer during sex.
Potential benefits of caffeine for ED
In most cases, ED is treatable. Treatment often begins with identifying and treating the underlying factor, or factors, contributing to ED. Coffee might have a positive impact on other conditions that have been linked to ED, such as diabetes, depression, and aging.
Diabetes
Some epidemiological studies and newer research reviews have shown regular coffee consumption has been linked to a lower risk of type 2 diabetes. However, it’s difficult to prove a causative relationship.
Remember, maintaining a healthy diet and exercising regularly is more important for reducing the risk of diabetes than simply drinking coffee.
It’s important to make sure your caffeine doesn’t come in the form of beverages that contain excess amounts of sugar and fat, because these components could negate any potential benefits. New research has found that adding sugar or artificial sweeteners to coffee weakens its protective association with type 2 diabetes.
Depression
Depression has been linked to erectile dysfunction, and coffee has been shown to have a dose-dependent relationship with depression, according to a large systematic review, including over 400,000 participants.
The more coffee you drink (up to a ceiling of 400 milliliters a day, or about 2 cups), the lower the relative risk of depression, which may make sense due to the stimulant effects of caffeine on the body, which may help counteract symptoms of depression such as fatigue.
That being said, those with anxiety on top of their depression should be careful, as the stimulant effects of caffeine can worsen anxiety.
Aging
Coffee and tea both contain a high amount of antioxidants — around 200–550 mg per cup for coffee and somewhat less for tea, though the exact amount depends on how it’s brewed.
Antioxidants can help fight the oxidative stress that accelerates the aging process and contributes to other risk factors for ED, including diabetes and heart disease.
Recent research has gone so far as calling coffee an "elixir of youth," pointing to its antioxidants' ability to support cognitive function and positively influence metabolic and cardiovascular health — all factors that play into longevity.
However, you can’t totally counteract the effects of aging, especially not with coffee alone. What’s most important is promoting healthy aging by paying attention to lifestyle factors like diet and exercise as much as possible.
How much caffeine should you consume?
In general, consuming up to 400 mg of caffeine daily is considered safe. For reference, most caffeinated drinks contain somewhere between 70 to 100 mg of caffeine, although you can always check the nutritional label to be sure.
However, depending on your individual circumstances, it may not be wise to enjoy quite that much caffeine on a daily basis. For example, as you age, your body may become more sensitive to the effects of caffeine.
Depending on your other health conditions, especially cardiovascular health or anxiety-related issues, high amounts of caffeine may not be recommended. Talk to your healthcare provider to be sure.
Mild side effects of consuming too much caffeine can include:
Anxiety
Restlessness
Fidgeting
Insomnia (trouble sleeping)
Facial flushing
Increased urination
Muscle twitches
Feeling irritable or agitated
Increased heart rate
Digestive upset
In much higher doses, usually from caffeine pills, powders, or multiple energy drinks, caffeine can lead to more serious side effects, including:
Disorientation
Hallucinations
Psychosis
Seizure
Arrhythmia (irregular heartbeat)
These serious reactions are rare and typically occur at extremely high doses that are hard to reach through coffee or tea alone.
Do energy drinks cause ED?
No, energy drinks don’t directly cause ED, but long-term consumption of these high-caffeine and high-sugar drinks may be harmful to health in ways that can contribute to a higher ED risk.
Energy drinks can contain as much or even significantly more caffeine than coffee or tea in a single drink. If you drink multiple energy drinks in a day, this can easily tip you from the healthy range of caffeine into the 400 mg or higher zone where things can get risky.
Energy drink consumers commonly report side effects, including feeling restless or jittery, having trouble sleeping, and experiencing digestive upset. Furthermore, drinking too many energy drinks has been linked to arrhythmias (irregular heartbeat) and other heart issues — in both people with established heart problems and those with good heart health.
ED and heart disease often overlap, because many people with ED experience this issue due to underlying issues with their blood vessels. This is why men with ED, for example, are significantly more likely to experience a cardiovascular event, heart attack, and stroke. Thus, caffeine might not be the safest option or suggestion for the population of people with ED.
In addition to raising the risk of heart problems (a major risk factor for ED), energy drink consumption has been linked to other contributing factors to ED, such as depression and poor mental health.
Besides containing high amounts of caffeine, many energy drinks also contain large quantities of sugar, which can be bad for both your overall health and erectile health.
Regularly drinking sugar-sweetened beverages like soft drinks is known to have negative impacts on your blood vessels, and it’s really important for your blood vessels to be in good shape for good erectile function.
Consuming sugary drinks can lead to all kinds of health complications including diabetes, which only further damages your blood vessels and nerves and can make it that much more challenging to get an erection. Furthermore, regularly drinking sugary or artificially sweetened beverages has been shown to lower sperm concentration and total sperm count.
Bottom line
The relationship between caffeine and ED isn’t so clear-cut, but it almost definitely doesn’t cause ED directly, and in fact, it may have health benefits that could potentially result in sexual benefits for some people. Here’s what we know.
The research is mixed on whether caffeine helps ED. Ultimately, more research is needed.
Caffeine intake may help reduce the risk of diabetes and depression, two conditions that are linked with increased risk of ED.
Consuming up to 400 milligrams ( mg) of caffeine daily is considered safe for most people, though caffeine doesn’t mix well with certain health conditions, such as anxiety.
Be careful of calories lurking within your favorite beverages — some coffee and tea drinks have a lot of excess calories from sugar or cream.
In most cases, ED is treatable, often with a combination of lifestyle modifications, ED medications like Viagra or Cialis (if your healthcare provider thinks these medications are safe for you), and in some cases, relationship or mental health counseling.
If you are experiencing ED, speak with your healthcare provider to learn more about your options.
Frequently asked questions (FAQs)
Can caffeine make it harder to get hard?
No, caffeine should not make it harder for you to get an erection. There is no evidence that moderate caffeine consumption leads to erectile dysfunction. While there’s some research suggesting caffeine intake may help with erectile function, other studies have shown no association between caffeine intake and ED.
Can caffeine act as Viagra?
No, caffeine cannot act as Viagra. Although caffeine may sometimes improve blood flow, it does not increase penile blood flow to the extent that Viagra (or any other ED medication) does.
What causes ED?
ED can be caused or exacerbated by a number of things, including:
Aging
Cardiovascular disease
Hypertension (high blood pressure)
Hyperlipidemia (high cholesterol)
Diabetes
Hypogonadism
Benign prostatic hyperplasia (BPH) with lower urinary symptoms (LUTS)
Depression
Performance anxiety
Heavy alcohol consumption
Prescription medications, including antidepressants and blood pressure medications
DISCLAIMER
If you have any medical questions or concerns, please talk to your healthcare provider. The articles on Health Guide are underpinned by peer-reviewed research and information drawn from medical societies and governmental agencies. However, they are not a substitute for professional medical advice, diagnosis, or treatment.
Cialis Important Safety Information: Read more about serious warnings and safety info.
Viagra Important Safety Information: Read more about serious warnings and safety info.
References
Al-Shaar, L., Vercammen, K., Lu, C., et al. (2017). Health effects and public health concerns of energy drink consumption in the United States: a mini-review. Frontiers in Public Health, 5, 225. doi: 10.3389/fpubh.2017.00225. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5583516/
Erdmann, J., Wiciński, M., Wódkiewicz, E., et al. (2021). Effects of energy drink consumption on physical performance and potential danger of inordinate usage. Nutrients, 13(8), 2506. doi: 10.3390/nu13082506. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8401129/
Evans, J., Richards, J. R., & Battisti, A. S. (2023). Caffeine. StatPearls. Retrieved from https://www.ncbi.nlm.nih.gov/books/NBK519490/
Grgic, J., Mikulic, P., Schoenfeld, B. J., et al. (2019). The influence of caffeine supplementation on resistance exercise: a review. Sports Medicine (Auckland, N.Z.), 49(1), 17–30. doi: 10.1007/s40279-018-0997-y. Retrieved from https://pubmed.ncbi.nlm.nih.gov/30298476/
Grosso, G., Micek, A., Castellano, S., et al. (2016). Coffee, tea, caffeine and risk of depression: A systematic review and dose-response meta-analysis of observational studies. Molecular Nutrition & Food Research, 60(1), 223–234. doi: 10.1002/mnfr.201500620. Retrieved from https://pubmed.ncbi.nlm.nih.gov/26518745/
Henn, M., Glenn, A. J., Willett, W. C., et al. (2025). Coffee consumption, additive use, and risk of type 2 diabetes-results from 3 large prospective United States cohort studies. The American Journal of Clinical Nutrition, 121(3), 695–702. doi: 10.1016/j.ajcnut.2025.01.017. Retrieved from https://ajcn.nutrition.org/article/S0002-9165%2825%2900017-6/fulltext
Karimi, M., Asbaghi, O., Kazemi, K., et al. (2024). Association between caffeine intake and erectile dysfunction: a meta-analysis of cohort studies. Journal of Health, Population, and Nutrition, 43(1), 154. doi: 10.1186/s41043-024-00645-w. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC11439322/
Kobylińska, Z., Biesiadecki, M., Kuna, E., et al. (2025). Coffee as a source of antioxidants and an elixir of youth. Antioxidants (Basel, Switzerland), 14(3), 285. doi: 10.3390/antiox14030285. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC11939571/
Kolb, H., Martin, S., & Kempf, K. (2021). Coffee and lower risk of type 2 diabetes: arguments for a causal relationship. Nutrients, 13(4), 1144. doi: 10.3390/nu13041144. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8066601/
Leslie, S. W. & Sooriyamoorthy, T. (2024). Erectile dysfunction. StatPearls. Retrieved Mar. 25, 2024 from https://www.ncbi.nlm.nih.gov/books/NBK562253/
Lopez, D. S., Wang, R., Tsilidis, K. K., et al. (2015). Role of caffeine intake on erectile dysfunction in US men: results from NHANES 2001-2004. PloS One, 10(4), e0123547. doi: 10.1371/journal.pone.0123547. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4412629/
Lopez, D. S., Liu, L., Rimm, E. B., et al. (2018). Coffee intake and incidence of erectile dysfunction. American Journal of Epidemiology, 187(5), 951–959. doi: 10.1093/aje/kwx304. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5928455/
Nassan, F. L., Priskorn, L., Salas-Huetos, A., et al. (2021). Association between intake of soft drinks and testicular function in young men. Human Reproduction (Oxford, England), 36(12), 3036–3048. doi: 10.1093/humrep/deab179. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8600659/
Polasek, T. M., Patel, F., Jensen, B. P., et al. (2013). Predicted metabolic drug clearance with increasing adult age. British Journal of Clinical Pharmacology, 75(4), 1019–1028. doi: 10.1111/j.1365-2125.2012.04446.x. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3612720/
Rastrelli, G., Corona, G., & Maggi, M. (2020). Both comorbidity burden and low testosterone can explain symptoms and signs of testosterone deficiency in men consulting for sexual dysfunction. Asian Journal of Andrology, 22(3), 265–273. doi: 10.4103/aja.aja_61_19. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7275801/#!po=73.5294
Torabynasab, K., Shahinfar, H., Payandeh, N., et al. (2023). Association between dietary caffeine, coffee, and tea consumption and depressive symptoms in adults: A systematic review and dose-response meta-analysis of observational studies. Frontiers in Nutrition, 10, 1051444. doi: 10.3389/fnut.2023.1051444. Retrieved from https://pmc.ncbi.nlm.nih.gov/articles/PMC9947483/
Ungvari, Z. & Kunutsor, S. K. (2024). Coffee consumption and cardiometabolic health: a comprehensive review of the evidence. GeroScience, 46(6), 6473–6510. doi: 10.1007/s11357-024-01262-5. Retrieved from https://pubmed.ncbi.nlm.nih.gov/38963648/
Yashin, A., Yashin, Y., Wang, J. Y., et al. (2013). Antioxidant and antiradical activity of coffee. Antioxidants (Basel, Switzerland), 2(4), 230–245. doi:10.3390/antiox2040230. Retrieved from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4665516/













