Here’s something your dermatologist and your urologist rarely discuss together: the same sunshine your skin converts into vitamin D is also fueling the hormonal cascade that powers your erections.
It sounds too simple to be true, but the research is stacking up. And with summer in full swing, you have roughly 14 hours a day of free access to the most underrated hormone booster on the planet.
The Vitamin D–ED Connection
A study of 3,390 U.S. men found that those with erectile dysfunction had significantly lower vitamin D levels compared to men with normal function.[1] The correlation held up even after controlling for age, BMI, and other risk factors.
That’s not a weak association—it’s a robust, statistically significant relationship. Researchers at the University of Medicine and Pharmacy in Moldova found this strong correlation between serum vitamin D and SHIM (Sexual Health Inventory for Men) questionnaire scores, alongside a similarly strong link between vitamin D and testosterone levels (ρ = 0.728).[2]
How Vitamin D Powers Erections
The mechanism isn’t just about testosterone, though that’s part of it. Vitamin D affects erectile function through multiple pathways:
Endothelial health: Vitamin D helps maintain the inner lining of blood vessels. When you’re deficient, your endothelium doesn’t produce nitric oxide as efficiently—and nitric oxide is the molecular trigger for every erection.[3]
Testosterone synthesis: A placebo-controlled trial of overweight men showed that vitamin D supplementation for one year significantly increased both total and free testosterone compared to placebo.[4]
Penile tissue maintenance: Animal studies have demonstrated that vitamin D is essential for maintaining the structural integrity of penile tissue itself—the actual cytoarchitecture of erectile tissue depends on adequate vitamin D.[1]
The Summer Advantage
Your body produces roughly 10,000–20,000 IU of vitamin D from 15–30 minutes of midday sun exposure on bare skin. That dwarfs the 1,000–4,000 IU daily doses used in clinical trials. Summer essentially gives you a therapeutic dose for free, every day, just by being outside.
The Clinical Evidence for Treatment
A prospective study of 50 men with ED and vitamin D levels below 30 ng/mL found that one year of supplementation produced a significant increase in serum testosterone, a decrease in BMI, improved lipid profiles, and—critically—an increase in erections.[4]
Even more compelling: a randomized controlled trial found that men receiving vitamin D supplementation alongside tadalafil experienced greater improvement in erectile function than men taking tadalafil alone.[1] Vitamin D didn’t just help on its own—it made conventional ED medication work better.
What to Do With This Information
Get your vitamin D levels tested. It’s a simple, inexpensive blood test that measures serum 25(OH)D. Optimal levels are generally 30–50 ng/mL. Below 20 ng/mL is deficiency. Below 10 ng/mL is severe deficiency.
If you’re low, the fix involves some combination of sun exposure (15–30 minutes of midday sun several times per week), supplementation (discuss dosing with your doctor), and dietary sources (fatty fish, fortified milk, egg yolks). And if you’re already dealing with ED, this is one more reason to talk to a healthcare provider—because the solution might be simpler than you think.
Ready to Take the Next Step?
Our anonymous 5-question quiz matches you with the right telehealth provider based on your needs, preferences, and budget.
Take the Free Quiz →Anonymous • No sign-up required • Takes 30 seconds
References
[1] Frontiers in Reproductive Health (2025). Vitamin D in male sexual functions: unwrapping the sunshine hormone activities in erectile function and beyond.
[2] Crisnic et al. (2020). The Correlations of Clinical and Biochemical Indices of Vitamin D with Erectile Dysfunction. PMC7378328.
[3] Vitamin D deficiency induces erectile dysfunction: role of superoxide. bioRxiv preprint (2023).
[4] World Journal of Men’s Health (2023). Effect of Vitamin D Supplementation on Testosterone, Prostate, and Lower Urinary Tract Symptoms.
Medical Disclaimer: This article is for informational purposes only and does not constitute medical advice. Content reviewed by Dr. [Medical Reviewer], MD. Always consult a qualified healthcare provider before starting any treatment. Individual results vary. ED can be a sign of underlying health conditions that require professional evaluation.