Hormones

Erectile Dysfunction in Your 30s and 40s: Causes to Check

October 23, 2026·7 min read·Alan Chen, MD

Erectile dysfunction in your 30s or 40s is common and worth checking properly. In one clinic study, about one in four men seeking first help for new erection problems was 40 or younger. In younger men, erection problems can be an early marker of heart and metabolic disease, so the useful response is a health check, not only a prescription.

Erectile dysfunction (ED) means difficulty getting or keeping an erection firm enough for sex. Occasional problems are normal; a repeated pattern is the signal. This article covers the common causes at this age, the link with heart disease, why testosterone is one check among several and what to bring to the appointment.

Is erectile dysfunction normal in your 30s?

Erectile dysfunction in your 30s is not rare, but it is not something to accept without a look. The NIDDK, part of the US National Institutes of Health, states that about 40% of men are affected at age 40 and 70% report ED by age 70. It also states that ED is not a routine part of aging.

Younger men do seek help. In an Italian study of 439 men attending for new-onset ED, 114 (26%) were aged 40 or under, with a mean age of 32. Almost half of those younger men had severe ED. They smoked and used illicit drugs more often than the older men.

The NHS puts the everyday version plainly: most men occasionally fail to get or keep an erection, usually because of stress, tiredness or too much alcohol. It becomes worth a GP visit when it keeps happening.

What causes erectile dysfunction in young men?

Erectile dysfunction in young men can have physical causes, psychological causes or both. Australia's healthdirect describes the causes as physical, psychological or a combination.

CauseExamples named by NIDDK, NHS, healthdirect or AUAWhat to check or bring
Blood vesselsHigh blood pressure, high cholesterol, heart diseaseHome blood pressure readings and a recent lipid panel
MetabolismDiabetes, obesity, a sedentary lifestyleGlucose or HbA1c result, waist and weight
HormonesHormone problems, including low testosteroneA morning testosterone test if your doctor advises it
MedicinesBlood pressure medicines, antidepressantsA full list, including anything bought online
Mind and relationshipStress, anxiety, depression, relationship conflictWhen it happens and when it does not
LifestyleSmoking, too much alcohol, recreational drugsHonest weekly figures

HbA1c is a blood test that reflects average blood glucose over recent months. If those terms are unfamiliar, read insulin resistance versus prediabetes before the appointment.

Can erectile dysfunction be an early sign of heart disease?

Erectile dysfunction can be an early sign of heart disease, especially in younger men. The American Urological Association (AUA) ED guideline says men with ED should be told it is a risk marker for underlying cardiovascular disease. A risk marker is a finding that predicts a higher chance of disease without necessarily causing it.

The link makes sense physically. The AUA describes shared risk factors, including high blood pressure, smoking and diabetes, and overlapping processes such as inflammation, poor function of the blood vessel lining (endothelial dysfunction) and atherosclerosis (fatty plaque in the arteries). It notes that ED symptoms may come before a cardiovascular event by up to five years.

The AUA also cites the Prostate Cancer Prevention Trial, where ED predicted future cardiac events as strongly as smoking or a family history of heart attack. Healthdirect states that ED is often the first sign of cardiovascular disease, diabetes, high blood pressure or high cholesterol.

That is why an ED appointment should include home blood pressure readings and a cholesterol panel, not only a discussion of tablets.

Erectile dysfunction in your 40s: why the heart check matters most

Erectile dysfunction in your 40s carried the strongest warning in a Minnesota community study of 1,402 men without known coronary artery disease. In men aged 40 to 49, new coronary artery disease occurred at 48.52 per 1,000 person-years in those with ED, against 0.94 in those without.

In older men, ED added little prognostic information. The authors concluded that young men with ED may be ideal candidates for cardiovascular risk factor screening.

ED in your 40s does not mean you have heart disease. It does make the appointment a good moment to measure blood pressure, cholesterol and glucose, and to talk about smoking, weight and activity.

Is low testosterone the cause?

Low testosterone is one possible cause, but it is one check among several rather than the default answer. The AUA recommends measuring morning total testosterone in men with ED. It also says that, apart from possibly testosterone, glucose or HbA1c, and in some cases lipids, no routine blood test is likely to change how ED is managed.

In the Italian clinic study, the younger men with ED had higher average testosterone than the older men with ED.

If you also have low sex drive or other symptoms, read low testosterone symptoms in men. A low result needs confirming before anyone treats it.

Can stress, alcohol, sleep or medicines cause ED?

Stress, alcohol, tiredness and some medicines can all cause ED, and the NHS names the first three as the usual reasons for occasional problems. The AUA notes that depression, anxiety, stress and relationship conflict can interfere with the physical processes of an erection, and recommends considering referral to a mental health professional alongside treatment.

The NHS advises drinking no more than 14 units of alcohol a week, stopping smoking, and taking a break from cycling if you cycle more than three hours a week. It also notes that a doctor may switch a medicine that is causing ED, so do not stop a prescribed medicine on your own.

Tiredness is one of the causes the NHS names. If loud snoring or unrefreshing sleep sits behind it, read sleep apnea signs in men.

Healthdirect warns that ED medicines bought online without a prescription may be poor quality, may not contain the listed ingredients, and may be unsafe with other medicines or conditions.

What to bring to an erectile dysfunction appointment

1. Describe the pattern, not just the problem.

Note when it started, whether it came on suddenly or gradually, and whether it happens every time. The NHS notes that, depending on the cause, you may still get erections at other times, such as on waking.

2. Bring your numbers.

Bring recent blood pressure, cholesterol and glucose or HbA1c results if you have them. These connect the appointment to the heart and metabolic checks that matter most at this age.

3. List every medicine and supplement.

Include prescription medicines, anything bought online and any testosterone or steroid used without a prescription.

4. Be honest about alcohol, smoking and drugs.

Give real weekly figures. Your doctor cannot account for what you leave out.

5. Mention mood, stress and your relationship.

The AUA recommends a medical, sexual and psychosocial history for every man with ED. These questions are routine, not a judgment.

6. Ask which tests make sense for you.

Morning testosterone, glucose or HbA1c and lipids are the tests the AUA singles out. Ask what each result would change.

When should you see a doctor about erectile dysfunction?

See a doctor when erection problems keep happening, or sooner if you have other symptoms. In the US, start with your primary care physician. In the UK, the NHS says you can see a GP or go to a sexual health clinic, many of which offer walk-in services. In Australia, healthdirect advises seeing your doctor if problems continue or you have concerns.

Some situations are emergencies. Chest pain during or after sex needs an emergency call: 911 in the US, 999 in the UK or 000 in Australia, and NHS 999 guidance lists heart attacks among life-threatening emergencies. An erection lasting more than three to four hours also needs emergency care, and so does a painful erection lasting more than one hour in someone with sickle cell disease. Call 911, 999 or 000, or go to an emergency department. The NHS priapism page gives both thresholds and lists some ED treatments among the causes.

Frequently asked questions

What causes erectile dysfunction in your 30s?

Common causes include stress, anxiety, tiredness, alcohol, smoking, recreational drugs and some medicines, alongside physical conditions such as high blood pressure, high cholesterol, diabetes and hormone problems. Physical and psychological causes can occur together. In one clinic study, men aged 40 or under with ED smoked and used illicit drugs more often than older men.

Is erectile dysfunction normal in your 30s?

Occasional erection problems are normal at any age, and the NHS says they are usually caused by stress, tiredness or alcohol. Repeated problems are not something to ignore. In one Italian clinic study, about one in four men seeking help for new ED was 40 or younger, and almost half had severe ED.

Can erectile dysfunction be a sign of heart disease?

Yes. The American Urological Association says ED is a risk marker for cardiovascular disease, and that ED symptoms may come before a cardiovascular event by up to five years. In a Minnesota study, men aged 40 to 49 with ED had a much higher rate of new coronary artery disease than men without ED.

When should I see a doctor about erectile dysfunction?

See a doctor if erection problems keep happening. In the UK you can also go to a sexual health clinic. Call 911, 999 or 000 for chest pain during or after sex. Seek emergency care for an erection lasting more than three to four hours, or a painful erection lasting more than one hour if you have sickle cell disease.

Can erectile dysfunction be reversed?

The NHS says treatment can usually help, but no outcome is guaranteed. It lists healthy lifestyle changes that can sometimes help, and doctors may change a medicine or treat high blood pressure, cholesterol or hormone problems. The American Urological Association recommends counseling on diet and physical activity for men with related health conditions.


The short version

Erection problems in your 30s and 40s are common, but a repeated pattern deserves a proper check. In younger men, ED can be an early marker of heart and metabolic disease, so blood pressure, cholesterol and glucose belong in the assessment alongside testosterone. Bring an honest account of medicines, alcohol, smoking, stress and sleep, and treat chest pain during sex as an emergency.

This article is general education, not medical advice. It does not replace your own physician.


Alan Chen, MD
Alan Chen, MD Root cause medicine. Albany Medical College, residency at the University of South Florida.

Want your own numbers read?

Private consulting is application only, and every application is read personally.

Dr. Alan ChenCommon questions, answered
Apply Email him