
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.
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.
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.
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 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.
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.
| Factor | What the evidence shows | Source |
|---|---|---|
| Exercise | 40 minutes of aerobic exercise, 4 times a week, is linked to improved erectile function | Gerbild et al., 2018 |
| Weight | Overweight men: 1.31 times the odds of ED. Men with obesity: 1.60 times the odds, compared with a healthy weight | Pizzol et al., 2020 |
| Smoking | Heavy smokers (more than 20 cigarettes a day) are about twice as likely to have severe ED as lighter or non-smokers | Natali et al., 2005 |
| Alcohol | Light-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 factor | Wang et al., 2018 |
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.
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.
| Habit | An easy first step | What to build toward |
|---|---|---|
| Exercise | A 10-minute brisk walk most days | 40 minutes of aerobic exercise, 4 times a week (Gerbild et al., 2018) |
| Weight | Swap one takeaway a week for a home-cooked meal | Slow, steady weight loss you can keep up |
| Smoking | Set a quit date and ask your doctor or pharmacist about support | Being completely smoke-free |
| Alcohol | Keep track of how much you drink for one week | Drinking that stays light to moderate |
| Stress | Five minutes of slow breathing at the end of the day | A regular routine that helps you wind down |
| Health checks | Book a blood pressure check | Regular 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.
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.
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.
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).
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).
Heavy smoking is linked to roughly double the risk of severe ED compared with lighter or non-smoking (Natali et al., 2005).
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.
Yes. Psychological factors contribute to a large share of ED cases, particularly in younger men, and managing stress and mood is part of prevention.
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.

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