Several foods can meaningfully support erectile function by improving blood flow, the single most important physical factor in getting and maintaining an erection. Erections depend on nitric oxide, a molecule that relaxes blood vessels and allows them to widen. Many of the most effective dietary choices work by boosting nitric oxide production, reducing inflammation in blood vessel walls, or supporting hormone levels that drive sexual function.
Leafy Greens and Beets
Dark leafy greens like spinach, kale, and bok choy are among the most potent foods for erectile health because they’re packed with dietary nitrates. Your body converts these nitrates into nitric oxide, the same molecule that prescription ED medications work to preserve. Beets are another concentrated source of nitrates and have become popular among athletes for the same blood-flow-boosting reason.
One case study published in a nutrition journal documented a man who adopted a plant-based diet and saw improvements in erectile function after about three months. When he later doubled his daily servings of leafy greens from three handfuls to six, his erectile function normalized within months. That’s a single case, not a clinical trial, but it aligns with what we know about nitrate-rich vegetables and vascular health.
Fatty Fish
Salmon, mackerel, sardines, and other fatty fish are rich in omega-3 fatty acids, which increase nitric oxide production through a separate pathway from leafy greens. Omega-3s also reduce chronic inflammation in blood vessel linings, a process that gradually stiffens arteries and restricts the blood flow erections require. Eating fatty fish two to three times per week is a practical target that fits within the broader dietary pattern most strongly linked to erectile health.
Pistachios
Pistachios have the most direct clinical evidence of any single food. In a pilot study published in the International Journal of Impotence Research, men with erectile dysfunction ate 100 grams of pistachios daily (roughly three-quarters of a cup) for three weeks. Penile blood flow velocity increased from an average of 35.5 to 43.3 centimeters per second, a statistically significant improvement. Their cholesterol profiles also improved. Pistachios contain arginine, a building block your body uses to make nitric oxide, along with healthy fats and antioxidants that protect blood vessels.
Dark Chocolate
Cocoa is rich in flavanols, plant compounds that directly stimulate nitric oxide release. Research published in the Journal of Agricultural and Food Chemistry found that a cocoa drink containing 176 to 185 milligrams of flavanols increased circulating nitric oxide by more than a third and measurably widened arteries within hours. Longer studies using higher doses (around 500 to 900 milligrams of flavanols daily for one to two weeks) showed sustained improvements in blood vessel flexibility.
The practical challenge is that most commercial chocolate contains relatively little flavanol. To get meaningful amounts, choose dark chocolate with at least 70% cocoa. Even then, you’d need a substantial portion, roughly 150 grams of 70% dark chocolate to reach about 700 milligrams of flavanols. A more realistic approach is treating dark chocolate as one piece of a broader dietary pattern rather than a standalone fix, and keeping portions moderate to avoid excess sugar and calories.
Oysters and Other Zinc-Rich Foods
Oysters are the most zinc-dense food available. A 3-ounce serving of raw oysters delivers 33 milligrams of zinc, over 300% of the daily recommended value. Zinc is essential for testosterone production, and low zinc levels are linked to reduced testosterone and poor sperm quality. The zinc in oysters also helps maintain healthy dopamine levels, a neurotransmitter involved in arousal and desire.
You don’t need to eat oysters specifically. Other good zinc sources include beef, crab, pumpkin seeds, and chickpeas. But if your zinc intake has been low, correcting that deficiency can have a noticeable effect on both testosterone and sexual function.
Coffee
Caffeine acts as a mild vasodilator and may relax smooth muscle tissue in the penis. Data from the National Health and Nutrition Examination Survey found that men who consumed roughly 170 to 303 milligrams of caffeine per day (about two to three cups of coffee) were 39 to 42% less likely to report erectile dysfunction compared to men who consumed almost no caffeine. The association held even after accounting for weight, age, and other health factors. This doesn’t mean coffee treats ED, but moderate daily coffee consumption appears to be protective.
The Mediterranean Diet as a Whole
Individual foods matter, but the overall pattern of your diet matters more. The Mediterranean diet, built around vegetables, fruits, whole grains, olive oil, fish, and nuts, has the strongest evidence for protecting erectile function over time. A clinical trial called the MÈDITA study tracked men with newly diagnosed type 2 diabetes (a group at high risk for ED) and found that those following a Mediterranean diet experienced significantly less decline in erectile function compared to those on a standard low-fat diet. Baseline inflammation levels predicted who would develop ED, which makes sense: the Mediterranean diet is powerfully anti-inflammatory.
This pattern works because erectile dysfunction is fundamentally a vascular problem in most men. The same dietary choices that protect your heart, keep arteries flexible, and reduce inflammation also protect the smaller, more delicate blood vessels that supply the penis. In fact, ED often appears years before cardiovascular disease does, making it an early warning signal that your blood vessels need attention.
How Long Dietary Changes Take
Don’t expect overnight results. The clinical evidence suggests a timeline of weeks to months. The pistachio study showed measurable blood flow changes in three weeks. The case report of a plant-based diet showed noticeable improvement at three months. The Mediterranean diet trial tracked benefits over a longer follow-up period. A reasonable expectation is some improvement within four to twelve weeks of consistent dietary changes, with continued gains over six months or more as vascular health improves. Men with more severe ED or underlying conditions like diabetes will generally need longer and may benefit from combining dietary changes with other treatments.
The foods with the most evidence, leafy greens, beets, pistachios, fatty fish, dark chocolate, oysters, and coffee, all work through overlapping mechanisms: more nitric oxide, less inflammation, better hormone balance. Eating several of these regularly, rather than fixating on any single one, gives you the best chance of a meaningful difference.

