Strong erections depend on healthy blood flow, balanced hormones, and a nervous system that isn’t working against you. The good news is that most of the factors controlling erection quality are within your influence. About 24% of men in the U.S. experience some degree of erectile difficulty, and while prevalence rises with age, even younger men aren’t immune: roughly 18% of men aged 18 to 24 meet criteria for erectile dysfunction. Whether you’re dealing with occasional softness or a noticeable decline, the strategies below target the actual biology behind firmness.
How Erections Actually Work
An erection is fundamentally a blood flow event controlled by your nervous system. When you become aroused, nerve signals trigger the release of a gas molecule called nitric oxide inside the penile tissue. Nitric oxide causes the smooth muscle lining the two main chambers of the penis to relax and expand, allowing blood to rush in and fill them. That blood gets trapped under pressure, producing rigidity.
Anything that interferes with this chain, whether it’s damaged blood vessels, low nitric oxide production, excess stress hormones, or poor nerve signaling, weakens the result. This is why erection quality is often called a barometer of cardiovascular health. The same processes that keep your arteries flexible and clear are the ones that keep erections firm.
Aerobic Exercise Has the Strongest Evidence
If you do one thing on this list, make it regular cardio. A systematic review of randomized controlled trials published in The Journal of Sexual Medicine found that aerobic exercise improved erectile function scores by an average of 2.8 points on the standard clinical scale. That improvement was even larger for men who started with worse function: men with severe difficulties gained nearly 5 points, while those with moderate issues gained about 3.3 points.
The exercise protocols that produced these results typically involved 30 to 60 minutes per session, 3 to 5 times per week. Running, cycling, swimming, brisk walking, or any sustained activity that elevates your heart rate all count. The mechanism is straightforward: aerobic exercise improves the health of your blood vessel lining, increases nitric oxide production, lowers blood pressure, and reduces inflammation. These are exactly the conditions your body needs to deliver and trap blood in the penis efficiently.
What You Eat Matters More Than You Think
A Mediterranean-style diet, heavy on vegetables, fruits, whole grains, fish, olive oil, and nuts, has the best evidence for protecting erectile function over time. In a clinical trial following men with type 2 diabetes for over eight years, those assigned to a Mediterranean diet experienced significantly less decline in sexual function compared to those on a standard low-fat diet. Diabetes accelerates vascular damage, so this population shows dietary effects more clearly, but the underlying mechanism applies broadly: these foods support the blood vessel flexibility and nitric oxide production that erections require.
The specific nutrients doing the heavy lifting include dietary nitrates (found in leafy greens and beets, which your body converts to nitric oxide), omega-3 fatty acids from fish, and the antioxidants in colorful fruits and vegetables that protect blood vessel walls from damage. Moderate alcohol intake appears to have a neutral or slightly protective association with erectile function, while heavy drinking clearly harms it. Caffeine intake, despite popular claims, shows no meaningful relationship one way or the other.
Sleep Quality Directly Affects Firmness
Your body tests and maintains erectile function while you sleep. Erections occur naturally during REM sleep cycles, with most REM concentrated in the early morning hours, which is why morning erections are normal and actually a sign of healthy function. Reduced REM sleep and frequent nighttime awakenings are associated with worse erectile outcomes, likely through a combination of nerve damage, hormonal disruption, and abnormal stress-hormone activity.
Sleep apnea deserves special attention. Research in Frontiers in Endocrinology found that men with obstructive sleep apnea had significantly lower oxygen saturation and sleep efficiency, and the severity of their sleep apnea tracked directly with the severity of their erectile problems. Chronic drops in oxygen during sleep damage blood vessels and nerves over time. 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. Treating it often improves erectile function as a side effect.
Even without apnea, consistently sleeping fewer than six hours disrupts the hormonal environment your body needs. Sex hormone levels are significantly related to total sleep time, and the stress hormone cortisol rises when sleep is inadequate, directly suppressing testosterone.
How Stress and Anxiety Undermine Erections
Your nervous system has two competing modes. The parasympathetic system (“rest and digest”) is the one that produces erections. The sympathetic system (“fight or flight”) actively shuts them down. This isn’t a malfunction. Your body deprioritizes sexual function when it perceives a threat, redirecting blood flow to muscles and increasing heart rate for survival.
Short-term stress triggers this response directly. Chronic stress takes it further by activating a hormonal cascade that raises cortisol levels persistently. Cortisol suppresses testosterone, raises blood pressure, and keeps your body in a low-grade state of alarm that makes it harder to relax into arousal. Performance anxiety creates a particularly vicious cycle: worrying about losing your erection activates the exact stress response that causes you to lose it, which then reinforces the worry next time.
Breaking this cycle often requires addressing the anxiety itself rather than focusing on the erection. Talking openly with a partner about what you’re experiencing reduces the pressure significantly. Mindfulness practices and cognitive behavioral techniques specifically targeting performance anxiety have good evidence behind them. The goal is to shift your nervous system out of threat mode so the parasympathetic pathways can do their job.
Testosterone: When It’s the Problem
Testosterone plays a role in sex drive and contributes to the vascular changes that support erections, but it’s not the whole story. The American Urological Association defines low testosterone as a total level below 300 ng/dL. Men below that threshold have roughly twice the odds of experiencing erectile dysfunction compared to men with normal levels.
That said, testosterone therapy doesn’t reliably fix erection problems for everyone who has low levels. Some men see clear improvement, others don’t. Current evidence can’t predict in advance who will respond. If your sex drive has dropped noticeably alongside erection changes, or if you’re also experiencing fatigue, loss of muscle mass, or mood changes, getting your testosterone checked is worthwhile. But if your drive is fine and erections are the only issue, the problem is more likely vascular or neurological than hormonal.
Pelvic Floor Exercises Build Rigidity
The muscles at the base of your pelvis play a direct role in trapping blood inside the penis during an erection. Strengthening them can improve both firmness and the ability to maintain an erection. These are the same muscles you’d use to stop urinating midstream or to prevent passing gas.
The protocol is simple: squeeze those muscles and hold for three seconds, then relax for three seconds. Repeat this several times in a row, and aim to do a few sets throughout the day. You can do them sitting, standing, or lying down, and nobody will know. The key is consistency over weeks and months rather than intensity in a single session. These exercises also improve ejaculatory control, which is a secondary benefit many men appreciate.
L-Citrulline: A Supplement With Actual Data
Most supplements marketed for erections have weak or nonexistent evidence. L-citrulline is an exception. Your body converts this amino acid into L-arginine, which is then used to produce nitric oxide, the molecule that relaxes penile smooth muscle and allows blood to flow in.
In a clinical study published in the journal Urology, men with mild erectile difficulty took 1.5 grams of L-citrulline daily for one month. Half of them improved from a soft erection to a fully rigid one, compared to just 8% on placebo. Their frequency of intercourse also nearly doubled during the treatment period. The effect is modest compared to prescription medications, but for men with mild issues or those looking to support vascular function alongside other lifestyle changes, it’s a reasonable option with minimal side effects.
Habits That Quietly Make Things Worse
Smoking is one of the most reliable predictors of erectile problems. Nicotine constricts blood vessels and damages their inner lining over time, directly reducing the capacity for blood flow that erections depend on. Quitting produces measurable improvements in vascular function within weeks.
Excess body fat, particularly abdominal fat, drives inflammation, raises estrogen levels relative to testosterone, and accelerates cardiovascular damage. Losing even a moderate amount of weight can produce noticeable improvements in erection quality, especially when combined with the exercise and dietary patterns described above. Heavy alcohol use suppresses testosterone acutely and damages nerves chronically, though moderate drinking doesn’t appear to cause harm.
Prolonged cycling with a narrow saddle can compress the nerves and arteries that supply the penis. If you ride frequently and notice numbness or reduced sensation, switching to a wider, noseless, or cutout saddle often resolves the issue.