Doctors Note Logo

Published on: 1/12/2026

Vitamin D and Erectile Dysfunction: What the Research Says

Research shows men with low vitamin D have higher rates of erectile dysfunction, and a randomized trial found that correcting deficiency improved erectile function in some men; there are several factors to consider, including vascular, inflammatory, and hormonal pathways. See more details below. Before starting supplements, check your 25(OH)D level and talk with a clinician about safe dosing and monitoring, since ED can also signal cardiovascular or metabolic disease; the complete guidance on who benefits most, safety, and next step recommendations is below.

answer background

Explanation

Vitamin D and Erectile Dysfunction: What the Research Says

Erectile dysfunction (ED) affects millions of men worldwide, impacting confidence and quality of life. In recent years, researchers have explored the role of vitamin D—an essential nutrient involved in bone health, immune function and cardiovascular health—in sexual function. Below, we break down key studies and what they mean for using vitamin D for erectile dysfunction.

Understanding Erectile Dysfunction and Vitamin D

Erectile dysfunction occurs when a man has difficulty achieving or maintaining an erection sufficient for sexual activity. Common causes include:

  • Poor blood flow due to vascular disease
  • Hormonal imbalances (e.g., low testosterone)
  • Nerve damage
  • Psychological factors (stress, anxiety, depression)

Vitamin D, measured as serum 25-hydroxyvitamin D [25(OH)D], is best known for supporting bone strength. However, it also:

  • Helps regulate blood pressure and blood-vessel health
  • Modulates inflammation
  • Influences smooth muscle function, including in penile tissue

These mechanisms have prompted investigation into whether optimizing vitamin D status could help men with ED.

Key Study 1: Cross-Sectional Link Between Vitamin D Levels and ED

Li et al. (2019) conducted a cross-sectional analysis of over 3,000 men to examine the relationship between serum 25(OH)D levels and ED risk. Main findings included:

  • Men with vitamin D deficiency (<20 ng/mL) had a significantly higher rate of ED than men with sufficient levels (>30 ng/mL).
  • After adjusting for age, body mass index (BMI), diabetes, hypertension and other factors, low vitamin D remained independently associated with a greater risk of ED.
  • Each 10 ng/mL increase in 25(OH)D corresponded to roughly a 20 percent lower odds of ED.

While cross-sectional studies can’t prove cause and effect, these data suggest a consistent link between low vitamin D and poorer erectile function.

Key Study 2: Randomized Trial of Vitamin D Supplementation

Aykac et al. (2018) performed a randomized, placebo-controlled trial in men diagnosed with both hypovitaminosis D (25(OH)D <30 ng/mL) and mild to moderate ED. Participants received either:

  • Vitamin D3 50,000 IU weekly for 12 weeks
  • Placebo

Results after 12 weeks:

  • The supplement group experienced a significant improvement in the International Index of Erectile Function (IIEF-5) score compared to placebo.
  • Serum 25(OH)D levels rose by an average of 15 ng/mL in the treatment group.
  • No serious adverse events were reported; some men reported mild gastrointestinal discomfort.

This trial provides preliminary evidence that correcting vitamin D deficiency can lead to measurable improvements in erectile function.

Key Study 3: Systematic Review of Vitamin D in Aging Men

Annweiler et al. (2019) reviewed all available clinical trials assessing vitamin D-related treatments for ED in older men. Their systematic review noted:

  • A small number of high-quality randomized trials exist.
  • Most studies reported favorable effects of vitamin D supplementation on erectile function, particularly in men who were deficient at baseline.
  • Benefits appeared more pronounced when vitamin D status was severely low.
  • Research gaps remain regarding optimal dosing, duration and long-term outcomes.

The review concluded that while promising, more large-scale trials are needed to confirm benefits and refine treatment protocols.

How Vitamin D Might Improve Erectile Function

Several biological mechanisms may explain why vitamin D status affects erections:

  • Vascular health: Vitamin D promotes nitric oxide production in blood vessels, aiding relaxation and improved blood flow to the penis.
  • Anti-inflammatory effects: Reducing chronic inflammation may protect endothelial (blood-vessel lining) function.
  • Hormonal balance: Adequate vitamin D supports testosterone synthesis, which is crucial for libido and erection quality.
  • Smooth muscle function: Vitamin D receptors in penile tissue influence muscle tone and responsiveness.

By supporting these pathways, vitamin D could help address some underlying contributors to ED.

Practical Recommendations

If you’re considering vitamin D for erectile dysfunction, keep the following in mind:

  • Check your vitamin D status. A simple blood test measures serum 25(OH)D. Optimal levels generally range from 30–50 ng/mL.
  • If you’re deficient, discuss supplementation with your doctor. Typical doses range from 1,000 to 4,000 IU daily, though higher therapeutic doses may be used short-term under medical supervision.
  • Combine supplements with healthy lifestyle habits:
    • Regular exercise (especially aerobic activity)
    • Balanced diet rich in fruits, vegetables and healthy fats
    • Weight management if overweight
    • Limiting smoking and excessive alcohol

Who Might Benefit Most?

  • Men over age 50, when vitamin D levels naturally decline.
  • Individuals with limited sun exposure or darker skin tone (higher risk of deficiency).
  • Men with other cardiovascular risk factors (hypertension, diabetes, high cholesterol).
  • Those with documented low baseline 25(OH)D levels and mild to moderate ED.

Safety and Monitoring

Vitamin D is generally safe at recommended doses, but excessive intake can cause:

  • Hypercalcemia (high blood calcium)
  • Kidney stones or impaired kidney function
  • Nausea, vomiting or weakness

To stay safe:

  • Follow your doctor’s dosing guidance.
  • Avoid self-prescribing very high doses for long periods.
  • Have your blood levels rechecked after 3–6 months of supplementation.
  • Report any unusual symptoms (e.g., persistent stomach upset, excessive thirst).

When to Seek Professional Help

Erectile dysfunction can sometimes signal more serious health issues, such as cardiovascular disease or diabetes. If you experience:

  • Sudden onset of ED
  • Chest pain, shortness of breath or dizziness during sexual activity
  • Other concerning symptoms (unexplained weight loss, severe fatigue)

please speak to a doctor promptly. You might also consider doing a free, online symptom check for erectile dysfunction to better understand your situation before your appointment.

Key Takeaways

  • Research links low vitamin D levels to higher rates of ED.
  • Supplementation in deficient men can improve erectile function, according to a randomized trial.
  • Benefits likely stem from enhanced blood-vessel health, reduced inflammation and hormonal support.
  • Always confirm your vitamin D status with a blood test and follow medical advice on dosing.
  • ED can be a warning sign of underlying health conditions—don’t delay professional evaluation.

Vitamin D shows promise as one piece of a comprehensive approach to erectile dysfunction. By combining supplementation (when needed) with lifestyle modifications and medical oversight, many men may experience better sexual health and overall well-being.

If you have any life-threatening or serious symptoms, always speak to a doctor right away.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Learn more about symptoms

Impotence

Learn more about diseases

Erectile Dysfunction

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.