Home › ED treatments online › Guides
What causes erectile dysfunction? Common causes explained
ED can come from health conditions, medicines, stress or daily habits, and often more than one at once. Here are the common causes, based on NIH guidance.
General information based on FDA prescribing information. Not medical advice.
The short answer
ED can have more than one cause. The NIDDK says diseases and conditions that affect your blood vessels, nerves or hormones can lead to ED. Certain medicines, mental or emotional issues such as stress and anxiety, and habits such as smoking and heavy drinking can also play a part. A licensed provider can help find which apply.
Causes at a glance
Type of cause | Examples (NIDDK) | What a provider may do |
Heart and blood vessels | High blood pressure, atherosclerosis, stroke | Ask about heart health and every medicine you take |
Diabetes and other long-term conditions | Diabetes, chronic kidney disease, obesity | Review your overall health and recent checkups |
Hormones | Low testosterone, thyroid imbalance | Suggest blood tests if needed |
Medicines | Antidepressants, blood pressure medicines, some pain relievers | Review doses or alternatives with your doctor |
Mental or emotional issues | Stress, anxiety, depression | Suggest counseling |
Lifestyle | Smoking, heavy drinking, low physical activity | Suggest lifestyle changes |
Which health conditions can cause ED?
The NIDDK lists these as the most common diseases and conditions that can lead to ED:
Diabetes
Chronic health conditions, such as chronic kidney disease, obesity and chronic obstructive pulmonary disease
Heart and blood vessel diseases, such as atherosclerosis, high blood pressure and stroke
Hormone issues, such as low testosterone and thyroid imbalance
Nerve damage or disorders, such as multiple sclerosis, spinal cord injuries and damage from pelvic surgery
Problems of the male reproductive system, such as an enlarged prostate or Peyronie’s disease
Can diabetes cause ED?
Yes. Diabetes is on the NIDDK’s list of common conditions that can lead to ED, and MedlinePlus notes that ED can be a sign of nerve damage from diabetes. If you have diabetes and notice changes in erections, mention it to your doctor or a licensed provider.
Which medicines can cause ED?
ED can be a side effect of many common prescription and over-the-counter medicines. The NIDDK list includes:
Antidepressants
Blood pressure medicines and diuretics, or water pills
Antihistamines, or medicines for allergies or heartburn
Some pain relievers
Sedatives
Chemotherapy and hormone medicines
Do not stop taking any medicine on your own. A health care professional may be able to change the dose or switch you to another medicine. See ED and blood pressure.
Can stress or anxiety cause ED?
Yes. The NIDDK notes that anxiety, depression, stress, feeling isolated or lonely, and low self-esteem can cause ED or make it worse. Counselors can help lower anxiety and stress about sex, and may suggest bringing your partner to sessions.
Which habits are linked to ED?
The NIDDK lists these lifestyle behaviors as possible contributors:
Not getting enough physical activity
Drinking too much alcohol
Smoking cigarettes
Using recreational and illicit drugs
Smoking is linked to heart and blood vessel disease, which can lead to ED. For changes that may help, see whether ED can be reversed.
Why ED can be a warning sign
The American Urological Association describes ED as a risk marker for underlying cardiovascular disease, which may need its own evaluation. An online visit is not a replacement for regular checkups with your own doctor.
Who should not take ED medication
Do not take a PDE5 inhibitor if you take nitrates in any form (such as nitroglycerin) or a guanylate cyclase stimulator such as riociguat. The combination can cause a dangerous drop in blood pressure.
Do not use these medicines if a provider has told you that sexual activity is not advisable because of your heart health.
Tell the provider about alpha-blockers, other blood pressure medicines, and heart, liver, kidney or eye conditions.
Get emergency care for an erection lasting more than 4 hours, or for sudden vision or hearing loss.
If you have chest pain, dizziness or nausea during sex, stop and get medical help. Call 911 for chest pain that does not go away.
How DandyRX can help
You complete a short online intake. A licensed U.S. provider reviews your answers and decides whether a DandyRX ED treatment is appropriate for you. If a provider prescribes treatment, it’s shipped to your door.
DandyRX offers prescription ED treatment options, and a licensed U.S. provider decides whether any of them is appropriate for you. Some options may be compounded medications. Compounded medications are not FDA-approved, are not generic versions of brand-name drugs, and the FDA has not reviewed them for safety, effectiveness or quality. See every option on the ED treatments hub.
Completing an intake does not guarantee a prescription. If treatment is not appropriate online, the provider may suggest seeing a doctor in person.
Frequently asked questions
Can alcohol cause ED?
Drinking too much alcohol is on the NIDDK’s list of lifestyle behaviors that may contribute to ED.
Can low testosterone cause ED?
It can. The NIDDK lists low testosterone among hormone issues that can lead to ED. A provider may suggest blood tests to check.
Is ED physical or psychological?
It can be either, or both. Health conditions, medicines, stress, anxiety and habits can all play a part, which is why a provider looks at the full picture.
Should I see a doctor about ED?
Yes, especially if it keeps happening. ED can be linked to conditions such as heart disease, high blood pressure and diabetes, which are worth checking.
Sources
Start your online visit
Answer a few medical questions. A licensed U.S. provider reviews your answers and decides whether treatment is appropriate for you.
Prescription required, if eligible. A licensed provider decides whether treatment is appropriate. Individual results may vary. This page is general information, not medical advice.



