How Exercise and Diet Impact ED: The Evidence
Lifestyle changes alone rarely replace medication for most patients — but they can meaningfully improve outcomes. Here is what the research actually shows.
Quick answer: Aerobic exercise and Mediterranean-style diet can meaningfully improve erectile function in men with mild-to-moderate ED. A 2018 meta-analysis in the Journal of Sexual Medicine found aerobic exercise improved erectile function scores by an average of 50% in men with cardiovascular risk factors. Lifestyle changes complement medication — they do not replace it for most men.
The Vascular Connection
ED and cardiovascular disease share the same root cause: endothelial dysfunction. The endothelium is the inner lining of blood vessels, and it produces nitric oxide — the signaling molecule that causes blood vessel smooth muscle to relax, enabling blood flow. When the endothelium is damaged (by inflammation, oxidative stress, smoking, poor diet, or metabolic disease), nitric oxide production drops, and blood flow is impaired everywhere — including to erectile tissue.
This is why lifestyle interventions that improve cardiovascular health — aerobic exercise, dietary changes, weight loss, smoking cessation — also tend to improve erectile function. They act on the same underlying mechanism.
It is also why ED medications work: sildenafil and tadalafil (PDE5 inhibitors) do not create nitric oxide — they amplify its signal, making the available nitric oxide more effective at relaxing blood vessels. Lifestyle changes that increase baseline nitric oxide production compound that benefit.
Aerobic Exercise: The Strongest Evidence
A 2018 meta-analysis published in the Journal of Sexual Medicine analyzed 10 randomized controlled trials examining aerobic exercise and ED. The findings were clinically significant: in men with cardiovascular risk factors (hypertension, diabetes, obesity, metabolic syndrome), aerobic exercise improved erectile function scores (measured using the validated IIEF questionnaire) by an average of 50%.
The protocol studied most consistently: 40 minutes per session, 4 times per week, for at least 6 months. The specific activity mattered less than consistency — walking, cycling, swimming, and jogging all produced benefit. This is not elite-athlete training. Brisk walking 40 minutes four times per week meets the studied threshold.
The mechanism: aerobic exercise increases cardiac output, stimulates endothelial nitric oxide synthase (eNOS), reduces systemic inflammation, and improves insulin sensitivity — all of which support vascular health and, consequently, erectile function.
Resistance Training
Resistance training — weightlifting and strength exercise — produces a secondary benefit for erectile function, primarily through testosterone support. Strength training increases testosterone acutely after exercise and, with consistent training over months, can produce modest improvements in baseline testosterone levels in men with low-normal values.
The evidence for resistance training improving ED directly (independent of testosterone) is less robust than the aerobic exercise evidence. It is best viewed as a complement to aerobic training rather than a substitute.
Mediterranean Diet
The Mediterranean diet — characterized by olive oil, fatty fish, vegetables, legumes, nuts, and moderate red wine — is the dietary pattern with the strongest evidence for cardiovascular benefit, and that benefit extends to erectile function.
A 2017 study (Khoo et al., presented at ENDO 2017) found that Mediterranean diet combined with weight loss improved erectile function in 30% of obese men with ED — without medication. The effect was attributed to improvements in endothelial function, inflammation markers, and testosterone levels that accompanied weight loss.
Key dietary components associated with improved erectile function:
- Olive oil — monounsaturated fats and polyphenols that support endothelial function
- Fatty fish (salmon, mackerel, sardines) — omega-3s reduce inflammation and support vascular health
- Leafy vegetables and legumes — nitrate-rich foods that support nitric oxide production
- Nuts — associated with improved endothelial function in multiple studies
Weight Loss
A landmark 2004 study by Esposito et al. published in JAMA remains the definitive reference on weight loss and ED. Obese men (BMI 30+) who achieved approximately 10% body weight reduction through diet and exercise showed significant improvement in erectile function scores — and one-third reported full resolution of ED symptoms.
The mechanisms are multiple: weight loss reduces systemic inflammation, lowers estrogen (which is metabolized from fat tissue), improves insulin sensitivity, reduces blood pressure, and supports testosterone levels. Abdominal obesity — measured by waist circumference — is particularly strongly associated with ED.
Smoking Cessation
Smoking nearly doubles ED risk. Nicotine acutely constricts blood vessels; chronic smoking causes lasting endothelial damage. Studies examining smoking cessation have shown improvement in erectile function within weeks to months of quitting.
The improvement is meaningful but may be incomplete in men with long-term smoking history and established arterial damage — which is why combining cessation with medication often produces the best result.
Alcohol
The relationship between alcohol and ED follows a dose-response pattern. Moderate consumption (1–2 drinks per occasion) does not meaningfully harm erectile function in most men and may have minimal cardiovascular benefit through its effect on HDL cholesterol.
Chronic heavy use — more than 14 drinks per week — is significantly associated with ED, with some studies showing a 60% higher incidence. Heavy alcohol use damages the liver (impairing testosterone metabolism), suppresses testosterone directly, and causes peripheral neuropathy that can impair the nerve signals involved in erection.
The Combined Approach
Medication and lifestyle change are not competing strategies — they are complementary. FDA-approved PDE5 inhibitors (sildenafil, tadalafil) work faster and more reliably than lifestyle interventions alone for most men. But lifestyle changes produce more durable improvements and address the underlying cardiovascular pathology that medication does not.
Men who combine medication with consistent aerobic exercise and improved diet often find that their medication works better, that they need lower doses over time, and that their overall cardiovascular health improves alongside their sexual health.
Common Questions
How much exercise helps ED?
The most-studied protocol is 40 minutes of aerobic exercise, 4 times per week, for at least 6 months. A 2018 meta-analysis found this improved erectile function scores by 50% in men with cardiovascular risk factors. Walking, cycling, and swimming are all effective.
What foods help erectile dysfunction?
Foods that support cardiovascular health — olive oil, fatty fish, leafy vegetables, legumes, and nuts — are associated with improved erectile function. These are the core components of the Mediterranean diet, which has the strongest evidence base for both heart health and erectile function.
Does quitting smoking improve ED?
Yes. Smoking nearly doubles ED risk by damaging endothelial cells. Smoking cessation has been shown to improve erectile function within weeks to months. The improvement is meaningful but may not fully reverse long-standing arterial damage — combining cessation with medication often produces the best outcome.
Can losing weight cure ED?
Weight loss can significantly improve ED but is unlikely to fully cure it in men with established vascular damage. A 10% body weight reduction in obese men was associated with significant erectile function improvement (Esposito et al., JAMA 2004). Medication works faster; weight loss produces more durable improvement.
Does alcohol cause erectile dysfunction?
Chronic heavy alcohol use — more than 14 drinks per week — is significantly associated with ED, with a 60% higher incidence in some studies. Moderate consumption (1–2 drinks) does not meaningfully harm erectile function in most men. Acute intoxication can impair erections regardless of baseline function.
Start with medication. Keep building with lifestyle.
Provider review within 24 hours. Free 2-day shipping. FDA-approved sildenafil and tadalafil starting at $35 for 5 doses.
View ED Treatment Options →This article is written and reviewed by the Affinity Direct clinical team for informational purposes. It does not constitute medical advice. All prescriptions require a provider evaluation. Last reviewed: January 2025.