Several things help with erections, ranging from regular exercise and diet changes to pelvic floor training, supplements, and prescription medications. Erectile difficulty is common at every age, affecting about 13% of men in their late twenties and climbing to roughly 48% of men between 65 and 74. The good news is that most of the factors involved are modifiable, meaning you can meaningfully improve erectile function without necessarily reaching for a pill first.
How Erections Work
Understanding the basic mechanism helps explain why certain interventions work. An erection starts when nerves in the penis release nitric oxide, a signaling molecule that triggers smooth muscle cells in the shaft to relax. That relaxation opens up blood vessels called helicine arteries, flooding the two spongy chambers (corpora cavernosa) with blood. The expanding tissue then compresses the veins that would normally drain blood away, trapping it inside and creating rigidity.
The entire chain depends on a molecule called cyclic GMP, which is produced when nitric oxide activates an enzyme in those smooth muscle cells. Anything that increases nitric oxide availability or protects cyclic GMP from breaking down will tend to improve erections. Anything that damages blood vessels, restricts blood flow, or disrupts nerve signaling will tend to impair them.
Aerobic Exercise
Consistent cardio is one of the most effective non-drug interventions. Men who exercised for 30 to 60 minutes, three to five times a week, saw significantly greater improvement in erectile function than men who stayed sedentary. Harvard Health has noted that regular aerobic activity may work about as well as medication for some men with erectile difficulties.
The reason is straightforward: cardio improves the health of the endothelium, the inner lining of blood vessels responsible for producing nitric oxide. Running, cycling, swimming, or brisk walking all count. The benefits tend to build over weeks, not days, so consistency matters more than intensity. If you’re currently inactive, even starting with 20-minute walks and building up can shift things in the right direction.
Diet and Body Weight
A Mediterranean-style eating pattern, rich in vegetables, fruits, whole grains, olive oil, fish, and nuts, has shown measurable benefits for erectile function in clinical trials. In one trial of men with newly diagnosed type 2 diabetes, those following a Mediterranean diet maintained significantly better erectile function scores over time compared to those on a standard low-fat diet. The likely mechanism is the same vascular improvement that makes exercise work: healthier blood vessels produce more nitric oxide.
Moderate alcohol intake appears to have a mild protective association with erectile function, while heavy drinking worsens it. Excess body fat, particularly around the midsection, promotes inflammation and damages blood vessel linings, so losing even a modest amount of weight can improve erections in overweight men.
Pelvic Floor Exercises
Kegel exercises aren’t just for women. The pelvic floor muscles in men play a direct role in trapping blood inside the penis during an erection and maintaining rigidity. Strengthening them can improve both erection quality and ejaculatory control.
The technique is simple: squeeze the muscles you’d use to stop urinating midstream, hold for three seconds, then relax for three seconds. Work up to 10 to 15 repetitions per set, three sets per day. Focus only on the pelvic floor muscles and avoid clenching your abs, thighs, or glutes. Breathe normally throughout. Most men notice results within a few weeks to a few months of consistent daily practice.
Sleep Quality
Poor sleep directly undermines erectile function, and the connection goes beyond just feeling tired. Erections naturally occur during REM sleep, with most REM periods concentrated in the early morning hours, which is why morning erections are common. Conditions like obstructive sleep apnea, which fragments sleep and repeatedly drops blood oxygen levels, are strongly linked to erectile problems. Men with sleep apnea who also have erectile dysfunction tend to have lower sleep efficiency, lower average oxygen saturation, and less REM sleep than men with apnea alone.
Interestingly, the link between sleep apnea and erection problems appears to operate through nerve damage caused by repeated oxygen drops at night, rather than through testosterone changes. Treating the apnea (typically with a CPAP device or, in some cases, surgery) can improve erectile function by restoring normal oxygen levels and protecting those nerves. If you snore heavily, wake up gasping, or feel exhausted despite a full night in bed, getting evaluated for sleep apnea could be one of the most impactful things you do for your erections.
L-Arginine and L-Citrulline
These two amino acids are the most studied supplements for erectile function, and they work by increasing nitric oxide production. L-arginine is the direct precursor your body uses to make nitric oxide. L-citrulline converts into L-arginine in the kidneys and is sometimes preferred because it absorbs more reliably.
A meta-analysis of 10 randomized controlled trials covering 540 men found that arginine supplements at doses between 1,500 and 5,000 mg per day significantly improved erectile function compared to placebo. The odds of improvement were more than three times higher in the supplement group. Men also reported better overall sexual satisfaction, orgasmic function, and intercourse satisfaction, though sexual desire scores didn’t change. Side effects were mild and uncommon (about 8% in the supplement group versus 2% on placebo), with none classified as severe.
These supplements are available over the counter. They’re most likely to help men with mild to moderate difficulties and may complement other lifestyle changes. They’re less likely to be sufficient on their own for severe erectile dysfunction.
Prescription Medications
PDE5 inhibitors are the first-line prescription treatment. They work by blocking the enzyme that breaks down cyclic GMP, the molecule responsible for keeping penile smooth muscle relaxed and blood vessels open. They don’t create arousal on their own; they amplify the natural process once you’re sexually stimulated.
Three common options differ mainly in how long they last. Sildenafil and vardenafil both take about 60 minutes to kick in and last roughly 4 hours. Tadalafil also takes about 60 minutes to start working but lasts 24 to 36 hours, which is why it’s sometimes called the “weekend” option. Some men prefer the longer window because it removes the pressure of timing a dose. Tadalafil can also be taken daily at a lower dose for ongoing readiness.
These medications are effective for the majority of men, but they work best when combined with the lifestyle factors above. A man who exercises regularly, eats well, and sleeps enough will typically respond better to medication than one who relies on the pill alone.
Psychological and Relationship Factors
Erections are as much a brain event as a blood flow event. Stress, performance anxiety, depression, and relationship tension can all interfere with the nerve signals that initiate the process. Younger men in particular are more likely to have psychologically driven erectile difficulties. The 2021 National Survey of Sexual Wellbeing found that 17.9% of men aged 18 to 24 met criteria for erectile dysfunction, a higher rate than men in their late twenties or thirties, suggesting that factors beyond vascular health are at play.
Cognitive behavioral therapy and sex therapy can be effective for performance anxiety and psychologically rooted erectile problems. These approaches help break the cycle where worry about erections causes the exact problem you’re worried about. For many men, a combination of therapy and one of the physical interventions above produces the best results, because addressing only the body or only the mind often misses half the picture.
Putting It Together
The most reliable approach combines several strategies. Regular cardio, a vegetable-and-fish-heavy diet, healthy weight, solid sleep, and pelvic floor exercises form a foundation that improves the vascular and neurological machinery behind erections. Supplements like L-arginine can add a modest boost on top of that. Prescription medications are highly effective when lifestyle changes aren’t enough on their own. And if anxiety or stress is part of the picture, addressing that directly through therapy prevents it from undermining everything else you’re doing.

