How to Make It Hard: Exercise, Diet, and Sleep

Getting and keeping a firm erection comes down to one thing: blood flow. When you’re aroused, your brain signals the blood vessels in the penis to relax and widen, allowing blood to rush in and create pressure against the outer tissue. Anything that improves blood flow, keeps hormones balanced, or reduces interference from stress will make erections harder and more reliable. Here’s what actually works.

What Happens Inside the Body

An erection is a hydraulic event. Sexual arousal triggers nerve signals that release nitric oxide, a small molecule that relaxes the smooth muscle lining the blood vessels inside the penis. As those vessels open up, blood floods into two spongy chambers and gets trapped there under pressure. The firmer those chambers fill, the harder the erection.

Anything that disrupts this chain will weaken the result. Low nitric oxide production, damaged blood vessel linings, hormonal shifts, or excess stress hormones can all reduce how much blood gets in or how well it stays there. The good news is that most of these factors respond to straightforward lifestyle changes.

Aerobic Exercise Has the Biggest Impact

Cardiovascular exercise is the single most effective non-drug strategy for harder erections. A review of 11 randomized controlled trials involving over 1,000 men found that those who exercised for 30 to 60 minutes, three to five times a week, saw significant improvement in erectile function compared to inactive men. Walking, running, and cycling were the most common activities studied.

The reason is simple: aerobic exercise strengthens the heart, lowers blood pressure, and improves the health of blood vessel walls throughout your body, including in the penis. It also increases the body’s natural production of nitric oxide over time, which means the relaxation signal that triggers an erection becomes stronger and more efficient. You don’t need to train like an athlete. Brisk walking counts, as long as it’s consistent.

Pelvic Floor Exercises Add Staying Power

The muscles at the base of the penis play a direct role in trapping blood inside the erection chambers. Strengthening them through Kegel exercises helps maintain firmness and can improve control. The Mayo Clinic recommends working up to 10 to 15 contractions per set, three sets per day. Each contraction should be held for a few seconds, then released.

To find the right muscles, try stopping your urine stream midflow. The muscles you squeeze to do that are the ones you’re targeting. Once you’ve identified them, you can do Kegels anywhere: sitting, standing, or lying down. Most men notice results within a few weeks to a few months of consistent practice.

What You Eat Matters More Than You Think

A Mediterranean-style diet, rich in vegetables, fruits, whole grains, olive oil, nuts, and fish, has been linked to better erectile function in clinical trials. In one study of men with type 2 diabetes, those assigned to a Mediterranean diet maintained significantly better erectile function scores over time compared to those on a standard low-fat diet. The difference was measurable and statistically significant.

The connection is vascular health. Diets high in processed foods, sugar, and saturated fat damage blood vessel linings and promote inflammation, both of which reduce nitric oxide availability. Foods rich in nitrates (leafy greens, beets) and antioxidants (berries, dark chocolate) support the opposite: flexible, responsive blood vessels that dilate quickly when aroused.

Zinc is worth paying attention to as well. It plays a role in testosterone production, and deficiency is associated with sexual dysfunction. The recommended daily intake for adult men is 11 milligrams, found in oysters, red meat, poultry, beans, and nuts. The upper safe limit is 40 milligrams per day, so supplementation is rarely necessary if your diet is varied.

Sleep Deprivation Quietly Undermines Erections

Total sleep deprivation, meaning 24 hours or more without sleep, significantly reduces testosterone levels. A meta-analysis found that going without sleep for 24 hours produced a measurable drop in serum testosterone, and the decline worsened at 40 to 48 hours. Partial sleep restriction on a single night, like getting five hours instead of eight, didn’t produce the same hormonal shift. But chronic short sleep over weeks and months is a different story, and most men who sleep poorly do so repeatedly.

Testosterone isn’t the only link. Sleep is when your body cycles through nocturnal erections, which serve as a kind of maintenance routine for penile tissue, keeping it oxygenated and elastic. Consistently poor sleep disrupts this process. Aiming for seven to nine hours gives your body the hormonal and vascular recovery time it needs.

How Stress and Anxiety Block the Process

Performance anxiety is one of the most common causes of erection problems in otherwise healthy men, and it works through a specific biological mechanism. Anxiety activates the fight-or-flight response, flooding the body with adrenaline and noradrenaline. These stress hormones constrict blood vessels in the penis, directly opposing the dilation that an erection requires. At the same time, stress reduces nitric oxide release in penile tissue, weakening the chemical signal that relaxes smooth muscle.

The result is a frustrating loop: you worry about losing your erection, the worry triggers stress hormones, and those hormones make it physically harder to stay hard. Breaking the cycle often involves shifting focus away from performance and toward sensation. Mindfulness techniques, slower foreplay, and open communication with a partner all help. For persistent anxiety, cognitive behavioral therapy has strong evidence behind it.

Alcohol Works Against You Past One or Two Drinks

A small amount of alcohol can lower inhibitions and increase arousal, but anything beyond one or two drinks starts to impair erectile function. Alcohol is a central nervous system depressant that dulls the nerve signals responsible for triggering nitric oxide release. It also dehydrates the body, reducing blood volume and making it harder to achieve full firmness.

Occasional overindulgence causes temporary problems that resolve once you sober up. But regular heavy drinking can cause lasting vascular and nerve damage that makes erection difficulties chronic. If you’re noticing a pattern, cutting back is one of the fastest ways to see improvement.

Supplements: What Works and What Doesn’t

L-citrulline is one of the few supplements with a plausible mechanism and some clinical support. Your body converts it into L-arginine, which is then used to produce nitric oxide. Studies suggest it can ease symptoms of mild to moderate erectile dysfunction, though it doesn’t work as powerfully as prescription medications. Doses in clinical use have gone up to 6 grams per day, but no optimal dose has been established. It’s generally considered safe.

Most other supplements marketed for erection quality, including horny goat weed, maca, and tribulus, have weak or inconsistent evidence. Some contaminated products have been found to contain unlisted pharmaceutical ingredients, which poses a real safety risk. If you’re considering supplements, L-citrulline is the most evidence-backed starting point.

When Lifestyle Changes Aren’t Enough

Prescription medications for erectile dysfunction work by amplifying the nitric oxide signaling pathway, making it easier for blood vessels to relax and fill. The three main options differ primarily in how long they last. Two of them remain active for roughly four hours after taking effect, while one lasts 24 to 36 hours, allowing for more spontaneity. All three take about 60 minutes to kick in and work best on an empty or light stomach (with the exception of the longer-acting option, which is less affected by food).

These medications don’t create arousal on their own. They enhance the body’s natural response to stimulation. They’re effective for most men, but they work best when combined with the lifestyle factors above. A man who exercises regularly, sleeps well, eats a vascular-friendly diet, and manages stress will typically get stronger results from medication than one who relies on the pill alone.