Recreational drugs, alcohol and other lifestyle factors in ED
The short answer
Yes, everyday habits can be part of the ED picture. The NIH lists four lifestyle behaviors that may contribute to erectile dysfunction: not getting enough physical activity, drinking too much alcohol, smoking cigarettes and using recreational and illicit drugs. It explains that some drugs can prevent arousal or other sensations needed for an erection, and that illicit drugs and too much alcohol may sometimes mask other causes. Lifestyle changes are on the NIH list of things a clinician may suggest. For safety, ED pills such as sildenafil must never be combined with nitrates or nitrites in any form, which includes "poppers," so an honest list of everything you use matters.
In short: erectile dysfunction can have more than one thread running through it, and some of those threads can be daily habits. The National Institutes of Health (NIH) names four lifestyle behaviors that may contribute to ED: too little physical activity, drinking too much alcohol, smoking cigarettes and using recreational and illicit drugs. This guide covers what the NIH says about each one, what the ED medicine labels say about alcohol and “poppers,” and why the most useful thing you can bring to a clinician is an honest list of everything you use. None of it is a diagnosis. A habit that may contribute to ED is one possible factor among several, and only an evaluation can sort out which ones apply to you.
Do lifestyle habits affect erectile dysfunction?
They can. The National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK), part of the NIH, explains that ED can have different causes: diseases and conditions that affect blood vessels, nerves or hormones, certain medicines, mental or emotional issues, and lifestyle behaviors. Under that last heading it lists four behaviors that may contribute to ED: not getting enough physical activity, drinking too much alcohol, smoking cigarettes, and using recreational and illicit drugs (NIDDK, Symptoms & Causes of ED). The wording is careful, and it is worth keeping: these behaviors “may contribute.” They sit alongside the other causes rather than replacing them, so a man who drinks heavily can also have a blood-vessel or hormone problem that needs attention. The NIDDK also notes that ED may be a symptom of another health problem, which is why our guide on what your ED may be telling you about your health is a useful companion to this one.
| Lifestyle behavior on the NIH list | What the NIH says about it | Where it appears in NIH treatment advice |
|---|---|---|
| Using recreational and illicit drugs | Some drugs can prevent arousal or other sensations; illicit drugs may sometimes mask other causes | ”Stopping recreational and illicit drug use” |
| Drinking too much alcohol | Too much alcohol may sometimes mask other causes | ”Limiting or stopping alcohol use” |
| Smoking cigarettes | Linked to heart and blood vessel disease, which can lead to ED | ”Quitting smoking” |
| Not enough physical activity | Activity increases blood flow through the body, including the penis, and helps keep a healthy weight | ”Increasing physical activity” |
Sources: NIDDK, Symptoms & Causes of ED and NIDDK, Treatment for ED.
Do recreational drugs affect erections?
Recreational and illicit drug use is on the NIH list of lifestyle behaviors that may contribute to ED, and the NIDDK describes two ways it can matter. First, “some drugs can prevent arousal or other sensations that are important for getting and keeping an erection.” Second, illicit drugs, like too much alcohol, “may mask other mental health, emotional, or physical factors that cause ED” (NIDDK, Treatment for ED). That second point is easy to overlook. If a drug is part of the picture, it can make it harder to see whether stress, depression, a blood-vessel problem or a hormone issue is also there.
The NIDDK does not name specific drugs on these pages, and this guide does not try to rank them. What the NIH does say is practical: among the lifestyle changes a health care professional may suggest to help improve ED symptoms is “stopping recreational and illicit drug use,” and its prevention advice includes avoiding recreational and illicit drugs (NIDDK, Treatment for ED). If you use something regularly and have noticed erection changes, that is a reasonable thing to raise with a clinician, without needing to have worked out the connection yourself.
Is cannabis linked to erectile dysfunction?
Some studies have found ED to be more common among cannabis users, but the evidence is limited and does not show that cannabis causes ED. A 2019 systematic review and meta-analysis pooled five case-control studies covering 3,395 healthy men, 1,035 of whom smoked cannabis. ED was reported in 69.1 percent of the cannabis users and 34.7 percent of the comparison group, and the odds of ED were higher among users (Pizzol et al., Am J Mens Health 2019).
The authors were cautious about their own result, and so should a reader be. The studies disagreed with each other a great deal (high heterogeneity), the prediction interval overlapped the point of no difference, and the authors wrote that future longitudinal research is needed to confirm or refute the finding and to look for any dose-response relationship. Case-control studies show an association: they cannot tell you whether cannabis led to ED, whether something else explains both, or whether it applies to any one person. What it does support is the plain advice above: if you use cannabis, it belongs on the list you share with a clinician. Our guide to cannabis, CBD and ED weighs this review against later studies and covers what is known about CBD products.
Can alcohol affect erections?
Yes, alcohol can be part of the picture. The NIDDK lists “drinking too much alcohol” among the lifestyle behaviors that may contribute to ED (NIDDK, Symptoms & Causes of ED). It also says that too much alcohol, like illicit drugs, may sometimes mask other mental health, emotional or physical factors that cause ED, and it names “limiting or stopping alcohol use” among the lifestyle changes a health care professional may suggest. Its prevention advice is to limit how much alcohol you drink (NIDDK, Treatment for ED).
The NIDDK pages do not set a number of drinks at which this starts to matter, and neither does this guide. A single night when drinking, tiredness or nerves get in the way is a different thing from a pattern over weeks and months. Our guide on when to see a doctor about ED covers how to tell the difference and when a pattern is worth a visit.
Can you drink alcohol with ED medication?
The answer depends on the medicine and on how much, and the labels are more specific than most people expect. In the sildenafil (Viagra) label’s interaction study, healthy volunteers took sildenafil with enough alcohol to reach a mean peak blood alcohol level of 0.08 percent, and sildenafil “did not potentiate the hypotensive effect of alcohol,” meaning it did not add to alcohol’s blood-pressure drop. The label also notes that the maximum recommended dose of sildenafil was not evaluated in that study, which tested a single amount of alcohol rather than heavier drinking (VIAGRA prescribing information, DailyMed). That single study is not a drinking guideline.
The tadalafil (Cialis) label is more cautious. It explains that alcohol and tadalafil both act as mild vasodilators, so their blood-pressure-lowering effects may add up, and that substantial drinking together with tadalafil can raise the chance of a faster heart rate, lower standing blood pressure, dizziness and headache (CIALIS prescribing information, DailyMed). Our guide to sildenafil and alcohol goes through that study in detail, and our sildenafil drug interactions guide covers the rest of the interaction list.
Why can’t poppers be used with ED pills?
Because the combination can push blood pressure dangerously low. The sildenafil label states that sildenafil was shown to potentiate the blood-pressure-lowering effect of nitrates, and that its use in patients who use “nitric oxide donors such as organic nitrates or organic nitrites in any form” is contraindicated, meaning it must not be used (VIAGRA prescribing information, DailyMed). That wording covers nitrites in any form, and the patient information on a Viagra label names them directly: it tells people not to take Viagra if they use street drugs called “poppers,” such as amyl nitrate or amyl nitrite, and butyl nitrate (VIAGRA patient information, DailyMed).
Poppers carry risks of their own. The FDA has warned that health care providers are reporting increases in deaths and hospitalizations linked to swallowing or inhaling nitrite poppers, that these products have not been evaluated by the FDA for safe use, and that they can cause extreme drops in blood pressure, breathing difficulty, seizures, heart rhythm problems and death (FDA Consumer Update on nitrite poppers). Our guide to nitrates, poppers and ED medicines covers all four ED pills, and our page on using ED drugs recreationally looks at what happens when men without ED take them alongside other substances.
Nitrates, nitrites and ED pills do not mix
Sildenafil (Viagra) must never be combined with nitrate medicines such as nitroglycerin, or with nitrites in any form, which includes “poppers.” The sildenafil label calls this combination contraindicated, and the tadalafil (Cialis) label likewise contraindicates nitrates and tells people not to take it if they use “poppers” (VIAGRA prescribing information, DailyMed; CIALIS prescribing information, DailyMed). The Viagra patient information also says to stop sexual activity and get medical help right away for symptoms such as chest pain, dizziness or nausea during sex (VIAGRA prescribing information, DailyMed), and the NIDDK says an erection lasting longer than 4 hours after taking an ED medicine needs a call to a health care professional right away (NIDDK, Treatment for ED). For a serious reaction that is an immediate danger to your health, the FDA’s advice is to call 911 or go to an emergency room (FDA).
Does smoking affect erectile dysfunction?
Smoking cigarettes is one of the four lifestyle behaviors the NIH says may contribute to ED (NIDDK, Symptoms & Causes of ED). The NIDDK explains the connection through blood vessels: smoking is linked to heart and blood vessel disease, which can lead to ED. It calls quitting “one of the best things you can do for your ED and your overall health,” and quitting smoking is the first item on its list of lifestyle changes a clinician may suggest (NIDDK, Treatment for ED). Our guide to smoking and ED covers the long-term studies and what quitting can change. The NIDDK also notes that ED may be a symptom of another health problem, a thread our guide on ED in your 30s and 40s follows in more detail.
Do exercise, weight and diet matter for ED?
The NIDDK treats all three as part of ED care. Not getting enough physical activity is on its list of behaviors that may contribute to ED, and it explains that activity increases blood flow through the body, including the penis, and helps keep a healthy weight. It points to the Physical Activity Guidelines for Americans, which recommend at least 150 minutes of moderate-intensity activity, such as brisk walking, each week. It adds that a healthy weight can improve testosterone levels and self-esteem and can help prevent diabetes and high blood pressure, which can cause ED, and that eating well helps maintain erectile function (NIDDK, Treatment for ED). Stress belongs here too: the NIDDK lists reducing stress among its prevention steps, and our guide to ED and performance anxiety covers the mental side.
There is trial evidence behind the idea. A systematic review and meta-analysis of six randomized controlled trials with 740 participants found that lifestyle modification and medicines for cardiovascular risk factors were associated with a statistically significant improvement in erectile function scores. The four lifestyle-only trials, with 597 participants, also showed a statistically significant improvement (Gupta et al., Arch Intern Med 2011). A later meta-analysis of 11 randomized trials of aerobic exercise alone found erectile function scores rose by an average of 2.8 points on a 6 to 30 scale compared with men who did not exercise, with larger gains in men whose ED was more severe (Khera et al., J Sex Med 2023). Those are average changes on a questionnaire across groups of men, not a promise for any one person. Our guide to exercise and ED covers what kinds of activity the trials tested, and our guide to reading ED evidence explains how big a change on these scores has to be before men tend to notice it.
Does what you eat affect ED?
It can. The NIDDK says that “research shows that a healthy diet can lower the risk of developing erectile dysfunction (ED) and improve ED symptoms,” and that certain eating patterns, such as the Mediterranean diet, may lower the chance of developing ED. It also explains that foods and drinks that raise the risk of diabetes, heart disease and obesity can raise the chance of ED as well (NIDDK, Eating, Diet, & Nutrition for ED).
| Foods the NIDDK suggests | Foods and drinks the NIDDK suggests limiting |
|---|---|
| Vegetables such as cabbage, leafy greens and beets | Foods high in saturated fat, such as red meat and fried foods |
| Fruits such as apples, berries, kiwifruit and oranges | Full-fat dairy, such as whole milk, cream, butter and cheese |
| Legumes such as lentils, beans and peas | Refined carbohydrates, such as pastries, chips and white rice |
| Unsaturated fats from nuts, seeds and fatty fish | Foods and drinks high in sodium and added sugars |
| Whole grains such as oats, brown rice and quinoa | Packaged foods, such as lunch meats and snack bars |
| Alcoholic drinks |
Source: NIDDK, Eating, Diet, & Nutrition for ED, last reviewed October 2024. The same page suggests working with a registered dietitian on an eating plan.
No single food on that list is a treatment. It describes an overall pattern, the same one that supports the heart and blood vessels. Our guide to diet and ED covers the studies behind it, and our guide to natural remedies versus medication looks at supplements, which the NIDDK says to talk with a health care professional about before using (NIDDK, Treatment for ED).
Can losing weight improve ED?
For some men, a randomized trial suggests it can. In a two-year trial in Italy, 110 obese men with ED were split into two groups of 55. One group got detailed advice on losing 10% or more of body weight by eating less and being more active; the other got general information on healthy food and exercise. Average erectile function scores rose from 13.9 to 17 in the intervention group and stayed about the same in the control group (13.5 to 13.6). By the end, 17 men in the intervention group and 3 in the control group had a score of 22 or higher, above the 21-point cutoff the trial used to define ED. The authors concluded that lifestyle changes were associated with improved sexual function in about one third of the obese men with ED (Esposito et al., JAMA 2004).
That also means most men in the active group did not move out of the ED range, which is part of the honest picture. The NIDDK adds that a healthy weight can improve testosterone levels and self-esteem and can help prevent diabetes and high blood pressure (NIDDK, Treatment for ED). Weight-loss medicines are a separate question; our guide to GLP-1 medicines and ED covers what their labels and the studies so far show.
Does cycling cause ED?
The evidence does not show that cycling causes ED in general. In a large multinational survey of 3,932 men, cyclists had erectile function scores no worse than swimmers or runners, though cyclists had higher odds of urethral stricture, and standing more often while riding was linked to lower odds of genital numbness (Awad et al., J Urol 2018). That was a cross-sectional survey, so it shows associations at one point in time rather than cause. Numbness or erection changes that come with long rides are worth mentioning to a clinician, and our guide to cycling and ED covers the saddle and position studies.
Can changing habits improve ED?
Sometimes, and the NIH phrases it with care. It says lifestyle factors can often lead to ED or make its symptoms worse, and that “sometimes, changing a daily habit could help prevent or improve your ED.” It also says health care professionals treat the underlying cause of ED when possible, and that when the exact cause is not known, they focus on improving sexual function (NIDDK, Treatment for ED).
Put together, that means lifestyle change is one part of ED care, not a substitute for finding out what else is going on. A man who cuts back on drinking can still have a blood-sugar, blood-pressure, hormone or medication issue that a clinician would want to check. Lifestyle changes also sit alongside other treatments rather than in place of them; our overview of ED treatment options shows the full list a clinician may discuss, and our guide to whether ED can be reversed covers which causes tend to improve when they are treated.
What should you tell a clinician about your habits?
Everything you use. The NIDDK explains that clinicians diagnose ED using your medical, sexual and mental health history, a physical exam and tests, and that they may ask what prescribed and over-the-counter medicines, vitamins and supplements you take (NIDDK, Diagnosis of ED). The Viagra patient information asks people to tell their health care provider about all the medicines they take and to keep a list to show their provider and pharmacist (VIAGRA prescribing information, DailyMed). Adding alcohol, cigarettes and anything used recreationally to that list is our suggestion rather than a line from those pages, and it is the part most likely to change what is safe to prescribe, as the poppers warning shows.
One more point from the NIDDK is worth knowing before that conversation. A clinician may review your medicines to see whether one you need for another condition is causing ED, and may suggest a different dose or a different medicine, but do not stop taking any medicine on your own (NIDDK, Treatment for ED). Our guide on how ED is diagnosed walks through the history, exam and tests, while our list of medications that can affect erections covers the prescription side. The goal of an honest list is not judgment. It is a fuller picture, so that whatever comes next is both safe and aimed at the right cause. Our guide to talking to a doctor about ED has ways to open that conversation if it feels awkward.
Sources
Every clinical statement on this page traces to a primary or guideline source:
- NIDDK (National Institute of Diabetes and Digestive and Kidney Diseases), Symptoms & Causes of Erectile Dysfunction, last reviewed October 2024. Causes of ED, including the four lifestyle behaviors that may contribute (not enough physical activity, drinking too much alcohol, smoking cigarettes, using recreational and illicit drugs), and ED as a possible symptom of another health problem: niddk.nih.gov, ED symptoms and causes
- NIDDK, Treatment for Erectile Dysfunction, last reviewed October 2024. Lifestyle changes a clinician may suggest, treating the underlying cause, not stopping medicines on your own, prevention advice on smoking, eating, weight, activity, stress, drugs and alcohol, and when to seek care right away: niddk.nih.gov, ED treatment
- NIDDK, Diagnosis of Erectile Dysfunction, last reviewed October 2024. Medical, sexual and mental health history, including questions about medicines, vitamins and supplements: niddk.nih.gov, ED diagnosis
- VIAGRA (sildenafil citrate) prescribing information, DailyMed (setid 0b0be196). Section 4.1 contraindication with nitric oxide donors such as organic nitrates or organic nitrites in any form, and patient information on telling your provider about all medicines and stopping sexual activity for chest pain, dizziness or nausea: dailymed.nlm.nih.gov, VIAGRA label
- VIAGRA (sildenafil citrate) prescribing information, DailyMed (setid 0b0be196, rechecked 2026-10-17; replaces a 2020 repackager copy previously cited). Sections 7.5 and 12.2 alcohol interaction study (mean peak blood alcohol 0.08 percent, no added blood-pressure effect, maximum recommended dose not evaluated) and patient information naming “poppers” such as amyl nitrate, amyl nitrite and butyl nitrate: dailymed.nlm.nih.gov, VIAGRA label
- CIALIS (tadalafil) prescribing information, DailyMed. Section 4.1 nitrate contraindication, patient information naming “poppers,” and section 5.9: alcohol and tadalafil as mild vasodilators and the orthostatic signs and symptoms possible with substantial alcohol consumption: dailymed.nlm.nih.gov, CIALIS label
- NIDDK, Eating, Diet, & Nutrition for Erectile Dysfunction, last reviewed October 2024. A healthy diet can lower the risk of ED and improve symptoms; the Mediterranean diet; foods to eat and to limit; working with a registered dietitian: niddk.nih.gov, ED eating, diet and nutrition
- U.S. Food and Drug Administration, Consumer Update: Ingesting or Inhaling Nitrite “Poppers” Can Cause Severe Injury or Death. Reported deaths and hospitalizations, products not evaluated by the FDA for safe use, and the effects listed: fda.gov, nitrite poppers consumer update
- Pizzol D, et al. Relationship Between Cannabis Use and Erectile Dysfunction: A Systematic Review and Meta-Analysis (American Journal of Men’s Health, 2019). Five case-control studies, 3,395 men, ED prevalence of 69.1 percent in cannabis users versus 34.7 percent in controls, high heterogeneity and a call for longitudinal research: pubmed.ncbi.nlm.nih.gov/31795801
- Gupta BP, et al. The Effect of Lifestyle Modification and Cardiovascular Risk Factor Reduction on Erectile Dysfunction: A Systematic Review and Meta-analysis (Archives of Internal Medicine, 2011). Six randomized trials, 740 participants, improvement in IIEF-5 scores, including in the four lifestyle-only trials: pubmed.ncbi.nlm.nih.gov/21911624
- Khera M, Bhattacharyya S, Miller LE. Effect of aerobic exercise on erectile function: systematic review and meta-analysis of randomized controlled trials (Journal of Sexual Medicine, 2023). 11 trials; mean difference 2.8 points on the 6 to 30 IIEF erectile function scale, larger in more severe ED: pubmed.ncbi.nlm.nih.gov/37814532
- Esposito K, et al. Effect of lifestyle changes on erectile dysfunction in obese men: a randomized controlled trial (JAMA, 2004). 110 obese men, two years; IIEF score 13.9 to 17 with the intervention versus 13.5 to 13.6 in controls; 17 versus 3 men reaching 22 or higher: pubmed.ncbi.nlm.nih.gov/15213209
- Awad MA, et al. Cycling, and male sexual and urinary function: results from a large, multinational, cross-sectional study (Journal of Urology, 2018). 3,932 men; cyclists’ erectile function no worse than swimmers’ or runners’; more urethral stricture; standing linked to less genital numbness: pubmed.ncbi.nlm.nih.gov/29031767
Advertising disclosure: links marked "Paid link" go to Bodybuilding Peptides (trybbpeptides.com), an affiliate destination, and The ED Report may earn a commission if you buy there. Our coverage is independent of that relationship, and nothing on this page is medical or legal advice.