MensMD
MensMD

Sexual Health

Erectile dysfunction: causes, diagnosis and what actually helps

Erectile dysfunction is one of the most common health concerns men face — and one of the most treatable. It is also a signal worth listening to, because the same blood vessels that power an erection also feed your heart and brain.

What is erectile dysfunction?

Erectile dysfunction — often shortened to ED, and historically called impotence — is the persistent inability to attain and maintain an erection firm enough for satisfactory sexual performance. That is the definition used by the European Association of Urology, and the key word is “persistent”.[8] An occasional off night after a heavy meal, too much alcohol, stress or poor sleep is completely normal and happens to every man. ED is when the difficulty is consistent over weeks or months.

Many men first notice ED problems as a gradual change — erections that are less firm, do not last, or need more stimulation than before — while others experience a more abrupt shift, from the occasional difficulty to reliably getting no erection at all. Both patterns are worth taking to a doctor, because the pattern itself is a useful clue about the cause.

It is far more common than most men assume. In the landmark Massachusetts Male Aging Study, a community sample of men aged 40 to 70, the combined prevalence of minimal, moderate and complete impotence was 52%, and complete impotence tripled from 5% at age 40 to 15% at age 70.[1]Globally, one modelling study estimated that ED affected over 152 million men in 1995 and projected a rise to roughly 322 million by 2025 — an increase of nearly 170 million, concentrated in the developing world, including Asia.[2]

Indian data tell the same story. A rural study in Suttur village near Mysore found erectile dysfunction in 15.77% of adult men, with any male sexual disorder affecting 21.15%.[4] A separate rural survey in Ballabgarh, Haryana, reported ED in 5.0% of men overall and 6.8% among ever-married men, with diabetes and hypertension standing out as significant correlates.[9]The two studies used different populations and instruments, so they are not directly comparable, but together they confirm that ED is a real and measurable concern among Indian men — not a rare or shameful outlier.

If you are reading this quietly, worried and putting off a conversation, the single most useful thing to know is this: seeking help is routine. ED is a recognised medical condition with well-studied causes, and bringing it to a doctor is a sensible health decision, exactly like getting your blood pressure checked.

How does an erection work?

An erection is mostly a hydraulic, blood-flow event that depends on healthy arteries, nerves and the smooth muscle inside the penis. Understanding the plumbing makes ED far less mysterious.

When you are sexually aroused, nerves release signals that switch on a chemical pathway inside the erectile tissue. Sexual stimulation triggers parasympathetic nerve activity; nitric oxide is released and activates an enzyme (guanylyl cyclase) that raises a messenger molecule called cGMP. Rising cGMP lowers calcium inside the cells and relaxes the smooth muscle of the corpus cavernosum — the spongy erectile chambers.[10]

As that muscle relaxes, arterial blood rushes in — inflow increases roughly 20 to 40 times — and the sinusoidal spaces expand. The swelling presses the small drainage veins against the tough outer sheath (the tunica albuginea), trapping blood inside. This veno-occlusive mechanism is what keeps the erection firm.[10] Afterwards, an enzyme called PDE5 breaks down cGMP, the muscle tightens again, blood drains, and the erection subsides.

The practical takeaway is simple: erectile function needs three systems working together — blood vessels, nerves and hormones, plus the right psychological state. A fault in any one of them can cause ED, which is exactly why a proper evaluation matters.

What causes erectile dysfunction?

ED is usually the end result of one or more underlying problems rather than a disease in its own right. The main categories below often overlap — a man with diabetes, for example, may have vascular, neurological and psychological factors at the same time.

Vascular causes (and the heart connection)

Because an erection is fundamentally about blood flow, disease of the blood vessels is the most common organic cause of ED. The same process that furs up the arteries feeding the heart — atherosclerosis, driven by high blood pressure, high cholesterol, diabetes and smoking — also narrows the smaller arteries that fill the penis. Because those penile arteries are narrower, they often show trouble first, which is why ED can be an early warning sign of wider cardiovascular disease.

The evidence here is strong. An umbrella review of systematic reviews and meta-analyses found that, compared with men without ED, men with ED had a 45% higher risk of cardiovascular disease (relative risk 1.45), a 50% higher risk of coronary heart disease (RR 1.50), a 55% higher risk of heart attack (RR 1.55), a 36% higher risk of stroke (RR 1.36) and a 25% higher all-cause mortality (RR 1.25), all highly statistically significant.[3] European guidelines similarly describe ED as an early warning sign of cardiovascular disease that should prompt attention to heart health.[8]

Metabolic causes: diabetes and obesity

Diabetes is a major driver of ED because persistently high blood sugar damages both the small blood vessels and the nerves that erections rely on. In the North Indian rural study, diabetes was associated with markedly higher odds of a sexual health disorder (odds ratio 2.40) and hypertension even more so (OR 3.17).[9] ED in a man with diabetes also carries its own warning: a meta-analysis of diabetic men found those with ED had roughly 1.74 times the odds of cardiovascular events and 1.72 times the odds of coronary heart disease compared with diabetic men without ED.[12]

Hormonal causes

Hormones are one part of the picture. Low testosterone can reduce sexual desire and contribute to erectile difficulty in some men, which is why guidelines recommend measuring a morning total testosterone as part of the work-up, with deficiency generally defined as below 300 ng/dL.[7]That said, hormonal problems are only one of several causes, and most ED is not explained by low testosterone alone — another reason not to self-diagnose.

Psychological causes

The mind matters too. Performance anxiety, stress, relationship difficulties, depression and past experiences can all interfere with the arousal signals that start an erection, and they frequently coexist with physical causes rather than replacing them. A useful rough guide many doctors use: if firm erections still occur on waking or with self-stimulation but not with a partner, a psychological component is more likely; if they are absent in every situation, a physical cause is more probable. Only a proper evaluation can sort this out.

Lifestyle and medication-related causes

Smoking is a clear, modifiable risk factor. A meta-analysis of eight studies and 28,586 men found current smokers had a 51% higher risk of ED (OR 1.51, 95% CI 1.34–1.71), while former smokers had a smaller excess risk of 29% (OR 1.29) — a pattern that points towards benefit from quitting.[11]Excess alcohol, physical inactivity and obesity all add to the risk as well. Certain prescription medicines can also contribute to ED as a side effect; if you suspect a medication is involved, never stop it on your own — raise it with the doctor who prescribed it, who can weigh the options.

Why ED deserves a proper medical work-up

It is tempting to treat ED as a stand-alone nuisance to be quietly solved. The stronger, evidence-based view is that ED is a window into your overall health — and ignoring it can mean missing something important.

It can reveal cardiovascular disease. Because penile arteries are small and show narrowing early, new ED can precede a heart attack or stroke by years. The umbrella review linking ED to a 45% higher cardiovascular risk and a 25% higher all-cause mortality is precisely why urologists treat ED as a prompt to assess heart health, not just sexual function.[3][8]

It can reveal diabetes. ED is sometimes the first noticeable symptom of previously undiagnosed diabetes, and in men who already have diabetes, ED flags a higher risk of cardiovascular events.[12] A simple fasting glucose or HbA1c can pick this up.

It can reveal low testosterone and other issues. A morning testosterone level, together with a lipid profile, rounds out the picture and occasionally uncovers a hormonal cause that would otherwise be missed.[7]In other words, a good ED evaluation is really a men's health check-up in disguise.

How do doctors diagnose ED?

Guidelines from both European and American urology bodies recommend a structured approach to diagnosing ED, built around three things: a careful history, a validated questionnaire and targeted blood tests.[8][7] Diagnosis itself is usually straightforward and non-invasive.

The conversation.Your doctor will ask about the onset and pattern of the problem, morning and night-time erections, sexual desire, medications, smoking and alcohol, mood and relationships, and any symptoms of heart disease or diabetes. A focused physical examination may follow. None of this is designed to embarrass you — each answer narrows down the likely cause.

The questionnaire. Doctors often use a validated tool such as the International Index of Erectile Function (IIEF) to grade severity objectively and to track change over time. On the IIEF erectile-function domain, the recognised severity bands are:[7]

IIEF erectile-function scoreInterpretation
26–30No / minimal ED
18–25Mild ED
11–17Moderate ED
10 or belowSevere ED

The blood tests. Guidelines advise selective laboratory tests including fasting glucose or HbA1c, a fasting lipid profile and a morning total testosterone (deficiency defined as below 300 ng/dL).[7] These same tests are what let an ED visit double as a cardiometabolic screen. If you would like to understand the wider testing and care pathway, our overview of ED treatment options walks through how evaluation leads to a plan.

What actually helps

Here is the encouraging part: much of what improves ED also improves your general health, and the strongest first-line evidence is for lifestyle change. This is not a consolation prize — it is backed by randomised controlled trials.

Lifestyle change comes first

A meta-analysis of six randomised trials across four countries (740 men) found that lifestyle modification and cardiovascular risk-factor reduction improved erectile-function scores by a weighted mean of 2.66 points (95% CI 1.86–3.47).[13] A landmark JAMA trial went further: among 110 obese men, two years of diet and exercise raised mean IIEF scores from 13.9 to 17, and 17 of 55 men in the intervention group regained normal erectile function versus just 3 of 55 controls.[5]

Exercise specifically pulls its weight. A 2023 meta-analysis of 11 randomised trials (1,147 men) found aerobic exercise improved erectile-function scores by an average of 2.8 points (95% CI 1.7–3.9), and the benefit was greatest in men with worse baseline ED — a gain of 2.3 points in mild, 3.3 in moderate and 4.9 in severe ED.[6] Stopping smoking belongs in the same category: former smokers carried a lower excess risk of ED (29%) than current smokers (51%), consistent with real benefit from quitting.[11]

Medical treatments: a decision for your doctor

Beyond lifestyle, a range of medical treatments exists — but which of them, if any, is appropriate is a decision for your doctor to make after a proper evaluation. There is no single answer that fits every man, because the right approach depends entirely on the cause, your other health conditions and your own preferences.

For context only, the best-known class of prescription medicines for ED are the PDE5 inhibitors. Sildenafil was the first PDE5 inhibitor, receiving US FDA approval for erectile dysfunction on 27 March 1998; it works by blocking the breakdown of cGMP, enhancing the same nitric-oxide pathway described above, and it still requires sexual stimulation to have any effect.[14]That last point matters: these are not aphrodisiacs, and they are prescription medicines that can interact dangerously with other drugs — which is why they must never be bought casually or taken without a doctor's assessment. Our guide to how PDE5 inhibitors work explains the pharmacology in plain English, and you can read more about the language of impotence and how it is used today.

The bottom line is that ED is highly manageable, but the plan should be built with a registered doctor who has actually evaluated you — ideally as part of a structured, supervised pathway rather than a one-off purchase. That is exactly how our sexual health program is designed to work.

Myths vs facts

MythWhat the evidence says
“ED is all in your head.”Most persistent ED has a physical component; vascular disease is the commonest organic cause, and men with ED have measurably higher cardiovascular risk (RR 1.45). Psychology matters, but it is rarely the whole story.
“ED is just ageing you have to accept.”Prevalence does rise with age, but randomised trials show lifestyle change can improve erectile function — 17 of 55 obese men regained normal function over two years in a JAMA study. Age is not a reason to give up.
“Only older men get ED.”Rural Indian data found erectile dysfunction across adult men from age 18 upward. ED can and does affect younger men too.
“ED always means low testosterone.”Hormones are only one of several causes. Guidelines still check morning testosterone (deficiency below 300 ng/dL) because it is sometimes involved, but most ED is not caused by low testosterone alone.
“A pill just fixes everything.”PDE5 inhibitors require sexual stimulation to work and are one option among several. Whether any medicine is suitable is a medical decision, and it does nothing to address an underlying cause such as undiagnosed diabetes.

When to seek help urgently

Most ED is not an emergency, but a few situations deserve prompt attention. Because ED can accompany cardiovascular disease, seek medical care quickly if it comes on suddenly — especially alongside chest pain, breathlessness, palpitations or pain in the legs on walking.[3][8] These can be signs that the same vascular problem is affecting your heart.

Separately, an erection that will not go down and becomes painful after several hours is a medical emergency — go to a hospital without delay, as prolonged erections can damage tissue if untreated.

Short of those situations, there is no need to wait for a crisis. New or persistent ED that lasts more than a few weeks is reason enough to book an evaluation, both to restore function and to check what it might be revealing about your wider health. If you would like a private, structured starting point, you can take our sexual health assessment and be connected to a doctor who can guide the next steps.

Frequently asked questions

What is erectile dysfunction?

Erectile dysfunction (ED) is the persistent inability to attain and maintain an erection firm enough for satisfactory sexual activity. European urology guidelines use this definition, and the word to note is “persistent” — the occasional off night is normal and is not ED. It becomes a medical concern when the difficulty is consistent over weeks or months.

How common are ED problems, and am I unusual for having them?

ED problems are very common. In the Massachusetts Male Aging Study, 52% of men aged 40 to 70 reported some degree of erectile difficulty. A rural South Indian study near Mysore found erectile dysfunction in about 15.8% of adult men. You are far from alone, and seeking help is a routine, sensible step rather than something to be embarrassed about.

Is erectile dysfunction a sign of heart disease?

It can be an early warning. A large umbrella review found men with ED had a 45% higher risk of cardiovascular disease and a 50% higher risk of coronary heart disease. European guidelines describe ED as a precursor of cardiovascular disease. This is one of the main reasons ED deserves a proper medical work-up rather than a quick fix.

What does it mean if I get no erection at all?

Consistently getting no erection at all — even on waking or with self-stimulation — points more towards a physical (vascular, neurological or hormonal) cause than a purely psychological one, and it warrants a medical evaluation. A doctor can order simple tests such as blood glucose or HbA1c, a lipid profile and a morning testosterone level to look for an underlying cause.

Can erectile dysfunction be reversed with lifestyle changes?

For many men, lifestyle change genuinely helps. In a JAMA randomised trial, 17 of 55 obese men regained normal erectile function after two years of diet and exercise, versus only 3 of 55 in the control group. A meta-analysis of exercise trials found aerobic activity improved erectile-function scores by an average of 2.8 points, with the largest gains in men with the most severe ED.

Does smoking cause ED?

Smoking is a well-established risk factor. A meta-analysis of nearly 29,000 men found current smokers had a 51% higher risk of ED than non-smokers, while former smokers had a lower excess risk of 29% — a pattern that points towards benefit from quitting. Smoking damages the blood vessels that erections depend on, so stopping is one of the most useful steps you can take.

What is a normal IIEF score?

On the IIEF erectile-function domain used in urology guidelines, a score of 26 to 30 is considered normal, 18 to 25 suggests mild ED, 11 to 17 moderate, and 10 or below severe. Doctors use this validated questionnaire to gauge severity and to track whether things improve, alongside a history, examination and blood tests.

Does ED always mean I have low testosterone?

No. Hormonal problems are only one of several possible causes, alongside vascular disease, diabetes, neurological conditions, medication effects and psychological factors. Guidelines still recommend checking a morning total testosterone (deficiency is generally defined as below 300 ng/dL) because it is occasionally involved, but most ED is not caused by low testosterone alone.

Do young men get erectile dysfunction?

Yes. Although prevalence rises with age, ED is reported across adult men. A rural South Indian survey included men from 18 years upward and still found meaningful rates of erectile dysfunction. In younger men, psychological factors, lifestyle and early cardiometabolic risk can all play a part, so it is still worth a conversation with a doctor.

When should I see a doctor urgently about ED?

See a doctor promptly if ED comes on suddenly, especially alongside chest pain, breathlessness or leg pain, because it can accompany cardiovascular disease. An erection that will not go down and becomes painful after several hours is a medical emergency and needs immediate care. Otherwise, new or persistent ED lasting a few weeks is reason enough to book an evaluation.

References

  1. Impotence and its medical and psychosocial correlates: results of the Massachusetts Male Aging Study (Feldman et al.)Journal of Urology (PubMed record)
  2. The likely worldwide increase in erectile dysfunction between 1995 and 2025 and some possible policy consequences (Ayta, McKinlay, Krane)BJU International (PubMed record)
  3. Association of erectile dysfunction and cardiovascular disease: an umbrella review of systematic reviews and meta-analyses (Mostafaei et al.)BJU International (PMC full text)
  4. An epidemiological study of sexual disorders in south Indian rural population (Rao, Darshan, Tandon)Indian Journal of Psychiatry (PMC full text)
  5. Effect of Lifestyle Changes on Erectile Dysfunction in Obese Men: A Randomized Controlled Trial (Esposito et al.)JAMA
  6. Effect of aerobic exercise on erectile function: systematic review and meta-analysis of randomized controlled trials (Khera, Bhattacharyya, Miller)The Journal of Sexual Medicine
  7. Erectile Dysfunction: AUA Guideline (2018)American Urological Association
  8. EAU Guidelines on Sexual and Reproductive Health - Management of Erectile DysfunctionEuropean Association of Urology (Uroweb)
  9. Prevalence and correlates of sexual health disorders among adult men in a rural area of North India: An observational study (Singh et al.)Journal of Family Medicine and Primary Care (PMC full text)
  10. Physiology, Erection (StatPearls)StatPearls / NCBI Bookshelf (NIH)
  11. Smoking and Risk of Erectile Dysfunction: Systematic Review of Observational Studies with Meta-Analysis (Cao et al.)PLoS One (PMC full text)
  12. Erectile dysfunction and cardiovascular events in diabetic men: a meta-analysis of observational studies (Yamada et al.)PLoS One (PubMed record)
  13. The effect of lifestyle modification and cardiovascular risk factor reduction on erectile dysfunction: a systematic review and meta-analysis (Gupta et al.)Archives of Internal Medicine (PubMed record)
  14. Sildenafil (StatPearls)StatPearls / NCBI Bookshelf (NIH)

This article is educational and does not constitute medical advice, diagnosis or treatment. It does not advertise or recommend any medicine. Whether any treatment is appropriate for you can only be decided by a registered medical practitioner after a consultation. If you have a medical emergency, contact local emergency services.