Book a free discovery call

Men’s health

Erectile dysfunction causes: what the research shows

Erectile dysfunction (ED) is common, and it’s rarely “just” about sex. The most common erectile dysfunction causes are connected to what’s happening in your blood vessels, hormones, metabolism and mental health, and research is starting to look at your environment too. Understanding the whole picture can help you see why it’s happening, not just how to manage it.

Free · 30 minutes · by Zoom · no obligation

Telemedicine for adults in Arizona, Montana & Washington

How to read our evidence ratings

Each section includes a rating from 0 to 5 showing how strongly published research supports the link described. 5/5 means strong, consistent evidence from large studies. 0/5 means no studies have looked at it yet. Ratings reflect Dr. Madeira’s review of published research as of November 2026 and will be updated as new research comes out.

5/5 · Strong4/5 · Good3/5 · Moderate2/5 · Limited1/5 · Very limited0/5 · No evidence

How common is ED?

Evidence: 5/5 · Strong

In a large national US health survey, about 18% of men aged 20 and older reported erectile dysfunction. Among men with diabetes, the rate was about 51%. [1]

What is the main cause of erectile dysfunction?

Research most strongly points to heart and blood vessel health. Erections depend on healthy blood flow, so the conditions that affect your blood vessels are some of the biggest erectile dysfunction causes.

Blood vessel and heart health

Evidence: 5/5 · Strong

Diabetes, high blood pressure, heart disease and not getting enough physical activity are all strongly linked to ED. [1] Unhealthy cholesterol and blood fat patterns are linked to higher odds of ED as well. [2]

How well your blood vessels relax

Evidence: 4/5 · Good

The inner lining of your blood vessels helps them relax and open, partly by making a molecule called nitric oxide. Men with ED tend to have blood vessels that don’t relax as well, and thicker artery walls, compared with men without ED. [3][4] This is one reason ED can be an early warning sign of heart disease.

Hormones and erectile dysfunction

Testosterone

Evidence: 4/5 · Good

Testosterone plays a central role in sex drive and erections. [5]

Thyroid

Evidence: 3/5 · Moderate

Thyroid problems are linked to sexual difficulties in men, especially an underactive thyroid. [6]

Sleep apnea and testosterone

Evidence: 3/5 · Moderate

Sleep apnea is linked to lower testosterone. [7]

Inflammation and muscle

Evidence: 3/5 · Moderate

Higher levels of inflammation in the body are linked to higher odds of ED. [8][9] Men with more muscle mass tend to have lower odds of ED. [10]

Depression, anxiety and erectile dysfunction

Depression

Evidence: 4/5 · Good

Depression and ED are closely linked. A review of 49 studies found that men with depression had higher odds of ED, and men with ED had higher odds of later depression. [11] A large study of middle-aged US men found the same link, even after accounting for age, overall health and hormones. [12] It isn’t always clear which comes first, and the link appears to run both ways.

Anxiety

Evidence: 2/5 · Limited

Anxiety disorders, including PTSD, panic disorder and social anxiety, are often seen alongside ED. But the studies are small and their results vary, so more research is needed. [13]

If you’re struggling with low mood or anxiety, please talk with your primary care doctor or a mental health professional. Support for your mental health can be an important part of improving erectile health.

Can toxins cause erectile dysfunction?

Some research has linked certain environmental exposures to ED, but this research is still early. It shows links, not proof that these exposures cause ED.

Cadmium

Evidence: 2/5 · Limited

In a national US survey, men with the highest blood levels of cadmium, a heavy metal, had about twice the odds of ED compared with men with the lowest levels. [14]

Where does cadmium exposure come from? According to US federal health and environmental agencies:

  • For nonsmokers, food is the main source. Foods that tend to contain more cadmium include leafy vegetables like lettuce and spinach, potatoes, grains, peanuts, soybeans, sunflower seeds, and organ meats such as liver and kidney. [15] Cadmium levels in some foods can be higher when phosphate fertilizers or sewage sludge are used on farm fields. [16]
  • For smokers, cigarette smoke is a major source. Smokers have about twice as much cadmium in their bodies as nonsmokers. [15][16]
  • Some jobs carry higher exposure, especially work that involves heating cadmium-containing materials, like smelting and electroplating, as well as making batteries and pigments. [15][16]

Many of these foods are healthy, so this isn’t a reason to stop eating them. Talk with your healthcare practitioner before making big changes to your diet.

Other metals and pesticides

Evidence: 1/5 · Very limited

Higher levels of some other metals and certain pesticides have also been linked to ED in a few studies. [17][18]

Phthalates (plastics-related chemicals)

Evidence: 1/5 · Very limited

Research has not shown a clear link between phthalates and ED. [19]

Mold toxins

Evidence: 0/5 · No evidence

No studies have yet looked at whether mold toxins affect erections in people.

Why a whole-body approach matters

Because ED is so often connected to blood vessel health, hormones, metabolism, inflammation, mental health and possibly your environment, Dr. Madeira looks at how these pieces fit together. That can include a detailed health history, lab testing, and a personalized plan covering nutrition, exercise, sleep, stress and supplements.

Erectile dysfunction help: where to start

Talk with your primary care doctor

ED can be an early sign of heart disease, so it’s important to let your primary care doctor know if you’re experiencing it. Dr. Madeira is a naturopathic physician and works alongside, not in place of, your primary care doctor. All patients are required to have their own primary care doctor.

Prescription medications such as Viagra (sildenafil) can help with erections, but on their own they aren’t a root-cause solution, because they don’t address why ED is happening. Evaluating and addressing those root causes is a key part of the answer. Please don’t stop or change a prescribed medication without talking with the doctor who prescribed it.

Ways to work with Dr. Madeira

Not sure where to start? Take the energy & vitality quiz.

Concerned about your home environment? Take the environmental health quiz.

The discovery call is a free, non-clinical 30-minute Zoom conversation about your goals and whether working together is a good fit.

Sources

  1. Selvin E, et al. Prevalence and risk factors for erectile dysfunction in the US. Am J Med. 2007.
  2. Guo L, et al. Association between atherogenic indexes and erectile dysfunction. Int Urol Nephrol. 2024.
  3. Osondu CU, et al. The relationship of erectile dysfunction and subclinical cardiovascular disease. Vasc Med. 2017.
  4. Peng H, et al. Associations between erectile dysfunction and vascular parameters. World J Mens Health. 2024.
  5. Rastrelli G, et al. The hormonal regulation of men’s sexual desire, arousal, and penile erection (ICSM 2024). Sex Med Rev. 2025.
  6. Salari N, et al. The global prevalence of sexual dysfunction in men with thyroid gland disorders. J Diabetes Metab Disord. 2024.
  7. Fan L, et al. Blood oxygen index, testosterone deficiency and sexual health in adult males. Aging Male. 2025.
  8. Liu H, et al. Association between inflammation indicators and erectile dysfunction in US adults. J Health Popul Nutr. 2024.
  9. Ni J, et al. Lymphocyte-to-C-reactive protein ratio and erectile dysfunction risk. Health Sci Rep. 2025.
  10. Wang Z, et al. Inflammation factors mediate association of muscle mass and erectile dysfunction. Sex Med. 2026.
  11. Liu Q, et al. Erectile dysfunction and depression: a systematic review and meta-analysis. J Sex Med. 2018.
  12. Araujo AB, et al. The relationship between depressive symptoms and male erectile dysfunction: the Massachusetts Male Aging Study. Psychosom Med. 1998.
  13. Velurajah R, et al. Erectile dysfunction in patients with anxiety disorders: a systematic review. Int J Impot Res. 2021.
  14. Liu C, et al. Associations between exposure to different heavy metals and self-reported erectile dysfunction. Environ Sci Pollut Res Int. 2022.
  15. Agency for Toxic Substances and Disease Registry (ATSDR). ToxGuide for Cadmium.
  16. US Environmental Protection Agency. Cadmium Compounds: Hazard Summary.
  17. Wang W, et al. The association between heavy metal exposure and erectile dysfunction in the United States. Asian J Androl. 2023.
  18. Yang Z, et al. Urinary organophosphate insecticide metabolites and erectile dysfunction in the United States. Int J Impot Res. 2022.
  19. Lopez DS, et al. Urinary phthalate metabolites and erectile dysfunction in NHANES 2001-2004. Am J Mens Health. 2016.

Thinking about next steps? See how care works, programs and pricing and patient reviews, or browse the frequently asked questions.

This page is for general education and is not medical advice. It does not create a doctor–patient relationship. If you are experiencing a medical emergency, call 911.

Free resource

Get the free mold & toxin checklist

Join Dr. Madeira’s email list and get the printable “Is your home making you sick?” checklist, plus practical guidance on environmental health, hormones and root-cause recovery. Unsubscribe anytime.

Preview the checklist →

Get updates and articles from Dr. Madeira. Unsubscribe anytime.

Free discovery call

Ready to take the first step?

Book a free 30-minute discovery call with Dr. Madeira. We’ll start with your why: what you want your health and life to look like, what’s been getting in the way, and whether working together feels right for you.

Concierge, private-pay practice (no insurance accepted) · 100% telemedicine for adults in Arizona, Montana & Washington.