Skip to content
Peptides are here: prescribed by physicians, compounded in the USA.Check it out →
Sexual Health

Lifestyle Changes for Erectile Function: What Works

American Protocol Editorial9 min read
A bowl of walnuts, a pear, a glass cruet of olive oil and a coiled jump rope on a sunlit kitchen counter

Key takeaways

  • Regular aerobic exercise has the strongest evidence. A systematic review concluded that about 160 minutes a week of moderate-to-vigorous activity for six months helped men whose ED was linked to inactivity, obesity or vascular risk.
  • Weight loss combined with more activity improved erectile function in a two-year randomized trial in men with obesity.
  • A Mediterranean-style diet, stopping smoking and moderating alcohol all have supportive evidence; benefits are larger when changes start earlier.
  • Pelvic floor muscle training is an underused option with trial support, especially for men who lose firmness during sex.
  • Lifestyle change works on the cause rather than the symptom, and it is often used alongside medication, not instead of it.

The lifestyle changes with the best evidence for erectile function are regular aerobic exercise, losing excess weight, a Mediterranean-style diet, stopping smoking, keeping alcohol moderate, protecting sleep, and training the pelvic floor muscles. They work because erections depend on healthy blood vessels, nerves and hormones, and the same habits that protect the heart protect those systems too.

The benefits are real but uneven. Men whose ED is driven by inactivity, weight, blood sugar or blood pressure tend to gain the most, and earlier changes help more than late ones. This guide sets out what the trials found for each change, roughly what to expect, and how lifestyle work fits with medical treatment. If you are not sure what is behind your symptoms, our guide to causes of ED in your 30s and 40s is a good place to start.

Why do lifestyle changes affect erections?

An erection depends on the lining of the blood vessels, the endothelium, releasing nitric oxide so the arteries in the penis can widen. Inactivity, excess abdominal fat, high blood sugar, high blood pressure, smoking and chronic inflammation all damage that lining. Because the penile arteries are small, they feel the effect early, which is why ED is linked to heart health. Lifestyle changes that improve endothelial function, insulin sensitivity and inflammation therefore act on the cause rather than the symptom.

In a large cohort of US health professionals aged 53 to 90, the most physically active men had about a 30% lower risk of ED than the least active, and obesity was associated with about a 30% higher risk. Smoking, heavier drinking and more television time were also linked with more ED, and men with no chronic conditions who followed healthy habits had the lowest rates. Observational data like this cannot prove cause, which is why the trials below matter.

Exercise: how much helps?

Exercise has the most consistent evidence. A 2017 meta-analysis of seven trials found that physical activity and exercise programs improved erectile function scores compared with control groups. A 2018 systematic review of intervention studies went further and translated the evidence into a target: around 40 minutes of moderate-to-vigorous aerobic exercise four times a week, roughly 160 minutes weekly, sustained for about six months, for men whose ED is related to physical inactivity, obesity, high blood pressure, metabolic syndrome or cardiovascular disease.

Moderate to vigorous means you are breathing hard enough that talking in full sentences is difficult: brisk uphill walking, cycling, rowing, running or swimming. Strength training is valuable for metabolic health and body composition, but most of the erectile function evidence comes from aerobic programs. If you have heart disease or symptoms on exertion, check with a clinician before starting a vigorous program.

Weight loss and metabolic health

The best-known trial here randomized 110 men with obesity and ED to an intensive program of reduced calories and increased physical activity or to general advice. After two years, the intervention group's average BMI fell from about 37 to about 31 and weekly activity rose substantially. Erectile function scores improved in the intervention group and stayed flat in the control group, and 17 men in the intervention group reported scores in the normal range compared with 3 in the control group. Changes in BMI, activity and inflammation each independently predicted improvement.

Weight loss also tends to raise testosterone in men with obesity and improves blood sugar, both of which support sexual function. For men using medical weight-loss treatment, our article on GLP-1 weight loss and erectile function covers what is known. Knowing your starting numbers helps too: blood sugar or HbA1c, lipids and testosterone are covered in a baseline lab panel.

Diet: the Mediterranean pattern

In men with metabolic syndrome, a two-year study from the same research group found that a Mediterranean-style diet, rich in whole grains, fruit, vegetables, legumes, nuts and olive oil, improved endothelial function and inflammatory markers, and more men in the diet group reported normal erectile function scores than in the control group. The study was small, but the direction matches the broader cardiovascular evidence for this way of eating.

No single food acts on erections. The pattern matters more than any ingredient: mostly plants and whole foods, fish and olive oil as main fats, fewer ultra-processed foods and sugary drinks. Supplements sold over the counter for erections are a different story: some have been found to contain hidden prescription drug ingredients.

Smoking, alcohol and other substances

A meta-analysis of observational studies found smokers had a higher risk of ED than non-smokers, with risk rising with the amount smoked. Stopping helps some men: in a one-year prospective study of smokers with ED, erectile status improved in at least a quarter of those who quit and in none of those who kept smoking. Younger men and those with milder ED improved most, which is a good argument for quitting sooner rather than later.

In the health professionals cohort, alcohol consumption was among the habits associated with more ED, and drinking heavily blunts erections in the short term. Recreational drugs and anabolic steroids can also interfere with erections and with the body's own testosterone production.

Pelvic floor training

The pelvic floor muscles, especially the ischiocavernosus and bulbocavernosus, help maintain pressure inside the penis during an erection. In a randomized trial of 55 men with ED, a program of pelvic floor exercises with biofeedback and lifestyle advice led to significantly better erectile function than lifestyle advice alone after three months. At six months, blinded assessment found that 40% of men had regained normal erectile function, 35.5% had improved and 24.5% had not improved.

Pelvic floor exercises involve contracting the muscles you would use to stop the flow of urine or hold in gas, holding briefly, then fully relaxing. A pelvic floor physical therapist can teach correct technique, which matters: many men tighten the abdomen, buttocks or thighs instead. This approach is low risk and can be combined with anything else on this list.

Sleep and stress

Short, fragmented sleep affects testosterone, mood and energy for intimacy, and obstructive sleep apnea is associated with both ED and cardiovascular disease. Loud snoring, gasping at night or heavy daytime sleepiness are reasons to ask about a sleep study.

Chronic stress and anxiety raise the stress hormones that oppose arousal, and anxiety about performance can turn an occasional problem into a pattern. If that sounds familiar, see our article on performance anxiety and ED.

How long until changes make a difference?

Most trials measured results after three months to two years. Pelvic floor training showed benefits at three months; the exercise recommendation is based on about six months; the weight loss and diet trials ran for two years. That timeline is one reason many men use an FDA-approved medication such as sildenafil or tadalafil while making these changes. Medication supports erections in the meantime; lifestyle change addresses the underlying vascular and metabolic health.

Results vary with age, how long ED has been present and the underlying cause. Established nerve or vessel damage may not fully recover. If you would like a provider to review your situation and discuss options, our sexual health program starts with that conversation.

Common questions

What is the best exercise for erectile dysfunction?

Aerobic exercise has the strongest evidence. A systematic review suggested about 40 minutes of moderate-to-vigorous aerobic activity four times a week for around six months for men whose ED is linked to inactivity, obesity, high blood pressure or heart disease. Pelvic floor exercises are a useful addition.

Can losing weight improve erections?

In a two-year randomized trial in men with obesity, weight loss combined with more physical activity improved erectile function scores, while the control group did not change. Improvements in BMI, activity and inflammation each predicted better function.

Do pelvic floor exercises help ED?

They can. In a randomized trial, men who did pelvic floor exercises with biofeedback had better erectile function than men given lifestyle advice alone, and at six months 40% had regained normal function. A pelvic floor physical therapist can make sure the technique is right.

Does quitting smoking help erectile dysfunction?

It can. In a one-year study of smokers with ED, at least a quarter of those who quit improved, while none of those who kept smoking did. Younger men and those with milder ED were most likely to improve.

Are there foods that help erections?

No single food has been shown to act on erections. A Mediterranean-style eating pattern, rich in vegetables, fruit, whole grains, legumes, nuts, fish and olive oil, improved vascular markers and erectile function scores in a small trial in men with metabolic syndrome.

Can I use ED medication while making lifestyle changes?

Many men do. Lifestyle changes usually take months, and medication can support erections in the meantime. A licensed provider decides whether medication is appropriate for you after reviewing your health history and current medicines, including any nitrates.

Sources

  1. Gerbild H, Larsen CM, Graugaard C, Areskoug Josefsson K. Physical activity to improve erectile function: a systematic review of intervention studies. Sex Med. 2018;6(2):75–89. Link (opens in a new tab)
  2. Silva AB, Sousa N, Azevedo LF, Martins C. Physical activity and exercise for erectile dysfunction: systematic review and meta-analysis. Br J Sports Med. 2017;51(19):1419–1424. Link (opens in a new tab)
  3. Esposito K, Giugliano F, Di Palo C, et al. Effect of lifestyle changes on erectile dysfunction in obese men: a randomized controlled trial. JAMA. 2004;291(24):2978–2984. Link (opens in a new tab)
  4. Esposito K, Ciotola M, Giugliano F, et al. Mediterranean diet improves erectile function in subjects with the metabolic syndrome. Int J Impot Res. 2006;18(4):405–410. Link (opens in a new tab)
  5. Dorey G, Speakman MJ, Feneley RC, et al. Pelvic floor exercises for erectile dysfunction. BJU Int. 2005;96(4):595–597. Link (opens in a new tab)
  6. Pourmand G, Alidaee MR, Rasuli S, et al. Do cigarette smokers with erectile dysfunction benefit from stopping? A prospective study. BJU Int. 2004;94(9):1310–1313. Link (opens in a new tab)
  7. Cao S, Yin X, Wang Y, et al. Smoking and risk of erectile dysfunction: systematic review of observational studies with meta-analysis. PLoS One. 2013;8(4):e60443. Link (opens in a new tab)
  8. Bacon CG, Mittleman MA, Kawachi I, et al. Sexual function in men older than 50 years of age: results from the Health Professionals Follow-up Study. Ann Intern Med. 2003;139(3):161–168. Link (opens in a new tab)
  9. US Food and Drug Administration. Sexual enhancement and energy product notifications (tainted products). Link (opens in a new tab)

This article is for general education and is not medical advice. Protocols described here require an online consultation with a licensed provider who will determine if a prescription is appropriate for you. Explore sexual health options or read the FAQ.

Ready When You Are.

Answer a few questions. A licensed provider takes it from there.