You’re in your 20s or 30s. You’re supposed to be in your sexual prime. And yet, when the moment comes, your body doesn’t cooperate. Your erection is weak, or doesn’t happen at all, or disappears the second you try to use it. And the thought that follows is always the same: “I’m too young for this. Something must be seriously wrong with me.”
Before you spiral further: the odds are heavily in your favor that this is fixable. Here are the actual facts — not the panic-inducing nonsense you’ve been reading on forums at 3 AM.
How common is ED in young men?
Much more common than you think. The stereotype of erectile dysfunction as an “old man’s problem” is flat-out wrong.
A 2013 cross-sectional study by Capogrosso et al. (Journal of Sexual Medicine) found that roughly one in four men presenting for newly-diagnosed erectile dysfunction was under 40 — and nearly half of those young men had severe ED. Other studies have found rates between 8% and 30% in men under 40, depending on how strictly ED is defined and which population is studied.
Some studies suggest ED in younger men may be becoming more frequently reported. This isn’t because young men’s penises are getting worse. It’s because the causes of ED in younger men are different from the causes in older men — and several of those causes are becoming more common.
The point: you are not some medical oddity. Millions of men your age are dealing with the same thing right now. Many of them are too embarrassed to talk about it, which is why you think you’re the only one.
Why ED in young men is different
In men over 50, ED is usually organic — meaning there’s a physical cause. Clogged arteries, diabetes, declining testosterone, nerve damage. The plumbing has wear and tear.
In men under 40, the story is almost always different. Research consistently shows that ED in younger men is far more likely to be psychogenic — caused by psychological factors rather than physical ones. A 2017 review (Nguyen et al., Sexual Medicine Reviews) summarises evidence that psychogenic factors predominate in young men with ED.
This is actually great news. Psychogenic ED is very treatable. It’s not structural damage — it’s your brain getting in the way.
Here are the most common causes of ED in young men, roughly in order of how often they’re responsible:
#1: Performance anxiety
This is the big one. By far the most common cause of ED in men under 40.
The mechanism is straightforward: you get nervous about whether you’ll perform, your nervous system shifts into fight-or-flight mode, adrenaline surges, blood flows away from the penis and toward your muscles. Your body is preparing to run from a tiger, not have sex. The erection fails. Then you worry more next time. And the cycle tightens.
If your erections work fine when you’re alone — during masturbation, during sleep, when you wake up in the morning — but fail when you’re with a partner, this is almost certainly your answer. Read our complete guide on performance anxiety and sexual problems for a detailed breakdown of this cycle and how to break it.
Performance anxiety is especially common in Indian men. Zero sex education, unrealistic expectations from porn, the pressure of arranged marriage first nights, the cultural weight placed on male sexual performance — it’s a perfect storm. Most of the men who message us panicking about ED turn out to have performance anxiety, not a medical problem.
#2: Stress, sleep, and lifestyle
Your erections are a sensitive barometer of your overall health. When your body is under strain, sexual function is one of the first things to take a hit.
Sleep deprivation. Testosterone rises during sleep and peaks in the morning; cutting sleep short blunts this. A study by Leproult and Van Cauter (2011) published in JAMA found that restricting sleep to 5 hours per night for one week reduced testosterone levels by 10-15% in healthy young men. That’s significant. If you’re averaging 5-6 hours of sleep, your erections will suffer.
Chronic stress. Cortisol — the stress hormone — directly suppresses testosterone production and interferes with the signaling pathways that produce erections. If you’re in a high-pressure job, studying for exams, dealing with family conflict, or going through financial stress, your body is in a chronic state of low-grade fight-or-flight. Erections require the opposite state.
Alcohol. A drink or two might reduce inhibitions, but more than that actively suppresses erectile function. Alcohol is a central nervous system depressant. It numbs the nerve pathways that create and maintain erections. If your ED mostly happens after drinking, this is probably your answer. Cut back and see what changes.
Smoking. Nicotine constricts blood vessels, including the ones that supply blood to the penis. Young smokers have significantly higher rates of ED than non-smokers. The damage is dose-dependent — more cigarettes, worse erections — and at least partially reversible if you quit.
Sedentary lifestyle. Regular cardiovascular exercise improves blood flow everywhere, including to the penis. A meta-analysis by Silva et al. (2017) found that aerobic exercise significantly improved erectile function in men with ED. If you sit at a desk all day and don’t exercise, start. It’s one of the most effective interventions.
#3: Porn-induced ED
This one is controversial, and the internet is full of extreme positions on both sides. Here’s the balanced view: for some men, heavy porn use genuinely does contribute to erectile difficulties with a real partner.
The proposed mechanism involves dopamine desensitization — when you train your brain on an endless supply of novel, escalating visual stimulation, a real person lying next to you can’t compete. You can get hard to a screen but not to a human being.
If this sounds like your pattern, it’s worth testing. We cover this in detail in our article on porn and erectile dysfunction. The short version: take a 30-day break from porn, continue masturbating without it, and see if things change with a partner.
#4: Relationship issues
ED is sometimes the body’s honest response to a relationship problem. If you’re angry at your partner, feel disconnected, aren’t attracted anymore, or there’s unresolved conflict, your body may simply refuse to cooperate. This isn’t dysfunction — it’s feedback. Worth being honest with yourself about.
#5: Medications and substances
Several medications can cause ED even in young men. SSRIs (antidepressants like fluoxetine and sertraline) are among the most common culprits. Finasteride and dutasteride (used for hair loss, and very commonly self-prescribed by young Indian men) can cause reduced libido and ED in a minority of men. If your ED started around the same time you started a new medication, talk to your doctor about alternatives before stopping. Do not stop medications on your own. One more thing on finasteride/dutasteride: these drugs are teratogenic, so a pregnant woman should never handle broken or crushed tablets.
Recreational drugs — particularly MDMA, cocaine, and cannabis in heavy doses — can also cause erectile problems, both acutely and chronically.
The morning erection test
This is the single most useful self-diagnostic tool you have. It’s simple: do you still get morning erections?
Morning erections — technically called nocturnal penile tumescence (NPT) — happen during REM sleep and are driven by your body’s automatic processes, completely independent of psychological state. They’re essentially a system check.
If you’re regularly waking up with erections (even partial ones, even a few times a week), your hardware is working. The plumbing is fine. The blood flow is adequate. The nerves are intact. Your ED is almost certainly psychogenic.
Treat this as a useful clue, not a diagnosis. Morning erections can be reduced by stress, alcohol or poor sleep too, and their presence doesn’t 100% rule out a physical cause. If your morning erections have completely disappeared for weeks, that’s worth investigating further — partly because new-onset ED can be an early warning sign of undiagnosed diabetes or heart and blood-vessel disease, even in young men. Read more about this in our article on what it means when morning erections stop.
For a more thorough home test: wrap a strip of postage stamps around the base of your penis before sleep (snug but not tight). If the strip is broken when you wake up, you had a nighttime erection. This is a crude but genuinely used clinical screening tool — useful as a pointer, not a definitive test, so don’t over-read a single night either way.
What about testosterone?
“Low T” has become the internet’s favorite explanation for every male problem. The reality for young men: true testosterone deficiency is uncommon in your 20s and 30s. Not impossible — but uncommon.
If you genuinely suspect low testosterone, look for a cluster of symptoms, not just ED: persistent fatigue, loss of muscle mass, decreased motivation, low mood, reduced body hair, low libido (not just erection problems — actually not wanting sex). If multiple boxes are checked, get a blood test. If it’s just ED with normal desire, testosterone is probably not your issue. Our guide to low testosterone symptoms walks through exactly which signs justify testing.
What actually fixes ED in young men
Because most young men’s ED is psychogenic, the solutions are different from what an older man with clogged arteries would need.
Address the anxiety. If performance anxiety is the core issue, the fix is addressing the anxiety, not taking pills. Cognitive behavioral therapy with a sex therapist has strong evidence. Sensate focus exercises — where you temporarily remove penetration from the equation and focus on touch and sensation — break the pressure cycle. Read the performance anxiety guide for specific techniques.
Fix the basics. Sleep 7-8 hours. Exercise 3-4 times a week (cardio matters). Reduce alcohol. Quit smoking if you smoke. Manage stress. These aren’t vague wellness tips — they directly affect the biological mechanisms of erection.
Consider medication as a bridge. PDE5 inhibitors like sildenafil (Viagra) can work well for young men with performance anxiety — not as a permanent solution, but as a short-term confidence bridge. Taking it for a few encounters, proving to yourself that you can perform, and then tapering off is a strategy many doctors use.
But this is a prescription drug, and it has to be treated like one:
- In India, sildenafil/tadalafil are Schedule H, prescription-only. Get it from a doctor — not OTC at a chemist, not online, not from a roadside “sexologist.” Grey-market pills are frequently fake or wrongly dosed. Our complete guide to Viagra in India covers price, safety, and how it actually works.
- NEVER combine it with nitrate heart medicines (sorbitrate/isosorbide, GTN, nicorandil) or recreational “poppers.” The combination can cause a fatal drop in blood pressure. Also tell your doctor about any alpha-blockers (for BP or prostate).
- An erection lasting more than 4 hours (priapism) is an emergency — go to an ER immediately. Left untreated it can cause permanent damage.
- If your ED is physical rather than just anxiety, it can be an early warning sign of undiagnosed heart disease or diabetes, even in young men. Get a basic check-up — don’t just mask it with a pill.
Read our complete guide to ED for more on treatment options.
Reduce porn if relevant. If you suspect porn is contributing, do a 30-day experiment. You’ll know within a month if it’s making a difference.
The odds are in your favor
ED in your 20s and 30s is common, usually psychological, and almost always fixable. The worst thing you can do is panic, isolate yourself, avoid sexual situations, and spiral into shame. That’s how a temporary problem becomes a chronic one.
The odds are overwhelmingly in your favor. Most young men with ED don’t have anything medically wrong with them. They have anxiety, bad sleep, too much stress, or some combination of lifestyle factors that are entirely within their control to change.
If you’ve addressed the psychological and lifestyle factors, given it a genuine effort for a few weeks, and nothing has changed — or if your morning erections have disappeared — then see a doctor. Some signs mean you should see one sooner rather than waiting it out: a sudden total loss of erections, ED with curvature, pain, or a lump in the penis (Peyronie’s), ED alongside low libido or shrinking testicles, or ED that started after an injury to the groin or pelvic area. A urologist or andrologist can run blood tests (testosterone, fasting blood sugar or HbA1c, lipid profile, thyroid) and do a physical exam to rule out the uncommon organic causes. These tests are widely and cheaply available at standard Indian labs, so cost shouldn’t be the reason you put it off.
But most of you reading this? You’re going to be fine. Your body works. Your brain just needs to get out of the way.