Licensed US pharmacy · Discreet, complimentary shipping

Try Invigor Logo

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.

The Invigor Editorial Team

Updated 5 min read

Older couple looking happy playing pickleball

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 and Sildenafil vs Tadalafil. For changes that come with age, see our guide to aging and male sexual health.

Getting ED treatment through Invigor

Invigor offers ED medications such as sildenafil and 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

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.

Sources & references

  1. Health-related lifestyle factors and sexual dysfunction: a meta-analysis of population-based research. 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. Archives of Internal Medicine. 2011
  3. Physical activity to improve erectile function: a systematic review of intervention studies. Sexual Medicine. 2018
  4. Effect of lifestyle changes on erectile dysfunction in obese men: a randomized controlled trial. JAMA. 2004
  5. Association between improved erectile function and dietary patterns: a systematic review and meta-analysis. Asian Journal of Andrology. 2025
  6. Randomised controlled trial of pelvic floor muscle exercises and manometric biofeedback for erectile dysfunction. British Journal of General Practice. 2004

Contributors

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.

Keep reading

  • Pain After Using Trimix: What's Normal and When to Get HelpErections + Performance

    Pain After Using Trimix: What's Normal and When to Get Help

    Some men feel brief aching after a Trimix injection. Here's what usually causes it, what can help, and which kinds of pain mean you should call your provider or go to the ER.

    The Invigor Editorial Team5 min read

  • Trimix Instructions: Following Your Prescriber's PlanErections + Performance

    Trimix Instructions: Following Your Prescriber's Plan

    How to follow your Trimix prescription safely: storage, your dose plan, how often to inject, and what to do if it doesn't work or lasts too long.

    The Invigor Editorial Team5 min read

Not sure which fits you?

The free 2-minute assessment matches you with a treatment a provider can review.

Take the assessment