Erectile dysfunction prevention

Accredited COSRT and BACP therapist Amanda Barge
Reviewed By
Amanda Barge
Written by
Mojo's Research Team
Updated on
October 13, 2026
Published on
December 28, 2021
Close-up of a man's torso as he sits on a bed. He's wearing jeans.
Table of contents
Chevron down icon

You can lower your risk of erectile dysfunction (ED) with a few everyday habits: regular aerobic exercise, a healthy weight, not smoking, and keeping your alcohol intake moderate. Looking after your mental health helps too, because stress and anxiety are a common cause of ED, especially in younger men.

Men with obesity have 1.60 times the odds of ED compared with men at a healthy weight (Pizzol et al., 2020), and heavy smokers are about twice as likely to have severe ED as lighter smokers or non-smokers (Natali et al., 2005). Both are risks you can change, which is what makes them a good place to start.

Can erectile dysfunction be prevented?

Not completely. Genetics, age, and some medical conditions play a part, and those aren't things you can change. But the research below shows that several everyday habits can meaningfully lower your risk. Think of prevention less as a guarantee and more as stacking the odds in your favor.

An erection depends on several systems working together: your blood vessels, your nerves, your hormones, and your state of mind. That's one reason the same handful of lifestyle factors, exercise, weight, smoking, alcohol, and stress, keep showing up across the research. Each one affects more than one of those systems at once.

If you want the full picture on causes and diagnosis first, read our guide to erectile dysfunction basics.

Exercise and erectile function

A 2018 systematic review looked at how physical activity affects erectile function. It recommended working up to 40 minutes of moderate-to-vigorous aerobic exercise, four times a week, to help fight the effects of ED (Gerbild et al., 2018).

You don't need to start at that level. Walking briskly, cycling, or swimming a few times a week all count as aerobic exercise. A gradual program like Couch to 5K is a reasonable place to start if you're not active now. Build up slowly and let your fitness catch up with the target over a few months, rather than trying to hit 40 minutes four times a week from day one.

Weight and erectile function

Carrying extra weight, especially around your waist, makes it harder for blood to reach the penis. Fat cells can build up around the arteries that carry that blood, narrowing the pathway over time.

A 2020 review of 45 studies, covering more than 42,000 men, found that overweight men had 1.31 times the odds of ED compared with men at a healthy weight. Men with obesity had 1.60 times the odds (Pizzol et al., 2020).

Losing weight gradually, through a mix of diet and regular movement, is linked to better blood flow and, over time, better erectile function. Small, sustainable changes, like walking more and cooking at home more often, tend to stick better than drastic short-term diets.

Smoking and erectile function

Smoking damages the lining of your blood vessels and reduces circulation, including to the penis. A 2005 study of 860 men aged 18 to 44 found that heavy smokers, meaning more than 20 cigarettes a day, were about twice as likely to have severe ED as lighter smokers or non-smokers (Natali et al., 2005).

The good news is that this risk isn't fixed. Cutting down or quitting improves circulation over time, and the benefit isn't limited to men who quit young. Nicotine itself narrows blood vessels and disrupts blood flow, so this applies to nicotine in any form, including vapes, nicotine pouches, and tobacco mixed with cannabis. Vaping hasn't been studied as closely for ED, but it delivers the same nicotine, so the same logic applies.

Alcohol and erectile function

This is one area where the evidence is more nuanced. A 2018 meta-analysis looked at how alcohol intake affects ED risk across many studies. It found that light-to-moderate drinking, under 21 drinks a week, was actually linked to a lower risk of ED. Drinking above that level showed no clear link either way in the pooled data (Wang et al., 2018).

That doesn't mean heavy or dependent drinking is safe. Chronic, dependent-level alcohol use is separately linked to nerve and blood vessel damage that can affect erections, along with wider effects on the heart and liver. The real risk factor here is dependency.

Lifestyle factors and erectile dysfunction risk: what the evidence actually shows

FactorWhat the evidence showsSource
Exercise40 minutes of aerobic exercise, 4 times a week, is linked to improved erectile functionGerbild et al., 2018
WeightOverweight men: 1.31 times the odds of ED. Men with obesity: 1.60 times the odds, compared with a healthy weightPizzol et al., 2020
SmokingHeavy smokers (more than 20 cigarettes a day) are about twice as likely to have severe ED as lighter or non-smokersNatali et al., 2005
AlcoholLight-to-moderate drinking is linked to lower ED risk. No clear harm signal up to 21 drinks a week. Dependent-level use is the real risk factorWang et al., 2018

Health conditions that raise your risk of ED

Some health conditions make ED more likely, because they affect the blood vessels and nerves an erection depends on. In a large study of men aged 40 to 70, ED was more likely in men with heart disease, high blood pressure, or diabetes. Smoking raised the risk of complete ED even further in men who already had heart disease or high blood pressure (Feldman et al., 1994).

That means preventing ED and looking after your heart overlap a lot. Regular check-ups for blood pressure, cholesterol, and blood sugar can catch problems early, often before they show up as erection trouble. If you already have one of these conditions, keeping it well managed with your doctor is one of the most useful things you can do for your erections.

Simple habits to start this week

Big lifestyle changes are hard to keep up. The table below breaks each habit into a small first step you can take now and a goal to build toward over time.

HabitAn easy first stepWhat to build toward
ExerciseA 10-minute brisk walk most days40 minutes of aerobic exercise, 4 times a week (Gerbild et al., 2018)
WeightSwap one takeaway a week for a home-cooked mealSlow, steady weight loss you can keep up
SmokingSet a quit date and ask your doctor or pharmacist about supportBeing completely smoke-free
AlcoholKeep track of how much you drink for one weekDrinking that stays light to moderate
StressFive minutes of slow breathing at the end of the dayA regular routine that helps you wind down
Health checksBook a blood pressure checkRegular checks of blood pressure, cholesterol, and blood sugar

Pick one or two habits to start with rather than all six at once. Small changes that last tend to do more good than a big overhaul you give up on after a few weeks.

Mental health and erectile function

Psychological factors are a common and important cause of ED, particularly in younger men (Nguyen et al., 2017). Stress, performance anxiety, and low mood can all get in the way of a normal erection response, even when nothing is physically wrong.

Mental health struggles are common. One in four people experience a mental health problem in a given year (Mind, n.d.). If stress, performance anxiety, or low mood are affecting your erections, addressing that is part of prevention. Read more about psychological erectile dysfunction and how it differs from physical causes.

This is exactly the ground Mojo's The Erection Reset program covers. It's built with Dr. Shannon Chavez, a licensed clinical psychologist, AASECT-certified sex therapist, and certified clinical sexologist. If stress or anxiety feel like the bigger factor for you, psychological ED treatment is a good next step to read about.

If symptoms are already affecting you, our guide to erectile dysfunction treatment options covers what to do next.

FAQs

Is erectile dysfunction preventable?
Chevron down icon

There's no guarantee. But several evidence-backed lifestyle factors, including regular exercise, a healthy weight, not smoking, and moderate alcohol intake, are linked to a meaningfully lower risk. Getting to know how your erections work, and practices like mindful masturbation, can also help you stay in tune with your body and notice changes early.

Does drinking alcohol cause erectile dysfunction?
Chevron down icon

Only at dependent or heavy levels. Light-to-moderate drinking isn't clearly linked to a higher risk, and one large meta-analysis found it was linked to a lower risk (Wang et al., 2018).

How much exercise helps with erectile dysfunction?
Chevron down icon

Around 40 minutes of aerobic exercise, four times a week, is the level a systematic review linked to improved erectile function (Gerbild et al., 2018).

Does smoking cause erectile dysfunction?
Chevron down icon

Heavy smoking is linked to roughly double the risk of severe ED compared with lighter or non-smoking (Natali et al., 2005).

Can health conditions like diabetes or high blood pressure cause ED?
Chevron down icon

They can make it more likely. A large study of men aged 40 to 70 found ED was more common in men with heart disease, high blood pressure, or diabetes (Feldman et al., 1994). Regular check-ups and keeping these conditions well managed can help.

Can stress or mental health affect erections?
Chevron down icon

Yes. Psychological factors contribute to a large share of ED cases, particularly in younger men, and managing stress and mood is part of prevention.

Sources

  1. Gerbild, H., Larsen, C. M., Graugaard, C., & Areskoug Josefsson, K. (2018). Physical activity to improve erectile function: A systematic review of intervention studies. Sexual Medicine, 6(2), 75–89. https://doi.org/10.1016/j.esxm.2018.02.001
  2. Pizzol, D., Smith, L., Fontana, L., Caruso, M. G., Bertoldo, A., Demurtas, J., McDermott, D., Garolla, A., Grabovac, I., & Veronese, N. (2020). Associations between body mass index, waist circumference and erectile dysfunction: A systematic review and meta-analysis. Reviews in Endocrine and Metabolic Disorders, 21(4), 657–666. https://doi.org/10.1007/s11154-020-09541-0
  3. Natali, A., Mondaini, N., Lombardi, G., Del Popolo, G., & Rizzo, M. (2005). Heavy smoking is an important risk factor for erectile dysfunction in young men. International Journal of Impotence Research, 17(3), 227–230. https://doi.org/10.1038/sj.ijir.3901275
  4. Wang, X.-M., Bai, Y.-J., Yang, Y.-B., Li, J.-H., Tang, Y., & Han, P. (2018). Alcohol intake and risk of erectile dysfunction: A dose-response meta-analysis of observational studies. International Journal of Impotence Research, 30, 342–351. https://doi.org/10.1038/s41443-018-0022-x
  5. Mind. (n.d.). Mental health facts and statistics. https://www.mind.org.uk/information-support/types-of-mental-health-problems/mental-health-facts-and-statistics/
  6. Feldman, H. A., Goldstein, I., Hatzichristou, D. G., Krane, R. J., & McKinlay, J. B. (1994). Impotence and its medical and psychosocial correlates: Results of the Massachusetts Male Aging Study. Journal of Urology, 151(1), 54–61. https://pubmed.ncbi.nlm.nih.gov/8254833/
  7. Nguyen, H. M. T., Gabrielson, A. T., & Hellstrom, W. J. G. (2017). Erectile dysfunction in young men: A review of the prevalence and risk factors. Sexual Medicine Reviews, 5(4), 508–520. https://doi.org/10.1016/j.sxmr.2017.05.004
Editorial standards

Mojo aims to provide useful wellbeing resources to its users; however, you should not solely rely on opinions or advice available on the Website or given by the Community. Always seek advice from a qualified medical doctor or other healthcare professional before acting.

About the experts

Accredited COSRT and BACP therapist Amanda Barge
Amanda Barge
accredited COSRT and BACP therapist

With 18 years as an accredited COSRT and BACP therapist, Amanda helps people navigate desire, intimacy, and the changes life brings.

Learn more
Next arrow
Look after your erections for the long term
Dismiss

An expert-led, evidence-based program to help you manage stress and performance anxiety and build lasting confidence in bed.