# Diet and Exercise for Erectile Dysfunction: What Helps

> Exercise, weight loss and a healthier diet may improve erections for some men. Here is what the research shows, how much activity was studied and where medicine fits.

By The Invigor Editorial Team · Published December 3, 2026 · Updated December 3, 2026

## The short answer

Yes, diet and exercise may help. Trials show that more aerobic activity, losing weight and eating more plants, nuts and less fat can improve erectile function for some men, especially those who are inactive, overweight or have heart risk factors. The gains are usually modest and take months, so many men use lifestyle changes alongside ED medicine rather than instead of it.

Erections depend on healthy blood flow, and many of the habits that affect your heart also affect your erections. The encouraging part is that changing how you eat and move may improve erections for some men.

Here is what the research shows, and what it does not.

## The big picture

A large meta-analysis of 89 population studies, covering almost 350,000 people, found that smoking, alcohol and physical activity all had dose-dependent links with erectile dysfunction. The risk of ED went up with more smoking and went down with more physical activity. Moderate drinking was linked with lower risk than heavy drinking or none, and there was some evidence that a healthy diet was linked to lower risk [1].

Those are associations, not proof that changing your habits will fix ED. For that, we need trials. A Mayo Clinic review of randomized trials found that lifestyle changes and treating heart risk factors produced a statistically significant improvement in erectile function scores [2]. The average improvement was modest, about 2 to 3 points on a short erectile function questionnaire scored from 5 to 25 [2].

## Exercise: what kind and how much

Aerobic exercise has the strongest evidence. A systematic review of exercise studies in men with ED linked to inactivity, obesity, high blood pressure, metabolic syndrome or heart disease concluded that about 40 minutes of moderate to vigorous aerobic exercise, 4 times a week, was the level that helped. That adds up to about 160 minutes a week, kept up for 6 months [3].

What counts as moderate to vigorous aerobic exercise:

- Brisk walking where talking takes some effort
- Cycling, on the road or a stationary bike
- Swimming, rowing or an elliptical
- Jogging or running

If you are starting from nothing, build up gradually, and check with your doctor first if you have heart disease, chest pain or other conditions that limit exercise.

## Losing weight

Carrying extra weight is one of the clearest targets. In a two-year randomized trial in Italy, 110 obese men with ED were split into two groups. One group got detailed help to lose at least 10% of their body weight by eating less and moving more. The other got general advice [4].

After two years [4]:

- The intervention group's average BMI fell from about 37 to 31, and their weekly exercise rose from about 48 to 195 minutes.
- Their average erectile function score improved, while the control group's stayed the same.
- 17 men in the intervention group reached a normal erectile function score, compared with 3 in the control group.

The researchers concluded that lifestyle changes were linked to better sexual function in about one third of the men [4]. In other words, it helped many men, but not most.

## What to eat

Diet research is less settled than exercise research, because most of it is observational. A 2025 meta-analysis of 14 studies with more than 27,000 men found [5]:

- Plant-based and lower-fat eating patterns were linked to lower ED risk.
- Diets rich in fruits, vegetables and nuts were linked to lower ED risk.
- Programs that combined diet and exercise lowered the chance of ED and improved erectile function scores.

The authors suggested that lower-fat or Mediterranean-style diets rich in produce and nuts could help with ED management [5]. In practice, that looks like:

- Filling half your plate with vegetables and fruit
- Choosing whole grains, beans and lentils more often
- Snacking on a handful of nuts instead of chips or sweets
- Eating less processed meat and fried food

No single food or supplement has been shown to fix ED.

## Pelvic floor exercises

The pelvic floor muscles are active during normal erections, and training them may help some men [6]. In a randomized trial of 55 men with ED, those who did pelvic floor exercises with biofeedback, plus lifestyle advice, improved their erectile function scores more after 3 months than men who only got lifestyle advice [6]. By the end of the study, 40% had normal erectile function, 34.5% had improved and 25.5% had not improved [6]. This was a small study and it included biofeedback sessions, so ask your doctor or a pelvic floor physical therapist if you want to try it.

## Smoking and alcohol

Risk of ED rose with more smoking in population studies [1], so quitting is one of the most useful changes you can make for your erections and your heart. With alcohol, heavy drinking was linked to higher risk than moderate drinking [1]. If you drink, keeping it moderate makes sense.

## Lifestyle and medicine work together

Lifestyle changes take months, and they help some men more than others [3][4]. You do not have to choose between them and medicine. You can start an ED medicine while you work on your health; ask your prescriber what fits. ED shares many risk factors with heart disease, so it is also a good reason to get your heart health checked [2].

To learn about medicine options, see [what is the best medicine for erectile dysfunction](https://tryinvigor.com/what-is-the-best-medicine-for-erectile-dysfunction-ed) and [Sildenafil vs Tadalafil](https://tryinvigor.com/sildenafil-vs-tadalafil). For changes that come with age, see our guide to [aging and male sexual health](https://tryinvigor.com/aging-male-sexual-health).

## Getting ED treatment through Invigor

Invigor offers ED medications such as [sildenafil](https://tryinvigor.com/medications/sildenafil) and [tadalafil](https://tryinvigor.com/medications/tadalafil). You start with a free online assessment. A licensed U.S. provider reviews it and decides whether a treatment is appropriate for you. If a medication is prescribed, it ships from a state-licensed U.S. pharmacy.

## Frequently asked questions

### Can exercise cure erectile dysfunction?

It may improve erections for some men, especially those who are inactive, overweight or have heart risk factors, but it does not work for everyone [3][4]. Many men combine exercise with ED medicine.

### How much exercise helps erectile dysfunction?

A systematic review found that about 40 minutes of moderate to vigorous aerobic exercise 4 times a week, around 160 minutes a week for 6 months, helped men with ED linked to heart risk factors [3].

### What is the best diet for erectile dysfunction?

No single diet is proven best, but plant-rich, lower-fat and Mediterranean-style eating patterns with fruits, vegetables and nuts have been linked to lower ED risk [5].

### Does losing weight help ED?

It can. In a two-year trial of obese men with ED, losing weight and exercising more improved erectile function, and about one third of men saw better sexual function [4].

### How long does it take for lifestyle changes to help ED?

Studies ran for months, not weeks. The exercise review looked at 6 months of training [3], and the weight loss trial ran for 2 years [4].

## Sources

1. [Health-related lifestyle factors and sexual dysfunction: a meta-analysis of population-based research](https://doi.org/10.1016/j.jsxm.2018.02.008), The Journal of Sexual Medicine, 2018
2. [The effect of lifestyle modification and cardiovascular risk factor reduction on erectile dysfunction: a systematic review and meta-analysis](https://doi.org/10.1001/archinternmed.2011.440), Archives of Internal Medicine, 2011
3. [Physical activity to improve erectile function: a systematic review of intervention studies](https://doi.org/10.1016/j.esxm.2018.02.001), Sexual Medicine, 2018
4. [Effect of lifestyle changes on erectile dysfunction in obese men: a randomized controlled trial](https://doi.org/10.1001/jama.291.24.2978), JAMA, 2004
5. [Association between improved erectile function and dietary patterns: a systematic review and meta-analysis](https://doi.org/10.4103/aja202485), Asian Journal of Andrology, 2025
6. [Randomised controlled trial of pelvic floor muscle exercises and manometric biofeedback for erectile dysfunction](https://pmc.ncbi.nlm.nih.gov/articles/PMC1324914/), British Journal of General Practice, 2004

---

This article is for education only. It is not medical advice, and it is not a diagnosis or a prescription. Where a clinician is named as its reviewer, they reviewed it for medical accuracy. Talk to your own clinician before you start, stop or change any treatment.
