On this page
Erectile dysfunction becomes more common with age, but it is genuinely common in men in their 20s and 30s too, and it is nothing to be ashamed of. In younger men the cause is more often psychological (performance anxiety, stress, relationship strain), though physical causes are real at any age and worth ruling out. The good news: young-onset ED tends to respond well to treatment.
If you are in your 20s or 30s and your erections have stopped cooperating, the first thing worth knowing is that you are not an outlier. ED is often treated as an older man's problem, which leaves younger men assuming something is badly wrong with them or that they are alone in it. Neither is true. Plenty of young, otherwise healthy men deal with this, and most of them get better.
What is different at your age is the mix of causes. The reasons an erection underperforms at 28 are usually not the same as at 68, and that changes both how worried to be and what actually helps. Here is the honest picture.
How common it really is
ED rises steadily with age, so it is more frequent past 50. But younger men make up a real share of the people who walk into a clinic with this complaint. In one study of men seeking help for new ED, about one in four was under 40, and the younger group was just as likely to have a severe form of it. So this is not a rare quirk or a sign you are broken early. It is a common, treatable thing that happens to men at every stage of life.
The shame that surrounds it does more harm than the condition itself. Men in their 20s and 30s often wait far too long to mention it, sit with the anxiety, and let it grow. The condition is routine to a clinician. Bringing it up early almost always makes it easier to fix.
When the cause is in your head
In younger men, the cause skews psychological more often than physical. That is not a polite way of saying it is imaginary. The brain controls the switch that starts an erection, so when the mind is working against you, the plumbing simply does not get the signal. The usual drivers:
- Performance anxiety is the most common of all. It works as a self-feeding loop: one disappointing night makes you worry about the next, that worry floods your system with the wrong signals, and the worry itself causes the failure you were dreading. A couple of bad experiences can train your body to expect them.
- Stress from work, money, or life in general pulls the nervous system into a state that is the opposite of what arousal needs.
- Depression and anxiety dampen desire and erections directly. So can some antidepressants, especially SSRIs, which are a frequent and often overlooked culprit in young men.
- Relationship problems. Tension, resentment, or a loss of connection with a partner shows up in the bedroom before it shows up anywhere else.
There is a useful clue that points toward a psychological cause. Young men whose ED is driven by the mind usually still get firm morning or spontaneous erections, and can often get hard during masturbation, even when they struggle with a partner. That pattern strongly suggests the hardware works and the obstacle is situational. Our piece on the causes of ED walks through how that morning-erection test helps separate the two.
Physical causes still count
Skewing psychological does not mean physical causes can be waved away. They are real at any age, and in a young man they are exactly the thing you do not want to miss. The ones that show up early:
- Early cardiovascular disease. The arteries feeding an erection are small and narrow before the larger ones do, so ED can be the first visible sign of a vascular problem.
- Undiagnosed diabetes or prediabetes, which damages the nerves and vessels an erection depends on, often before a man knows his blood sugar is off.
- Low testosterone, which can blunt both desire and erections.
- Obesity, smoking, and heavy drinking, each of which works against healthy blood flow.
- Recreational and anabolic steroid use. Anabolic steroids in particular can suppress the body's own testosterone and leave erections worse, not better.
- Prescription drugs beyond antidepressants, including some blood pressure medications.
None of these are reasons to panic. They are reasons to get looked at rather than guess, because most are very manageable once they are named.
Why a workup matters, and what helps
Here is the case for not just quietly self-medicating. In a young man, ED can be the first measurable sign of diabetes or future heart disease, sometimes years before anything else shows up. That makes it a genuinely useful early-warning signal, which is wasted if you skip straight to a pill bought online and never ask why it happened. A proper evaluation, including a look at your blood pressure, blood sugar, and sometimes testosterone, is worth the small effort. Our piece on the link between ED and heart health explains why that connection runs so deep.
Once anything serious is ruled out, the outlook for younger men is good, often better than for older men, because the underlying body is usually healthy. What tends to help:
- Lifestyle changes carry real weight at your age. Losing excess weight, cutting back on alcohol, stopping smoking, sleeping enough, and moving your body can meaningfully improve erections, sometimes on their own. Our guide on lifestyle changes for ED covers what actually moves the needle.
- Addressing the anxiety and relationship side directly, whether through honest conversation with a partner, therapy, or simply taking the pressure off a single encounter.
- Short-term use of medication when appropriate, which can be especially helpful for younger men because a few reliable, confidence-restoring experiences often break the performance-anxiety loop. For some men the goal is not a permanent prescription but a reset.
See a clinician promptly if your ED comes alongside excessive thirst and frequent urination or unexplained weight loss, which can point to undiagnosed diabetes, or chest discomfort, pressure, or breathlessness when you exert yourself, which can signal a heart problem. In a young man these deserve a real evaluation rather than a workaround.
The takeaway is simple. ED in a younger man is common, usually treatable, and frequently tied to stress or anxiety you can do something about. It can also be the first hint of a physical problem worth catching early. Both of those are reasons to bring it up rather than carry it alone.