The causes of erectile dysfunction include blood-vessel disease, diabetes, nerve problems, medicines, hormones and psychological factors, and more than one cause is common.
The pattern, onset and medical history help narrow it down, and a medicine that improves erections does not explain why they changed.
This guide covers the physical causes, medicines and hormones, anxiety and relationship factors, lifestyle contributors and how a physician investigates the cause.
| Cause category | How it interferes | Common examples |
|---|---|---|
| Vascular | Limits arterial inflow or trapping of blood | Atherosclerosis, high blood pressure, diabetes, tobacco |
| Neurological | Weakens arousal signaling | Neuropathy, spinal cord disorders, multiple sclerosis, pelvic surgery |
| Medication | Alters vascular tone, hormones, arousal or nerve signaling | Some blood-pressure medicines, antidepressants, opioids |
| Hormonal | Changes desire and the reproductive environment | Low testosterone, thyroid disorders, high prolactin |
| Psychological | Triggers a stress response that opposes relaxation | Anxiety, depression, relationship conflict |
| Structural | Changes penile anatomy | Curvature, plaques, injury |
In this article
Why Finding the Cause of ED Matters
Two men with the same symptom can need very different care. ED driven by a blood pressure medicine may improve with a medication review, while ED linked to diabetes or vascular disease needs those conditions managed too.
The cause also shapes safety. Men with heart disease or those taking nitrates need a different conversation about ED medicines than men whose problem is mainly anxiety.
Physical causes: blood vessels, diabetes and nerves
Why can so many conditions affect erections?
Arousal signals relax smooth muscle, allowing blood into erectile tissue while limiting outflow. Nerves, sensation, anatomy, hormones and attention all contribute.
A disruption at any point can change firmness or duration.
Several contributors often coexist. Diabetes can affect both blood vessels and nerves, and the distress of an early erection problem then adds fear of recurrence. Labeling the result physical or psychological, as if only one can be true, misses that interaction.
How do blood-vessel conditions contribute?
Vascular causes are common because erectile tissue needs rapid, sustained blood flow. Atherosclerosis, high blood pressure, diabetes and tobacco can damage the arteries or the vessel lining that controls dilation.
The penile arteries are relatively small. Persistent ED can therefore appear alongside cardiovascular disease or its risk factors, sometimes before any other symptom. The association does not prove a heart problem, but it gives a clinician good reason to review cardiovascular health.
Venous function matters too. If blood is not trapped effectively, firmness is hard to maintain. “Venous leak” is a popular online self-diagnosis, yet specialized vascular testing is not needed in every case and should follow the clinical pattern.
| Pattern or context | Possible contributor | What still needs review |
|---|---|---|
| Gradual difficulty in most settings | Vascular, metabolic, medication or mixed cause | Cardiovascular risks, diabetes, medicines and examination |
| Sudden change after a new medicine | Medication effect | Exact product, timing, reason for use and alternatives |
| Preserved spontaneous erections with situational difficulty | Psychological or relationship context may contribute | Whether physical factors coexist |
| Lower desire plus fewer morning erections | Hormonal, sleep, mood or medication context | Symptoms and targeted hormone testing when indicated |
| ED after pelvic surgery or neurological injury | Nerve and vascular pathways | Procedure history, sensation and focused examination |
| Pain, curvature or penile injury | Structural condition | Prompt focused assessment rather than an uncomplicated ED label |
How does diabetes cause erectile dysfunction?
Diabetes can damage small blood vessels and peripheral nerves. It often travels with high blood pressure, abnormal lipids and kidney disease, which also affect erectile function. The duration and control of diabetes matter more than the label alone.
Both high and low blood glucose can affect sexual activity. The clinician reviews diabetes treatment and general health together.
Treating the erection symptom does not erase diabetes-related risk. Routine diabetes and cardiovascular care stays essential even when an ED medicine is considered.
Which neurological causes matter?
Nerves carry arousal signals from the brain and spinal cord to pelvic tissues. Neuropathy from diabetes, spinal cord disorders, multiple sclerosis, pelvic injury and certain surgeries can interrupt those pathways. Changes in sensation, bladder function or other neurological symptoms help frame the problem.
Prostate, bladder and colorectal surgery can affect nerves, blood vessels or both. Recovery patterns vary and cannot be predicted from a general timeline.
An isolated erection change does not prove neurological disease. Sudden ED with new weakness, numbness, severe back symptoms or other acute neurological findings needs prompt medical assessment.
Medicines, hormones and psychological factors
Can medicines cause ED?
Yes. Depending on the exact drug and patient, these medicines can contribute:
- Some blood-pressure medicines
- Antidepressants
- Antipsychotics
- Sedatives
- Antiandrogen therapies
- Opioids
A medicine may alter vascular tone, hormones, arousal, nerve signaling or alertness.
Timing is useful but not conclusive. ED after a new prescription raises a question, yet the treated condition may itself affect sexual function. Depression, for example, can lower desire and erectile consistency on its own.
Do not stop a necessary medicine because it appears on a list. The prescriber can weigh the indication, alternatives and the risks of change, and stopping some medicines abruptly is harmful.
What role do testosterone and other hormones play?
Testosterone supports sexual desire and the wider reproductive environment, but it is not the sole switch for an erection. Low testosterone may contribute when ED comes with reduced desire, fewer spontaneous erections or other compatible findings. Many men with ED do not have hypogonadism.
Thyroid disorders, elevated prolactin and other endocrine conditions can also affect sexual function. Hormone testing is targeted, not an automatic explanation for every case.
The guide on low testosterone and ED covers that overlap in depth. A low testosterone diagnosis still requires symptoms, consistently low morning results and an evaluation of the cause.
How do anxiety, mood and relationship context contribute?
Anxiety can interrupt arousal, shift attention toward monitoring firmness and create fear of the next encounter. One difficult episode can shape expectations for the next. Depression, grief, chronic stress and relationship conflict affect desire, attention and sexual response too.
These effects are biological as well as emotional. Stress activates autonomic pathways that oppose the relaxation an erection needs. Calling a contributor psychological does not mean the symptom is invented.
Context supplies clues. Reliable morning or solo erections with difficulty in only one setting may point to a situational component. That pattern does not rule out a physical cause, and mixed presentations are common.
Lifestyle, age and other contributors
Can sleep, alcohol and tobacco affect erections?
Daily habits act through the same vascular, hormonal and nerve pathways.
| Factor | How it can affect erections |
|---|---|
| Poor sleep or sleep apnea | Affects mood, energy, vascular health and hormone patterns |
| Alcohol | Impairs erections acutely; heavy long-term use affects nerves, hormones and the liver |
| Tobacco | Damages blood vessels and raises cardiovascular risk |
| Inactivity and metabolic health | Acts through blood pressure, weight and glucose |
Loud snoring, witnessed breathing pauses and marked daytime sleepiness are relevant history. Lifestyle should never become blame. A man can have ED despite healthy habits, and a medical evaluation should not end with boilerplate advice.
Is age itself the cause?
ED becomes more common with age, largely because vascular disease, diabetes and medication use become more common. Aging does not make persistent ED inevitable, and age alone is not a diagnosis.
Older and younger men deserve the same approach: characterize the pattern, review health and medicines, assess psychological context and investigate clues. ED in a younger man can still have vascular, neurological, medication-related or hormonal components. Assuming it is only anxiety can delay the right care.
When and how to investigate ED
Which causes need prompt attention?
An erection lasting four hours or longer, especially when painful, needs emergency care. Sudden ED with chest pain, severe breathlessness, fainting, acute neurological symptoms or significant pelvic injury also warrants prompt assessment.
Painful curvature, a new penile lump, marked testicular symptoms or rapidly changing neurological signs fall outside a routine ED discussion.
Most persistent ED is not an emergency. It still deserves evaluation, because it can reveal cardiovascular risk, diabetes, a medication effect, mood concerns or another treatable contributor.
How is the cause evaluated?
The history covers onset, consistency, firmness, duration, desire, spontaneous erections, ejaculation, pain, curvature, relationships, medical conditions, surgery, injury, mental health, alcohol, tobacco and all medicines. The clinician also asks whether difficulty occurs in every setting.
The examination follows the history and may include blood pressure, pulses, genital findings, body-hair pattern and neurological or vascular clues. Testing can include glucose markers, lipids, kidney function or morning testosterone when indicated. Specialized blood-flow testing is reserved for selected cases.
The companion article on how ED is evaluated walks through each step.
Treatment follows the cause and individual risk. Sildenafil and tadalafil are FDA-approved for erectile dysfunction, and nitrates are contraindicated with both because of the risk of a dangerous blood-pressure drop. Through Atlas HRT, an independent Florida-licensed physician decides whether sildenafil or tadalafil fits, and a licensed partner pharmacy dispenses any prescription.
We’d rather spend time on why ED started than simply on which pill to try. A tablet can restore erections while the blood pressure, blood sugar or medication problem behind them carries on unnoticed.
Common questions
Is ED usually physical or psychological?
It can be either or both. Vascular, neurological, medication, hormonal and structural contributors often coexist with anxiety, depression or relationship strain.
Can high blood pressure cause ED?
High blood pressure can damage blood vessels, and some medicines that treat it can also affect erections. Never change that treatment without the prescriber.
Does having morning erections rule out a physical cause?
No. Spontaneous erections help characterize the pattern but do not exclude mixed or intermittent physical contributors.
Atlas HRT Team
Reviewed by · Last reviewed September 2026Atlas HRT specializes in erectile dysfunction evaluation and treatment for men in Florida.
Sources
- Symptoms and causes of erectile dysfunction, NIDDK; accessed October 10, 2026
- Viagra (sildenafil) prescribing information, Pfizer; accessed October 10, 2026
- Cialis (tadalafil) prescribing information, revised March 2026, Eli Lilly; accessed October 10, 2026
