Short answer

What causes erectile dysfunction (ED)? Usually more than one factor at once: blood vessel disease, diabetes, nerve injury, medicines, hormone problems, stress, and lifestyle habits all have supporting evidence. The limit is that research shows links across groups of men, not the cause in any one person, so a clinician has to sort out your own mix.

If you’ve been asking what causes erectile dysfunction, the honest first answer is that it depends, and often it depends on several things working together. ED means having trouble getting or keeping an erection firm enough for sex. The National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) points out that it is not a routine part of aging, which is a useful starting point: when erections change, there is usually something worth looking at.

This guide goes cause by cause. For each group of causes, it explains how the factor can affect an erection, what the research actually supports, and where the evidence runs out. That last part matters. Many of the links you’ll read about online come from studies that compare groups of men, and a link in a group doesn’t prove that the same factor is behind your own experience. Where evidence is strong, we say so; where it is limited or mixed, we say that too.

We won’t repeat the full overview, treatment menu, or testing process here. For those, see our complete guide to erectile dysfunction. If your main concern is an erection that fades partway through, getting hard but not staying hard has its own article. Nothing on this page can tell you what’s behind your symptoms, but it can help you notice useful details, ask sharper questions, and bring a clearer picture to a clinician.

Key takeaways
  • ED rarely has one cause; vessel health, diabetes, nerves, medicines, hormones, and mental stress often overlap.
  • Many causes are shared with heart and metabolic health, so ED can be worth raising even when everything else feels fine.
  • Medicines, alcohol, tobacco, and drugs can contribute, but prescribed medicines should never be stopped without a prescriber’s guidance.
  • Evidence describes groups of men, so it can show likely contributors but not diagnose any one person.
  • A clinician can sort causes using your history, medicine list, exam, and selected labs.

What Causes Erectile Dysfunction in Practice

Before looking at individual causes, it helps to be clear about what the word means in this field. Medical sources describe contributors, risk factors, and associations, and they use those words on purpose. This section explains why one cause is rare, what research can honestly claim, and how an erection works so each later cause makes sense.

Why ED Rarely Has a Single Cause

People often want a single answer, such as “it’s stress” or “it’s my blood pressure.” Clinical reality is messier, and understanding why saves a lot of frustration. The next two parts look at overlapping causes and at the limits of the research behind them.

Most men have more than one contributor

Medical groups describe several overlapping categories of causes: blood vessel (vasculogenic), nerve (neurogenic), hormonal, medicine-related, psychological, and injury-related, as outlined in the StatPearls chapter on erectile dysfunction. In real life those categories blend. A man with mildly high blood pressure may also take a medicine that affects sexual function, sleep poorly, and worry about performance. No single item may be enough alone, yet together they tip the balance.

This overlap is why the traditional split into “all in your head” versus “purely physical” is considered too simple. The Mayo Clinic lists physical and psychological causes side by side, and the American Urological Association (AUA) guideline notes that psychological factors may contribute either primarily or secondarily. In practice, a physical problem can create worry, and worry can make a physical problem worse. If you’re curious about how clinicians weigh the two, see our comparison of psychological versus physical ED.

What studies can and cannot show about causes

Most of what’s known about ED risk comes from observational studies, which follow or survey groups of men and look for patterns. They are good at finding associations, such as men with diabetes having more ED. They are weaker at proving that one factor directly causes another, because the groups can differ in many other ways at once. Age, weight, smoking, and medicines often travel together and are hard to separate.

You’ll see this limit in the wording of good sources. A 2018 meta-analysis of depression and ED, for example, reported that its design could show association but not causation. Throughout this article, phrases such as “linked to,” “associated with,” and “can contribute to” are deliberate. They mean the evidence supports a real connection without proving it explains your case. When a number is shown, it describes a group, over a stated period or population, and not your personal odds.

What an Erection Needs in Order to Work

An erection is a coordinated event, and each cause in this article interferes with some part of it. A short tour of the process gives you a map. After that, you’ll see why very different conditions can produce the same symptom.

Brain, nerves, blood flow, and pressure

According to the Cleveland Clinic, an erection begins with sensory and mental stimulation in the brain. Nerves carry the message to the penis, where muscles in the sponge-like erectile tissue relax. Blood then flows in and fills the open spaces, and the blood is trapped under pressure by surrounding tissue and valves. Later, the muscles contract again, blood leaves, and the penis softens.

Four ingredients stand out. You need a working signal (brain and nerves), healthy hormonal and chemical messengers, open arteries that deliver enough blood, and tissue that can hold pressure. Anxiety can interrupt the first step, nerve injury can interrupt the second, narrowed arteries can interrupt the third, and some conditions affect the tissue itself. Because every step must work, a weakness in any one of them can show up as ED. That is the logic behind the cause groups discussed in the rest of this guide.

Infographic 01 · Key concepts
Where ED causes can interrupt an erection
What an erection needs
Signal, blood inflow, held pressure, and healthy messengers
Brain and nerves
Stress, nerve injury, or neurological conditions can weaken the signal.
Blood flow in
Narrowed or stiff arteries can limit how much blood reaches the tissue.
Pressure held
The tissue must trap blood under pressure for firmness to last.
Hormones
Testosterone and thyroid hormones can influence desire and function.
Medicines and habits
Some medicines, alcohol, tobacco, and drugs can affect several steps.
Overlap
Real cases often involve more than one factor working together.
A concept overview, not a self-diagnosis tool.ULTIMATEPOTENCY.COM
Infographic 01: Where ED causes can interrupt an erection — An erection depends on a chain of steps, and different causes can interrupt different links. The same symptom can therefore come from very different places. Source note: Original editorial concept graphic based on Cleveland Clinic, StatPearls (NCBI Bookshelf), NIDDK, and Mayo Clinic descriptions of erection physiology and causes.

Why one symptom can come from different places

Two men can describe almost identical trouble and have entirely different explanations. One may have narrowed arteries, another a nerve problem after pelvic surgery, and a third a side effect from a new medicine. Because the symptom looks the same from the outside, symptoms alone can’t reveal the cause. That is why clinicians ask about timing, medicines, health conditions, and mental health instead of guessing.

The table below organizes the main cause groups and the kinds of questions a clinician may ask about each. It’s meant to explain how causes are grouped, not to help you diagnose yourself.

Main groups of ED causes and what they affect
Cause groupPart of the erection it affectsExamples named by medical sourcesWhat a clinician may ask about
Blood vesselBlood flow in and pressure heldAtherosclerosis, high blood pressure, high cholesterolHeart history, blood pressure, family history
NerveSignals from brain and spinal cordMultiple sclerosis, stroke, spinal cord injury, pelvic surgeryNeurological symptoms, past surgery or injury
HormonalChemical messengers and desireLow testosterone, thyroid imbalanceEnergy, mood, sex drive, labs
Medicine-relatedNerves, vessels, or hormones, depending on the drugAntidepressants, some blood pressure medicines, opioidsEvery prescription, over-the-counter product, and supplement
PsychologicalBrain signaling and stress hormonesAnxiety, depression, stress, relationship strainMood, stress, sleep, worry during sex
Injury or structureTissue and pelvic anatomyPeyronie’s disease, pelvic traumaPain, curvature, past trauma or procedures

Source note: Editorial summary based on StatPearls (NCBI Bookshelf), NIDDK, Mayo Clinic, and Cleveland Clinic descriptions of ED causes. Real cases often involve more than one group, and this table is not a diagnostic tool.

Blood vessel problems are among the most heavily studied causes, partly because an erection is a blood-flow event. This section covers how vessel health shapes erections and why ED is sometimes treated as an early signal about the heart, with an honest look at what that signal can and can’t tell you.

How Vessel Health Shapes Erections

Arteries that supply the penis are small, which may make them sensitive to the same damage that affects larger vessels. The next two parts explain narrowing, then the role of blood pressure and cholesterol.

Narrowed arteries and atherosclerosis

Atherosclerosis means fatty deposits build up inside artery walls, narrowing them and stiffening the vessel. Both the Mayo Clinic and NIDDK list it among conditions that can cause ED. The reasoning is simple: if less blood can flow into the erectile tissue, or the vessels can’t relax well, the penis may not fill or stay firm.

Reduced blood flow is a mechanism, not a measurement. Knowing that atherosclerosis is a recognized cause doesn’t tell you whether your arteries are narrowed, and ED alone can’t answer that question. Doctors rely on history, blood pressure, labs, and sometimes imaging. Importantly, the same process that can affect penile arteries can also affect arteries elsewhere in the body, which is why vessel-related ED is often discussed together with heart health. We return to that connection in the next section.

High blood pressure and cholesterol

High blood pressure and high cholesterol both appear on the Cleveland Clinic’s list of factors that can interfere with erections, and the Mayo Clinic lists them as physical causes. Over time, high pressure can injure artery walls, and high cholesterol contributes to the deposits described above. Neither usually causes symptoms you can feel, which is one reason they can go unnoticed for years.

Blood pressure itself and blood pressure medicine are different issues. The condition can contribute to ED, and some blood pressure medicines have also been linked to erection changes in some men, a topic covered in the medicines section. That doesn’t mean you should avoid treatment for high blood pressure, since untreated pressure has its own serious risks. If you take a blood pressure medicine and notice a change, the useful step is to raise it with the prescriber instead of stopping the drug on your own.

Hypothetical scenarioLuis and the blood pressure reading

Luis, a fictional 47-year-old, noticed that erections had become less firm over about a year. He assumed work stress was the reason and didn’t mention it at his checkup. When a new clinician asked about sexual function as part of a routine visit, he answered honestly. The visit included a blood pressure check, which was higher than recommended, and the clinician ordered cholesterol and blood sugar tests. Stress was still part of the picture. But the visit also brought up a treatable cardiovascular issue he hadn’t known about. The sensible next step was not a quick fix for the erection alone, but a plan that looked at his whole health, with sexual function as one part of the conversation.

Hypothetical scenario for illustration only. It does not describe a real person and is not individualized medical advice.

ED as a Possible Early Signal

Because penile arteries and heart arteries share risk factors, ED has an unusual place in medicine. It can be both a symptom and a clue. The next parts explain why and set sensible limits on how far the clue can be pushed.

Why ED and heart disease travel together

The AUA guideline tells clinicians to counsel men that ED is a risk marker for underlying cardiovascular disease and other conditions that may warrant evaluation. The Mayo Clinic likewise notes that ED can be a sign of heart disease. The fourth Princeton consensus conference, published in Mayo Clinic Proceedings in August 2024, advises clinicians to regard men with ED as being at risk for cardiac events until shown otherwise, according to a UroToday abstract summary.

One proposed explanation is that the penile arteries are small, so narrowing may cause noticeable symptoms there sooner than in larger vessels. That explanation is a reasonable hypothesis, not a proven timeline for every man. Smoking, diabetes, high blood pressure, high cholesterol, and inactivity raise risk in both places, so a shared set of causes may explain much of the overlap. In plain terms, the erection may be reporting on vessel health instead of being a separate problem.

What this does and does not predict

Being told that ED is a risk marker can sound alarming, so it’s worth keeping perspective. It does not mean you have heart disease, and it does not predict that you’ll have a heart attack. It’s a prompt for a cardiovascular risk review: blood pressure, cholesterol, blood sugar, smoking status, weight, family history, and, when a clinician thinks it’s useful, further testing. Estimates of how many years ED may come before cardiac events vary, and no one can apply an average to an individual.

The practical value is in the timing of the conversation. A man who brings up ED at 45 may get a heart-health review a decade earlier than he otherwise would. That doesn’t change the cause of the ED, but it can change the wider outlook. Chest pain, shortness of breath, or fainting with activity is different from ED and needs urgent attention, which the Next Steps section covers. And if sexual activity itself is a concern because of a heart condition, the Viagra label notes a potential cardiac risk of sexual activity in men with existing cardiovascular disease, so that conversation belongs with a clinician.

Diabetes, Nerves, and Other Health Conditions

Several long-term health conditions are tied to ED because they affect blood vessels, nerves, or both. Diabetes is the best-studied example, and it comes first here. Then the section turns to neurological, sleep, kidney, and weight-related conditions, where the evidence is real but varies in strength and consistency.

Diabetes and Erectile Function

Diabetes can affect both blood vessels and nerves, which are exactly the structures an erection relies on. The next two parts explain the mechanism and then slow down to look at what the risk numbers can and cannot tell you.

How diabetes affects vessels and nerves

NIDDK explains that changes in blood vessels, nerves, hormones, and emotional health during diabetes can interfere with sexual function. In its diabetes and sexual problems page, it states that more than half of men with diabetes will get ED, that men with diabetes are more than three times as likely to develop it, and that it may appear 10 to 15 years earlier than in men without diabetes.

Because diabetes can change vessels and nerves, both the blood-flow step and the signal step of an erection can be affected. Emotional strain from managing a chronic condition can add another layer. For someone who has diabetes, a sexual problem can be a sign that the diabetes plan needs adjusting, according to the same page. That is a reason to bring the symptom up, because good diabetes management may help prevent and treat ED caused by nerve and circulation problems.

What the risk numbers can and cannot tell you

A 2024 meta-analysis in Frontiers in Endocrinology pooled 58 studies covering 66,925 people with diabetes and looked at what raised their odds of ED. An odds ratio compares how likely something is in one group versus another; a value of 1 means no difference, and larger values mean greater odds. The table below shows several results, to illustrate how factors rank.

Factors linked to ED among men with diabetes in one meta-analysis
FactorPooled odds ratioWhat it suggests
Diabetic neuropathy (nerve damage)3.47Strongest association listed here; fits the nerve-signal mechanism
Vascular disease2.75Fits the blood-flow mechanism
Metabolic syndrome2.22A cluster of weight, blood pressure, and blood sugar problems
Hypertension1.74Higher odds with high blood pressure
Higher HbA1c (average blood sugar marker)1.44Higher odds with poorer blood sugar control
Smoking1.32Modestly higher odds among smokers

Source note: Dilixiati et al., Frontiers in Endocrinology, 2024 (58 studies, 66,925 people with diabetes, searches through August 2023). Odds ratios are pooled estimates. The authors reported high heterogeneity, relaxed quality criteria, and publication bias in some of the comparisons. These are group associations, not personal risk predictions.

The authors acknowledged high variability across studies, so treat the figures as a ranking more than precise values. Nothing in the table says that fixing one factor will restore erections, and the data can’t separate overlapping risks within a person.

Beyond diabetes, several other conditions appear on medical cause lists. Some injure the nerves directly, while others disrupt hormones, blood flow, or sleep. The next two parts separate nerve-related conditions from the broader group of body-wide health factors.

Neurological conditions and pelvic nerve injury

NIDDK lists multiple sclerosis, stroke, and spinal cord injuries among conditions linked to ED, and the Mayo Clinic adds Parkinson’s disease. NIDDK also lists damage from pelvic surgery. These conditions interrupt the signals that travel between the brain, the spinal cord, and the penis, so even when blood vessels are healthy, the message that starts the process may not arrive or may arrive weakened.

The sources describe these conditions as possible causes, not certainties, and they don’t give reliable predictions for an individual. Where a nerve is injured, how completely, and whether other factors such as medicines or mood are involved would all be expected to shape the outcome. If you have a neurological condition or had pelvic surgery, mention both the medical history and the sexual symptom to your care team. They may be able to separate nerve effects from medicine side effects and from stress, which respond to different approaches.

Sleep apnea, kidney disease, and weight

Several body-wide conditions show up repeatedly in research. NIDDK lists chronic kidney disease, chronic obstructive pulmonary disease, and obesity or overweight, and the Mayo Clinic lists sleep disorders. A July 2026 meta-analysis of obstructive sleep apnea (a condition in which breathing repeatedly pauses during sleep) reported ED prevalence of 59.0% to 69.0% across the populations studied, according to its abstract summary.

That study found a moderate link between more severe apnea and lower erectile function scores, and CPAP treatment was associated with improvement, though the size of the benefit varied by measurement tool. The authors also noted that age confused the picture and that studies were highly varied. So the association is credible, but the exact effect is not settled. These conditions may act through several routes at once, and the studies don’t fully separate them. Poor sleep, snoring with daytime sleepiness, or ongoing fatigue are worth mentioning alongside the erection concern.

Medicines, Alcohol, Tobacco, and Drugs

Substances you take on purpose can matter as much as diseases. Prescribed medicines are often essential and shouldn’t be stopped casually, yet some can affect sexual function. Alcohol, tobacco, and other drugs add another set of contributors. This section keeps safety first and shows what evidence exists for each.

Prescription and Over-the-Counter Medicines

Medicine-related ED is common enough that clinicians routinely review medication lists. The following parts name the families of medicines that have been linked and use two examples to show how the evidence and decisions can differ.

Which medicine families have been linked

NIDDK’s list of medicines that may cause ED includes antidepressants, appetite suppressants, antihistamines, blood pressure medicines and diuretics, chemotherapy and hormone medicines, pain relievers such as NSAIDs, codeine, and oxycodone, sedatives, and ulcer medicines. Harvard Health cites an estimate that about 25% of ED is a side effect of drugs. That figure is an estimate, and the underlying studies vary, so it’s best read as “a meaningful share” instead of an exact fraction.

Linked does not mean certain. Many people take these medicines without any erection change, and the condition being treated can itself contribute, which makes it hard to say whether the drug or the disease is responsible. The table summarizes the picture.

Medicine families linked to ED and what to do with that information
Medicine familyWhat sources reportLimit or caution
AntidepressantsCan affect desire, erection, and orgasm; some types are reported to carry greater risk than othersThe condition being treated can also affect sex; stopping suddenly can bring depression back
Blood pressure medicines and diureticsListed by NIDDK; Harvard Health names diuretics and beta blockers among those most often discussedHigh blood pressure itself can contribute; untreated pressure carries risks
Pain relievers (opioids, NSAIDs)Listed by NIDDK; opioids are also named as a cause of low testosterone by the Endocrine SocietyAsk the prescriber before any change; pain medicine may be needed
Antihistamines, sedatives, ulcer medicinesListed by NIDDKEvidence is described in general terms, and many people have no change
Finasteride (prostate and hair medicine)Label reports higher impotence rates early in a trial; rare reports of persistenceExplained in the next section

Source note: NIDDK (symptoms and causes), Harvard Health (2018, updated 2021), Mayo Clinic (antidepressants and sexual side effects), and the Proscar prescribing information. Not every person has these effects, and this table is not a reason to stop any medicine. Ask the prescriber.

! CautionDo not stop prescribed medicine on your own

If you suspect a prescription is affecting your erections, raise it with the prescriber before changing anything. Stopping a blood pressure, heart, mental health, or other prescribed medicine abruptly can cause serious harm, and Harvard Health notes it can take days to weeks for erections to return after a medicine change. A clinician may adjust a dose, switch to an alternative, or look at other causes.

Antidepressants and finasteride as worked examples

Antidepressants show how complicated medicine questions can be. The Mayo Clinic says sexual side effects can include changes in desire, trouble with erection, and difficulty reaching orgasm. It reports that SSRIs such as sertraline and paroxetine carry a greater risk, while bupropion, mirtazapine, and a few others are described as having the lowest rates. It also warns that for most people, stopping means depression returns. Prescribers can change doses, switch drugs, or add treatments.

Finasteride is a different case. The Proscar prescribing information reports that during year one of a four-year trial in men with an enlarged prostate, impotence occurred in 8.1% of those taking finasteride versus 3.7% on placebo. In years two through four, there was no significant difference between groups. The label also lists rare postmarketing reports of sexual dysfunction continuing after stopping. The practical lesson is to ask, not assume: a medicine can be a contributor, a non-factor, or one of several.

Hypothetical scenarioDaniel and the new prescription

Daniel, a fictional 55-year-old, noticed weaker erections a few weeks after starting a new medicine for another condition. At first he blamed himself and avoided the topic with his partner. Then he wrote down the date the medicine started, the date the change began, and every other medicine and supplement he took. At his appointment he brought the list and asked whether the timing could be related. His prescriber reviewed the options, explained the reason for the medicine, and discussed alternatives rather than telling him to stop. The key detail was the timeline: the notes turned a vague worry into a question a clinician could actually answer.

Hypothetical scenario for illustration only. It does not describe a real person and is not individualized medical advice.

Substances and Habits

Habits matter because they are some of the most changeable contributors. Evidence is strongest for smoking and heavy drinking and thinner for some other substances. This section reviews each honestly, without moralizing and without promising results.

Tobacco and alcohol

The Mayo Clinic says tobacco use lowers blood flow to veins and arteries, and the Centers for Disease Control and Prevention states that smoking can lead to impotence, or ED. The diabetes meta-analysis described earlier also found higher odds of ED among smokers, with a pooled odds ratio of 1.32. These sources agree in direction, which is why smoking counts among the better-supported modifiable contributors.

For alcohol, NIDDK lists drinking too much and the Mayo Clinic lists long-term alcohol use. The CDC defines heavy drinking for men as 15 or more drinks per week, though its page does not discuss erections specifically. Heavy, long-term use is the clearer concern, while evidence about occasional moderate drinking is less consistent. For a fuller lifestyle picture, see our guide to lifestyle and erectile health.

Recreational drugs, opioids, and anabolic steroids

NIDDK names recreational and illicit drugs among lifestyle factors linked to ED, and the Mayo Clinic cites long-term drug use. The evidence base here is often limited by how people report use and by the mix of substances involved, so it is hard to assign exact effects to individual drugs. Even so, the direction of concern is consistent across the major sources.

Two categories deserve mention because they work through hormones. The Endocrine Society lists opioids and anabolic steroid use among causes of low testosterone, and low testosterone can in turn contribute to ED. Telling a clinician about every substance you use is part of an accurate evaluation, and clinicians are expected to ask without judgment. Honest answers matter far more than a tidy story, because they change which causes are worth investigating.

Hormones, Testosterone, and Physical Changes to the Penis

Hormone and structural causes get a lot of attention online, sometimes more than their share. This section explains what testosterone and thyroid hormones can and can’t explain, then covers injuries, penile conditions, and cancer-related treatments. The emphasis is on what is supported, what requires testing, and what no home sign can tell you.

Low Testosterone and Other Hormone Factors

Hormones act as messengers that influence desire, energy, mood, and erection quality. Testosterone is the best known, but it isn’t the only one. The next parts describe testosterone first, then other hormone-related contributors.

What testosterone can and cannot explain

The Endocrine Society lists ED among possible symptoms of hypogonadism, which means low testosterone with symptoms, along with reduced sperm count, low energy, and diminished sex drive. NIDDK and the Mayo Clinic also list low testosterone as a cause. So the link is real. The limits matter just as much: low energy, low libido, and low mood have many causes, as the Endocrine Society’s July 16, 2026 statement points out, and none of them proves low testosterone.

Diagnosis requires symptoms plus consistently low, accurately measured testosterone, based on at least two early-morning fasting tests ordered by a healthcare provider. The AUA guideline recommends measuring morning total testosterone in men with ED. No at-home sign can replace that process, and a single number doesn’t settle the question. Treatment decisions are separate and carry their own considerations, including effects on fertility. For the full symptom picture, see our guide to low testosterone symptoms, and for how it relates to erections specifically, low testosterone and ED.

NIDDK lists thyroid imbalance among conditions that can contribute to ED, and its diagnosis page says blood tests may include thyroid tests. The Endocrine Society also lists pituitary problems and several chronic illnesses, including diabetes and liver or kidney disease, among causes of low testosterone. In other words, hormone problems can be the cause or the middle step between another condition and the erection.

For most readers the practical point is modest. A clinician may check hormone levels because an abnormal result could change the explanation, not because hormones are the most likely cause. Whether to test, and which tests, depends on your symptoms and history. Expecting a hormone problem in every case sets up disappointment, while ignoring hormones entirely can miss a treatable cause. Evidence is stronger for the fact that hormone disorders can contribute than for any claim about how often they are the main reason a given man has ED.

Injury, Structure, and Treatments That Affect Nerves and Vessels

Some causes are physical changes to the pelvis, penis, or surrounding structures. They are less common topics in headlines but come up often in clinical histories. The next parts cover injury and penile conditions, then cancer treatment and prostate procedures.

Peyronie’s disease, pelvic injury, and cycling

NIDDK and the Mayo Clinic both list Peyronie’s disease, a condition that changes the shape of the penis, among causes of ED. NIDDK lists spinal cord injuries and pelvic surgery damage, and the Mayo Clinic lists pelvic and spinal injuries. These are physical mechanisms, and injury to the nerves or vessels of the pelvis can interrupt the pathway described earlier. A history of injury, even from long ago, is worth mentioning.

Cycling is a frequent question. A May 2017 American Urological Association release reported that male cyclists had no worse erectile function than non-cyclists, though they had more numbness in the perineum, particularly with high-intensity cycling. The release found that seat type made no significant difference. The summary comes from an association news release, not a full trial report, so it’s best read as reassuring but not final. If numbness or pain in the groin area lingers, mention it to a clinician.

Cancer treatment and prostate procedures

The National Cancer Institute (NCI) explains in its page on sexual health and cancer treatment that surgery for penile, rectal, prostate, testicular, and other pelvic cancers may affect the nerves, making erections harder. Radiation can damage blood vessels or nerves, and hormone therapy can lower testosterone and sex drive. NIDDK also lists an enlarged prostate among conditions linked to ED.

These are some of the clearest cause-and-effect situations, because the treatment is directly connected to nerves, vessels, or hormones, and the timing is easy to see. Even so, outcomes differ widely, and the NCI page does not offer percentages. If you’re facing or have had treatment like this, ask your oncologist or urologist before treatment what to expect and what options exist later. Asking about sexual function early is reasonable, and it isn’t vain or premature. It is a legitimate health question.

Stress, Mood, and Anxiety as Causes

Mental and emotional health can cause ED on their own and can make physical causes worse. Treating them as real health factors, instead of failings, is part of accurate care. This section looks at how the mind reaches the erection and how depression and relationships fit into the picture.

How the Mind Reaches the Erection

The brain starts the process, so it is also where psychological factors can interrupt it. The next two parts explain the stress response, then a pattern many men describe as a loop.

Stress and the body’s alarm system

A 2016 paper in Translational Andrology and Urology by Reed-Maldonado and Lue describes how stress and anxiety raise epinephrine, a stress hormone, and increase activity in the sympathetic nervous system, the body’s alarm system. That can make the smooth muscle in the penis contract instead of relax, which works against an erection. The authors argue this blurs the old line between “psychological” and “physical,” since the mechanism is biological even when the trigger is emotional.

This is a described mechanism supported by some measurements, such as higher norepinephrine levels reported in men with psychologically linked ED compared with controls. It isn’t a test you can run at home, and it doesn’t rule out other causes. The practical takeaway is that stress isn’t “just in your head.” It acts through real body pathways. Work pressure, money worries, grief, poor sleep, and relationship strain can all feed it, and NIDDK lists anxiety, depression, stress, loneliness, and low self-esteem among mental health contributors.

Performance anxiety as a loop

Performance anxiety means worrying during sex about whether an erection will happen or last. It often begins after one difficult experience. The worry triggers the stress response described above, which makes another difficult experience more likely, which raises the worry again. The same 2016 paper describes this cycle, noting that failing to get an erection can worsen performance anxiety.

The loop can persist after the original cause has resolved. A man whose first episode was linked to a medicine, illness, or heavy night out may keep struggling because attention has shifted from pleasure to monitoring. Understanding the loop takes some pressure off, because it explains why the problem can continue even when nothing physical is wrong. The AUA guideline addresses this by recommending counseling referral when performance anxiety is a factor. Our guide to sexual performance anxiety covers the cycle in depth.

Hypothetical scenarioAndre and the loop

Andre, a fictional 34-year-old, had one night when an erection faded during a stressful week. By the next time, he was thinking about it from the moment things started. He began avoiding intimacy, which made his partner worry that something was wrong between them. Eventually Andre talked with a clinician, who asked about sleep, alcohol, medicines, and mood, and also suggested a basic health check, since physical causes can occur at any age. The takeaway wasn’t that his problem was imaginary. It was that a short physical review and some support for the anxiety loop could be done together, rather than choosing between them.

Hypothetical scenario for illustration only. It does not describe a real person and is not individualized medical advice.

Depression, Relationships, and Mixed Causes

Mood conditions and relationship strain are tangled with ED in both directions. The next parts look at depression research and then explain why careful clinicians avoid quickly labeling a case as purely mental or purely physical.

Depression and ED run in both directions

A 2018 meta-analysis in the Journal of Sexual Medicine, summarized in this abstract page, pooled 49 publications. It found that depression was associated with higher odds of ED (pooled odds ratio 1.39), and ED was associated with higher odds of depression (pooled odds ratio 2.92, from fewer studies). The authors concluded that the association runs both ways and recommended screening each condition when the other is present.

The limits are important. The analysis could not determine causality, and the studies varied considerably (an I² of 93.6%, a statistic showing high inconsistency). So the safest reading is that the two conditions travel together and affect each other, not that one has been shown to cause the other. Antidepressants add another layer, as covered earlier. If low mood, loss of interest, or hopelessness accompany ED, a clinician can address them together, and the 988 Suicide & Crisis Lifeline offers free, confidential support in the United States by call, text, or chat at any hour if you ever feel unsafe or in crisis.

Why “mostly mental” is a careful judgment

Clinicians sometimes look for clues that suggest a psychological component, such as symptoms that depend on the situation or partner, or erections that are otherwise normal. But the Reed-Maldonado paper cautions against treating psychological and organic causes as separate boxes, and the AUA guideline says psychological factors may contribute primarily or secondarily. In other words, “mostly mental” is a judgment reached after looking at the whole picture, not a conclusion to reach from a single symptom.

For readers, the useful move is to hold both possibilities. A man with clear stress or anxiety still deserves a look at blood pressure, blood sugar, and medicines, and a man with a clear physical cause may still benefit from support for worry. The graphic below summarizes how well each group of causes discussed so far is supported.

Infographic 02 · Evidence and limits
How well each cause group is supported
Blood vessel disease
Arteries, pressure, cholesterol
Supports
Named by NIDDK, Mayo Clinic, and the AUA as a risk marker.
Limit
ED alone cannot show which vessels are affected.
Next step
Ask for a heart-health and blood pressure review.
Strong evidence
Diabetes
Vessels and nerves
Supports
NIDDK reports more than three times the likelihood.
Limit
Meta-analysis data are highly variable.
Next step
Raise ED when reviewing your diabetes plan.
Strong evidence
Medicines
Many drug families
Supports
Listed by NIDDK; label data exist for some drugs.
Limit
Many users have no change; condition may contribute.
Next step
Review the list with the prescriber.
Moderate evidence
Stress and anxiety
Stress hormone pathway
Supports
A described mechanism and linked depression findings.
Limit
Association studies; cannot be measured at home.
Next step
Discuss mood, sleep, and counseling.
Moderate evidence
Evidence labels describe groups of men, not any one person.ULTIMATEPOTENCY.COM
Infographic 02: How well each cause group is supported — Some links appear on every major medical source list, while others rest on observational studies or a described mechanism. Evidence strength describes groups of men, not a diagnosis. Source note: Editorial summary based on NIDDK, Mayo Clinic, the AUA ED guideline, Frontiers in Endocrinology (2024), Harvard Health, and Reed-Maldonado and Lue (2016).

Common Questions About ED Causes

Readers tend to arrive with the same handful of questions, and the answers shape how seriously to take a symptom. This section answers four of them in plain terms, drawing on the sources above and being direct about what is not known.

Age and One-Off Episodes

Two worries come up constantly: whether ED is simply a matter of getting older, and whether a single difficult night means something is wrong. The next two answers address each, with attention to what the definitions actually say.

Is ED just a normal part of getting older?

Not in the sense of something you should simply accept. NIDDK states plainly that ED is not a routine part of aging, even though it becomes more common as men get older. On its definition and facts page, NIDDK reports estimates of roughly 40% of men affected at age 40 and 70% at age 70, drawn from a StatPearls chapter. Treat those as broad estimates, since figures depend on how ED is defined and measured.

Age matters because the conditions that contribute, such as vessel disease, diabetes, and medicine use, accumulate over time. That is a reason to look for causes, not a reason to dismiss the symptom. ED can also occur in younger men, and the causes there are not always different from those in older men. If you want an age-specific view, our articles on ED in your 30s, 40s, and after 50 look at what tends to be discussed in each decade.

Does one bad night mean I have ED?

Usually it doesn’t. The AUA’s definition describes the consistent or recurrent inability to attain or maintain an erection sufficient for sexual satisfaction. A single episode, or a short rough patch, doesn’t fit that description by itself. NIDDK lists stress, anxiety, alcohol, and tiredness-related lifestyle factors among contributors, so it isn’t surprising that an occasional night goes differently than expected.

What turns an off night into a pattern is often attention. Worrying about it can trigger the stress response described earlier, which is why one experience sometimes snowballs. A reasonable rule of thumb is to note whether the change is repeating over weeks to months, whether it shows up in all situations, and whether anything else changed around the same time, such as a new medicine, a health change, or a stressful period. If it keeps happening, that’s the point to raise it with a clinician. If it came on suddenly, see sudden erectile dysfunction.

Finding Causes and Fixing Them

The second pair of questions concerns what happens after a cause is identified, and whether products marketed as natural fixes can do the same job. The answers lean on what has been verified, which is less than marketing implies.

If a cause is found, can ED improve?

Sometimes, and that possibility is one of the best reasons to look for causes. The Mayo Clinic says treatment depends on addressing underlying conditions and describes lifestyle changes, including quitting smoking, losing weight, being more active, and treating substance misuse, as potentially as powerful as medications for erections. NIDDK says good diabetes management may help prevent and treat ED caused by nerve and circulation problems. Harvard Health notes that erections can take days to weeks to return after a medicine is changed.

There are limits. Some causes, such as nerve injury or long-standing vessel damage, may not fully reverse, and improvement isn’t guaranteed. Several causes also overlap, so addressing one may help partially. A clinician can discuss both fixing contributing causes and treating the erection directly, and the two aren’t mutually exclusive. For the full question of what is and isn’t reversible, read whether ED can be reversed.

Can supplements remove the cause?

The sources used for this article don’t show that any supplement addresses the causes described here, and “natural” doesn’t equal safe. The bigger concern is hidden ingredients. The FDA warns that many products marketed for sexual enhancement are likely to contain undeclared prescription drug ingredients, that they pose a serious health risk, and that they can lead to hospitalization. They are sometimes falsely sold as dietary supplements or all-natural treatments.

Hidden drugs matter because some medicines can interact dangerously with others, and you can’t avoid an interaction you don’t know about. A product that “works” may be working because of an undeclared drug, not because of the plant extracts on the label. The FDA advises consulting a healthcare professional before buying such products. Even a legitimate supplement can interact with prescriptions, so include it on any medicine list you share. Our guide to male enhancement supplements reviews the evidence ingredient by ingredient.

Your Next Steps for Finding the Cause

Understanding causes is useful only if it leads somewhere practical. This section offers a way to prepare for a visit, explains what clinicians typically look at, and lists the signs that call for faster action. It does not replace a medical evaluation, and nothing here is a self-diagnosis tool.

Preparing for the Conversation

Clinicians can sort through causes faster when they have specific details. Gathering them takes only a little time and can make an appointment more productive. The next two parts cover what to track and what to list.

What to note and bring

Start with a simple timeline: when you first noticed a change, whether it came on gradually or suddenly, and whether it happens in every situation or only some. Add anything else that changed around the same time, including a new medicine, illness, surgery, injury, stressful period, or change in sleep or alcohol use. Specific dates beat general impressions, because they let a clinician connect timing to possible causes.

Also note whether you still have morning or nighttime erections, since that detail is part of the standard history described by the AUA guideline. If you’re curious about what that detail means and doesn’t, read morning erections and ED. The table below turns these notes into a short preparation guide. It is a way to organize information for a clinician, not a way to reach a conclusion yourself.

Information worth gathering before an appointment about possible ED causes
What to noteWhy it helpsWhat to bring up
When it started and how it changedTiming can point toward medicines, events, or gradual conditionsGradual or sudden onset, and anything that changed at the same time
Whether it happens in all situationsSituation-specific patterns may suggest a different mix of causesPartner, setting, solo versus partnered differences
Morning or nighttime erectionsPart of the standard history for sorting causesWhether they are present, reduced, or absent
Every medicine, vitamin, and supplementMany medicine families are linked to EDNames, doses, start dates, and over-the-counter products
Health conditions, surgeries, injuriesVessels, nerves, and hormones can be affectedDiabetes, blood pressure, heart history, pelvic or spinal events
Mood, stress, sleep, alcohol, tobacco, other substancesThese factors can contribute alone or alongside othersHonest amounts and patterns, without judgment

Source note: Editorial checklist based on NIDDK diagnosis guidance, the AUA ED guideline, and Mayo Clinic diagnosis guidance. Bring what you can. Missing details are fine, and a clinician can ask follow-up questions.

Infographic 03 · Prepare your visit
Prepare for your visit in four steps
Build a timeline
Note when the change began and whether it was gradual or sudden.
Bring: start dateBring: what changed then
List medicines
Write every prescription, over-the-counter product, and supplement.
Bring: names and dosesBring: start dates
Note health and habits
Include conditions, surgeries, injuries, mood, sleep, alcohol, and tobacco.
Bring: recent lab resultsBring: family history
Write your questions
Ask what is likely, what can be tested, and what can be changed.
Ask: which causes fit?Ask: which tests?
A preparation checklist, not a self-diagnosis tool.ULTIMATEPOTENCY.COM
Infographic 03: Prepare for your visit in four steps — A short, specific set of notes helps a clinician connect timing, medicines, and health conditions. It is preparation for a conversation, not a way to reach a diagnosis yourself. Source note: Original editorial checklist based on NIDDK diagnosis guidance, the AUA ED guideline, and Mayo Clinic diagnosis guidance.

Health history and medicine list

A complete medicine list is one of the most valuable things you can bring. NIDDK’s diagnosis page says clinicians ask about prescribed and over-the-counter medicines, vitamins, and supplements, as well as sexual function, mental health, and emotional factors. Photographing your bottles or writing names and doses on a card can prevent omissions, since people often forget occasional or seasonal products.

Also gather your family history of heart disease or diabetes if you know it, and any recent lab results or blood pressure readings you can easily find. You don’t need to arrive with answers. You need to arrive with accurate information. The checklist below is an original aid for pulling that information together, and it’s fine to bring it on paper or your phone.

Decision aidBefore your appointment

Use this list to gather details a clinician can use to sort out possible causes. You don’t need every item.

  • I wrote down when the change began and whether it came on gradually or suddenly.
  • I noted whether it happens in every situation or only some.
  • I listed every prescription, over-the-counter product, vitamin, and supplement with doses.
  • I noted any new medicine started in the months before the change.
  • I wrote down health conditions, surgeries, or injuries, including pelvic or spinal ones.
  • I noted recent changes in mood, stress, sleep, alcohol, tobacco, or other substances.
  • I collected recent blood pressure, cholesterol, or blood sugar results if I have them.
  • I wrote down my top three questions for the clinician.

What a Clinician Looks For and When to Act Fast

Once you’re in the room, the evaluation follows a fairly consistent pattern. It also helps to know which symptoms are not part of a routine ED conversation and need urgent care instead.

Exam, labs, and sorting out causes

According to NIDDK, a clinician may check blood vessels, nerves, hormones, and the penis itself, and may order blood tests including thyroid and prostate tests. Ultrasound of penile blood flow, a nighttime erection test, and an in-office injection test exist for selected cases. The AUA guideline calls for a thorough medical, sexual, and psychosocial history, a physical examination, and selective laboratory testing. Not everyone needs every test.

Labs typically look for conditions the Mayo Clinic names, such as heart disease risk, diabetes, and low testosterone. The Viagra label itself states that ED evaluation should include a determination of potential underlying causes after a complete medical assessment. For help deciding who to see, read what doctor treats erectile dysfunction. For a closer look at tests and what they involve, see erectile dysfunction testing.

Urgent signs and sensible follow-up

Most ED concerns are not emergencies, but some signs are. An erection lasting more than 4 hours needs immediate medical attention, as does chest pain. Sudden vision loss in one or both eyes, or a sudden decrease or loss of hearing, after taking a PDE5 inhibitor (the class that includes sildenafil and tadalafil) means stopping the medicine and seeking prompt care, per the Viagra label. These are different from ordinary ED symptoms.

! CautionSeek urgent care for these signs

An erection lasting longer than 4 hours, chest pain, sudden loss of vision in one or both eyes, or sudden hearing loss or ringing with dizziness needs emergency care. Organic nitrates, used for chest pain, are contraindicated with PDE5 inhibitors because of a dangerous drop in blood pressure. Do not wait for an appointment.

After the first visit, the sensible follow-up is to keep the conversation going. Ask what the clinician thinks the likely contributors are, which ones can be tested, and which can be changed. Report any new symptoms, and revisit the plan if things don’t improve. A single visit rarely settles the whole picture, and it’s reasonable to return as information comes in.

Looking for the cause of erectile dysfunction can feel like a hunt for blame, but the research points in a different direction. Most contributors are health conditions, medicines, habits, and stress responses that come up in countless ordinary lives, and many of them can be examined and addressed. The most useful frame is that ED often carries information about your wider health, and listening to it is practical rather than embarrassing.

Keep the main limits in mind. The links described here come mostly from studies of groups, and they can suggest likely contributors without proving what’s happening in one person. No home sign can separate a vessel problem from a medicine effect or from anxiety, and no supplement or quick fix substitutes for sorting that out. Several causes together are the rule, not the exception.

If you take away one step, make it a short, specific note about when this began, what you take, and what else changed, then share it with a clinician you trust. Return to the broader overview when you want it, and look to the linked articles for the narrower questions.

Sources and further reading

  1. Erectile dysfunction: definition and facts: NIDDK , definition, aging statement, prevalence estimates
  2. Erectile dysfunction: symptoms and causes: NIDDK , lists of conditions, medicines, mental health, and lifestyle factors
  3. Erectile dysfunction: diagnosis: NIDDK , history, exam, labs, and tests
  4. Diabetes and sexual and urologic problems: NIDDK , diabetes and ED risk and management
  5. Erectile dysfunction symptoms and causes: Mayo Clinic , physical, psychological, and risk factors
  6. Erectile dysfunction diagnosis and treatment: Mayo Clinic , evaluation and lifestyle statements
  7. Antidepressants and sexual side effects: Mayo Clinic , sexual side effects and not stopping on your own
  8. Erectile dysfunction guideline: American Urological Association , definition, evaluation, risk marker, testosterone testing
  9. Cycling and sexual health news release: American Urological Association , May 2017 findings on cyclists
  10. Erection: how it works: Cleveland Clinic , erection physiology and interfering factors
  11. Erectile dysfunction: StatPearls, NCBI Bookshelf , cause categories and background
  12. Some drugs may cause your erectile dysfunction: Harvard Health , medicine classes and an estimate of medicine-related ED
  13. Proscar prescribing information: Organon , sexual adverse reactions in the labeled trial
  14. Risk factors for erectile dysfunction in diabetes mellitus: Frontiers in Endocrinology, 2024 , pooled odds ratios and limitations
  15. Obstructive sleep apnoea and erectile dysfunction meta-analysis: abstract on UroToday, 2026 , prevalence range and limits
  16. Erectile dysfunction and depression meta-analysis: abstract on UroToday, 2018 , bidirectional association and limits
  17. Princeton IV consensus on ED and cardiovascular disease: abstract on UroToday , cardiac risk recommendation
  18. A syndrome of erectile dysfunction in young men?: Translational Andrology and Urology, 2016 , stress, sympathetic tone, and the anxiety loop
  19. Sexual health issues in men and cancer treatment: National Cancer Institute , surgery, radiation, and hormone therapy effects
  20. Hypogonadism: Endocrine Society , symptoms, diagnosis, causes, fertility note
  21. Statement on testosterone replacement therapy, July 16, 2026: Endocrine Society , diagnosis requires symptoms plus repeated morning tests
  22. Cigarettes and reproductive health: CDC , smoking and ED
  23. Alcohol use basics: CDC , heavy drinking definition for men
  24. Viagra prescribing information: DailyMed , evaluation statement and urgent-care warnings
  25. Tainted sexual enhancement products: FDA , hidden drug ingredients
  26. 988 Suicide & Crisis Lifeline , crisis support in the United States

Source links were checked on October 4, 2026. Guidance, drug labeling, prices, and availability can change, so confirm current details with an official source or your clinician.

About the author
Written by the Ultimate Potency Editorial Team
Plain-English, source-based men’s sexual health education for adult readers in the United States.

Ultimate Potency is an educational publication. Our editorial team researches each topic using authoritative sources such as U.S. FDA drug labeling and notices, NIDDK and other U.S. government health resources, professional-society guidance, and peer-reviewed research. We write in plain language, say what the evidence can and cannot show, and avoid promises, shame, and hype. Sources for this article were last checked on October 4, 2026.

Source-first researchPlain-language writingNo hype, no shameEducational purpose only

Important information and disclaimer

Educational use only. This article is general information. It is not medical advice, diagnosis, or treatment, it is not a prescription, and reading it does not create a doctor–patient or other professional relationship.
Not a healthcare provider. Ultimate Potency is not a medical practice, clinic, or pharmacy, and it does not provide medical care, prescriptions, or individualized recommendations.
Talk with a licensed professional. Ask a qualified healthcare professional about your own symptoms, medicines, test results, and treatment options. Do not start, stop, or change any medicine, supplement, or hormone treatment, and do not delay or ignore care, because of something you read here.
Emergencies. Call 911 or your local emergency number right away for chest pain, sudden vision or hearing changes, severe allergic symptoms, or an erection that lasts more than four hours.
Accuracy and currency. We work to keep information accurate as of the date above, but medical knowledge, FDA labeling, prices, and availability change, and we cannot guarantee that anything here is complete, current, or error-free. Hypothetical scenarios are illustrations, not real people, and individual results vary.
Limitation of liability. To the fullest extent permitted by law, Ultimate Potency and its owners, editors, writers, and contributors make no warranties, express or implied, and accept no liability or responsibility for any loss, injury, damage, or other consequence arising directly or indirectly from your use of, or reliance on, this content.
Third-party links. Links to other sites are provided for reference only. We do not control or endorse their content, products, or services.