
ED Causes: Why Erectile Dysfunction Happens and What It Can Signal
Written by Naurah Gaspard, DNP, FNP-C, FNP-BC · Medically reviewed by Cherlie Joseph, MSN, FNP-BC · Updated November 2026
Erectile dysfunction (ED) usually happens because something is affecting blood flow, nerves, hormones or the mind, and often it is more than one of these at once. Common drivers include high blood pressure, diabetes, high cholesterol, smoking, certain medicines, poor sleep and stress. Because ED can be an early sign of artery or blood sugar problems, it is worth a health check, not just a pill.
In this guide
How an erection works (and where it can go wrong)
An erection is a team effort. Signals from the brain travel down nerves, the arteries in the penis relax and widen, blood flows in, and the outflow veins are squeezed shut so the blood stays put. Hormones such as testosterone support sex drive in the background.
If any link in that chain is weak, erections can become harder to get or keep. Occasional trouble is common and usually not a concern. When it happens most of the time, for several weeks or more, it is worth looking for a cause.
The most common physical causes
According to the National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK), conditions that affect blood vessels, nerves or hormones can all lead to ED. The usual suspects:
| Category | Examples | Why it matters |
|---|---|---|
| Blood flow | High blood pressure, high cholesterol, atherosclerosis, smoking | Narrowed or stiff arteries deliver less blood to the penis |
| Blood sugar | Type 2 diabetes, prediabetes | Damages both small blood vessels and nerves over time |
| Nerves | Diabetes, multiple sclerosis, spinal cord injury, pelvic or prostate surgery | Signals from the brain do not reach the tissue well |
| Hormones | Low testosterone, thyroid problems | Can lower desire and affect erections |
| Other conditions | Obesity, chronic kidney disease, COPD, sleep apnea | Affect blood vessels, hormones and energy |
Age itself is not a cause, but these conditions become more common as we get older, which is why ED becomes more common too.
Already on an ED medicine and running low?
$79 refill review by a nurse practitioner licensed in your state. Adults 18+ in FL, NM, OR and WA.
Request a medication refill →Medicines, alcohol and lifestyle
Many everyday medicines list ED as a possible side effect. NIDDK names antidepressants, some blood pressure medicines and diuretics, antihistamines, some pain relievers, sedatives, appetite suppressants, ulcer medicines, and hormone or cancer treatments.
Do not stop a prescribed medicine on your own. If you think a medicine is involved, a provider can often adjust the dose or switch to an option that is easier on sexual function.
Lifestyle factors play a big role as well: smoking, heavy drinking, recreational drugs, low physical activity and carrying extra weight around the middle. The upside is that these are also the factors you can change, and improving them helps both erections and heart health.

Stress, mood and relationship factors
The brain is the starting point of every erection. Anxiety, depression, work stress, grief, low self-esteem and relationship strain can all cause or worsen ED. Performance anxiety can create a loop: one difficult night leads to worry, and the worry makes the next time harder.
Clues that psychological factors are playing a big part include ED that started suddenly, still having morning or night-time erections, or having trouble only in certain situations. Physical and emotional causes often overlap, so it is rarely either/or. Counseling, couples therapy and treating depression or anxiety can make a real difference, alone or alongside medicine.
What ED can signal about your overall health
The arteries in the penis are small, so they may show the effects of artery disease earlier than the larger arteries around the heart. Researchers have found that ED can appear several years before a heart attack or stroke in some men. ED can also be the first clue to undiagnosed diabetes, high blood pressure or sleep apnea.
That is why the American Urological Association (AUA) recommends a full health history, physical exam and basic lab tests when ED is evaluated. A sensible starting checklist:
- Blood pressure reading
- Fasting glucose or A1c to look for diabetes
- Lipid panel (cholesterol)
- Morning testosterone if desire is low or other low-T symptoms are present
- A review of every medicine and supplement you take
- Questions about snoring, sleep, mood and alcohol
At OurTopClinic, a nurse practitioner licensed in your state can review your history, order labs and talk through treatment options. Whether a medicine such as sildenafil or tadalafil is appropriate is decided after that review.
Get in-person care or call 911 if you have:
- Chest pain, pressure or shortness of breath, especially during sex or exertion
- An erection lasting more than 4 hours, or one that is painful
- Sudden numbness or weakness in the legs, or new loss of bladder or bowel control
- Sudden vision or hearing loss after taking an ED medicine
- Injury to the penis, or new severe pain, swelling or a sharp bend
Frequently asked questions
What is the most common cause of erectile dysfunction?
In most men, the most common causes are physical problems that affect blood flow, such as high blood pressure, high cholesterol, diabetes and smoking. Stress, anxiety and medicines often add to the problem.
Can ED be caused by stress alone?
Yes. Anxiety, depression, relationship strain and performance worry can cause ED on their own, especially in younger men. Still having morning erections is one clue that the cause may be mostly psychological, but a health check is still a good idea.
Is ED a sign of heart disease?
It can be. ED and heart disease share the same underlying artery damage, and ED sometimes shows up years before heart symptoms. Getting your blood pressure, cholesterol and blood sugar checked is a smart step.
Sources
- NIDDK: Symptoms and causes of erectile dysfunction
- Burnett AL et al. Erectile Dysfunction: AUA Guideline (Journal of Urology, 2018)
- MedlinePlus: Erection problems
Keep reading
- ED and heart health: why ED can be an early warning sign
- Sildenafil vs tadalafil: which ED pill is right for you?
- Low testosterone symptoms and testing
- Early signs of type 2 diabetes
- Browse all conditions and treatments A to Z
Already on an ED medicine and running low?
$79 refill review by a nurse practitioner licensed in your state. Adults 18+ in FL, NM, OR and WA.
Request a medication refill →
Naurah Gaspard, DNP, FNP-C, FNP-BC
Board-certified family nurse practitioner licensed in Florida, New Mexico, Oregon and Washington, caring for adults online at OurTopClinic. Meet our providers.
This article is for general education and is not a substitute for medical advice. Treatment, including any prescription, is decided by a licensed provider after reviewing your health history. OurTopClinic is not for emergencies; if you have a medical emergency, call 911. OurTopClinic serves adults located in Florida, New Mexico, Oregon and Washington. Learn more at ourtopclinic.com.