Introduction
This is one of the hardest things to say out loud and one of the most common things to be experiencing. It carries a weight that other physical symptoms don't, because it attaches itself to masculinity, worth, and whether you'll ever have a normal life again. So let's be direct: this is a well-documented consequence of heavy substance use, it has identifiable physical mechanisms, and for most people it improves substantially.
This article is a general overview, not a diagnosis. What's actually happening in your case is something a doctor can find out and this article cannot.
Different Substances, Different Mechanisms
Understanding the mechanism helps, because it clarifies that this isn't happening for mysterious reasons or because of some failure of desire.
Opioids suppress the hypothalamic-pituitary-gonadal axis — the hormonal signaling chain that tells the body to produce testosterone. The result is a recognized condition, opioid-induced androgen deficiency, associated with reduced libido, erectile dysfunction, and fatigue.1 It's identifiable through bloodwork and it's treatable. Notably, this occurs with medication-assisted treatment too, and appears more pronounced with methadone than with buprenorphine — worth discussing with a prescriber rather than quietly enduring.
Cocaine and stimulants cause vasoconstriction, narrowing blood vessels. An erection is fundamentally a blood flow event, so this is direct interference. Initial use may increase desire while simultaneously undermining the physical capacity to act on it, which is a particularly cruel combination. Chronic use is associated with more persistent difficulty, likely involving vascular and endothelial changes rather than just temporary constriction.
Alcohol works through several routes at once: hormonal disruption, nerve signaling interference, and vascular effects, plus its contribution to conditions like diabetes and liver disease that independently cause erectile dysfunction.
The Reason to See a Doctor That Isn't About Sex
Here's the part most articles on this topic leave out, and it matters more than the rest of them combined.
Erectile dysfunction is frequently an early warning sign of cardiovascular disease. Both conditions share a common underlying mechanism — endothelial dysfunction, the impairment of the lining of blood vessels. Because the arteries supplying the penis are smaller in diameter than the coronary arteries, the same degree of vascular impairment produces noticeable symptoms there first. Erectile difficulty can be the earliest visible sign of a systemic problem.
The timing has been studied. Consensus guidance estimates the interval between the onset of erectile dysfunction symptoms and the appearance of coronary artery disease symptoms at roughly two to three years, and between erectile dysfunction and an actual cardiovascular event at three to five years.2 That interval is described in the literature as a window for risk reduction — which is precisely the point. Erectile dysfunction is also associated with increased all-cause mortality, largely driven by cardiovascular mortality.
Standard guidance is that men presenting with erectile dysfunction should receive a thorough medical assessment including testosterone, fasting lipids, fasting glucose, and blood pressure. If you've been using substances heavily and you're now experiencing this, the symptom may be telling you something about your heart, not just about your sex life. That alone is reason enough to see a physician, independent of everything else in this article.
What Actually Recovers, and What the Honest Picture Is
The reassuring part is genuine: sexual dysfunction related to substance use frequently improves with sustained abstinence. Hormonal suppression from opioids is treatable and often reversible. Vasoconstriction from stimulants resolves when the stimulant is gone.
The less reassuring part deserves equal honesty: some research suggests that for men with significant histories of cocaine use in particular, the effects can be persistent, and vascular damage that has accumulated may not fully reverse. Recovery timelines vary from months to a year or more, and outcomes depend on how long, how heavy, age, and what other health conditions are present.
The variable most under your control is how much longer the exposure continues. That's the one that most influences where you end up.
The Psychological Layer Compounds It
Once this has happened, anxiety about it happening again becomes its own independent cause. Performance anxiety triggers a stress response that works directly against arousal, so a physical problem that might have been resolving gets sustained by the fear it created. This is well understood and it's treatable — but it means that addressing only the physical side often isn't enough.
It also means that a bad attempt during recovery is a genuinely terrible piece of evidence to draw conclusions from. One failure in an anxious moment tells you nothing reliable about what's actually possible.
Talking About It With a Partner
Silence around this tends to be filled by a partner with the worst available explanation — that you're no longer attracted to them, that something has changed in the relationship, that you're involved with someone else. Very few partners arrive at "his body is recovering from substance use and this is a documented physical effect" without being told.
Naming it plainly, once, costs less than the accumulated misreading. It also removes some of the performance pressure that's actively making the physical problem worse, which means the disclosure is not only kinder but practically useful.
Do Not Self-Treat With Whatever Is Available
Buying erectile dysfunction medication from unregulated sources carries all the contamination risks of any unregulated supply. More importantly, these medications interact dangerously with certain substances — particularly nitrates, including poppers — and can cause a catastrophic drop in blood pressure. If medication is appropriate for you, it should come from a prescriber who knows your full history, including your substance use.
The Bottom Line
This is common, it has specific and identifiable physical causes, and for most people it substantially improves with sustained abstinence and appropriate medical care. It's also a symptom worth taking seriously as a potential cardiovascular signal, which is a reason to see a doctor even if you feel you could live with the sexual symptom itself. The conversation is uncomfortable. It's considerably less uncomfortable than the alternative.
Sources
- Methadone suppresses HPG axis more than buprenorphine — Kafel A, et al (2025). Opioid-induced androgen deficiency in men: Prevalence, pathophysiology, and efficacy of testosterone therapy. Andrology. View source ↗
- ED precedes CAD symptoms by 2-3 yrs, CV events by 3-5 yrs — Vlachopoulos C, Jackson G, Stefanadis C, Montorsi P (2010). Erectile dysfunction and coronary artery disease prediction: evidence-based guidance and consensus. International Journal of Clinical Practice. View source ↗