Several foods can support erectile function by improving blood flow, boosting nitric oxide production, and reducing inflammation in blood vessels. Erectile dysfunction is fundamentally a vascular issue in most cases, so the same foods that protect your heart also protect your erections. The strongest evidence points not to any single “superfood” but to an overall dietary pattern rich in vegetables, nuts, fruits, and healthy fats.
Why Blood Flow Is the Key
Erections depend on blood vessels relaxing and expanding enough to fill the penis with blood. The molecule responsible for that relaxation is nitric oxide, a compound your body produces naturally. When nitric oxide levels drop or blood vessels become stiff and inflamed, less blood gets where it needs to go. Most foods that help with erectile function work by either increasing nitric oxide production, protecting the blood vessel lining, or reducing the chronic inflammation that damages both.
Nitrate-Rich Vegetables
Your body converts dietary nitrates into nitric oxide, making nitrate-rich vegetables some of the most direct dietary tools for improving blood flow. Beets are one of the richest sources. Leafy greens like spinach, arugula, kale, and cabbage are also packed with nitrates. Eating these regularly gives your body a steady supply of raw material for nitric oxide production.
Beet juice in particular has been well studied for its effect on blood pressure and vascular flexibility. While most of that research focuses on exercise performance and cardiovascular health rather than erections specifically, the underlying mechanism is the same: wider, more relaxed blood vessels mean better circulation everywhere, including the penis.
Pistachios
Pistachios have some of the most direct evidence linking a single food to improved erectile function. In one study, men with erectile dysfunction ate about 100 grams of pistachios daily (roughly two handfuls) for just three weeks. Their erectile function scores improved by roughly 50%, jumping from an average of 36 to 54 on a standard 75-point scale. The improvement was statistically significant, and the men also saw better cholesterol profiles. Pistachios are rich in the amino acid arginine, which your body uses to produce nitric oxide, along with healthy fats and antioxidants that support vascular health.
Watermelon and Citrulline
Watermelon is one of the best natural sources of citrulline, an amino acid your body converts into arginine and then into nitric oxide. It’s sometimes called “nature’s Viagra,” though the effect is far milder than medication. The catch is concentration: you’d need to eat a significant amount of watermelon to get the doses used in supplement studies, which go up to 6 grams of citrulline per day. Still, regularly including watermelon in your diet contributes to overall nitric oxide availability, especially alongside other supportive foods.
Tomatoes and Cooked Tomato Products
Tomatoes are the top dietary source of lycopene, a powerful antioxidant that appears to improve blood vessel function by reducing oxidative stress and increasing nitric oxide availability. The key detail with lycopene is that cooking and processing actually increase how much your body absorbs. Tomato sauce, tomato paste, and even ketchup deliver more usable lycopene than raw tomatoes. Eating these with a little olive oil or fat boosts absorption further, since lycopene is fat-soluble.
Dark Chocolate
Cocoa is rich in flavanols, plant compounds that improve the function of the blood vessel lining. Research published by the American Heart Association found that dark chocolate containing high levels of these flavanols can protect blood vessel function. Look for chocolate with a high cocoa percentage, as milk chocolate and heavily processed varieties contain far fewer flavanols. A few squares of high-quality dark chocolate several times a week is a reasonable amount. This isn’t a license to eat chocolate bars daily, since the sugar and calories can work against you.
Coffee
Caffeine appears to have a protective effect on erectile function. A large national health survey found that men who consumed roughly 2 to 3 cups of coffee per day (170 to 375 milligrams of caffeine) were about 40% less likely to report erectile dysfunction compared to men who consumed almost no caffeine. The benefit held even after accounting for other health factors. Caffeine relaxes smooth muscle in blood vessels and may improve arterial blood flow. This association was observed across most groups, though it was particularly notable in men who were overweight.
Garlic
Garlic works through a different pathway than nitrate-rich vegetables. Rather than providing nitrates directly, garlic activates the enzyme that converts arginine into nitric oxide. This means it can complement the effect of nitrate-rich foods. Regular garlic consumption is also linked to lower blood pressure and reduced arterial stiffness, both of which contribute to better erectile function over time. Cooked or raw, it provides benefit, though crushing garlic and letting it sit for a few minutes before cooking maximizes the active compounds.
The Mediterranean Diet as a Whole
The most consistent evidence doesn’t point to individual foods but to an overall eating pattern. The Mediterranean diet, built around vegetables, fruits, whole grains, olive oil, fish, and nuts, has been tested directly against erectile dysfunction in clinical trials.
In one randomized trial involving men with both metabolic syndrome and erectile dysfunction, those who followed a Mediterranean diet for two years showed significant improvements in both erectile function and blood vessel health compared to a control group. Their markers of vascular inflammation also dropped. A separate trial in men recently diagnosed with type 2 diabetes found that those on a Mediterranean diet experienced significantly smaller declines in erectile function over time compared to those on a standard low-fat diet.
This pattern works because erectile dysfunction shares the same root causes as heart disease: inflamed blood vessels, stiff arteries, insulin resistance, and low nitric oxide. A diet that addresses all of these simultaneously is more powerful than any single food.
Foods That Make Things Worse
What you remove from your diet matters as much as what you add. Foods that promote the conditions underlying vascular erectile dysfunction include refined carbohydrates (white bread, pastries, sugary cereals), sugary drinks, fried foods, and heavily processed meats. These foods cause rapid blood sugar spikes, promote insulin resistance, and drive weight gain, all of which lower testosterone and damage blood vessel function over time.
High saturated fat intake contributes to plaque buildup in arteries, directly restricting the blood flow erections depend on. Excess alcohol is another major contributor: while a drink or two may reduce anxiety, regular heavy drinking suppresses testosterone and damages both nerve and vascular function. The National Institute of Diabetes and Digestive and Kidney Diseases identifies obesity, hypertension, and diabetes as primary contributors to erectile dysfunction, and all three are heavily influenced by diet.
How Long Dietary Changes Take to Work
Dietary improvements won’t produce overnight results. According to Cleveland Clinic urologists, men with early-stage erectile dysfunction who combine dietary changes with regular cardiovascular exercise (45 minutes, three times a week, at an intensity that gets you out of breath) can expect to see improvement over a period of several months. The timeline depends on how advanced the vascular damage is. Men with mild, early dysfunction tend to respond faster than those with long-standing issues.
Combining dietary changes with exercise is more effective than either alone. Exercise directly improves the blood vessel lining’s ability to produce nitric oxide, while diet provides the building blocks and reduces the inflammation that breaks it down. For men whose erectile dysfunction is primarily vascular rather than hormonal or psychological, this combination represents the most evidence-backed lifestyle approach available.