What Vitamins Are Good for Sex Drive and Libido?

Several vitamins and minerals have solid evidence behind them for supporting sexual health, from maintaining healthy blood flow to keeping hormone levels in check. Vitamin D, zinc, magnesium, and a few B vitamins stand out as the most well-supported by research. Their effects work through different pathways, so understanding each one helps you figure out where your own gaps might be.

Vitamin D and Erectile Function

Vitamin D plays a larger role in sexual health than most people realize. A systematic review in the Journal of Clinical Medicine found that men with moderate-to-severe erectile dysfunction had significantly lower vitamin D levels than men with mild or no issues. In a large national health survey (NHANES), vitamin D deficiency was linked to higher rates of erectile dysfunction even after adjusting for lifestyle, heart disease risk, and other medications.

The numbers paint a clear picture: blood levels below 20 ng/mL were associated with increased odds of erectile dysfunction, while levels above 35 ng/mL corresponded with lower rates. Ultrasound studies showed that blood flow problems in the penis were nearly twice as common in vitamin D-deficient men (45%) compared to those with adequate levels (24%).

Vitamin D also influences testosterone. In one study, supplementation with vitamin D raised total testosterone from about 12.5 to 16 nmol/L over 12 months, a roughly 28% increase. Other research found that combining vitamin D with standard ED medication improved both testosterone levels and erectile function more than medication alone. The recommended daily intake for adults under 70 is 600 IU, rising to 800 IU for those over 70, though many researchers consider these minimums conservative for people who are already deficient.

Zinc for Testosterone and Fertility

Zinc is one of the most critical minerals for male reproductive health. Low zinc levels disrupt sperm production, contribute to sperm abnormalities, and negatively impact testosterone. The mineral is essential for maintaining the lining of reproductive organs, and it regulates key steps in fertilization, including the chemical changes sperm undergo to penetrate an egg.

The relationship isn’t simply “more is better,” though. Research shows that both low and high zinc levels impair reproductive function. For fertile men, seminal zinc levels between 100 and 200 mg/L are considered the safe range. Taking excessive zinc can actually cause oxidative stress, the very kind of cellular damage you’re trying to avoid. The RDA for adult men is 11 mg per day, and for adult women it’s 8 mg. Zinc-deficient men who are struggling with fertility tend to see the clearest benefits from supplementation.

Magnesium, Stress, and Free Testosterone

Magnesium affects sexual health from two angles. First, it can increase the amount of usable testosterone in your body by binding to a protein called SHBG, which normally locks testosterone up and makes it inactive. When magnesium occupies SHBG, more testosterone stays “free” and available to do its job. Research has shown that supplementation raised both total and free testosterone in sedentary and athletic men alike, with some studies reporting increases as high as 24% when combined with exercise.

Second, magnesium lowers cortisol, the body’s main stress hormone. Chronic stress suppresses sex hormone production, and persistently high cortisol is one of the most common hormonal reasons for low libido. By acting as a buffer against stress and anxiety, magnesium helps keep that hormonal balance intact. It also protects the cells in the testes that produce testosterone from oxidative damage. If you’re supplementing specifically for hormonal support, taking magnesium 30 to 60 minutes before bed may be most effective, since it also supports sleep quality.

B Vitamins and Blood Flow

Healthy erections and arousal depend on blood flow, which depends on flexible, clear arteries. Vitamins B3 (niacin) and B12 help prevent the conditions that narrow those arteries, including atherosclerosis and high blood pressure.

Niacin has the strongest direct evidence. A clinical trial of 160 men with erectile dysfunction found that those taking niacin daily showed notable improvement in erectile function compared to a placebo group. A larger 2023 study confirmed that higher niacin intake was associated with reduced ED risk overall. Niacin works primarily by improving cholesterol and lipid levels, which keeps arterial walls healthier and more responsive. Vitamin B6, found in foods like avocados, also supports the hormonal pathways involved in sexual desire.

Vitamin C and Nitric Oxide

Arousal triggers the release of nitric oxide from the inner lining of blood vessels, which relaxes smooth muscle and allows blood to fill genital tissue. Oxidative stress, the buildup of damaging free radicals, disrupts this process. Vitamin C directly counteracts that damage as a water-soluble antioxidant. It neutralizes free radicals, recycles vitamin E (another protective antioxidant), and supports the enzymes that produce nitric oxide in the first place.

A review in Fertility and Sterility listed vitamin C among the key nutrients that support the biochemical pathways for nitric oxide release. While vitamin C alone is unlikely to reverse significant erectile dysfunction, keeping levels adequate helps maintain the vascular health that sexual function relies on.

Vitamin E and Sperm Quality

Vitamin E’s role is most relevant for men concerned about fertility. In studies on sperm quality, higher doses of vitamin E significantly increased sperm count, progressive motility (the ability of sperm to swim forward effectively), and normal sperm shape. Sperm treated with vitamin E also showed lower DNA fragmentation, meaning less genetic damage within each cell, and reduced deficiency in protamines, the proteins that package sperm DNA tightly for protection.

These effects held up even after sperm were frozen and thawed, which is one of the harshest tests of sperm resilience. For men undergoing fertility treatments, vitamin E supplementation is one of the better-supported interventions for improving raw semen quality.

Best Food Sources

You can get meaningful amounts of these nutrients from food rather than supplements. Oysters are the single richest source of zinc, but beef, pork, pumpkin seeds, cashews, and yogurt all deliver substantial amounts. Spinach is packed with magnesium and iron, both of which support blood flow and energy. Salmon, sardines, and mackerel provide omega-3 fatty acids that keep blood vessels flexible. Avocados supply vitamin B6. For vitamin C, citrus fruits and bell peppers are hard to beat. Fatty fish and fortified dairy cover vitamin D for most people, though supplementation is often necessary if you live in a northern climate or spend little time outdoors.

Watermelon deserves a mention for containing citrulline, an amino acid that your body converts into a precursor for nitric oxide. It’s not a vitamin, but it supports the same blood flow pathway that makes vitamins C and E relevant.

How Long Before You Notice a Difference

Clinical trials on vitamins and sexual function have used intervention periods ranging from four weeks to six months. Shorter studies (four to eight weeks) have shown measurable improvements in specific markers like arousal scores and hormonal levels, while testosterone changes from vitamin D supplementation took closer to three to six months to fully materialize. As a general rule, improvements in blood flow and energy tend to show up faster than hormonal shifts. If you’re correcting a genuine deficiency, you’ll likely notice changes sooner than someone whose levels were already borderline adequate.

A Note on Supplement Safety

Standard vitamins at recommended doses are generally safe, but interactions matter. If you take ED medication, the NHS advises telling your doctor about any vitamins, supplements, or herbal remedies you’re using, since the safety of combining them hasn’t been tested the same way prescription drugs have. Zinc is a particular nutrient to be careful with: too much causes the same reproductive problems as too little. Sticking close to the RDA and getting blood levels checked when possible is the most reliable approach.