Yes, erectile dysfunction (ED) can happen in your 20s and 30s, and it is more common than most young men realize. In a large US study of men aged 18 to 31, about 1 in 7 reported at least mild ED. In younger men the cause is often stress, anxiety or lifestyle, but physical problems such as diabetes or low testosterone are worth ruling out, and effective treatments are available.
How common is erectile dysfunction in young men?
Almost every man has the odd night when an erection does not cooperate. That is usually down to tiredness, stress or too much to drink, and on its own it is not ED. Doctors start to think about ED when the problem keeps happening and getting or keeping an erection firm enough for sex becomes a regular struggle.
That kind of ED is not rare in young men. A US study of 2,660 sexually active men aged 18 to 31 found that 11.3% had mild ED and 2.9% had moderate to severe ED. Older national survey data quoted in the same paper put ED at about 5% of men aged 20 to 39. Estimates vary from study to study, and a recent review notes that ED in young men is often underestimated. If this is happening to you, you are far from alone.
Is ED in young men psychological or physical?
It can be either, and the two often mix. According to MedlinePlus, emotional causes are more common in younger men, while physical causes are more common in older men. Common emotional triggers include:
- Stress from work, money or studies
- Performance anxiety, where worrying that it will fail again makes it more likely to fail
- Relationship problems or poor communication with a partner
- Depression and anxiety
- Unrealistic expectations about sex
The US study above fits this picture. In that group, moderate to severe ED was linked with anxiety, with taking antidepressants or tranquilizers, and with not being married or living with a partner, while weight, blood pressure and diabetes did not stand out. Still, young men are not immune to physical causes. A review of ED in young adults notes that one study found a physical cause in about 15% of men under 40 with ED, while a smaller study found one in close to half.
One useful clue: most men have several erections during sleep. If you still wake up with erections, MedlinePlus notes that the problem is less likely to be physical. That is a hint, not a diagnosis, so a checkup is still worthwhile.
Can porn cause erectile dysfunction?
Many young men wonder about this, and the honest answer is that the research is not settled. The review mentioned above describes mixed results. A study from Belgium linked watching more porn with ED, though not how often men masturbated, while another study found no link at all. The authors concluded that more research is needed.
In practice, if you respond easily to porn but struggle with a partner, or your viewing feels hard to control, cutting back for a while is a low-risk experiment. A counselor or sex therapist can also help.
How do alcohol, drugs, sleep and weight affect erections?
These everyday habits are worth a close look:
- Alcohol. Drinking too much can cause a one-off failure, and heavy drinking over time is linked with ED. MedlinePlus suggests limiting alcohol to no more than 2 drinks a day.
- Recreational drugs. Cocaine, cannabis and ketamine have all been linked with ED, and use of these drugs is rising among younger people. MedlinePlus also lists nicotine as a cause.
- Prescription medicines. Some antidepressants, blood pressure medicines and sleeping pills can affect erections. Do not stop a medicine on your own; ask your doctor whether a change is possible.
- Sleep. Poor sleep quality has been linked with ED in young men, and getting plenty of sleep is part of standard prevention advice.
- Weight and fitness. Young men with ED are more likely to carry extra weight and to have parts of metabolic syndrome, such as raised blood sugar, blood pressure or cholesterol. Regular exercise and losing extra weight are standard first steps.
What medical checks should young men get for ED?
A doctor will usually start with questions about your health, medicines, alcohol and drug use, mood and relationships, then do a physical exam. Blood tests often include:
- Blood sugar or HbA1c to look for diabetes or prediabetes
- Cholesterol (a lipid panel)
- Testosterone, and sometimes other hormones such as prolactin and thyroid hormones
These checks matter because ED can be an early warning sign. The review describes ED as an early marker of conditions such as diabetes and heart and blood vessel disease. Catching high blood sugar or cholesterol in your 20s or 30s gives you years to do something about it.
Low testosterone is worth checking, but it is not the usual cause. In one large study of more than 2,000 men under 40 with ED, about 1 in 10 had low testosterone. Testosterone replacement is meant for men whose blood tests confirm low levels, so do not start it without a doctor.
What treatments work for ED in young men?
Treatment depends on the cause and often combines more than one approach. In one study, younger men responded better to treatment than older men.
Lifestyle changes. The habit changes above can all help, and they protect your heart at the same time.
Talking therapy. When stress, performance anxiety or relationship problems are behind ED, counseling or sex therapy can help a great deal. Sex-focused cognitive behavioral therapy (CBT) has shown promising results for ED without a physical cause.
ED medicines (PDE5 inhibitors). Sildenafil (Viagra), tadalafil (Cialis), vardenafil and avanafil are the first-line medicines for ED. They improve blood flow to the penis but only work when you are sexually aroused. They are prescription medicines, so a doctor should check your heart health and current medicines first. According to the Viagra prescribing information, the usual sildenafil dose is 50 mg about 1 hour before sex, adjusted between 25 mg and 100 mg, no more than once a day. Tadalafil is usually started at 10 mg before sex (range 5 to 20 mg) and can work for up to 36 hours, or it can be taken at 2.5 to 5 mg once a day. Our guides on sildenafil vs tadalafil and daily vs as-needed tadalafil explain the differences.
Generic tablets such as Suhagra 50 mg (sildenafil, by Cipla) and Vidalista 10 mg (tadalafil, by Centurion) contain the same active ingredients as Viagra and Cialis and are made and licensed in India. For a daily plan, Vidalista 5 mg contains tadalafil 5 mg. You can see all options in our ED medicine range. Whatever you use, follow these safety rules:
- Never take them with nitrate medicines such as nitroglycerin, with “poppers” (amyl nitrite), or with riociguat. The combination can cause a dangerous drop in blood pressure.
- Avoid heavy drinking while taking them. The tadalafil label warns it raises the chance of dizziness, headache and a drop in blood pressure when you stand up.
- Do not take more than the prescribed dose or combine two ED medicines.
- Common side effects include headache, flushing, upset stomach and a stuffy nose.
- Get emergency care for an erection that lasts more than 4 hours. Stop the medicine and get help right away for sudden loss of vision or hearing.
Other options. If tablets do not help, a urologist can discuss vacuum devices, injections and other treatments. Be wary of “natural” or herbal sex supplements; MedlinePlus notes that none have been proven to treat ED.
When to see a doctor
See a doctor if ED keeps happening, even if you feel too young for it to matter. Get checked sooner if:
- ED started after an injury or prostate surgery
- You also have low back pain, belly pain or changes in how you pee
- You think a medicine is causing it (do not stop it on your own)
- You feel low, anxious or hopeless most days
- Lifestyle changes have not helped
Get emergency help for an erection that lasts more than 4 hours, or for chest pain after taking an ED medicine.
Frequently asked questions
Is it normal to have erectile dysfunction at 25?
An occasional problem is normal at any age. ED that keeps happening is less common at 25, but it is far from rare and deserves a checkup rather than worry. The cause is often stress, anxiety or lifestyle, and many younger men respond well to treatment.
Can ED in your 20s go away on its own?
It often improves once the cause is dealt with, for example when stress eases, you drink less, sleep better or get help for anxiety. If it keeps happening, see a doctor rather than waiting.
Should I get my testosterone checked?
It is reasonable to ask. Low testosterone is found in only a minority of young men with ED, but a blood test can rule it out, along with checks for diabetes and cholesterol.
Do ED pills work without arousal?
No. Sildenafil, tadalafil and similar medicines help your body respond to sexual stimulation. They do not cause an erection by themselves.
Is it safe for a young man to take sildenafil or tadalafil?
Being young is not on its own a reason to avoid them; they are prescription medicines for adult men with ED. They interact with some heart medicines and are not right for everyone, so get checked first and take only the prescribed dose.
This article gives general information and does not replace advice from your doctor or pharmacist. Prescription medicines such as sildenafil and tadalafil should be used under a doctor’s care.
Shop the products in this article
Browse all Sildenafil products →
Prescription medicines: check with your doctor or pharmacist that a treatment is right for you before ordering.





